:root {
    --primary-color: #005A9C; /* Xanh đậm Dalatmilk */
    --secondary-color: #00AEEF; /* Xanh nhạt Dalatmilk */
    --text-color: #333333; /* Xám đen */
    --bg-light: #FFFFFF;
    --bg-gray: #F8F9FA;
}
body {
    font-family: 'Be Vietnam Pro', sans-serif;
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
section {
    padding: 40px 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
h1, h2, h3 {
    color: var(--primary-color);
}

/* =================================== */
/* === HEADER & NAVIGATION === */
/* =================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,90,156,0.07);
    border-bottom: none;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 32px 0 32px;
    font-size: 0.98em;
    background: #fff;
}
.header-top .search-box {
    position: relative;
    margin-right: auto;
    max-width: 320px;
}
.header-top input[type="text"] {
    padding: 7px 32px 7px 12px;
    border-radius: 20px;
    border: 1px solid #eee;
    outline: none;
    font-size: 1em;
    background: #f8f9fa;
    transition: border 0.2s;
}
.header-top input[type="text"]:focus {
    border: 1.5px solid var(--primary-color);
}
.header-top .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 1.1em;
    pointer-events: none;
}
.header-top .social-icons {
    display: flex;
    gap: 12px;
    margin-left: 18px;
}
.header-top .social-icons a {
    color: var(--primary-color);
    font-size: 1.3em;
    transition: color 0.2s, transform 0.2s;
}
.header-top .social-icons a:hover {
    color: var(--secondary-color);
    transform: scale(1.15);
}
.header-top .lang-switch {
    margin-left: 24px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1em;
    cursor: pointer;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 62px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img.header-logo {
    height: 38px;
    width: auto;
}
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav li {
    position: relative;
}
.main-nav a {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.98em;
    letter-spacing: 0.5px;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Dropdown menu (if needed) */
.main-nav li.dropdown:hover > .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-light);
    width: 1100px;
    max-width: 90vw;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    z-index: 101;
    padding: 25px 30px;
    border-top: 3px solid var(--secondary-color);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.main-nav li.dropdown:hover > .dropdown-content {
    display: grid;
    opacity: 1;
    visibility: visible;
}
.dropdown-content .column-title {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}
.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}
.dropdown-content ul li { margin: 0; padding: 0; }
.dropdown-content ul li a {
    font-size: 0.9em;
    padding: 5px 0;
    white-space: normal;
}

/* =================================== */
/* === PAGE SECTIONS === */
/* =================================== */
.hero-section {
    padding: 0;
}
.hero-banner-img {
    width: 100%;
    display: block;
}
.intro, .features, .cta, .testimonials-section {
    text-align: center;
}
.intro h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}
.features, .testimonials-section {
    background-color: var(--bg-gray);
    border-radius: 15px;
    padding: 40px;
}
.features h2, .cta h2, .testimonials-section h2 { 
    font-size: 2.2em; 
    margin-bottom: 40px; 
}
.features-grid { 
    display: flex; 
    justify-content: space-around; 
    gap: 30px; 
    flex-wrap: wrap; 
}
.feature-item { 
    flex-basis: 30%; 
    min-width: 280px; 
}
.feature-item svg { 
    width: 60px; 
    height: 60px; 
    color: var(--primary-color); 
}
.feature-item h3 { 
    font-size: 1.4em; 
    margin: 15px 0; 
}
.cta { 
    background-color: var(--primary-color); 
    color: var(--bg-light); 
}
.cta h2, .cta p {
    color: var(--bg-light);
}

/* --- BUTTONS --- */
.cta-button { 
    display: inline-block; 
    background-color: var(--secondary-color); 
    color: var(--bg-light) !important; 
    padding: 15px 35px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1.1em; 
    transition: transform 0.2s, box-shadow 0.2s; 
}
.cta-button:hover { 
    transform: scale(1.05); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

/* --- SERVICE COMMITMENTS --- */
.service-commitments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-top: 30px;
    padding-bottom: 30px;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}
.service-item svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}
.service-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: var(--primary-color);
}
.service-item p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

/* --- FEATURED PRODUCTS --- */
.featured-products {
    background-color: var(--bg-light);
    text-align: center;
}
.featured-products h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
}
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}
.product-card { 
    border: 1px solid #eee; 
    border-radius: 8px; 
    overflow: hidden; 
    text-align: center; 
    padding: 20px; 
    transition: box-shadow 0.3s; 
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
}
.product-card:hover { 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
}
.product-card img { 
    height: 200px; 
    width: 100%; 
    object-fit: contain; 
    margin-bottom: 15px; 
}
.product-card h3 { font-size: 1.2em; flex-grow: 1; }
.product-card p { margin-bottom: 20px; flex-grow: 1; color: #555; }
.product-card .cta-button {
    font-size: 0.9em;
    padding: 10px 25px;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}
.testimonial-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
    opacity: 0.5;
    margin-bottom: 15px;
}
.testimonial-text {
    font-style: italic;
    color: #555;
    flex-grow: 1;
}
.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
    margin-top: 15px;
    font-style: normal;
}
.trustpilot-link-wrapper {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}
.trustpilot-link-wrapper p {
    margin-bottom: 15px;
    color: #555;
}

/* --- CONTACT PAGE SPECIFIC --- */
.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}
.contact-info p { 
    font-size: 1.1em; 
}
.contact-info p strong { 
    color: var(--primary-color); 
}

/* === EXTRACTED FROM INLINE STYLES (utility classes) === */
.u-text-center { text-align: center; }
.u-mb-28 { margin-bottom: 28px; }
.u-align-center { display:flex;align-items:center;justify-content:center; }
.lang-menu-link { display:block;padding:8px 18px;color:#005A9C;font-weight:500;text-decoration:none; }
.card-inner { background:#fff;border-radius:12px;padding:22px 18px;box-shadow:0 1px 8px rgba(0,174,239,0.07);display:flex;flex-direction:column;align-items:center; }
.card-icon { font-size:2.1em;color:#00aeef;margin-bottom:10px; }
.card-title { font-size:1.13em;margin:0 0 8px 0; }
.card-text { color:#444;text-align:center; }
.product-card--hoverable { transition:box-shadow .2s,transform .2s; cursor:pointer; }
.product-card--hoverable:hover { box-shadow:0 4px 18px rgba(0,174,239,0.13); transform:translateY(-4px); }
.blog-item--card { padding:18px 16px;background:#f8fafc;border-radius:10px;box-shadow:0 1px 6px rgba(0,0,0,0.04);display:flex;flex-direction:column;gap:8px;transition:box-shadow .2s,transform .2s;cursor:pointer; }
.blog-item--card:hover { box-shadow:0 4px 18px rgba(0,174,239,0.13); transform:translateY(-4px); }
.blog-item__img { width:100%;height:140px;object-fit:cover;border-radius:8px 8px 0 0; }
.faq-item--card { background:#f8fafc;padding:18px 20px;border-radius:10px;box-shadow:0 1px 6px rgba(0,0,0,0.04);cursor:pointer; }
.faq-question__title { margin:0 0 6px 0;font-size:1.1em;display:flex;align-items:center;justify-content:space-between;cursor:pointer;outline:none; }
.faq-toggle { font-size:1.2em;transition:transform 0.2s; }
.faq-answer{ margin:0;max-height:0;overflow:hidden;transition:max-height 0.35s cubic-bezier(.4,0,.2,1); }
.hidden { display:none; }
.floating-cart-btn { position:fixed;right:18px;top:18px;z-index:9999; }
.cart-count-badge { position:absolute;top:-8px;right:-8px;background:#e74c3c;color:#fff;border-radius:50%;font-size:0.9em;padding:2px 7px; }
/* iframe rounded utility */
.iframe-rounded { border-radius:12px; background:#fff; }
/* footer link utility */
.footer-link { color: var(--secondary-color); text-decoration: underline; }

/* --- FADE-IN ANIMATION --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-section.visible {
    opacity: 1;
    transform: none;
}

/* =================================== */
/* === FOOTER === */
/* =================================== */
.footer { 
    background-color: #2c3e50; 
    color: #ecf0f1; 
    padding: 40px 20px 10px 20px; 
    margin-top: 40px;
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px; 
    padding-bottom: 30px; 
    text-align: left; 
    max-width: 1100px;
    margin: 0 auto;
}
.footer-col h4 { 
    color: #FFFFFF; 
    margin-top: 0; 
    margin-bottom: 20px; 
    font-size: 1.2em; 
}
.footer-col p { 
    font-size: 0.95em; 
    line-height: 1.6; 
    margin-bottom: 10px; 
    color: #bdc3c7; 
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { 
    color: #bdc3c7; 
    text-decoration: none; 
    transition: color 0.2s; 
    font-size: 0.95em; 
}
.footer-col ul li a:hover { color: #FFFFFF; }
.footer-bottom { 
    text-align: center; 
    padding-top: 20px; 
    border-top: 1px solid #4a627a; 
    font-size: 0.9em; 
    color: #bdc3c7; 
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Social Media Links in Footer --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}
.social-links a {
    display: inline-block;
    margin: 0 8px;
    transition: transform 0.2s;
}
.social-links a i {
    font-size: 2em;
    color: #fff;
    vertical-align: middle;
    transition: color 0.2s, transform 0.2s;
}
.social-links a:hover i {
    color: var(--secondary-color);
    transform: scale(1.15);
}
.social-links .map-link i {
    color: #e74c3c;
}
.social-links .map-link:hover i {
    color: var(--secondary-color);
}

/* --- Google Map in Footer --- */
.footer-map iframe {
    width: 100%;
    max-width: 100%;
    height: 220px;
    border-radius: 12px;
    border: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-top: 18px;
    display: block;
}

/* === Chatbot Styles === */
.chatbot-toggler {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-light);
    border: none;
    box-shadow: 0 5px 20px rgba(0,90,156,0.15);
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.chatbot-toggler:hover {
    background: var(--secondary-color);
    transform: scale(1.08);
}
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 370px;
    max-width: 98vw;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,90,156,0.15);
    font-family: 'Be Vietnam Pro', sans-serif;
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
    transition: opacity 0.35s, transform 0.35s;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chatbot-header {
    background: var(--primary-color);
    color: var(--bg-light);
    padding: 18px 22px;
    font-size: 1.15em;
    font-weight: 700;
    border-radius: 15px 15px 0 0;
    letter-spacing: 0.5px;
}
.chat-window {
    background: var(--bg-gray);
    padding: 18px 18px 12px 18px;
    min-height: 220px;
    max-height: 320px;
    overflow-y: auto;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.chat-message.user {
    justify-content: flex-end;
}
.chat-message.bot {
    justify-content: flex-start;
}
.message-bubble {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 1em;
    line-height: 1.5;
    word-break: break-word;
    box-shadow: 0 2px 8px rgba(0,90,156,0.07);
}
.message-bubble.user {
    background: var(--primary-color);
    color: var(--bg-light);
    border-bottom-right-radius: 4px;
}
.message-bubble.bot {
    background: var(--bg-gray);
    color: var(--primary-color);
    border-bottom-left-radius: 4px;
}
.chat-input-box {
    display: flex;
    border-top: 1px solid #eee;
    background: var(--bg-light);
    padding: 12px 18px;
    gap: 10px;
}
.chat-input {
    flex: 1;
    font-family: inherit;
    font-size: 1em;
    padding: 10px 14px;
    border-radius: 24px;
    border: 1px solid #eee;
    outline: none;
    background: var(--bg-gray);
    color: var(--primary-color);
    transition: border 0.2s;
}
.chat-input:focus {
    border: 1.5px solid var(--primary-color);
}
.chat-send-btn {
    background: var(--secondary-color);
    color: var(--bg-light);
    border: none;
    border-radius: 24px;
    font-size: 1em;
    font-weight: 600;
    padding: 0 22px;
    cursor: pointer;
    transition: background 0.2s;
}
.chat-send-btn:hover {
    background: var(--primary-color);
}
@media (max-width: 600px) {
    .chatbot-container {
        right: 8px;
        bottom: 70px;
        width: 98vw;
        max-width: 98vw;
        border-radius: 10px;
    }
    .chatbot-header {
        padding: 14px 12px;
        font-size: 1em;
    }
    .chat-window {
        padding: 12px 8px 8px 8px;
        min-height: 140px;
        max-height: 220px;
        font-size: 0.98em;
    }
    .chat-input-box {
        padding: 8px 8px;
        gap: 6px;
    }
    .chat-input {
        font-size: 0.98em;
        padding: 8px 10px;
    }
    .chat-send-btn {
        font-size: 0.98em;
        padding: 0 12px;
    }
    .chatbot-toggler {
        right: 8px;
        bottom: 12px;
        width: 48px;
        height: 48px;
        font-size: 1.5em;
    }
}
@media screen and (max-width: 992px) {
    .header-top, .header-main {
        padding: 8px 10px 0 10px;
    }
    .header-main {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 8px 0 8px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .logo {
        align-items: center;
        margin-bottom: 12px;
        width: 100%;
        justify-content: center;
    }
    .logo img.header-logo {
        height: 32px;
    }
    .main-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }
    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 8px 0;
        width: 100%;
        margin-bottom: 0;
        justify-items: center;
        align-items: center;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .main-nav ul li {
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav ul li:nth-child(1) {
        grid-row: 1;
        grid-column: 1;
    }
    .main-nav ul li:nth-child(2) {
        grid-row: 1;
        grid-column: 2;
    }
    .main-nav ul li:nth-child(3) {
        grid-row: 1;
        grid-column: 3;
    }
    .main-nav ul li:nth-child(4) {
        grid-row: 2;
        grid-column: 1;
    }
    .main-nav ul li:nth-child(5) {
        grid-row: 2;
        grid-column: 2;
    }
    .lang-switch.lang-dropdown {
        grid-row: 2;
        grid-column: 3;
        margin-left: 0;
        margin-top: 0;
        align-self: center;
        position: static;
        top: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav a {
        font-size: 0.92em;
        padding: 7px 0;
        word-break: break-word;
        white-space: normal;
        min-width: 0;
        max-width: 100vw;
        box-sizing: border-box;
    }
    h1, .intro h1 {
        font-size: 1.45em !important;
        line-height: 1.2 !important;
    }
    h2, .features h2, .cta h2, .testimonials-section h2 {
        font-size: 1.15em !important;
        line-height: 1.2 !important;
    }
    .footer {
        padding: 28px 8px 8px 8px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 18px;
        text-align: left;
        max-width: 100vw;
        margin: 0 auto;
    }
    .footer-col {
        margin-bottom: 0;
        padding: 0;
        text-align: left;
    }
    .footer-map {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .footer-map iframe {
        width: 100% !important;
        max-width: 100vw !important;
        height: 160px !important;
        margin: 0 auto !important;
        display: block !important;
        border-radius: 10px !important;
    }
    .social-links {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 8px;
        flex-wrap: wrap;
    }
    .footer-bottom {
        padding-top: 12px;
        font-size: 0.92em;
        text-align: center;
        border-top: 1px solid #4a627a;
        max-width: 100vw;
        margin: 0 auto;
    }
}
@media screen and (max-width: 480px) {
    .header-main {
        padding: 8px 2px 0 2px;
        max-width: 100vw;
        width: 100vw;
    }
    .main-nav ul {
        gap: 6px 0;
    }
    .main-nav a {
        font-size: 0.85em;
        padding: 6px 0;
    }
    .lang-switch.lang-dropdown button {
        font-size: 0.85em;
        padding: 5px 8px;
    }
}
@media screen and (max-width: 375px) {
    .main-nav a {
        font-size: 0.78em;
        padding: 5px 0;
    }
    .logo img.header-logo {
        height: 22px;
    }
}

/* --- Fix visibility for RU homepage sections --- */
.hero-section, .intro, .featured-products, .faq-section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* === Chatbot Visibility Fix === */
.chatbot-container {
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
    transition: opacity 0.35s, transform 0.35s;
    z-index: 9998;
}
.show-chatbot .chatbot-container {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.chatbot-toggler {
    display: flex !important;
}

/* === Floating Button Column (tăng margin Zalo, fix đè) === */
.floating-btn-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    right: 18px;
    bottom: 32px;
    z-index: 9999;
}

/* Classes added to replace inline styles in product pages */
.header-main--layout {
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:1100px;
    margin:0 auto;
}
.logo--link { display:flex; align-items:center; justify-content:center; margin-right:36px; }
.main-nav--center { flex:1; display:flex; justify-content:center; }
.main-nav__list { display:flex; gap:36px; list-style:none; margin:0; padding:0; }
.lang-switch--pos { margin-left:36px; position:relative; }
.lang-btn { background:#fff; border:1px solid #eee; padding:8px 18px; border-radius:24px; font-weight:600; color:#005A9C; cursor:pointer; display:flex; align-items:center; gap:8px; }
.lang-btn i { font-size:0.9em; }
.lang-menu { display:none; position:absolute; right:0; top:40px; background:#fff; border:1px solid #eee; border-radius:10px; box-shadow:0 2px 12px rgba(0,90,156,0.07); padding:8px 0; min-width:120px; z-index:999; }
.lang-menu__item { display:block; padding:8px 18px; color:#005A9C; font-weight:500; text-decoration:none; }
.floating-btn--fixed { position:fixed; right:18px; bottom:120px; z-index:9999; }
.cart-count-badge { position:absolute; top:-8px; right:-8px; background:#e74c3c; color:#fff; border-radius:50%; font-size:0.9em; padding:2px 7px; }
.send-order-hidden { display:none; }
.brand-link { color: var(--secondary-color); text-decoration: underline; }
.footer-contact-meta { margin-top:15px; border-top:1px solid #4a627a; padding-top:15px; }

/* Ensure .hidden utility exists */
.hidden { display:none !important; }

.empty-cart-note { color: #888; }
.floating-btn-column .floating-btn {
    margin-bottom: 0 !important;
}
.floating-btn-column .floating-btn:nth-child(2) {
    margin-bottom: 48px !important;
}
@media (max-width: 600px) {
    .floating-btn-column {
        right: 6px;
        bottom: 24px;
    }
    .floating-btn-column .floating-btn:nth-child(2) {
        margin-bottom: 32px !important;
    }
}
.floating-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-light);
    border: none;
    box-shadow: 0 5px 20px rgba(0,90,156,0.15);
    font-size: 1.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin: 0 !important;
}
.floating-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.08);
}
.floating-btn i {
    font-size: 1em;
    color: var(--bg-light);
    transition: color 0.2s;
}

/* === BackToTop Button Center Right === */
#backToTop {
    position: fixed !important;
    right: 18px;
    bottom: 50%;
    transform: translateY(50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    background: var(--primary-color);
    color: var(--bg-light);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 9999;
}
#backToTop:hover {
    background: var(--secondary-color);
}
@media (max-width: 600px) {
    #backToTop {
        right: 6px;
        width: 32px;
        height: 32px;
        font-size: 1em;
    }
}

/* --- RU Homepage - Ẩn các section không cần thiết --- */
.ru-homepage .hero-section,
.ru-homepage .intro,
.ru-homepage .featured-products,
.ru-homepage .faq-section {
    display: none !important;
}

/* --- RU Homepage - Hiện các section cần thiết --- */
.ru-homepage .hero-section.show,
.ru-homepage .intro.show,
.ru-homepage .featured-products.show,
.ru-homepage .faq-section.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- RU Homepage - Container chính --- */
.ru-homepage .container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- RU Homepage - Header và Navigation --- */
.ru-homepage .header {
    position: relative;
    z-index: 1000;
}
.ru-homepage .header .header-top {
    display: block;
    justify-content: flex-start;
    padding: 10px 20px;
}
.ru-homepage .header .header-top .search-box {
    margin-right: 16px;
    flex: 1;
}
.ru-homepage .header .header-top .search-box input[type="text"] {
    padding: 10px 40px 10px 12px;
    font-size: 1em;
}
.ru-homepage .header .header-top .search-icon {
    right: 12px;
}
.ru-homepage .header .header-top .social-icons {
    margin-left: 16px;
}
.ru-homepage .header .header-top .lang-switch {
    margin-left: 16px;
}
.ru-homepage .header .header-main {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}
.ru-homepage .header .header-main .logo {
    margin-bottom: 10px;
}
.ru-homepage .header .header-main .main-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ru-homepage .header .header-main .main-nav ul {
    display: block;
    width: 100%;
}
.ru-homepage .header .header-main .main-nav ul li {
    width: 100%;
    text-align: left;
}
.ru-homepage .header .header-main .main-nav ul li a {
    padding: 10px 12px;
    font-size: 0.95em;
}
.ru-homepage .header .header-main .main-nav ul li a:hover,
.ru-homepage .header .header-main .main-nav ul li a.active {
    background: var(--secondary-color);
    color: var(--bg-light);
}

/* --- RU Homepage - Footer --- */
.ru-homepage .footer {
    padding: 20px 10px;
}
.ru-homepage .footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
}
.ru-homepage .footer .footer-col {
    margin-bottom: 0;
    padding: 0;
}
.ru-homepage .footer .footer-map {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.ru-homepage .footer .footer-map iframe {
    width: 100% !important;
    max-width: 100vw !important;
    height: 160px !important;
    margin: 0 auto !important;
    display: block !important;
    border-radius: 10px !important;
}
.ru-homepage .footer .social-links {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.ru-homepage .footer .footer-bottom {
    padding-top: 12px;
    font-size: 0.92em;
    text-align: center;
    border-top: 1px solid #4a627a;
    max-width: 100vw;
    margin: 0 auto;
}

/* === Promo Section Styles === */
.promo-subscribe-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}
.promo-form-col {
    flex: 1 1 420px;
    min-width: 320px;
    max-width: 520px;
}
.promo-info-col {
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.promo-benefits ul {
    margin: 0 0 0 18px;
    padding: 0;
}
.promo-benefits img {
    box-shadow: 0 2px 12px rgba(0,90,156,0.09);
}
@media (max-width: 900px) {
    .promo-subscribe-grid {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .promo-info-col, .promo-form-col {
        max-width: 100%;
        min-width: 0;
    }
}
.add-to-cart-btn {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 1em;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.add-to-cart-btn:hover {
    background: var(--primary-color);
}
#cartBtn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 18px;
    top: 18px; /* đổi từ bottom: 120px; thành top: 18px; */
    z-index: 9999;
}
#cartBtn:hover {
    background: var(--secondary-color);
}
#cartBtn #cartCount {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    font-size: 0.9em;
    padding: 2px 7px;
}
.cart-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 400px;
    width: 95vw;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,90,156,0.13);
}
.cart-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2em;
    color: #888;
    cursor: pointer;
}
#cartItems {
    margin-bottom: 18px;
}
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 1em;
}
.cart-item-row input[type="number"] {
    width: 48px;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid #eee;
    font-size: 1em;
}
.cart-item-remove {
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.1em;
    margin-left: 8px;
}
#orderForm input, #orderForm textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 1em;
}
#orderForm button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}
@media (max-width:600px) {
    .cart-modal-content {
        padding: 18px 6px;
        max-width: 98vw;
    }
}

/* =================================== */
/* === RELATED PRODUCTS SECTION === */
/* =================================== */
.related-products {
    margin-top: 60px;
    padding: 40px 0;
    background: var(--bg-gray);
    border-radius: 12px;
}

.related-products h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card-small {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,90,156,0.08);
    border: 1px solid rgba(0,90,156,0.05);
}

.product-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,90,156,0.15);
}

.product-card-small img {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 0 auto 15px;
    object-fit: contain;
}

.product-card-small h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-small .price {
    color: #e74c3c;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 10px 0 15px 0;
}

.product-card-small .btn-view {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.product-card-small .btn-view:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive cho related products */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .related-products {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .related-products h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .product-card-small {
        padding: 15px;
    }
    
    .product-card-small h4 {
        font-size: 1rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card-small img {
        max-width: 120px;
    }
}