:root {
    --primary-color: #1a365d;
    --secondary-color: #f5f5f5;
    --accent-color: #2a9d8f;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --border-color: #eee;
    --shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.product-detail {
    padding: 40px 0;
    background-color: var(--secondary-color);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.product-detail-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.product-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.product-share span {
    margin-right: 15px;
}

.product-gallery {
    margin-bottom: 30px;
}

.main-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
}

.main-image:hover img {
    transform: scale(1.02);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    flex-wrap: wrap;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--accent-color);
}

.product-essential-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-item .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: normal;
}

.info-item p {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.detail-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.overview-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.overview-content p {
    margin-bottom: 15px;
}

.itinerary-day {
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.day-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.day-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.day-content p {
    margin-bottom: 10px;
}

.day-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.itinerary-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.itinerary-image:hover {
    transform: scale(1.02);
}

.cost-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.cost-includes,
.cost-excludes {
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.cost-includes h3,
.cost-excludes h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.cost-includes p,
.cost-excludes p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 10px;
}

.cost-includes ul,
.cost-excludes ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.cost-includes li,
.cost-excludes li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 5px;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #fff9f0;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

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

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
}

.price-unit {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
}

.price-empty {
    color: var(--text-light);
    font-size: 18px;
}

.price-note {
    font-size: 13px;
    color: var(--text-light);
    margin-left: auto;
}

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

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon .icon {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.feature-content h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
}

.product-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-card .product-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-card .product-content {
    padding: 15px;
}

.product-card .product-title {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-duration .icon {
    width: 12px;
    height: 12px;
}

.product-footer {
    display: flex;
    align-items: center;
}

.product-card .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.product-card .price-unit {
    font-size: 12px;
    font-weight: normal;
    color: var(--text-light);
}

.product-detail-sidebar {
    position: sticky;
    top: 80px;
}

.sticky-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-price-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    text-align: center;
}

.price-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.price-main {
    margin-bottom: 20px;
}

.price-number {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
}

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

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #248277;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e8e8e8;
}

.btn-full {
    width: 100%;
    margin-bottom: 10px;
}

.latest-posts-section {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.latest-posts-title {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.latest-posts-list {
    list-style: none;
}

.latest-post-item {
    margin-bottom: 12px;
}

.latest-post-item:last-child {
    margin-bottom: 0;
}

.latest-post-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.latest-post-link:hover {
    opacity: 0.8;
}

.latest-post-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.latest-post-info {
    flex: 1;
    min-width: 0;
}

.latest-post-title {
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-post-date {
    font-size: 12px;
    color: var(--text-light);
}

.consult-section {
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    color: var(--white);
    text-align: center;
}

.consult-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.consult-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 15px;
}

.phone-number:hover {
    opacity: 0.8;
}

.phone-number .icon {
    width: 18px;
    height: 18px;
}

.consult-btn .icon {
    width: 18px;
    height: 18px;
}

.consult-btn {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    margin-bottom: 15px;
}

.working-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.8;
}

.working-hours .icon {
    width: 14px;
    height: 14px;
}

.no-itinerary {
    text-align: center;
    color: var(--text-light);
    padding: 40px;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.breadcrumb {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .product-detail-sidebar {
        position: static;
    }
    
    .product-essential-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cost-wrapper {
        grid-template-columns: 1fr;
    }
    
    .price-info {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .price-note {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .product-detail-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-meta {
        flex-wrap: wrap;
    }
    
    .main-image {
        height: 280px;
    }
    
    .product-essential-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .day-images {
        flex-direction: column;
    }
    
    .itinerary-image {
        width: 100%;
        height: auto;
    }
    
    .section-title {
        font-size: 18px;
    }
}
