/* Additional Styles for TravelTour Theme */

/* Product Detail Page - Unified Font */
.single-product main,
.single-product .product-detail-wrapper,
.single-product .product-summary-card,
.single-product .tour-short-desc,
.single-product .tour-tabs,
.single-product .tour-accordion-section,
.single-product .itinerary-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Product Detail Page */
.product-title-wrapper {
    margin: 20px 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.product-title-wrapper .product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-align: left;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    align-items: stretch;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0;
    padding-top: 0;
}

.product-gallery img {
    width: 100%;
    border-radius: 0;
    margin-bottom: 15px;
}

/* Slider */
.product-slider{
    position: relative;
    border-radius: 0;
    overflow: hidden;
    width: 556px;
    height: 324px;
    display: flex;
    align-items: center;
}
.product-slide{
    display: none;
    width: 100%;
    height: 100%;
}
.product-slide.is-active{
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-slider-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.45);
    color: #fff;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
.product-slider-nav.prev{ left: 10px; }
.product-slider-nav.next{ right: 10px; }

.product-gallery-thumbs{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}
.product-thumb{
    opacity: .7;
    cursor: pointer;
    border-radius: 0;
    overflow: hidden;
    border: 0;
}
.product-thumb.is-active{
    opacity: 1;
    border-color: transparent;
}

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

.product-gallery-thumbs img {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.product-gallery-thumbs img:hover {
    opacity: 1;
}

.product-summary {
    padding: 0 15px 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0;
    padding-top: 0;
}

.product-summary-card {
    background: #fff6bd;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    margin-bottom: 12px;
    border: 1px solid #e2c76b; /* khung ngoài rõ nét */
}

.summary-price {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    border-bottom: 1px solid #f0c55c;
    overflow: hidden;
}

.summary-price__label-box {
    background: #d9781a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.summary-price__label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .05em;
    font-weight: 700;
}

.summary-price__value-box {
    background: #e8a33a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.summary-price__value {
    font-size: 30px;
    font-weight: 800;
    color: #5b3b00;
    text-align: center;
}

/* Override WooCommerce price styles in summary */
.summary-price__value .price,
.summary-price__value .woocommerce-Price-amount,
.summary-price__value .amount,
.summary-price__value ins,
.summary-price__value del {
    color: #5b3b00;
}

.summary-price__value del {
    color: #8b6b00;
    opacity: 0.7;
}

.summary-specs {
    padding: 0;
    background: transparent;
}

/* Two-column row: Thời gian | Phương tiện */
.spec-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fffef1;
    border-bottom: 1px solid #e8d789;
}
.spec-cell {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 14px 20px;
    gap: 12px;
    min-width: 0;
}
.spec-cell + .spec-cell {
    border-left: 1px solid #e8d789;
}
.spec-title {
    color: #4b3300;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}
.spec-val {
    color: #2b1d00;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* Responsive font scaling for long values */
@media (max-width: 1200px) {
    .spec-title { font-size: 12px; }
    .spec-val { font-size: 14px; }
}
@media (max-width: 992px) {
    .spec-title { font-size: 11px; }
    .spec-val { font-size: 13px; }
}
@media (max-width: 768px) {
    .spec-pair { grid-template-columns: 1fr; } /* stack on small screens */
    .spec-cell + .spec-cell { border-left: 0; border-top: 1px solid #e8d789; }
    .spec-title { font-size: 12px; }
    .spec-val { font-size: 14px; white-space: normal; overflow: visible; text-overflow: initial; }
}
/* Full-width row for Tiêu chuẩn */
.spec-row-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fffef1;
}

.summary-rating {
    padding: 12px 20px;
    background: #fff6bd;
    border-top: 1px solid #f0c55c;
    color: #5b3b00;
}

.rating-display,
.rating-interactive {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

.rating-label {
    font-size: 14px;
    font-weight: 600;
    color: #2b1d00;
    white-space: nowrap;
}

.rating-stars,
.star-rating-input {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: flex-start;
}

.star {
    font-size: 18px;
    line-height: 1;
    cursor: default;
    color: #ffc107;
    transition: transform 0.2s ease;
}

.star-clickable {
    cursor: pointer;
    color: #ddd;
    font-size: 18px;
}

.star-clickable.active {
    color: #ffc107 !important;
}

.star-clickable.active ~ .star-clickable {
    color: #ddd !important;
}

.star-filled {
    color: #ffc107;
}

.star-half {
    color: #ffc107;
    opacity: 0.7;
}

.star-empty {
    color: #ddd;
}

.rating-hint {
    font-size: 12px;
    color: #8b6b00;
    font-style: italic;
    margin-top: 4px;
}

.rating-text {
    font-size: 13px;
    color: #2b1d00;
    white-space: nowrap;
    margin-left: auto;
}

.rating-success-message {
    margin-top: 8px;
    padding: 8px 12px;
    background: #4CAF50;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    display: none;
}

.rating-interactive .rating-hint {
    font-size: 12px;
    color: #8b6b00;
    font-style: italic;
    margin-left: auto;
    white-space: nowrap;
}

.summary-actions {
    padding: 12px 20px 16px;
    background: #fff6bd;
    border-top: 1px solid #f5e6a3;
}

.summary-actions .button,
.summary-actions button,
.summary-actions .single_add_to_cart_button {
    width: 100%;
    background: linear-gradient(90deg, #538D46, #3d6b33);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 0;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Hide quantity wrapper inside summary card */
.summary-actions .quantity {
    display: none !important;
}

.product-summary .product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rating-stars {
    font-size: 20px;
    color: #f5a623;
}

.product-summary .product-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.tour-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.tour-info .info-item {
    margin-bottom: 10px;
    font-size: 16px;
}

.tour-info .info-item:last-child {
    margin-bottom: 0;
}

.tour-itinerary {
    margin: 50px 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 10px;
}

.tour-itinerary h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.itinerary-content {
    line-height: 1.8;
}

/* Tour Tabs */
.tour-tabs {
    margin: 20px 0 40px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.tour-tabs__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}
.tour-tab-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 18px 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--text-dark);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}
.tour-tab-button:first-child {
    border-right: 1px solid var(--border-color);
}
.tour-tab-button.is-active {
    color: var(--primary-color);
}
.tour-tabs__content {
    padding: 20px 12px 24px;
}
.tour-tab-panel { display: none; }
.tour-tab-panel.is-active { display: block; }

/* Itinerary Content - Day Headers */
.itinerary-content {
    padding: 0;
    text-align: justify;
}
.itinerary-content p,
.itinerary-content div,
.itinerary-content li {
    text-align: justify;
}
.itinerary-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 15px 0;
}
.itinerary-content .wp-block-image,
.itinerary-content figure {
    margin: 15px 0;
    max-width: 100%;
    width: 100%;
}
.itinerary-content .wp-block-image img,
.itinerary-content figure img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}
.itinerary-content .alignleft,
.itinerary-content .alignright,
.itinerary-content .aligncenter {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.itinerary-content h2.itinerary-day-header,
.itinerary-content h3.itinerary-day-header {
    background: #538D46;
    color: #fff;
    padding: 0;
    margin: 20px 0 15px 0;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    line-height: 1.4;
}
.itinerary-content h2.itinerary-day-header:first-child,
.itinerary-content h3.itinerary-day-header:first-child {
    margin-top: 0;
}
.itinerary-content .itinerary-day-header .day-label {
    display: inline-block;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 800;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
}
.itinerary-content .itinerary-day-header .day-content {
    padding: 14px 20px;
    flex: 1;
}

/* Tour Accordion Section */
.tour-accordion-section {
    margin: 20px 0 40px;
    padding: 0;
}
.tour-accordion {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    padding: 0;
    border: 1px solid #f1e6a8;
    box-sizing: border-box;
}
.tour-accordion__item + .tour-accordion__item {
    border-top: 1px solid #f1e6a8;
}
.tour-accordion__header {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    background: #538D46;
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .02em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.tour-accordion__icon {
    font-size: 20px;
    transition: transform .2s ease;
}
.tour-accordion__header.is-open .tour-accordion__icon {
    transform: rotate(45deg);
}
.tour-accordion__body {
    display: none;
    background: #fffdfa;
}
.tour-accordion__body.is-open {
    display: block;
}
.tour-accordion__content {
    padding: 0;
    border-top: 1px solid #f1e6a8;
    background: #ffffff;
}
.tour-accordion__content table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}
.tour-accordion__content table th,
.tour-accordion__content table td {
    border: 1px solid #e4e4e4;
    padding: 14px 16px;
}
.tour-accordion__content table td { text-align: left; }
.tour-accordion__content table td:nth-child(n+2) { text-align: right; }
.tour-accordion__content table td[colspan] { text-align: right !important; }
.tour-accordion__content .text-right { text-align: right; }
.tour-accordion__content table th {
    background: #fff9d3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.tour-accordion__content p {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid #f3f3f3;
}
.tour-accordion__content p:last-child {
    border-bottom: 0;
}
.tour-schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    margin: 0;
}
.tour-schedule-table th,
.tour-schedule-table td {
    border: 1px solid #e4e4e4;
    padding: 14px 16px;
    text-align: left;
}
.tour-schedule-table th {
    background: #fff9d3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.tour-schedule-table td {
    background: #ffffff;
}
.tour-schedule-table td:first-child {
    text-align: center;
    width: 60px;
}
.tour-schedule-table td:last-child {
    text-align: right;
}
.tour-schedule-note {
    margin: 16px 0 0 0;
    padding: 0;
    text-align: right;
    font-style: italic;
    color: #666;
    font-size: 14px;
}

/* Price Check Section */
.price-check-section {
    margin: 40px 0;
    padding: 0;
}
.price-check-section .container {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 25px 30px;
}
.price-check-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #333;
}
.price-check-form {
    margin-bottom: 0;
    padding-bottom: 25px;
    border-bottom: 1px solid #e4e4e4;
}
.price-check-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    align-items: end;
}

.price-check-row-second {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
    margin-top: 15px;
}
.price-check-field {
    display: flex;
    flex-direction: column;
}
.price-check-field label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
.price-check-field input[type="number"],
.price-check-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    appearance: none;
    background: #fff;
}
.price-check-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    cursor: pointer;
}
.price-check-submit {
    align-self: end;
}
.price-check-btn {
    background: linear-gradient(90deg, #538D46, #3d6b33);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.price-check-btn:hover {
    opacity: 0.9;
}
.price-summary-table {
    margin: 25px 0 0 0;
    border: none;
    border-radius: 0;
    overflow: visible;
}
.price-summary-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e4e4e4;
}
.price-summary-table thead {
    background: #f5f5f5;
}
.price-summary-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 2px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    color: #333;
}
.price-summary-table th:last-child {
    border-right: none;
}
.price-summary-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
    font-size: 14px;
}
.price-summary-table td:last-child {
    border-right: none;
}
.price-summary-table tbody tr:last-child td {
    border-bottom: none;
}
.price-summary-table .qty-adult,
.price-summary-table .qty-child,
.price-summary-table .qty-infant {
    text-align: center;
}
.price-summary-table .price-adult,
.price-summary-table .price-child,
.price-summary-table .price-infant,
.price-summary-table .total-adult,
.price-summary-table .total-child,
.price-summary-table .total-infant {
    text-align: right;
}
.grand-total-row {
    background: #fff9d3;
    font-weight: 700;
}
.grand-total-row td {
    padding: 16px;
    font-size: 16px;
}
.grand-total-label {
    text-align: right !important;
    font-weight: 700;
}
.grand-total {
    text-align: right;
    font-size: 18px;
    color: #d32f2f;
}
.contact-manager-section {
    background: #fff3a0;
    border-radius: 4px;
    margin-top: 25px;
    padding: 0;
    overflow: hidden;
}
.contact-manager-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff3a0;
}
.contact-manager-table td {
    padding: 20px 25px;
    border-right: 1px solid #e4e4e4;
    vertical-align: middle;
}
.contact-manager-table td:last-child {
    border-right: none;
}
.contact-manager-col-btn {
    width: auto;
    white-space: nowrap;
}
.contact-manager-text {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    color: #333;
}
.contact-manager-col-name {
    width: auto;
    text-align: center;
}
.contact-manager-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}
.contact-label {
    font-size: 12px;
    color: #666;
}
.contact-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.contact-manager-col-phone {
    width: auto;
    text-align: right;
}
.contact-phone-group {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}
.contact-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}
.contact-item:first-child .contact-icon {
    background: #538D46;
    color: #fff;
}

@media (max-width: 992px) {
    .price-check-row {
        grid-template-columns: 1fr 1fr;
    }
    .price-check-submit {
        grid-column: 1 / -1;
    }
    .contact-manager-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.tour-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.tour-gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.tour-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .25s ease;
}
.tour-gallery-item:hover img {
    transform: scale(1.05);
}

/* Feature grid below summary */
.tour-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #dcdcdc; /* khung ngoài rõ nét */
    border-radius: 0;
    overflow: hidden;
    margin: 10px 0 0;
    background: #fff;
}
.tour-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    background: #fff;
    font-weight: 700;
    color: #0f172a;
    min-width: 0; /* cho phép con co lại, không đẩy rộng cột */
    justify-content: flex-start;
}
.tour-feature-item:nth-child(3n) {
    border-right: 0;
}
.tour-feature-item:nth-last-child(-n+3) {
    border-bottom: 0;
}
.tour-feature-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f5f7fb;
    border-radius: 12px;
    flex: 0 0 30px; /* cố định độ rộng icon */
}
.tour-feature-label {
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 0;       /* cho phép co giãn trong ô mà không lấn sang cột khác */
    max-width: 100%;
    font-size: 13px;
}

/* Callback Banner */
.callback-banner {
    position: relative;
    background: #222;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
    margin: 30px 0 10px;
    min-height: 280px; /* chiều cao banner video */
}
.callback-banner__video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}
.callback-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(101, 67, 33, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1;
}
.callback-banner__inner {
    position: relative;
    z-index: 1;
    width: 1072px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    padding: 20px;
    border: 0;
    border-radius: 8px;
}
@media (max-width: 1024px){
    .callback-banner{ min-height: 220px; }
}
@media (max-width: 768px){
    .callback-banner{ min-height: 180px; }
}
.callback-banner__title {
    font-size: 36px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .02em;
}
.callback-banner__subtitle {
    font-size: 18px;
    opacity: .95;
    margin-bottom: 22px;
}
.callback-form {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 12px;
    width: 100%;
}
.callback-input {
    padding: 16px 18px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
}
.callback-button {
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #538D46, #3d6b33);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}
.callback-message {
    margin-top: 12px;
    background: rgba(255,255,255,.12);
    padding: 10px 14px;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .callback-banner__title { font-size: 26px; }
    .callback-banner__subtitle { font-size: 15px; }
    .callback-form { grid-template-columns: 1fr; }
}

/* Short description box above callback banner */
.tour-short-desc {
    margin: 4px 0 6px; /* kéo sát hơn với phần trên */
}
.tour-short-desc__box {
    border: 1px solid #cfcfcf;        /* viền xám rõ hơn */
    background: #fffefa;              /* nền sáng hơi vàng như mẫu */
    border-top: 5px solid #538D46;    /* thanh nhấn trên dày hơn */
    border-radius: 4px;
    padding: 12px 14px;
    overflow: hidden;                 /* đảm bảo bo góc hiển thị chuẩn */
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
    color: #2b2b2b;
    /* full-bleed inside .container (align borders với mép container) */
    margin-left: -20px;
    margin-right: -20px;
}
.tour-short-desc__box p {
    margin: 0;
    line-height: 1.6;
}

/* WooCommerce Overrides */
.woocommerce-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.woocommerce .product {
    margin-bottom: 0;
}

.woocommerce .quantity {
    margin-bottom: 20px;
}

.woocommerce .quantity input {
    width: 80px;
    padding: 10px;
    text-align: center;
}

.woocommerce button.button,
.woocommerce a.button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background-color: var(--primary-dark);
}

/* Reviews */
.product-reviews {
    margin-top: 50px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author {
    font-weight: 600;
}

.comment-date {
    color: var(--text-light);
    font-size: 14px;
}

.star-rating {
    color: var(--warning-color);
    margin-bottom: 10px;
}

/* Archive Pages */
.archive-header {
    text-align: center;
    padding: 40px 0;
    background: var(--bg-light);
    margin-bottom: 40px;
}

.archive-title {
    font-size: 36px;
    margin-bottom: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-dark);
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .product-summary .product-title {
        font-size: 24px;
    }
    
    .product-summary .product-price {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .summary-price__label-box,
    .summary-price__value-box {
        padding: 14px 12px;
    }
    
    .summary-price__label {
        font-size: 12px;
    }
    
    .summary-price__value {
        font-size: 24px;
    }
    
    .rating-display,
    .rating-interactive {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .rating-label {
        font-size: 13px;
    }
    
    .rating-text,
    .rating-interactive .rating-hint {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
    
    .star {
        font-size: 16px;
    }
    
    .star-clickable {
        font-size: 16px;
    }
    
    .price-check-row {
        grid-template-columns: 1fr;
    }
    
    .price-check-row-second {
        grid-template-columns: 1fr;
        margin-top: 15px;
    }
    
    .price-check-submit {
        grid-column: 1;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Footer */
.site-footer {
    background: #EDEFF1;
    color: #000;
}

.site-footer .footer-content,
.site-footer .footer-widget,
.site-footer .footer-bottom {
    background: #EDEFF1;
    color: #000;
}

.site-footer .footer-widget h3,
.site-footer .footer-widget p,
.site-footer .footer-widget a,
.site-footer .footer-widget li,
.site-footer .footer-bottom p {
    color: #000;
}

.site-footer .footer-widget a:hover {
    color: #333;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    margin: 0;
}

.payment-logos {
    display: flex;
    align-items: center;
}

.payment-logo {
    width: 392.333px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .payment-logos {
        justify-content: center;
    }
    
    .payment-logo {
        height: 25px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

