:root {
    --theme-yellow: #facc15;
    --theme-yellow-strong: #eab308;
    --theme-light-yellow: #fef9c3;
    --theme-white: #ffffff;
    --theme-text: #3f3300;
    --theme-border: #fde68a;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--theme-text);
    background: var(--theme-white);
}

.nav-custom {
    background: linear-gradient(90deg, #fef08a, #facc15);
}

.navbar-brand,
.nav-custom .nav-link {
    color: #3b2f00 !important;
    font-weight: 600;
}

.nav-custom .nav-link:hover {
    color: #000 !important;
}

.hero-section {
    background: linear-gradient(115deg, #fffef2 0%, #fef9c3 45%, #fde68a 100%);
    color: #3f3300;
    padding: 90px 0;
}

.text-hero {
    color: #6d5600;
}

.hero-image {
    max-height: 420px;
    object-fit: cover;
    width: 100%;
    border: 6px solid #fff;
}

.video-wrap {
    position: relative;
}

.video-audio-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    font-size: 0.92rem;
    padding: 8px 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.section-soft {
    background: #fffdf0;
}

.btn-theme {
    background: linear-gradient(90deg, #facc15, #eab308);
    color: #2f2500;
    border: none;
}

.btn-theme:hover {
    background: linear-gradient(90deg, #eab308, #ca8a04);
    color: #fff9db;
}

.btn-outline-theme {
    border: 1px solid #eab308;
    color: #8a6600;
    background: #fffef6;
}

.btn-outline-theme:hover {
    background: #fef08a;
    color: #4a3a00;
}

.product-card .card-img-top {
    height: 220px;
    object-fit: contain;
    background: #fffef6;
    padding: 8px;
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(234, 179, 8, 0.22) !important;
}

.price {
    color: #7a4f00;
    font-weight: 700;
    margin-right: 10px;
}

.old-price {
    color: #b89a38;
    text-decoration: line-through;
    font-size: 0.92rem;
}

.category-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    min-height: 170px;
}

.category-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(74, 58, 0, 0.78));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
}

.offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.product-media-link {
    display: block;
}

.product-title-link {
    color: #4f3d00;
    text-decoration: none;
}

.product-title-link:hover {
    color: #7a4f00;
    text-decoration: underline;
}

.discount-pill {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    vertical-align: middle;
}

.product-meta {
    border: 1px solid #f3d76f;
    background: #fffbeb;
    border-radius: 12px;
    padding: 12px 14px;
}

.product-meta div {
    padding: 3px 0;
    color: #5a4600;
}

.product-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #fffef6;
    padding: 10px;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.product-thumb-btn {
    border: 2px solid #f3d76f;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
}

.product-thumb-btn.active {
    border-color: #eab308;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.35);
}

.product-thumb-btn img {
    width: 100%;
    height: 82px;
    object-fit: contain;
    background: #fffef6;
}

.product-zoom-image {
    max-height: 78vh;
    object-fit: contain;
}

.zoom-thumbs .product-thumb-btn img {
    height: 70px;
}

.page-title {
    font-size: 1.5rem;
    color: #7a4f00;
}

.page-intro {
    font-size: 0.95rem;
    color: #6d5600;
    line-height: 1.6;
    max-width: 720px;
}

.content-page {
    background: #fff;
    border: 1px solid #f3d76f;
    border-radius: 16px;
    padding: 24px 26px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4a3a00;
}

.content-page p {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    line-height: 1.65;
    color: #4a3a00;
}

.content-page p:last-child {
    margin-bottom: 0;
}

.content-page h3.content-heading,
.content-page h4.content-heading {
    font-size: 1.05rem;
    font-weight: 600;
    color: #7a4f00;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.content-page h3.content-heading:first-child,
.content-page h4.content-heading:first-child {
    margin-top: 0;
}

.service-box {
    background: linear-gradient(180deg, #fffef6 0%, #fff9db 100%);
    border: 1px solid #f3d76f;
    border-radius: 14px;
    padding: 18px 20px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(234, 179, 8, 0.2);
}

.service-box h4,
.service-box h5 {
    font-size: 1rem;
    color: #7a4f00;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #5a4600;
}

.shop-table-wrap {
    max-height: none;
}

.shop-table {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.shop-table thead th {
    background: #fef08a;
    color: #4a3a00;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
    border-bottom: 2px solid #eab308;
    padding: 10px 12px;
}

.shop-table tbody td {
    padding: 10px 12px;
    vertical-align: top;
    color: #4a3a00;
    border-color: #fde68a;
    line-height: 1.45;
}

.shop-table tbody tr:nth-child(even) {
    background: #fffdf0;
}

.shop-table tbody tr:hover {
    background: #fff9db;
}

.shop-phone {
    color: #7a4f00;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.shop-phone:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .content-page {
        padding: 16px;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .shop-table {
        font-size: 0.78rem;
    }
}

.footer-dark {
    background: linear-gradient(90deg, #fff7cc, #fde68a);
    color: #4e3d00;
    border-top: 1px solid var(--theme-border);
}

.footer-dark a {
    color: #7c5e00;
    text-decoration: none;
}

.footer-dark a:hover {
    color: #2f2500;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 65px 0;
    }
}

@media (max-width: 575px) {
    .hero-image {
        max-height: 280px;
    }

    .video-audio-btn {
        right: 12px;
        bottom: 12px;
        font-size: 0.82rem;
        padding: 6px 10px;
    }

    .product-card .card-img-top {
        height: 190px;
    }
}
