/* ====================================================
   Theme override: Red-Pink (Đỏ hồng)
   Primary: #E91E63 | Dark: #AD1457 | Soft: #FCE4EC
   ==================================================== */

:root {
    --primary: #E91E63;
    --primary-dark: #AD1457;
    --primary-light: #FCE4EC;
}

/* Top header bar */
.top-header { background: var(--primary); color: #fff; }
.top-header .contact-number,
.top-header .top-header-bar a,
.top-header a { color: #fff !important; }

/* Site logo text in SVG — white for contrast on pink top-header */
.logo svg g { fill: #FFFFFF !important; }
.logo svg text { fill: #FFFFFF !important; }

/* Main nav links hover */
.main-menu li a:hover,
.main-menu li.active a,
.navigation li a:hover { color: var(--primary) !important; }

/* Buttons */
.btn-main,
.btn-small,
.btn-large.btn-main,
.btn-round-full,
button.btn-main {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.btn-main:hover,
.btn-small:hover,
.btn-round-full:hover,
button.btn-main:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
    border-color: var(--primary-dark) !important;
}
.btn-solid-border {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    background: #fff !important;
}
.btn-solid-border:hover {
    background: var(--primary) !important;
    color: #fff !important;
}
.btn-transparent { color: var(--primary) !important; }
.btn-transparent:hover { color: var(--primary-dark) !important; }

/* Links */
a { color: var(--primary); }
a:hover, a:focus { color: var(--primary-dark); }

/* Headings accent / borders that were black */
.section-title h2:after,
.title-border:after { background: var(--primary) !important; }

/* Pagination / badge highlights */
.badge,
.label,
.pagination > .active > a,
.pagination > .active > span {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

/* Footer */
.footer { background: #1a0510; color: #f8d7e2; }
.footer a { color: var(--primary-light); }
.footer a:hover { color: var(--primary) !important; }
.footer .copyright-text a { color: var(--primary) !important; }

/* Product cards / hovers (best-effort, common selectors) */
.product .product-content h4 a:hover,
.product-grid h4 a:hover { color: var(--primary) !important; }
.product-overlay { background: rgba(233, 30, 99, 0.6) !important; }

/* Form focus */
.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25) !important;
}

/* Top-up / contact phone highlight */
.contact-number i { color: #fff; }

/* Cart / icon counter */
.cart-count, .badge-cart { background: var(--primary) !important; color: #fff !important; }

/* ====================================================
   Info pages: Liên hệ / Bảo mật / Quy định / Đổi trả
   ==================================================== */
.info-page {
    padding: 50px 0 80px;
    background: linear-gradient(180deg, #fff 0%, #fff5f9 100%);
    min-height: 70vh;
}
.info-hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 20px;
}
.info-hero h1 {
    font-size: 38px;
    font-weight: 800;
    color: #1a0510;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}
.info-hero-sub { font-size: 16px; color: #777; margin: 0 0 18px; }
.info-hero-line {
    display: inline-block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
}
.info-body { margin-top: 10px; }

.info-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 22px;
    border: 1px solid #f5e6ec;
}
.info-card-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
}
.info-card-primary h3 { color: #fff; margin: 12px 0 10px; font-size: 20px; font-weight: 700; }
.info-card-primary p { color: rgba(255, 255, 255, 0.92); font-size: 14px; line-height: 1.6; margin: 0; }
.info-card-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
}

.info-quick-links {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5e6ec;
}
.info-quick-links a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    color: #444;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
}
.info-quick-links a i { color: var(--primary); font-size: 18px; }
.info-quick-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 22px;
}

.info-toc {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5e6ec;
    margin-bottom: 22px;
}
.info-toc h5 {
    font-size: 12px; color: #999;
    text-transform: uppercase; letter-spacing: 1px;
    margin: 0 0 12px; font-weight: 700;
}
.info-toc a {
    display: block;
    padding: 8px 12px;
    color: #555;
    font-size: 13.5px;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s;
    text-decoration: none;
}
.info-toc a:hover {
    border-left-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 16px;
}

.info-article {
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5e6ec;
}
.info-article h4 {
    font-size: 20px; font-weight: 700;
    color: #1a0510;
    margin: 28px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    display: flex; align-items: center; gap: 10px;
}
.info-article h4:first-child { margin-top: 0; }
.info-article h4 i { color: var(--primary); font-size: 22px; }
.info-article h6 {
    font-size: 14px; font-weight: 700;
    color: var(--primary-dark);
    margin: 14px 0 8px;
}
.info-article p { color: #555; font-size: 15px; line-height: 1.75; margin: 0 0 12px; }
.info-article a { color: var(--primary); font-weight: 600; }
.info-article a:hover { color: var(--primary-dark); text-decoration: underline; }

.info-list { list-style: none; padding: 0; margin: 12px 0 18px; }
.info-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}
.info-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 16px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.info-subsection { margin: 0 0 16px 4px; }

.info-callout {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 18px 0;
}
.info-callout i { font-size: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-callout > div { color: #4a1530; font-size: 14.5px; line-height: 1.65; }
.info-callout-warning { background: #fff7e0; border-left-color: #ffa726; }
.info-callout-warning i { color: #f57c00; }
.info-callout-warning > div { color: #5d3a00; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}
.info-item {
    display: flex; gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5e6ec;
    transition: transform 0.2s, box-shadow 0.2s;
}
.info-item:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(233, 30, 99, 0.12); }
.info-item-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.info-item-body h5 {
    font-size: 13px; color: #999;
    text-transform: uppercase; letter-spacing: 0.8px;
    font-weight: 700; margin: 0 0 6px;
}
.info-item-body p { color: #333; margin: 0; font-size: 14.5px; line-height: 1.55; }

.info-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    border: 1px solid #f5e6ec;
}
.info-map iframe { display: block; }

.info-steps {
    background: linear-gradient(135deg, #fff5f9 0%, #fff 100%);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    border: 1px dashed var(--primary);
}
.info-steps h5 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin: 0 0 18px; }
.info-step {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f5e6ec;
}
.info-step:last-child { border-bottom: none; }
.info-step-num {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
}
.info-step > div { color: #444; font-size: 14.5px; line-height: 1.6; padding-top: 5px; }

@media (max-width: 768px) {
    .info-hero h1 { font-size: 28px; }
    .info-article { padding: 24px 20px; }
    .info-grid { grid-template-columns: 1fr; }
    .info-card-icon { width: 48px; height: 48px; font-size: 22px; }
}

/* ====================================================
   Product card: uniform image dimensions
   ==================================================== */
.product-item .product-thumb {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
}
a.product-thumb:hover img { transform: scale(1.05); transition: transform 0.3s ease; }
a.product-thumb img { transition: transform 0.3s ease; }

/* ====================================================
   Highlight price — listing & detail pages
   ==================================================== */

/* Listing page: <p class="price">Xk</p> */
.product-item .product-content .price {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    margin-top: 4px;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

/* Product card title link colour */
.product-item .product-content h4 a { color: #333 !important; }
.product-item .product-content h4 a:hover { color: var(--primary) !important; }

/* Detail page: <p class="product-price">20,000</p> */
.single-product-details .product-price {
    display: inline-block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 22px;
    border-radius: 8px;
    margin: 16px 0 24px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.15);
}
.single-product-details .product-price::after {
    content: ' đ';
    font-size: 22px;
    font-weight: 600;
    margin-left: 4px;
    opacity: 0.8;
}
@media (max-width: 480px) {
    .single-product-details .product-price { font-size: 28px; padding: 6px 16px; }
    .single-product-details .product-price::after { font-size: 18px; }
}

/* ====================================================
   Product detail image carousel: fixed dimensions
   ==================================================== */
.single-product-slider .carousel-inner {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 4px;
}
.single-product-slider .carousel-inner .item {
    width: 100%;
    height: 100%;
}
.single-product-slider .carousel-inner .item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
    background: #fff;
}

/* ====================================================
   Main navigation menu — modern pill design
   ==================================================== */
.menu {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-bottom: 3px solid var(--primary);
}
.navigation {
    padding: 6px 0 !important;
}

/* Top-level nav items */
.navigation .navbar-nav > li > a {
    color: #444 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 12px 22px !important;
    margin: 0 4px;
    border: none !important;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.25s ease;
}
.navigation .navbar-nav > li > a:hover,
.navigation .navbar-nav > li > a:focus,
.navigation .nav .open > a,
.navigation .nav .open > a:hover,
.navigation .nav .open > a:focus {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}
.navigation .navbar-nav > li.active > a,
.navigation .navbar-nav > li > a.active {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* Dropdown caret icon */
.navigation .navbar-nav > li > a .tf-ion-ios-arrow-down {
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.25s;
}
.navigation .nav .open > a .tf-ion-ios-arrow-down {
    transform: rotate(180deg);
}

/* Dropdown card */
.navigation .dropdown-slide .dropdown-menu {
    background: #fff;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    min-width: 220px;
}
.navigation .dropdown-slide .dropdown-menu .row { margin: 0; }
.navigation .dropdown-slide .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.navigation .dropdown-slide .dropdown-menu li a {
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    margin: 2px 0;
}
.navigation .dropdown-slide .dropdown-menu li a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    padding-left: 22px !important;
}

/* Username / Xu chips on right */
#mnTenTaiKhoan > a,
#mnXuTaiKhoan > a {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    border-radius: 30px;
    padding: 8px 16px !important;
    margin: 0 4px;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
#mnXuTaiKhoan > a {
    background: linear-gradient(135deg, #FFD54F, #FFA000) !important;
    color: #5d4037 !important;
    box-shadow: 0 3px 8px rgba(255, 160, 0, 0.25);
}
#mnXuTaiKhoan > a::before {
    content: '🪙';
    margin-right: 4px;
}
#mnTenTaiKhoan > a::before {
    content: '👤 ';
    margin-right: 4px;
}
#mnTenTaiKhoan > a:hover,
#mnXuTaiKhoan > a:hover {
    transform: translateY(-1px);
    transition: transform 0.2s;
}

/* Mobile burger menu — match brand */
.navigation .navbar-toggle {
    border: 1px solid var(--primary) !important;
    border-radius: 8px;
    padding: 8px 10px;
    margin: 8px;
}
.navigation .navbar-toggle .icon-bar {
    background: var(--primary) !important;
}
.navigation .menu-title {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .navigation .navbar-nav > li > a {
        margin: 4px 0;
        padding: 12px 18px !important;
    }
    .navigation .dropdown-slide .dropdown-menu {
        box-shadow: none !important;
        background: #fafafa !important;
    }
}

/* Thumbnail strip: square thumbs, no jump */
.single-product-slider .carousel-indicators li {
    width: 60px !important;
    height: 60px !important;
    margin: 0 6px 0 0 !important;
    overflow: hidden;
    border-radius: 4px;
}
.single-product-slider .carousel .carousel-indicators li img,
.single-product-slider .carousel-indicators li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
.product-item .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* Product badge: pink instead of black */
.product-item .product-thumb .bage {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ====================================================
   Home page category-box: uniform image dimensions
   ==================================================== */
.category-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    position: absolute !important;
    top: 0;
    left: 0;
}
.category-box {
    height: 350px;
}
.category-box.category-box-2 {
    height: 730px;
}
@media (max-width: 768px) {
    .category-box,
    .category-box.category-box-2 { height: 400px; }
}
@media (max-width: 480px) {
    .category-box,
    .category-box.category-box-2 { height: 250px; }
}


