/* CSS Reset and Variables */
:root {
    --primary-color: #ff9a9e; /* Pastel pink */
    --secondary-color: #fecfef; /* Light pink */
    --accent-color: #f6416c; /* Deep pink for highlights */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #fff5f5;
    --white: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(255, 154, 158, 0.2);
    --font-main: 'Quicksand', sans-serif;
    --font-display: 'Pacifico', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3 {
    color: var(--text-dark);
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 400;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-white {
    color: var(--white) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--primary-color);
}

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

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(255, 107, 129, 0.08);
    transition: all 0.3s ease;
}

.header .container,
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    max-width: 1440px;
    width: 100%;
    padding: 0 24px;
    gap: 12px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--accent-color);
    font-weight: 400;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(255, 107, 129, 0.18);
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 6px;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 3px;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0;
}

.nav-list a {
    display: inline-block;
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 700;
    font-size: 0.91rem;
    padding: 6px 11px;
    border-radius: 18px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--accent-color);
    background: #fff0f3;
}

.nav-list a.active {
    color: var(--accent-color);
    background: #ffeef2;
    font-weight: 800;
}

.header-btn,
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-btn a.btn,
.header-right-actions a.btn {
    padding: 7px 14px;
    font-size: 0.85rem;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: #fff0f3;
    border: 1px solid #ffd1d8;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.25rem;
    color: var(--accent-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: rotate(3deg);
    transition: transform 0.3s;
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 154, 158, 0.15);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 154, 158, 0.25);
}

.menu-item.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(246, 65, 108, 0.2);
}

.menu-item.featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 35px rgba(246, 65, 108, 0.3);
}

/* Khung ảnh menu cố định tỷ lệ chuẩn, không bị dài */
.menu-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #fff5f6;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.menu-item:hover .menu-img img {
    transform: scale(1.08);
}

.hot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 65, 108, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Căn lề chữ thông thoáng, bắt mắt */
.menu-info {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.item-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--accent-color);
    background: rgba(246, 65, 108, 0.08);
    padding: 4px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.menu-info h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.35;
}

.menu-info p {
    color: #636e72;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Hàng giá tiền và nút đặt bên dưới card */
.menu-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px dashed rgba(255, 107, 129, 0.25);
    padding-top: 16px;
    margin-top: auto;
}

.menu-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}

.menu-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-color);
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.2;
}

.menu-price small {
    font-size: 0.82rem;
    color: #999;
    font-weight: 500;
}

.menu-price-subtext {
    font-size: 0.82rem;
    color: #8395a7;
    font-weight: 600;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 6px;
}

.menu-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 700;
    background: #fff0f3;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(246, 65, 108, 0.25);
    white-space: nowrap;
}

.menu-order-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 65, 108, 0.3);
}

.donut-highlight-banner {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe3e8 100%);
    border: 2px dashed var(--accent-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.donut-highlight-img {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(246, 65, 108, 0.2);
}

.donut-highlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.donut-highlight-img:hover img {
    transform: scale(1.08);
}

.donut-highlight-text {
    flex: 1;
    min-width: 250px;
}

.donut-highlight-text h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.donut-highlight-text p {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.donut-highlight-action .btn {
    white-space: nowrap;
}

/* Brand Banner Strip */
.brand-strip {
    padding: 20px 0 60px;
}

.brand-strip-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 3px solid #ffeef1;
}

.brand-strip-img img {
    width: 100%;
    display: block;
    height: auto;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative;
    height: 240px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: var(--white);
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(255, 154, 158, 0.25);
    border: 5px solid #fff5f6;
    transition: transform 0.35s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-features {
    list-style: none;
    margin-top: 25px;
}

.about-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: var(--white);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin: 15px 0;
    color: #cccccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links i {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #1a1a1a;
    text-align: center;
    padding: 20px 0;
    color: #888888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content, .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
    
    .about-features li {
        justify-content: center;
    }
}

/* Responsive cho thanh Header & Menu */
@media (max-width: 1280px) {
    .header .container,
    .header-container {
        padding: 0 16px;
        gap: 8px;
    }
    .logo {
        font-size: 1.45rem;
    }
    .logo img {
        width: 38px;
        height: 38px;
    }
    .nav-list {
        gap: 2px;
    }
    .nav-list a {
        padding: 5px 8px;
        font-size: 0.88rem;
    }
    .header-btn a.btn,
    .header-right-actions a.btn {
        padding: 6px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 1120px) {
    .header-btn a.btn,
    .header-right-actions a.btn {
        display: none; /* Ẩn nút chữ to, giữ lại nút icon giỏ hàng và switcher ngôn ngữ */
    }
    .nav-list a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .header .container,
    .header-container {
        height: 68px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        display: contents;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 16px 20px;
        box-shadow: 0 14px 28px rgba(0,0,0,0.1);
        border-bottom: 2px solid #ffd1d8;
        gap: 6px;
        z-index: 999;
    }
    
    .nav-list.active {
        display: flex;
        animation: slideDownNav 0.25s ease-out;
    }

    .nav-list a {
        width: 100%;
        padding: 11px 18px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .header-btn,
    .header-right-actions {
        display: flex !important;
        gap: 8px;
    }
    
    .header-btn a.btn,
    .header-right-actions a.btn {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@keyframes slideDownNav {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quick Order Modal Styling */
.order-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
    animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.order-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(246, 65, 108, 0.2);
    animation: modalSlideUp 0.25s ease-out;
}
@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.97); }
    to { transform: translateY(0) scale(1); }
}
.order-modal-header {
    background: linear-gradient(135deg, #fff0f3 0%, #ffeef2 100%);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffd8e0;
}
.order-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.order-modal-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff9a9e;
}
.order-modal-title h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.order-modal-title span {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}
.order-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.order-modal-close:hover {
    color: var(--accent-color);
}
.order-modal-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.selected-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff9fa;
    border: 1.5px dashed #ffb6c1;
    border-radius: 12px;
    padding: 10px 14px;
}
.selected-item-card img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}
.selected-item-info {
    flex: 1;
}
.selected-item-tag {
    font-size: 0.75rem;
    background: #ffe3e3;
    color: #e84118;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}
.selected-item-info h4 {
    font-size: 1rem;
    margin: 4px 0 2px;
    color: #2f3542;
}
.selected-item-price {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 700;
}
.order-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.order-form-row {
    display: flex;
    gap: 12px;
}
.order-form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a4a4a;
}
.order-form-group label i {
    color: var(--primary-color);
    margin-right: 4px;
}
.order-form-group .required {
    color: #e84118;
}
.order-form-group input,
.order-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ffd1d8;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.2s;
    outline: none;
    background: #fafafa;
}
.order-form-group input:focus,
.order-form-group textarea:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(246, 65, 108, 0.15);
}
.order-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.btn-submit-order {
    flex: 2;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}
.btn-fb-chat {
    flex: 1.2;
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}
.order-status-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}
.order-status-msg.success {
    background: #e8f8f0;
    color: #2ed573;
    border: 1px solid #b8e994;
}
.order-status-msg.error {
    background: #ffebee;
    color: #ff4757;
    border: 1px solid #ffb8b8;
}

/* ==========================================================================
   E-COMMERCE ENHANCEMENTS: MINI-CART, PDP & CHECKOUT STYLES
   ========================================================================== */

/* --- 1. Header Cart Button & Badges --- */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-trigger-btn {
    position: relative;
    background: #fff;
    border: 2px solid var(--primary-color);
    color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 129, 0.15);
}
.cart-trigger-btn:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 71, 87, 0.35);
}
.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    animation: pulseBadge 1.5s infinite;
}
@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Card Action Buttons */
.menu-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.menu-card-actions .menu-order-btn,
.menu-card-actions .btn-view-detail,
.menu-card-actions .btn-quick-add-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px !important;
    border-radius: 25px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-decoration: none;
    white-space: nowrap !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.btn-view-detail {
    background: #ffffff !important;
    color: var(--accent-color) !important;
    border: 1.5px solid #ffccd5 !important;
    box-shadow: 0 2px 6px rgba(255, 107, 129, 0.08);
}

.btn-view-detail:hover {
    background: #fff0f3 !important;
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 129, 0.2);
}

.btn-quick-add-cart {
    background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
}

.btn-quick-add-cart:hover {
    background: linear-gradient(135deg, #ff4757 0%, #ee5253 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 71, 87, 0.45);
}

@media (max-width: 380px) {
    .menu-card-actions {
        gap: 6px;
    }
    .menu-card-actions .menu-order-btn,
    .menu-card-actions .btn-view-detail,
    .menu-card-actions .btn-quick-add-cart {
        padding: 8px 8px !important;
        font-size: 0.8rem !important;
        gap: 4px;
    }
}


/* --- 2. Mini-Cart Drawer & Backdrop --- */
.mini-cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mini-cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mini-cart-drawer.active {
    transform: translateX(0);
}
.mini-cart-header {
    padding: 20px 24px;
    border-bottom: 1.5px solid #ffeef0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fffafa;
}
.mini-cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2f3542;
}
.mini-cart-title i {
    color: var(--accent-color);
}
.mini-cart-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #a4b0be;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.mini-cart-close:hover {
    color: #ff4757;
}
.mini-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.mini-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    color: #a4b0be;
    gap: 14px;
}
.mini-cart-empty .empty-icon {
    font-size: 3.5rem;
    color: #ffccd5;
}
.mini-cart-empty h4 {
    font-size: 1.25rem;
    color: #57606f;
}
.mini-cart-promo {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.4;
}
.mini-cart-promo.info {
    background: #fff0f3;
    color: #c44569;
    border-left: 4px solid #ff4757;
}
.mini-cart-promo.success {
    background: #e8f8f0;
    color: #2ed573;
    border-left: 4px solid #2ed573;
}
.mini-cart-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mini-cart-item {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #ffd8df;
    position: relative;
}
.mini-cart-item-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ffe3e7;
}
.mini-cart-item-detail {
    flex: 1;
}
.mini-cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2f3542;
    margin-bottom: 2px;
}
.mini-cart-item-flavor {
    font-size: 0.8rem;
    color: #ff6b81;
    margin-bottom: 6px;
}
.mini-cart-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mini-cart-item-price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.95rem;
}
.mini-cart-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid #ffd1d8;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.mini-cart-qty-ctrl button {
    background: none;
    border: none;
    padding: 3px 8px;
    cursor: pointer;
    color: #57606f;
    font-size: 0.75rem;
}
.mini-cart-qty-ctrl button:hover {
    background: #ffeef0;
    color: var(--accent-color);
}
.mini-cart-qty-ctrl .qty-display {
    padding: 0 6px;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}
.mini-cart-btn-remove {
    background: none;
    border: none;
    color: #ced6e0;
    font-size: 1.3rem;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1;
}
.mini-cart-btn-remove:hover {
    color: #ff4757;
}
.mini-cart-footer {
    padding: 20px;
    border-top: 1.5px solid #ffeef0;
    background: #fffafa;
}
.mini-cart-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 1.05rem;
}
.mini-cart-subtotal-row strong {
    font-size: 1.35rem;
    color: var(--accent-color);
}

/* Toast Notification */
.kitten-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.kitten-toast {
    background: #2f3542;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}
.kitten-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.kitten-toast i {
    color: #2ed573;
    font-size: 1.1rem;
}
.kitten-toast.info i {
    color: #70a1ff;
}

/* --- 3. Breadcrumb Bar & Page Body Offsets --- */
body.pdp-page,
body.cart-page {
    padding-top: 80px;
}

.breadcrumb-bar {
    background: #fff0f3;
    padding: 14px 0;
    border-bottom: 1px solid #ffd8e0;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.9rem;
}
.breadcrumb-list a {
    color: #57606f;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-list a:hover {
    color: var(--accent-color);
}
.breadcrumb-list i {
    font-size: 0.75rem;
    color: #a4b0be;
}
.breadcrumb-list .active {
    color: var(--accent-color);
    font-weight: 700;
}

/* --- 4. Product Detail Page (PDP) Layout --- */
.pdp-section {
    padding: 40px 0 80px;
    background: #fff;
}
.pdp-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: start;
}
.pdp-gallery-wrap {
    position: sticky;
    top: 90px;
}
.pdp-main-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff5f5;
    box-shadow: 0 10px 30px rgba(255, 154, 158, 0.25);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdp-main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.pdp-main-image-box:hover img {
    transform: scale(1.04);
}
.pdp-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    z-index: 2;
}
.pdp-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.pdp-thumb-item {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff5f5;
    flex-shrink: 0;
}
.pdp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pdp-thumb-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    transform: scale(1.05);
}
.pdp-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #ffeef0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.trust-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}
.trust-item strong {
    display: block;
    font-size: 0.85rem;
    color: #2f3542;
}
.trust-item span {
    font-size: 0.75rem;
    color: #747d8c;
}

/* PDP Info Right */
.pdp-tag {
    display: inline-block;
    background: #ffe3e3;
    color: #e84118;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.pdp-title {
    font-size: 2.2rem;
    color: #2f3542;
    margin-bottom: 12px;
    line-height: 1.25;
}
.pdp-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.pdp-rating .stars {
    color: #ffa502;
    font-size: 0.95rem;
}
.rating-text {
    font-weight: 700;
    color: #2f3542;
    font-size: 0.9rem;
}
.rating-count {
    color: #a4b0be;
    font-size: 0.85rem;
}
.pdp-price-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.pdp-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-color);
}
.pdp-stock-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pdp-stock-status.in-stock {
    background: #e8f8f0;
    color: #2ed573;
}
.pdp-stock-status.pre-order {
    background: #fff4e6;
    color: #d97706;
    border: 1px solid #ffd8a8;
}
.pdp-stock-status.out-of-stock {
    background: #ffebee;
    color: #ff4757;
}
.pdp-desc {
    font-size: 1.05rem;
    color: #57606f;
    line-height: 1.6;
    margin-bottom: 20px;
}
.pdp-promo-card {
    background: linear-gradient(135deg, #fff0f3, #ffe3e8);
    border: 1.5px dashed #ff9a9e;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 24px;
    position: relative;
}
.pdp-promo-card .promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 6px;
}
.pdp-promo-card p {
    font-size: 0.95rem;
    color: #2f3542;
    margin: 0;
}

/* Flavor Selector */
.pdp-option-group {
    margin-bottom: 22px;
}
.option-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2f3542;
    margin-bottom: 10px;
}
.option-label i {
    color: var(--accent-color);
    margin-right: 4px;
}
.selected-flavor-name {
    color: var(--accent-color);
    font-weight: 800;
    margin-left: 6px;
}
.flavor-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}
.flavor-pill {
    padding: 10px 18px;
    border-radius: 25px;
    border: 1.5px solid #ffd1d8;
    background: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    color: #57606f;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.flavor-pill i:not(.checkmark) {
    font-size: 1rem;
    color: #ff6b81;
}
.flavor-pill .checkmark {
    display: none;
    font-size: 0.85rem;
    margin-left: 2px;
}
.flavor-pill:hover {
    border-color: var(--accent-color);
    background: #fff5f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 129, 0.2);
}
.flavor-pill.active {
    background: linear-gradient(135deg, #ff6b81, #f6416c);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(246, 65, 108, 0.4);
    transform: translateY(-2px);
}
.flavor-pill.active i:not(.checkmark) {
    color: #fff;
}
.flavor-pill.active .checkmark {
    display: inline;
    color: #fff;
}

/* Visual Flavor Selector with Thumbnails */
.flavor-pill.visual-pill {
    padding: 6px 16px 6px 6px;
    border-radius: 28px;
    gap: 10px;
}
.flavor-mini-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.flavor-pill:hover .flavor-mini-thumb {
    transform: scale(1.08);
}
.flavor-pill.active .flavor-mini-thumb {
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Topping Selector & Badges */
.topping-badge-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    background: #fff0f3;
    color: #ff4757;
    border: 1px solid #ffd1d8;
    margin-left: 8px;
    vertical-align: middle;
}

.topping-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.topping-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 22px;
    border: 1.5px dashed #ffd1d8;
    background: #fffafb;
    font-family: var(--font-main);
    font-size: 0.92rem;
    font-weight: 600;
    color: #57606f;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    user-select: none;
}

.topping-pill .topping-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f1f2f6;
    color: #a4b0be;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.topping-pill .topping-name {
    font-weight: 700;
}

.topping-pill .topping-price {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    background: #ffe3e8;
    color: #ff4757;
    transition: all 0.2s ease;
}

.topping-pill:hover {
    border-color: var(--accent-color);
    border-style: solid;
    background: #fff0f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 129, 0.15);
}

.topping-pill.active {
    background: linear-gradient(135deg, #ff758c, #ff4757);
    color: #fff;
    border-color: transparent;
    border-style: solid;
    box-shadow: 0 4px 14px rgba(255, 71, 87, 0.35);
    transform: translateY(-2px);
}

.topping-pill.active .topping-check {
    background: #fff;
    color: #ff4757;
}

.topping-pill.active .topping-price {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

/* Quick Order Modal Flavors */
.quick-order-flavors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 4px;
}
.flavor-radio-pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #fff;
    border: 1.5px solid #ffd1d8;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    color: #57606f;
    transition: all 0.2s ease;
    user-select: none;
}
.flavor-radio-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.flavor-radio-pill span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.flavor-radio-pill span i {
    color: #ff6b81;
    font-size: 0.95rem;
}
.flavor-radio-pill:hover {
    border-color: var(--accent-color);
    background: #fff5f6;
}
.flavor-radio-pill.active,
.flavor-radio-pill:has(input:checked) {
    background: linear-gradient(135deg, #ff6b81, #f6416c);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(246, 65, 108, 0.3);
}
.flavor-radio-pill.active span i,
.flavor-radio-pill:has(input:checked) span i {
    color: #fff;
}

/* Qty Row */
.pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.pdp-qty-ctrl {
    display: flex;
    align-items: center;
    border: 2px solid #ffd1d8;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
}
.btn-qty-pdp {
    background: none;
    border: none;
    width: 40px;
    height: 44px;
    font-size: 1rem;
    color: #57606f;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-qty-pdp:hover {
    background: #ffeef0;
    color: var(--accent-color);
}
#pdpQtyInput {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    color: #2f3542;
    outline: none;
}
.pdp-subtotal-preview {
    font-size: 1.05rem;
    color: #57606f;
}
.pdp-subtotal-preview strong {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-left: 6px;
}

/* Action Buttons */
.pdp-actions {
    display: flex;
    gap: 14px;
    margin-top: 26px;
}
.btn-add-to-cart {
    flex: 1.3;
    padding: 16px 24px;
    font-size: 1.05rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 107, 129, 0.35);
}
.btn-buy-now {
    flex: 1;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 16px 24px;
    font-size: 1.05rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
}
.pdp-quick-contact {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #747d8c;
}
.pdp-quick-contact a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 700;
}
.pdp-quick-contact a:hover {
    text-decoration: underline;
}

/* Tabs */
.pdp-tabs-container {
    margin-top: 60px;
    border-top: 2px solid #ffeef0;
    padding-top: 40px;
}
.pdp-tabs-nav {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #ffd8e0;
    margin-bottom: 30px;
}
.pdp-tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: #747d8c;
    cursor: pointer;
    position: relative;
    bottom: -2px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.pdp-tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}
.pdp-tab-content {
    display: none;
}
.pdp-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
.tab-card {
    background: #fffafa;
    border: 1px solid #ffe8eb;
    border-radius: 16px;
    padding: 28px;
}
.tab-card h3 {
    font-size: 1.3rem;
    color: #2f3542;
    margin-bottom: 14px;
}
.tab-list {
    list-style: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tab-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #57606f;
}
.tab-list li i {
    color: #2ed573;
}
.tips-box {
    margin-top: 18px;
    background: #fff0f3;
    border-left: 4px solid var(--accent-color);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
}
.tips-box strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 4px;
}
.shipping-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.shipping-item {
    display: flex;
    gap: 14px;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #ffd8e0;
}
.shipping-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
}
.shipping-item strong {
    font-size: 0.95rem;
    color: #2f3542;
}
.shipping-item p {
    font-size: 0.85rem;
    color: #747d8c;
    margin: 4px 0 0;
}

/* Related section */
.related-section {
    margin-top: 60px;
}

/* --- 5. Checkout & Cart Page Layout --- */
.checkout-section {
    padding: 40px 0 80px;
    background: #fdf8f8;
}
.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.cart-empty-state .empty-icon {
    font-size: 4rem;
    color: #ffccd5;
    margin-bottom: 16px;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 32px;
    align-items: start;
}
.checkout-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(255, 154, 158, 0.12);
    border: 1px solid #ffeef0;
    overflow: hidden;
}
.checkout-card .card-header {
    padding: 18px 24px;
    background: #fffafa;
    border-bottom: 1.5px solid #ffeef0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.checkout-card .card-header h3 {
    font-size: 1.15rem;
    color: #2f3542;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-card .card-header h3 i {
    color: var(--accent-color);
}
.btn-clear-cart {
    background: none;
    border: none;
    color: #a4b0be;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-clear-cart:hover {
    color: #ff4757;
}
.checkout-card .card-body {
    padding: 24px;
}
.cart-promo-banner {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #ffd8df;
}
.cart-promo-banner.info {
    background: #fff0f3;
    color: #c44569;
}
.cart-promo-banner.success {
    background: #e8f8f0;
    color: #2ed573;
}
.cart-items-table-wrap {
    overflow-x: auto;
}
.cart-items-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-items-table th {
    background: #fffafa;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #747d8c;
    text-transform: uppercase;
    border-bottom: 1px solid #ffeef0;
    letter-spacing: 0.5px;
}
.cart-items-table td {
    padding: 16px;
    border-bottom: 1px dashed #ffe8eb;
    vertical-align: middle;
}
.cart-table-prod {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-table-prod img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ffe3e7;
}
.cart-table-prod .prod-name {
    font-size: 0.95rem;
    color: #2f3542;
    margin: 0 0 2px;
}
.cart-table-prod .prod-flavor {
    font-size: 0.8rem;
    color: #ff6b81;
}
.prod-unit-price {
    font-size: 0.95rem;
    color: #57606f;
    font-weight: 600;
}
.cart-qty-ctrl-table {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #ffd1d8;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}
.cart-qty-ctrl-table button {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    color: #57606f;
    cursor: pointer;
}
.cart-qty-ctrl-table button:hover {
    background: #ffeef0;
    color: var(--accent-color);
}
.tb-qty-input {
    width: 32px;
    height: 28px;
    border: none;
    text-align: center;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
    color: #2f3542;
    outline: none;
}
.prod-line-total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
}
.btn-tb-remove {
    background: none;
    border: none;
    color: #ced6e0;
    font-size: 1.3rem;
    cursor: pointer;
}
.btn-tb-remove:hover {
    color: #ff4757;
}

/* Form checkout */
.form-grid-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-full {
    grid-column: 1 / -1;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ffd1d8;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    background: #fafafa;
}
.form-input:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(246, 65, 108, 0.15);
}

/* Voucher box */
.voucher-input-group {
    display: flex;
    gap: 8px;
}
.voucher-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #ffd1d8;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
}
.voucher-input-group button {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
}
.voucher-hints {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #747d8c;
    flex-wrap: wrap;
}
.chip-voucher {
    background: #fff0f3;
    border: 1px dashed var(--primary-color);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-main);
}
.chip-voucher:hover {
    background: var(--accent-color);
    color: #fff;
}
.voucher-feedback {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}
.voucher-feedback.success {
    background: #e8f8f0;
    color: #2ed573;
}
.voucher-feedback.error {
    background: #ffebee;
    color: #ff4757;
}

/* Order Summary */
.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #57606f;
}
.summary-line strong {
    color: #2f3542;
}
.discount-line strong {
    color: #2ed573 !important;
}
.combo-discount-line {
    color: #2ed573;
    font-weight: 700;
}
.combo-discount-line strong {
    color: #2ed573 !important;
}
.bonus-line strong {
    color: var(--accent-color) !important;
}
.summary-divider {
    border: none;
    border-top: 1.5px solid #ffeef0;
    margin: 16px 0;
}
.summary-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2f3542;
}
.summary-total-line strong {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 800;
}

/* Payment options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.payment-option-label {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #ffd1d8;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    align-items: flex-start;
}
.payment-option-label:hover {
    border-color: var(--accent-color);
    background: #fff8f9;
}
.payment-option-label.active {
    border-color: var(--accent-color);
    background: #fff2f4;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.15);
}
.payment-option-label input {
    margin-top: 4px;
    accent-color: var(--accent-color);
}
.payment-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2f3542;
    margin-bottom: 2px;
}
.payment-desc {
    font-size: 0.8rem;
    color: #747d8c;
    line-height: 1.4;
}

/* Khung Thông Tin Chuyển Khoản kèm QR */
.checkout-bank-qr-box {
    background: #fff8f9;
    border: 1.5px solid #ffccd5;
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 14px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 129, 0.08);
}
.checkout-bank-qr-box .qr-box-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ff4757;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ffd1d8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkout-bank-qr-box .qr-box-inner {
    display: flex;
    gap: 20px;
    align-items: center;
}
.checkout-bank-qr-box .qr-box-img-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.checkout-bank-qr-box .checkout-qr-img {
    width: 145px;
    height: 145px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #ffd8e0;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.checkout-bank-qr-box .qr-scan-tag {
    font-size: 0.72rem;
    color: #747d8c;
    font-weight: 600;
    margin-top: 6px;
    text-align: center;
}
.checkout-bank-qr-box .qr-box-details {
    flex: 1;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.checkout-bank-qr-box .qr-detail-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.4;
}
.checkout-bank-qr-box .qr-detail-line .lbl {
    color: #747d8c;
    font-size: 0.82rem;
    min-width: 90px;
}
.checkout-bank-qr-box .qr-detail-line .val {
    color: #2f3542;
    font-weight: 700;
}
.checkout-bank-qr-box .qr-detail-line .val-highlight {
    color: #ff4757;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.checkout-bank-qr-box .qr-detail-line .val-total {
    color: #2ed573;
    font-size: 1.15rem;
    font-weight: 800;
}
.checkout-bank-qr-box .qr-guide-text {
    margin-top: 6px;
    background: #ffffff;
    border-left: 3px solid #ff4757;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #2f3542;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.checkout-bank-qr-box .qr-guide-text i {
    color: #ff4757;
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .checkout-bank-qr-box .qr-box-inner {
        flex-direction: column;
        text-align: center;
    }
    .checkout-bank-qr-box .qr-detail-line {
        justify-content: center;
    }
}

.btn-copy-chip {
    background: #fff;
    border: 1px solid #ffd1d8;
    color: #ff6b81;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}
.btn-copy-chip:hover {
    background: #ff6b81;
    color: #fff;
    border-color: #ff6b81;
    transform: translateY(-1px);
}

/* Modal VietQR Styles */
.success-qr-header {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ff4757;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.success-bank-card {
    background: #fffafb;
    border: 1.5px dashed #ff9a9e;
    border-radius: 14px;
    padding: 14px 18px;
    margin: 12px auto;
    max-width: 380px;
    font-size: 0.92rem;
    text-align: left;
    line-height: 1.8;
}
.s-bank-line {
    color: #57606f;
}
.s-bank-line strong {
    color: #2f3542;
}
.s-bank-line.s-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.success-guide-banner {
    background: #fff0f3;
    color: #2f3542;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 8px;
    padding: 8px 14px;
    margin-top: 10px;
    display: inline-block;
    border: 1px solid #ffd1d8;
}

/* Submit checkout */
.btn-submit-checkout {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    border: none;
}
.checkout-guarantee {
    text-align: center;
    font-size: 0.8rem;
    color: #a4b0be;
    margin-top: 12px;
}
.checkout-err-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #ffebee;
    color: #ff4757;
    font-size: 0.9rem;
    text-align: center;
}

/* Modal Success */
.order-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.success-box {
    background: #fff;
    width: 500px;
    max-width: 95vw;
    border-radius: 24px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.success-icon {
    font-size: 4rem;
    color: #2ed573;
    margin-bottom: 12px;
}
.success-box h2 {
    font-size: 1.8rem;
    color: #2f3542;
    margin-bottom: 6px;
}
.success-sub {
    font-size: 0.95rem;
    color: #747d8c;
    margin-bottom: 24px;
}
.success-meta-card {
    background: #fffafa;
    border: 1px solid #ffeef0;
    border-radius: 14px;
    padding: 16px 20px;
    text-align: left;
    margin-bottom: 20px;
}
.success-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #57606f;
}
.success-meta-row strong {
    color: #2f3542;
}
.success-meta-row.total-highlight strong {
    color: var(--accent-color);
    font-size: 1.2rem;
}
.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .pdp-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .pdp-title {
        font-size: 1.7rem;
    }
    .pdp-actions {
        flex-direction: column;
    }
    .pdp-trust-badges {
        grid-template-columns: 1fr;
    }
    .form-grid-checkout {
        grid-template-columns: 1fr;
    }
    .success-actions {
        flex-direction: column;
    }
}

/* ========================================================
   LANGUAGE SWITCHER (TIẾNG VIỆT & ENGLISH)
   ======================================================== */
.lang-switcher-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #ffd1d8;
    border-radius: 24px;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(255, 107, 129, 0.1);
    gap: 2px;
}
.btn-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border: none;
    background: transparent;
    padding: 4px 8px;
    border-radius: 18px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #57606f;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    line-height: 1;
}
.btn-lang-toggle .flag-icon {
    font-size: 0.85rem;
}
.btn-lang-toggle .lang-text {
    letter-spacing: 0.3px;
    font-size: 0.76rem;
}
.btn-lang-toggle:hover {
    color: var(--primary-color);
    background: #fff0f3;
}
.btn-lang-toggle.active {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.35);
}

/* ========================================================
   PAYPAL PAYMENT BOX (INTERNATIONAL CUSTOMERS)
   ======================================================== */
.checkout-paypal-box {
    background: #f4f8fd;
    border: 1.5px solid #c8e1fc;
    border-radius: 16px;
    padding: 20px;
    margin-top: 14px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 112, 186, 0.08);
}
.checkout-paypal-box .paypal-box-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #00457c;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #b8daf8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.checkout-paypal-box .paypal-box-title .title-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkout-paypal-box .paypal-box-title i.fa-paypal {
    font-size: 1.35rem;
    color: #0079C1;
}
.checkout-paypal-box .paypal-intl-tag {
    font-size: 0.72rem;
    background: #0079C1;
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.checkout-paypal-box .paypal-box-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.paypal-info-card {
    background: #ffffff;
    border: 1px solid #d4e8fc;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.paypal-detail-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.88rem;
    padding-bottom: 6px;
    border-bottom: 1px dotted #e6f1fc;
}
.paypal-detail-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.paypal-detail-line .lbl {
    color: #57606f;
    font-size: 0.85rem;
}
.paypal-detail-line .val {
    color: #2f3542;
    font-weight: 700;
}
.paypal-detail-line .val-link {
    color: #0079C1;
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}
.paypal-detail-line .val-usd {
    color: #2ed573;
    font-size: 1.15rem;
    font-weight: 800;
}
.paypal-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.btn-open-paypal-now {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #0079C1, #00457c);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(0, 121, 193, 0.35);
}
.btn-open-paypal-now:hover {
    background: linear-gradient(135deg, #00609c, #003058);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 121, 193, 0.45);
}
.btn-copy-paypal-link {
    background: #ffffff;
    border: 1.5px solid #0079C1;
    color: #0079C1;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-copy-paypal-link:hover {
    background: #f0f7ff;
    color: #00457c;
}
.paypal-guide-note {
    background: #eef6fe;
    border-left: 3.5px solid #0079C1;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: #334e68;
    line-height: 1.5;
}
.paypal-guide-note p {
    margin: 0 0 4px 0;
}
.paypal-guide-note p:last-child {
    margin-bottom: 0;
}

/* Modal PayPal Box */
.success-paypal-box {
    background: #f4f8fd;
    border: 1.5px solid #c8e1fc;
    border-radius: 14px;
    padding: 16px;
    margin: 16px 0;
    text-align: left;
}
.success-paypal-box .s-paypal-header {
    font-size: 1rem;
    font-weight: 800;
    color: #00457c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ========================================================
   E-COMMERCE EXPANSION STYLES: CATALOG, BLOG & ORDER TRACKING
   ======================================================== */

/* Live Search in Header / Banner */
.header-search-wrap {
    position: relative;
    flex: 1;
    max-width: 320px;
    margin: 0 16px;
}
.header-search-wrap input {
    width: 100%;
    padding: 9px 38px 9px 16px;
    border: 1.5px solid #ffd1dc;
    border-radius: 24px;
    font-size: 0.9rem;
    font-family: var(--font-main);
    background: #fffafa;
    outline: none;
    transition: all 0.25s;
}
.header-search-wrap input:focus {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(246, 65, 108, 0.15);
}
.header-search-wrap .search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff9a9e;
    pointer-events: none;
}

/* Category Filter Bar (Chips) */
.category-chips-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 4px 18px 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.category-chips-scroll::-webkit-scrollbar {
    height: 4px;
}
.category-chips-scroll::-webkit-scrollbar-thumb {
    background: #ffd1dc;
    border-radius: 4px;
}
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #ffffff;
    border: 1.5px solid #ffe3e8;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #555555;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.category-chip i {
    color: #ff85a1;
    font-size: 1rem;
    transition: transform 0.2s;
}
.category-chip:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 65, 108, 0.15);
}
.category-chip.active {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%);
    color: #ffffff;
    border-color: #ff9a9e;
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.4);
}
.category-chip.active i {
    color: #ffffff;
    transform: scale(1.15);
}
.category-chip .chip-count {
    background: rgba(255, 255, 255, 0.35);
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 0.75rem;
}
.category-chip:not(.active) .chip-count {
    background: #fff0f3;
    color: #f6416c;
}

/* Filter & Sorting Toolbar */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: #fff8f9;
    border: 1px solid #ffe8ed;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 28px;
}
.toolbar-left, .toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-select {
    padding: 8px 14px;
    border: 1.5px solid #ffd1dc;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    background: #ffffff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.filter-select:focus {
    border-color: var(--accent-color);
}
.catalog-search-input {
    padding: 8px 14px;
    border: 1.5px solid #ffd1dc;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    min-width: 220px;
    background: #ffffff;
    outline: none;
}
.catalog-search-input:focus {
    border-color: var(--accent-color);
}
.results-count-text {
    font-size: 0.9rem;
    color: #777;
    font-weight: 600;
}

/* Enhanced Product Cards */
.menu-price-original {
    font-size: 0.82rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
}
.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #ffb703;
    margin-bottom: 6px;
}
.card-rating span {
    color: #888;
    font-weight: 600;
    margin-left: 2px;
}
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    background: #e8f8f0;
    color: #2ec4b6;
    margin-bottom: 6px;
}
.stock-pill.out-of-stock {
    background: #fee2e2;
    color: #ef4444;
}
.stock-pill.pre-order {
    background: #fff4e6;
    color: #d97706;
    border: 1px solid #ffd8a8;
}
.stock-pill.baking-now {
    background: #fef3c7;
    color: #d97706;
}

/* Free Shipping Meter in Cart & Checkout */
.freeship-meter-box {
    background: linear-gradient(135deg, #fff2f5 0%, #fff9fb 100%);
    border: 1.5px solid #ffd1dc;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.freeship-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.freeship-text i {
    color: #f6416c;
    font-size: 1.1rem;
}
.freeship-progress-bar {
    width: 100%;
    height: 9px;
    background: #fce1e7;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.freeship-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9a9e 0%, #f6416c 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Blog & Article Styles */
.blog-hero {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe5ec 100%);
    padding: 45px 0 35px 0;
    text-align: center;
    border-bottom: 1px solid #ffd6e0;
}
.blog-hero h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.blog-hero p {
    font-size: 1.05rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 25px;
}
.blog-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #ffe8ed;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 154, 158, 0.25);
}
.blog-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}
.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #f6416c;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}
.blog-meta i {
    color: #ff9a9e;
}
.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.blog-card-title a:hover {
    color: var(--accent-color);
}
.blog-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f9e9ec;
}
.btn-read-more {
    font-weight: 700;
    font-size: 0.88rem;
    color: #f6416c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.btn-read-more:hover {
    gap: 10px;
}

/* Post Detail Layout */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    margin: 40px 0 60px 0;
}
@media (max-width: 991px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
}
.post-main-content {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #ffe8ed;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.post-header-badge {
    display: inline-block;
    background: #fff0f3;
    color: #f6416c;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.post-main-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.3;
    color: #222;
    margin-bottom: 16px;
}
.post-meta-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 12px 0 20px 0;
    border-bottom: 1px solid #f5e4e8;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: #777;
}
.post-cover-wrap {
    width: 100%;
    max-height: 420px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 26px;
}
.post-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-body-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}
.post-body-text h2, .post-body-text h3 {
    margin: 26px 0 12px 0;
    color: #222;
}
.post-body-text p {
    margin-bottom: 18px;
}
.post-body-text ul, .post-body-text ol {
    margin: 14px 0 20px 24px;
}
.post-body-text li {
    margin-bottom: 8px;
}

/* Shoppable Product inside Article */
.post-shoppable-box {
    background: #fff5f7;
    border: 2px dashed #ff9a9e;
    border-radius: 16px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
@media (max-width: 600px) {
    .post-shoppable-box {
        flex-direction: column;
        text-align: center;
    }
}
.post-shoppable-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.post-shoppable-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-shoppable-info {
    flex: 1;
}
.post-shoppable-info h4 {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 4px;
}
.post-shoppable-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

/* Order Tracking Page */
.tracking-hero {
    background: linear-gradient(135deg, #fff0f3 0%, #fecfef 100%);
    padding: 50px 0 40px 0;
    text-align: center;
}
.tracking-input-card {
    max-width: 580px;
    margin: -30px auto 40px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 10px 35px rgba(255, 154, 158, 0.22);
    border: 1px solid #ffe3e8;
}
.tracking-form-group {
    display: flex;
    gap: 12px;
}
@media (max-width: 550px) {
    .tracking-form-group {
        flex-direction: column;
    }
}
.tracking-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #ffd1dc;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s;
}
.tracking-input:focus {
    border-color: var(--accent-color);
}

/* Order Timeline */
.timeline-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #ffe3e8;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}
.order-status-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0;
}
.order-status-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #f0e0e4;
    z-index: 1;
}
.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
}
.step-item .step-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f7f0f2;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.step-item.active .step-circle {
    background: #ff9a9e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 154, 158, 0.5);
    transform: scale(1.1);
}
.step-item.completed .step-circle {
    background: #2ec4b6;
    color: #ffffff;
}
.step-item .step-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #777;
}
.step-item.active .step-label {
    color: #f6416c;
}
.step-item.completed .step-label {
    color: #2ec4b6;
}

/* VietQR Auto Payment Modal / Box */
.vietqr-box {
    background: #ffffff;
    border: 2px solid #ffb6c1;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin: 16px 0;
}
.vietqr-box img {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.vietqr-hint {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
}
