:root {
    --primary: #0069c3;
    --primary-dark: #004d91;
    --red: #dc2626;
    --dark: #0a111f;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
p,
ul,
li,
h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    transition: var(--transition);
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition);
}

body {
    background-color: var(--gray-50);
    color: var(--gray-800);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Refinement */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: var(--shadow-sm);
}

header .container .row {
    align-items: center;
}

.logo {
    margin: 0;
    line-height: 0;
}

textarea.wpcf7-form-control.wpcf7-textarea.form-control {
    height: 149px;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-rightside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.hottin-line a {
    font-weight: 800;
    color: var(--primary);
    font-size: 24px;
    text-transform: none;
    letter-spacing: -0.5px;
}

.nav ul {
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav ul li a {
    font-weight: 600;
    font-size: 13px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 0;
    position: relative;
}

.nav ul li a:hover,
.nav ul li.current-menu-item a {
    color: var(--primary);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav ul li a:hover::after,
.nav ul li.current-menu-item a::after {
    width: 100%;
}

/* Mobile Menu Button */
a.click {
    display: none;
    padding: 10px;
}

a.click span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin-bottom: 5px;
    transition: var(--transition);
}

/* Home & Slider */
.home-wrapper,
.slider,
.owl-carousel {
    width: 100% !important;
    margin: 0;
    padding: 0;
}

.slider {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.slider .item img {
    width: 100% !important;
    height: auto;
    display: block;
    max-width: none !important;
}

/* Page Spacing Utilities */
.section-padding {
    padding: 10px 0;
}

.inner-content-padding {
    padding: 10px 0;
}

.content-car {
    margin-bottom: 20px;
}

/* Page Banner & Post Header */
.page-banner {
    background: #fff;
    padding: 20px 0 20px;
    color: var(--gray-900);
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.page-banner::before {
    display: none;
}

.page-banner h1,
h1.single,
h1.product-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

#breadcrumbs {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--gray-500) !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px !important;
}

#breadcrumbs a {
    color: var(--gray-600);
    transition: var(--transition);
}

#breadcrumbs a:hover {
    color: var(--primary);
}

#breadcrumbs i {
    margin-right: 5px;
    color: var(--gray-400);
}

.meta {
    display: flex;
    gap: 20px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
}

.meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.category-section {
    margin-bottom: 100px;
}

h2.title {
    text-align: center;
    font-weight: 800;
    font-size: 36px;
    color: var(--gray-900);
    margin-bottom: 60px;
    letter-spacing: -1px;
}

h2.title span {
    position: relative;
    padding-bottom: 15px;
}

h2.title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--primary);
    border-radius: 10px;
}

/* Grids */
.row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
}

/* Product Cards */
.detail-car {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.detail-car:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.img-wrapper {
    aspect-ratio: 16/11;
    overflow: hidden;
    background: var(--gray-100);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.6s ease;
    border-radius: 10px;
}

.detail-car:hover .img-wrapper img {
    transform: scale(1.1);
}

.info-car {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.info-car h4 a {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.price-contact {
    margin-top: 0;
}

p.price,
.price-single {
    font-size: 19px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 12px;
    display: block;
}

p.contact {
    margin-top: auto;
    background: var(--gray-100);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--primary);
}

p.contact strong {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

p.contact span {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

/* Single Product Detail Refinement */
.wall-single {
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.product-hero {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.product-gallery {
    flex: 1.2;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-main-info h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.2;
}

.meta-car {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 14px;
}

.meta-car span i {
    color: var(--primary);
    margin-right: 8px;
}

.price-box {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--gray-200);
}

.price-box label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    font-weight: 700;
}

.price-single {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: var(--red) !important;
    margin: 0 !important;
    line-height: 1;
}

.product-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-booking {
    background: var(--primary);
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.btn-booking:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-hotline {
    background: #fff;
    color: var(--gray-800) !important;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gray-200);
}

.btn-hotline:hover {
    background: var(--gray-100);
}

.content-single-cate {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 60px;
    border: 1px solid var(--gray-200);
}

/* Footer Modernization */
footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 0;
    font-size: 14px;
}

.block-ft h3.title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.content-block-ft p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.content-block-ft p i {
    color: var(--primary);
    font-size: 18px;
    width: 20px;
}

.content-block-ft.news li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.content-block-ft.news li img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.content-block-ft.news li h4 a {
    font-size: 14px;
    color: var(--gray-300);
    font-weight: 500;
    line-height: 1.4;
}

.content-block-ft.news li h4 a:hover {
    color: #fff;
}

.list-a li {
    /* margin-bottom: 12px; */
}

.list-a li a {
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-a li a:hover {
    color: #fff;
    transform: translateX(8px);
}

.copyr {
    margin-top: 40px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.copyr a {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .nav {
        display: none;
    }

    .logo img {
        height: 40px
    }

    a.click {
        display: block;
    }

    .header-rightside {
        display: none;
    }

    .hottin-line a {
        font-size: 20px;
    }

    .logo {
        text-align: center;
    }

    h2.title {
        font-size: 28px;
        margin-bottom: 33px;
    }

    .product-hero {
        flex-direction: column;
        padding: 20px;
    }

    .product-main-info h1 {
        font-size: 28px;
    }

    .content-single-cate {
        padding: 25px;
    }

    .col-12.col-md-3.top-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    header .col-12.col-md-9 {
        display: none;
    }

    .owl-pagination {
        display: none;
    }

    .owl-buttons {
        display: none;
    }

    .block-ft .row>* {
        margin-top: 10px;
    }
}

/* Animations Fix */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

.lendau {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}

.lendau:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

.lendau i {
    font-size: 24px;
}

.lendau span,
.lendau img {
    display: none;
}

.lendau::before {
    content: '\f106';
    font-family: 'FontAwesome';
    font-size: 24px;
}

/* Modern Form Styling */
.form-lh .wpcf7-form p {
    margin-bottom: 0;
}

.form-lh input:not([type="submit"]),
.form-lh textarea,
.form-lh select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
    transition: var(--transition);
    font-size: 15px;
    color: var(--gray-800);
}

.form-lh input:focus,
.form-lh textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 105, 195, 0.1);
}

.form-lh input[type="submit"] {
    background: var(--primary);
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    width: auto;
    display: inline-block;
}

.form-lh input[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.info-contact {
    line-height: 1.8;
}

.info-contact p {
    margin-bottom: 15px;
    flex-direction: column;
}

.info-contact strong {
    color: var(--gray-900);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-contact iframe {
    width: 100% !important;
    border-radius: 12px;
    margin-top: 20px;
    filter: grayscale(0.2);
    transition: var(--transition);
}

.info-contact iframe:hover {
    filter: grayscale(0);
}

/* Grid adjustment for CF7 */
.wpcf7-form .row {
    margin-bottom: 0;
}

.info-car.info-cat p {
    height: 50px;
    overflow: hidden;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}

.wpcf7-spinner {
    position: absolute;
    bottom: 20px;
}

.content-block-ft.news li a {
    width: 75px;
}

.content-block-ft.news li h4 {
    width: calc(100% - 75px);
}

.content-block-ft.news li a img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

textarea.wpcf7-form-control.wpcf7-textarea.form-control {
    height: 149px;
}

.list-a li {
    margin-bottom: 0;
}

@media (max-width: 767px) {

    .page-banner h1,
    h1.single,
    h1.product-title {
        font-size: 23px;
        line-height: 1.5;
    }

    p#breadcrumbs {
        margin-bottom: 10px !important;
    }

    .page-banner {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .meta {
        margin-top: 5px;
    }

    .main-content.inner-content-padding {
        padding-top: 0;
    }

    .content-single-cate {
        padding: 10px;
        border-radius: 4px;
    }

    article.post-content p {
        font-size: 14px;
    }

    article.post-content th,
    article.post-content td {
        padding: 5px;
    }

    .detail-car.detail-cate img {
        width: 100%;
    }
}