/* =========================================================
   HÀO DRINK - MASTER STYLESHEET
   Đã gom các rule trùng lặp và thống nhất font tiếng Việt.
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

:root {
    --primary: #ff7a00;
    --primary-dark: #e96800;
    --primary-light: #fff1e6;
    --white: #ffffff;
    --black: #222222;
    --text: #444444;
    --gray: #777777;
    --light-gray: #f7f7f7;
    --border: #eeeeee;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --radius: 15px;
    --container: 1200px;
}

.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

.header {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-container {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--black);
    white-space: nowrap;
}

.logo span {
    color: var(--primary);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.navbar a {
    position: relative;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    padding: 27px 0;
    transition: 0.3s ease;
}

.navbar a:hover {
    color: var(--primary);
}

.navbar a.active {
    color: var(--primary);
}

.navbar a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 5px;
}

.cart {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border: 1px solid #eee;
    border-radius: 30px;
    transition: 0.3s ease;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
}

.cart:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.cart b {
    min-width: 20px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    width: 22px;
    background: var(--primary);
}

.hero {
    background: linear-gradient(
            135deg,
            #fff8f2 0%,
            #fff 55%,
            #fff0e3 100%
        );
    overflow: hidden;
}

.hero-container {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-subtitle {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 650px;
    color: var(--black);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-description {
    max-width: 600px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
    background: #f47c20;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    background: #d9650d;
}

.btn-secondary {
    background-color: white;
    color: #f47c20;
    border: 1px solid #f47c20;
    background: white;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    background: #fff3e8;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(
            circle,
            #fff 0%,
            #fff8f2 50%,
            #ffe1c5 100%
        );
    box-shadow: 0 30px 60px rgba(255, 122, 0, 0.15);
    position: relative;
}

.hero-circle::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border: 2px dashed rgba(255, 122, 0, 0.25);
    border-radius: 50%;
}

.hero-drink-image {
    position: relative;
    z-index: 2;
    width: 430px;
    height: 430px;
    object-fit: contain;
    filter: drop-shadow(
        0 20px 25px rgba(0, 0, 0, 0.12)
    );
    transition: 0.4s ease;
    animation: drinkFloat 4s ease-in-out infinite;
}

.hero-drink-image:hover {
    transform: scale(1.05) rotate(2deg);
}

@keyframes drinkFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-badge {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 4px solid #fff1e6;
    animation: badgeFloat 4s ease-in-out infinite;
}

.hero-badge strong {
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
}

.hero-badge span {
    color: #777;
    font-size: 12px;
    margin-top: 5px;
}

.badge-top {
    top: 20px;
    right: -20px;
}

.badge-bottom {
    bottom: 20px;
    left: -20px;
    animation-delay: 1s;
}

@keyframes badgeFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title p {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title h2 {
    color: var(--black);
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title span {
    color: var(--gray);
    font-size: 15px;
}

.categories {
    padding: 90px 0;
    background-color: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 122, 0, 0.3);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    font-size: 40px;
}

.category-card h3 {
    color: var(--black);
    font-size: 18px;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--gray);
    font-size: 13px;
}

.intro {
    padding: 100px 0;
    background-color: #fff8f2;
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.intro-image {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            135deg,
            #ff7a00,
            #ff9b45
        );
    border-radius: 25px;
    font-size: 180px;
    box-shadow: var(--shadow);
}

.section-label {
    color: var(--primary);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.intro-content h2 {
    color: var(--black);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.intro-content h2 span {
    color: var(--primary);
}

.intro-content p:not(.section-label) {
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.8;
}

.intro-content .btn {
    margin-top: 10px;
}

.features {
    padding: 90px 0;
    background-color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 122, 0, 0.25);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-light);
    font-size: 32px;
}

.feature-card h3 {
    color: var(--black);
    font-size: 17px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.footer {
    background-color: #222;
    color: white;
}

.footer-container {
    padding: 70px 0 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
}

.footer-logo {
    color: white;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-column > p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-column h3 {
    color: white;
    font-size: 17px;
    margin-bottom: 20px;
}

.footer-column > a {
    display: block;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

.footer-column > a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: #aaa;
    font-size: 14px;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #3a3a3a;
}

.footer-bottom p {
    color: #888;
    font-size: 13px;
}

@media (max-width: 1000px) {
    .header-container {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .navbar {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    .navbar a {
        padding: 8px 0;
        white-space: nowrap;
    }

    .navbar a.active::after {
        bottom: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 70px 0;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        margin-top: 20px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .container {
        width: 92%;
    }

    .header-container {
        min-height: 65px;
        gap: 10px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .logo {
        font-size: 20px;
        flex-shrink: 0;
    }

    .cart {
        padding: 8px 11px;
        flex-shrink: 0;
    }

    .cart span {
        display: none;
    }

    .navbar {
        order: 3;
        width: 100%;
        gap: 18px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px 0 8px;
        scrollbar-width: none;
    }

    .navbar::-webkit-scrollbar {
        display: none;
    }

    .navbar a {
        font-size: 13px;
        padding: 6px 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .navbar a.active::after {
        bottom: 0;
    }

    .hero-container {
        min-height: auto;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .hero-circle::before {
        width: 235px;
        height: 235px;
    }

    .hero-drink-image {
        width: 300px;
        height: 300px;
    }

    .categories,
    .intro,
    .features {
        padding: 65px 0;
    }

    .section-title h2 {
        font-size: 29px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 25px 12px;
    }

    .category-icon {
        width: 65px;
        height: 65px;
        font-size: 32px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .intro-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image {
        min-height: 280px;
        font-size: 120px;
    }

    .intro-content h2 {
        font-size: 30px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-badge {
        width: 85px;
        height: 85px;
    }

    .hero-badge strong {
        font-size: 19px;
    }

    .hero-badge span {
        font-size: 10px;
    }

    .badge-top {
        top: 10px;
        right: -5px;
    }

    .badge-bottom {
        bottom: 10px;
        left: -5px;
    }
}

.page-banner {
    padding: 75px 0;
    text-align: center;
    background: linear-gradient(
            135deg,
            #fff1e6,
            #fff8f2
        );
}

.page-banner p {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.page-banner h1 {
    color: var(--black);
    font-size: 42px;
    margin-bottom: 10px;
}

.page-banner span {
    color: var(--gray);
    font-size: 15px;
}

.products-page {
    padding: 70px 0 100px;
    background-color: #fff;
}

.product-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    border: 1px solid #eee;
    background-color: white;
    color: #555;
    padding: 11px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 7px 18px rgba(255, 122, 0, 0.2);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    overflow: hidden;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 122, 0, 0.3);
}

.product-image {
    height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            135deg,
            #fff8f2,
            #fff0e3
        );
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    font-size: 80px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    overflow: hidden;
    background: #fff5ec;
}

.product-card:hover
.product-placeholder {
    transform: scale(1.08)
        rotate(3deg);
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 15px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    background: linear-gradient(
            135deg,
            #f47c20,
            #ff9d52
        );
    align-items: center;
    box-shadow: 0 8px 18px rgba(244, 124, 32, 0.18);
}

.product-info {
    padding: 22px;
}

.product-code {
    color: #f47c20;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    display: block;
    margin-top: 18px;
}

.product-info h3 {
    color: var(--black);
    font-size: 19px;
    margin: 7px 0 8px;
}

.product-info p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
    min-height: 66px;
    margin-bottom: 18px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-bottom strong {
    color: var(--primary);
    font-size: 18px;
}

.add-cart {
    border: none;
    background-color: var(--primary);
    color: white;
    padding: 9px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.add-cart:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.product-card.hidden {
    display: none;
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .page-banner {
        padding: 55px 0;
    }

    .page-banner h1 {
        font-size: 32px;
    }

    .products-page {
        padding: 50px 0 70px;
    }

    .product-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 260px;
    }
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 14, 10, 0.58);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: opacity 0.3s ease,
        visibility 0.3s ease;
    backdrop-filter: blur(3px);
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 460px;
    max-width: 94vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
    box-shadow: -15px 0 50px rgba(0,0,0,0.18);
    overflow: hidden;
}

.cart-sidebar.show {
    transform: translateX(0);
}

.cart-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.cart-header span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cart-header h2 {
    margin-top: 4px;
    font-size: 25px;
}

.cart-close {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    font-size: 25px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cart-close:hover {
    background: var(--primary);
    color: white;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px 20px;
    scrollbar-width: thin;
    scrollbar-color: #f2b27d transparent;
    min-height: 0;
}

.cart-item {
    display: grid;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f0ebe7;
    position: relative;
    grid-template-columns: 78px 1fr 28px;
    animation: cartItemIn 0.3s ease;
}

.cart-item-image {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            145deg,
            #fff6ee,
            #ffe8d5
        );
    border-radius: 16px;
    font-size: 38px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px
        rgba(244,124,32,0.08);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    margin: 0 0 6px;
    color: #222;
    line-height: 1.35;
    font-weight: 800;
}

.cart-item-code {
    color: #f47c20;
    font-size: 10px;
    font-weight: 800;
    display: block;
    margin-bottom: 3px;
    letter-spacing: 0.8px;
}

.cart-item-price {
    color: #777;
    font-size: 13px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 9px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
    border: 1px solid #eadfd7;
    background: #fff;
}

.quantity-control button {
    width: 34px;
    height: 32px;
    border: none;
    background: #fff8f3;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    color: #f47c20;
    transition: 0.2s ease;
}

.quantity-control button:hover {
    border-color: #e97828;
    color: #fff;
    background: #f47c20;
}

.quantity-control span {
    min-width: 35px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    width: 45px;
}

.remove-cart-item {
    border: none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    font-size: 22px;
    align-self: flex-start;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    transition: 0.2s ease;
}

.remove-cart-item:hover {
    color: #e53935;
    background: #fff0ed;
}

.cart-empty {
    display: none;
    flex: 1;
    padding: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.cart-empty.show {
    display: flex;
}

.empty-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            145deg,
            #fff6ee,
            #ffe8d5
        );
    border-radius: 50%;
    font-size: 45px;
    margin-bottom: 18px;
    box-shadow: 0 15px 30px
        rgba(244,124,32,0.12);
}

.cart-empty h3 {
    font-size: 20px;
    margin-bottom: 8px;
    margin: 0 0 8px;
}

.cart-empty p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 270px;
    margin: 0 0 20px;
}

.continue-shopping {
    border: none;
    background: #f47c20;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    transition: 0.25s ease;
}

.cart-footer {
    padding: 18px 20px 20px;
    border-top: 1px solid #eee5df;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fffaf6 100%
    );
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.04);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-total span {
    color: #555;
    font-size: 14px;
}

.cart-total strong {
    color: var(--primary);
    font-size: 23px;
}

.checkout-button {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.checkout-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cart-note {
    text-align: center;
    color: #999;
    font-size: 11px;
    margin-top: 12px;
    margin: 10px 0 0;
    line-height: 1.5;
}

@media (max-width: 550px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .cart {
        padding: 9px 12px;
    }

    .cart span {
        display: none;
    }
}

.product-placeholder img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-placeholder img {
    transform: scale(1.05);
}

.product-detail {
    padding: 70px 20px 90px;
    background: radial-gradient(
            circle at 8% 15%,
            rgba(244, 124, 32, 0.08),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #fffaf6 0%,
            #ffffff 100%
        );
    min-height: 70vh;
}

.product-detail-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.product-detail-image {
    background: linear-gradient(
            145deg,
            #fff7ef,
            #ffe9d7
        );
    border-radius: 30px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    position: relative;
    border: 1px solid #f2dfd0;
    box-shadow: 0 20px 55px rgba(45, 25, 10, 0.08);
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    max-width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.16);
    position: relative;
    z-index: 2;
    transition: transform 0.45s ease;
}

.product-detail-info {
    padding: 10px 0;
}

.product-detail-info h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 10px 0 12px;
    color: #1f1f1f;
    line-height: 1.1;
    letter-spacing: -1px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 900;
    color: #f47c20;
    margin: 18px 0;
}

.product-detail-description {
    color: #707070;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 560px;
}

.quantity-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    max-width: 100%;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #eee2d8;
    border-radius: 16px;
}

.detail-add-cart {
    width: 100%;
    max-width: 350px;
    padding: 14px 24px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(
            135deg,
            #f47c20,
            #ff9848
        );
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.25s ease,
        box-shadow 0.25s ease;
    min-height: 58px;
    box-shadow: 0 14px 30px rgba(244, 124, 32, 0.20);
}

.detail-add-cart:hover {
    background: #df6814;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(244, 124, 32, 0.28);
}

.back-products {
    display: inline-block;
    margin-top: 18px;
    color: #f47c20;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.25s ease;
}

@media (max-width: 768px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-image {
        min-height: auto;
    }

    .product-detail-image img {
        height: 300px;
    }

    .product-detail-info h1 {
        font-size: 32px;
    }
}

.product-detail-page .nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.product-detail-page .nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
}

.product-detail-page .nav a:hover {
    color: #f27c22;
}

.product-detail-page .footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.product-detail-page .footer-content h3 {
    margin-bottom: 15px;
}

.product-detail-page .footer-content a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #ddd;
}

.product-detail-page .footer-content a:hover {
    color: #f27c22;
}


/* =========================================================
   CHECKOUT - FINAL CLEAN / RESPONSIVE
   Không dùng flex cho toàn bộ .order-total.
   Tách rõ bảng chi tiết và dòng tổng thanh toán.
========================================================= */

.checkout-page,
.checkout-page html,
.checkout-page body {
    overflow-x: hidden;
}

.checkout {
    width: 100%;
    padding: 60px 20px 90px;
    background: #fffaf5;
    min-height: 700px;
    overflow: hidden;
    box-sizing: border-box;
}

.checkout-title {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.checkout-title > span {
    color: #f47c20;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.checkout-title h1 {
    margin: 10px 0;
    color: #222;
    font-size: 42px;
    line-height: 1.15;
}

.checkout-title p {
    margin: 0;
    color: #777;
    font-size: 16px;
    line-height: 1.7;
}

.checkout-grid {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.checkout-form,
.order-summary {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee3dc;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(40, 20, 5, 0.05);
    box-sizing: border-box;
}

.checkout-form h2,
.order-summary h2 {
    margin: 0 0 24px;
    color: #222;
    font-size: 23px;
    line-height: 1.3;
}

.form-group {
    width: 100%;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #ded8d3;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #f47c20;
    box-shadow: 0 0 0 3px rgba(244, 124, 32, 0.10);
}

.payment-option {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    padding: 13px;
    border: 1px solid #eee3dc;
    border-radius: 10px;
    background: #fff;
    color: #444;
    cursor: pointer;
    box-sizing: border-box;
}

.payment-option input {
    flex: 0 0 auto;
    accent-color: #f47c20;
}

.place-order-button {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    padding: 14px 18px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #f47c20, #ff9848);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-sizing: border-box;
}

/* ---------- SẢN PHẨM ---------- */

#checkout-items {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.checkout-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #eee5df;
    box-sizing: border-box;
}

.checkout-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 11px;
    background: #fff5ec;
}

.checkout-item > div {
    min-width: 0;
    max-width: 100%;
}

.checkout-item strong {
    display: block;
    min-width: 0;
    color: #222;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.checkout-item p {
    margin: 4px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.checkout-item > strong:last-child {
    color: #222;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

/* =========================================================
   KHỐI ĐƠN HÀNG - DÙNG GRID, KHÔNG CHỒNG CHÉO
========================================================= */

.checkout-page .order-summary .order-total {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 16px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: max-content !important;
    row-gap: 0 !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    background: #fffaf5 !important;
    border: 1px solid #f0dfd2 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* Wrapper trung gian nếu HTML có .checkout-summary */
.checkout-page .order-summary .order-total > .checkout-summary {
    display: contents !important;
}

/* Không cho div cũ tạo flex riêng */
.checkout-page .order-summary .order-total > div {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ---------- CHI TIẾT ---------- */

.checkout-page .order-summary #checkout-summary-breakdown,
.checkout-page .order-summary .order-total > #checkout-summary-breakdown {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    display: block !important;

    margin: 0 0 15px !important;
    padding: 14px !important;

    box-sizing: border-box !important;

    background: #fff !important;
    border: 1px solid #f0e2d8 !important;
    border-radius: 12px !important;

    position: static !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
}

.checkout-page #checkout-summary-breakdown .checkout-summary-row {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    position: static !important;
    float: none !important;
    transform: none !important;
}

.checkout-page #checkout-summary-breakdown .checkout-summary-row:last-child {
    margin-bottom: 0 !important;
}

.checkout-page #checkout-summary-breakdown .checkout-summary-row span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #666 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.checkout-page #checkout-summary-breakdown .checkout-summary-row strong {
    flex: 0 0 auto !important;
    margin: 0 !important;
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    position: static !important;
    float: none !important;
    transform: none !important;
}

.checkout-discount {
    color: #f47c20 !important;
}

/* ---------- TỔNG THANH TOÁN ---------- */

.checkout-page .order-summary .order-total .checkout-total-row {
    grid-column: 1 !important;
    grid-row: 2 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px !important;

    margin: 0 !important;
    padding: 15px 0 0 !important;

    border-top: 1px solid #e8dcd3 !important;
    box-sizing: border-box !important;

    position: static !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
}

.checkout-page .order-summary .order-total .checkout-total-row span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.checkout-page .order-summary .order-total .checkout-total-row strong,
.checkout-page .order-summary #checkout-total {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #f47c20 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    position: static !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
}

.empty-checkout {
    padding: 30px 0;
    color: #777;
    text-align: center;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 850px) {
    .checkout-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 650px) {
    .checkout {
        padding: 42px 14px 65px;
    }

    .checkout-title {
        margin-bottom: 30px;
    }

    .checkout-title h1 {
        font-size: 32px;
    }

    .checkout-title p {
        font-size: 14px;
    }

    .checkout-form,
    .order-summary {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .checkout-form h2,
    .order-summary h2 {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .checkout-item {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 13px 0;
    }

    .checkout-item img {
        width: 56px;
        height: 56px;
    }

    .checkout-item strong {
        font-size: 13px;
    }

    .checkout-item p {
        font-size: 11px;
    }

    .checkout-item > strong:last-child {
        font-size: 13px;
    }

    .checkout-page .order-summary .order-total {
        margin-top: 16px !important;
        padding: 12px !important;
    }

    .checkout-page #checkout-summary-breakdown {
        padding: 12px !important;
        margin-bottom: 13px !important;
    }

    .checkout-page #checkout-summary-breakdown .checkout-summary-row span,
    .checkout-page #checkout-summary-breakdown .checkout-summary-row strong {
        font-size: 12px !important;
    }

    .checkout-page .order-summary .order-total .checkout-total-row span {
        font-size: 14px !important;
    }

    .checkout-page .order-summary .order-total .checkout-total-row strong,
    .checkout-page .order-summary #checkout-total {
        font-size: 20px !important;
    }

    .place-order-button {
        min-height: 50px;
        border-radius: 12px;
    }
}

@media (max-width: 420px) {
    .checkout {
        padding-left: 10px;
        padding-right: 10px;
    }

    .checkout-form,
    .order-summary {
        padding: 15px 12px;
    }

    .checkout-item {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .checkout-item img {
        width: 50px;
        height: 50px;
    }

    .checkout-page #checkout-summary-breakdown {
        padding: 11px !important;
    }

    .checkout-page #checkout-summary-breakdown .checkout-summary-row {
        gap: 8px !important;
        margin-bottom: 9px !important;
    }

    .checkout-page #checkout-summary-breakdown .checkout-summary-row span,
    .checkout-page #checkout-summary-breakdown .checkout-summary-row strong {
        font-size: 11.5px !important;
    }

    .checkout-page .order-summary .order-total .checkout-total-row span {
        font-size: 13px !important;
    }

    .checkout-page .order-summary .order-total .checkout-total-row strong,
    .checkout-page .order-summary #checkout-total {
        font-size: 18px !important;
    }
}

.success-page {
    background: #fffaf5;
}

.success-container {
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px 100px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.success-card {
    width: 100%;
    max-width: 760px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f47c20;
    color: white;
    font-size: 50px;
    font-weight: bold;
    box-shadow: 0 12px 30px rgba(244, 124, 32, 0.25);
}

.success-brand {
    color: #f47b20;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.success-card h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #222;
}

.success-message {
    color: #555;
    margin-bottom: 8px;
    font-size: 19px;
    text-align: center;
}

.order-code {
    background: #fff4ea;
    border: 1px solid #ffd7b8;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 30px;
}

.order-code span {
    display: block;
    color: #777;
    margin-bottom: 6px;
}

.order-code strong {
    color: #f47b20;
    font-size: 22px;
}

.success-info,
.success-order {
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: 25px;
}

.success-info h2,
.success-order h2 {
    font-size: 20px;
    margin-bottom: 18px;
}

.success-info p {
    margin: 10px 0;
    color: #555;
}

.success-info strong {
    color: #222;
}

.success-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.success-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.success-item > div {
    flex: 1;
}

.success-item strong {
    color: #222;
}

.success-item p {
    margin-top: 5px;
    color: #777;
}

.success-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    font-size: 20px;
    margin-top: 25px;
    border-top: 2px solid #f47c20;
}

.success-total strong {
    color: #f47c20;
    font-size: 28px;
}

.order-status {
    margin-top: 25px;
    padding: 7px 14px;
    background: #fff0e4;
    border-radius: 20px;
    display: inline-flex;
    justify-content: center;
    color: #f47c20;
    font-weight: 700;
    font-size: 13px;
    align-items: center;
    border: 1px solid #ffd5b5;
}

.order-status strong {
    color: #f47b20;
}

.success-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.success-buttons a {
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .success-card {
        padding: 25px;
    }

    .success-card h1 {
        font-size: 28px;
    }

    .success-item {
        flex-wrap: wrap;
    }

    .success-buttons {
        flex-direction: column;
    }
}

.admin-page {
    background: #fffaf5;
    min-height: 100vh;
}

.admin-header {
    background: #ffffff;
    padding: 25px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.admin-header h1 {
    margin: 0;
    color: #222;
}

.admin-header h1::first-letter {
    color: #f47b20;
}

.admin-header p {
    margin-top: 5px;
    color: #777;
}

.admin-home {
    text-decoration: none;
    color: #f47b20;
    font-weight: bold;
}

.admin-container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    background: #fffaf5;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.stat-card > span {
    font-size: 35px;
}

.stat-card p {
    margin: 0 0 5px;
    color: #777;
}

.stat-card strong {
    font-size: 26px;
    color: #f47b20;
}

.admin-orders {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    border: 1px solid #eee;
}

.admin-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.admin-title h2 {
    margin: 0;
}

.admin-title p {
    color: #777;
}

.delete-all-btn {
    border: none;
    background: #ffe7e2;
    color: #d83a20;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.order-card {
    border: 1px solid #eee;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
}

.order-header {
    padding: 18px 20px;
    background: #fff7ef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-header h3 {
    margin: 5px 0;
    color: #f47b20;
}

.order-label {
    color: #888;
    font-size: 13px;
}

.order-header small {
    color: #999;
}

.status-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.order-body {
    padding: 28px !important;
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr)
        minmax(300px, 1.3fr)
        250px !important;
    gap: 28px !important;
    align-items: start;
}

.customer-box,
.products-box {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
}

.customer-box h4,
.products-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.customer-box p {
    color: #555;
    line-height: 1.6;
}

.admin-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.admin-product:last-child {
    border-bottom: none;
}

.admin-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.admin-product p {
    margin-top: 5px;
    color: #777;
}

.order-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-price {
    color: #f47b20;
    font-size: 22px;
    margin-left: 10px;
}

.delete-order {
    border: none;
    background: #fff0ed;
    color: #d83a20;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.empty-orders {
    text-align: center;
    padding: 70px 20px;
    color: #777;
}

.empty-orders div {
    font-size: 50px;
    margin-bottom: 15px;
}

.empty-orders h3 {
    color: #222;
}

@media (max-width: 900px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-orders {
        padding: 18px;
    }

    .admin-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.admin-header-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.admin-add-btn {
    border: none;
    background: #f47b20;
    color: white;
    padding: 13px 20px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.admin-add-btn:hover {
    background: #d9630d;
    transform: translateY(-2px);
}

.product-tools {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.product-tools input,
.product-tools select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 9px;
    font-size: 15px;
    outline: none;
}

.product-tools input:focus,
.product-tools select:focus {
    border-color: #f47b20;
}

.admin-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.admin-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition: .2s;
}

.admin-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.admin-product-image {
    position: relative;
    height: 220px;
    background: #f8f8f8;
}

.admin-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-product-image span {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f47b20;
    color: white;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.admin-product-info {
    padding: 20px;
}

.admin-product-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.admin-product-info > strong {
    display: block;
    color: #f47b20;
    font-size: 19px;
    margin-bottom: 10px;
}

.admin-product-info p {
    color: #777;
    line-height: 1.5;
    min-height: 48px;
}

.admin-product-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.admin-product-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.edit-product {
    background: #fff1e7;
    color: #e56c17;
}

.delete-product {
    background: #ffe8e5;
    color: #d43b26;
}

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.product-modal.show {
    display: flex;
}

.product-modal-box {
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 18px;
    padding: 25px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
}

.close-modal {
    border: none;
    background: #f5f5f5;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

#product-form label {
    display: block;
    margin: 15px 0 7px;
    font-weight: bold;
}

#product-form input,
#product-form select,
#product-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

#product-form input:focus,
#product-form select:focus,
#product-form textarea:focus {
    border-color: #f47b20;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.modal-buttons button {
    flex: 1;
    padding: 13px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.cancel-btn {
    background: #eee;
    color: #555;
}

.save-product-btn {
    background: #f47b20;
    color: white;
}

@media (max-width: 1000px) {
    .admin-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .product-tools {
        grid-template-columns: 1fr;
    }

    .admin-products-grid {
        grid-template-columns: 1fr;
    }

    .admin-header-links {
        flex-wrap: wrap;
    }
}

.order-success-page {
    min-height: 100vh;
    padding: 70px 20px;
    background: #fffaf5;
}

.success-container h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #222;
}

.success-sub {
    color: #777;
    margin-bottom: 40px;
}

.order-box {
    background: white;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.order-box h2 {
    margin-bottom: 25px;
    color: #222;
    font-size: 24px;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.order-info-row span {
    color: #777;
}

.order-info-row strong {
    color: #222;
    text-align: right;
}

.order-info-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f47c20;
    font-size: 20px;
}

.order-info-total strong {
    color: #f47c20;
}

.success-product {
    display: grid;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee5df;
    background: #fffaf5;
    border-radius: 14px;
    border: 1px solid #f1e4d8;
    margin-bottom: 12px;
    width: 100%;
    transition: 0.2s;
    grid-template-columns: 80px 1fr auto;
}

.success-product:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.success-product img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.success-product-info {
    flex: 1;
    min-width: 0;
}

.success-product-info h3 {
    margin-bottom: 8px;
    color: #222;
    margin: 0 0 7px;
    font-size: 16px;
}

.success-product-info p {
    margin: 4px 0;
    color: #777;
    font-size: 13px;
}

.success-product > strong {
    color: #f47c20;
    font-size: 18px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

@media (max-width: 600px) {
    .success-container h1 {
        font-size: 30px;
    }

    .order-box {
        padding: 20px;
    }

    .order-info-row {
        flex-direction: column;
        gap: 5px;
    }

    .order-info-row strong {
        text-align: left;
    }

    .success-product {
        align-items: flex-start;
    }

    .success-product img {
        width: 70px;
        height: 70px;
    }

    .success-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

.admin-title h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.admin-stat {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.admin-stat span {
    display: block;
    color: #777;
    margin-bottom: 10px;
}

.admin-stat strong {
    color: #f47c20;
    font-size: 28px;
}

.admin-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.admin-section-title h2 {
    margin: 0;
}

.admin-order {
    border: 1px solid #eee;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.order-header strong {
    color: #f47c20;
    font-size: 18px;
}

.order-date {
    display: block;
    color: #888;
    font-size: 13px;
    margin-top: 5px;
}

.order-body h3 {
    margin-bottom: 15px;
}

.customer-info p {
    margin: 8px 0;
    color: #555;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item {
    background: #fff7ef;
    padding: 8px 12px;
    border-radius: 8px;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.order-actions button,
.admin-danger,
.admin-refresh {
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
}

.complete-order {
    background: #f47c20;
    color: white;
}

.delete-order,
.admin-danger {
    background: #ffe5e5;
    color: #d33;
}

.admin-refresh {
    background: #fff0e4;
    color: #f47c20;
}

@media (max-width: 800px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-body {
        grid-template-columns: 1fr;
    }

    .admin-title {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-actions {
        flex-direction: column;
    }

    .order-actions button {
        width: 100%;
    }
}

.success-container > h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: #222;
}

.success-message strong {
    color: #f47c20;
}

.success-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 45px;
}

.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

.card-title h2 {
    margin: 0;
    font-size: 23px;
}

#order-status {
    background: #fff0e4;
    color: #f47c20;
    padding: 9px 15px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item span {
    color: #777;
}

.info-item strong {
    color: #222;
    text-align: right;
}

.success-total span {
    font-size: 20px;
    font-weight: bold;
}

.product-title {
    margin: 0 0 25px;
    font-size: 23px;
}

.success-product-price {
    color: #f47c20;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.success-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 190px;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.success-btn.primary {
    background: #f47c20;
    color: white;
}

.success-btn.primary:hover {
    background: #dd6810;
    transform: translateY(-2px);
}

.success-btn.secondary {
    background: white;
    color: #f47c20;
    border: 2px solid #f47c20;
}

.success-btn.secondary:hover {
    background: #fff4eb;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .success-container {
        padding: 45px 15px 70px;
    }

    .success-container > h1 {
        font-size: 32px;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .card-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .info-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .info-item strong {
        text-align: left;
    }

    .success-product {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .success-product-price {
        width: 100%;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-btn {
        width: 100%;
    }
}

.order-success-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 20px 100px;
}

.success-hero {
    text-align: center;
    margin-bottom: 45px;
}

.success-check {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f47c20;
    color: white;
    border-radius: 50%;
    font-size: 44px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(244, 124, 32, 0.25);
}

.success-hero h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.2;
    color: #222;
}

.success-hero p {
    margin: 0 0 8px;
    font-size: 19px;
    color: #555;
}

.success-hero p strong {
    color: #f47c20;
}

.success-hero > span {
    color: #888;
    font-size: 15px;
}

.success-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #eeeeee;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.success-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eeeeee;
}

.success-box-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-icon-small {
    font-size: 23px;
}

.success-box-header h2 {
    margin: 0;
    font-size: 22px;
    color: #222;
}

.order-information {
    margin-top: 5px;
}

.order-row {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid #f1f1f1;
}

.order-row span {
    color: #777;
    font-size: 15px;
}

.order-row strong {
    color: #222;
    font-size: 16px;
    text-align: right;
}

.success-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.success-box-title span {
    font-size: 23px;
}

.success-box-title h2 {
    margin: 0;
    font-size: 22px;
    color: #222;
}

.success-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.success-product-info strong {
    color: #333;
}

.success-action {
    min-width: 200px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s;
}

.success-action.primary {
    background: #f47c20;
    color: white;
    box-shadow: 0 6px 15px rgba(244, 124, 32, 0.2);
}

.success-action.primary:hover {
    background: #dc6810;
    transform: translateY(-2px);
}

.success-action.secondary {
    background: white;
    color: #f47c20;
    border: 2px solid #f47c20;
}

.success-action.secondary:hover {
    background: #fff3e8;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .order-success-container {
        padding: 45px 15px 70px;
    }

    .success-hero h1 {
        font-size: 32px;
    }

    .success-box {
        padding: 20px;
    }

    .success-box-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-row {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 14px 0;
    }

    .order-row strong {
        text-align: left;
    }

    .success-product {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .success-product-price {
        width: 100%;
        padding-left: 110px;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-action {
        width: 100%;
    }
}

.admin-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px;
    margin-bottom: 10px;
    background: #fffaf5;
    border: 1px solid #ffe2cc;
    border-radius: 12px;
    transition: 0.3s ease;
}

.admin-order-item:hover {
    border-color: #f47c20;
    box-shadow: 0 5px 18px rgba(244, 124, 32, 0.08);
    transform: translateY(-2px);
}

.admin-order-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.admin-order-item-image {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 12px;
    background: #fff0e4;
    border: 1px solid #ffe0c5;
}

.default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.admin-order-item-info strong {
    display: block;
    margin-bottom: 5px;
    color: #222;
    font-size: 15px;
}

.admin-order-item-info span {
    display: block;
    color: #f47c20;
    font-size: 12px;
    font-weight: 600;
}

.admin-order-item-price {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
    min-width: 160px;
    text-align: right;
    font-family: Arial,
        Helvetica,
        sans-serif;
}

.admin-order-item-price span {
    color: #777;
    font-size: 13px;
}

.admin-order-item-price strong {
    color: #f47c20;
    font-size: 17px;
}

.order-products h3 {
    color: #222;
    margin-bottom: 15px;
}

.complete-order,
.delete-order {
    transition: 0.3s ease;
}

.complete-order:hover {
    background: #df6814;
    transform: translateY(-2px);
}

.delete-order:hover {
    background: #ffd2d2;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .admin-order-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .admin-order-item-info {
        width: 100%;
    }

    .admin-order-item-price {
        width: 100%;
        min-width: auto;
        align-items: flex-start;
        text-align: left;
        padding-left: 79px;
    }

    .admin-order-item-price strong {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .admin-order-item-image {
        width: 55px;
        height: 55px;
    }

    .admin-order-item-info strong {
        font-size: 14px;
    }

    .admin-order-item-price {
        padding-left: 0;
    }
}

.cart,
.cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 2px solid #f47c20;
    border-radius: 999px;
    background: #ffffff;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
}

.cart:hover,
.cart-button:hover {
    background: #f47c20;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 124, 32, 0.25);
}

.cart b,
.cart strong,
.cart-button b,
.cart-button strong {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #f47c20;
    color: #ffffff;
    font-size: 12px;
}

.cart:hover b,
.cart:hover strong,
.cart-button:hover b,
.cart-button:hover strong {
    background: #ffffff;
    color: #f47c20;
}

.detail-add-cart:active {
    transform: translateY(0);
}

@media (max-width: 650px) {
    .cart,
    .cart-button {
        height: 42px;
        padding: 0 13px;
    }

    .cart span,
    .cart-button span {
        display: none;
    }

    .detail-add-cart {
        min-height: 50px;
        font-size: 15px;
    }
}

.about-story {
    padding: 80px 0;
    background: #ffffff;
}

.about-story .container {
    max-width: 1100px;
}

.about-story h2 {
    margin: 12px 0 18px;
    color: var(--black);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.about-story p:not(.section-label) {
    max-width: 950px;
    margin-bottom: 12px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}

.about-values {
    padding: 80px 0;
    background: #fffaf5;
    text-align: center;
}

.about-values h2 {
    margin: 12px 0 40px;
    color: var(--black);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
}

.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-value-card {
    padding: 32px 25px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(244, 124, 32, 0.15);
}

.about-value-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff0e3;
    font-size: 28px;
}

.about-value-card h3 {
    margin-bottom: 10px;
    color: var(--black);
    font-size: 20px;
}

.about-value-card p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.about-cta {
    padding: 80px 20px;
    background: linear-gradient(
        135deg,
        #fff7ef,
        #ffffff
    );
    text-align: center;
}

.about-cta h2 {
    margin: 12px 0;
    color: var(--black);
    font-size: 32px;
}

.about-cta p:not(.section-label) {
    margin-bottom: 25px;
    color: var(--gray);
    font-size: 16px;
}

.about-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.about-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 124, 32, 0.25);
}

.about-image-box {
    width: 100%;
    height: 100%;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        #f47c20,
        #ffad5c
    );
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.about-cup {
    font-size: 100px;
    filter: drop-shadow(
        0 10px 10px rgba(0, 0, 0, 0.12)
    );
}

@media (max-width: 768px) {
    .about-story {
        padding: 55px 0;
    }

    .about-story h2 {
        font-size: 27px;
    }

    .about-values {
        padding: 55px 0;
    }

    .about-values h2 {
        font-size: 27px;
        margin-bottom: 30px;
    }

    .about-value-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-value-card {
        padding: 25px 20px;
    }

    .about-cta {
        padding: 55px 20px;
    }

    .about-cta h2 {
        font-size: 27px;
    }

    .about-image-box {
        min-height: 280px;
    }

    .about-cup {
        font-size: 75px;
    }
}

.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2,
.contact-form-box h2 {
    margin: 10px 0 15px;
    color: var(--black);
    font-size: 32px;
    line-height: 1.25;
}

.contact-description {
    margin-bottom: 30px;
    color: var(--gray);
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding: 16px;
    background: #fffaf5;
    border: 1px solid #f3e5da;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.contact-item:hover {
    transform: translateX(4px);
    border-color: rgba(244, 124, 32, 0.35);
    box-shadow: 0 8px 20px rgba(244, 124, 32, 0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff0e3;
    font-size: 22px;
}

.contact-item h3 {
    margin: 0 0 4px;
    color: var(--black);
    font-size: 16px;
}

.contact-item p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-box {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.contact-form-box h2 {
    margin-bottom: 25px;
}

.contact-form-box .form-group {
    margin-bottom: 18px;
}

.contact-form-box .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.contact-form-box .form-group input,
.contact-form-box .form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #ffffff;
    color: #333333;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form-box .form-group input {
    height: 48px;
}

.contact-form-box .form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form-box .form-group input:focus,
.contact-form-box .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(244, 124, 32, 0.10);
}

.contact-form-box .form-group input::placeholder,
.contact-form-box .form-group textarea::placeholder {
    color: #999999;
}

.contact-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 5px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contact-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 124, 32, 0.25);
}

.contact-map-section {
    padding: 80px 0;
    background: #fffaf5;
    text-align: center;
}

.contact-map-section h2 {
    margin: 10px 0 30px;
    color: var(--black);
    font-size: 32px;
}

.map-box {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: #eeeeee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-box iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 800px) {
    .contact-section {
        padding: 55px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-info h2,
    .contact-form-box h2 {
        font-size: 27px;
    }

    .contact-form-box {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .contact-map-section {
        padding: 55px 0;
    }

    .contact-map-section h2 {
        font-size: 27px;
    }

    .map-box {
        border-radius: 14px;
    }

    .map-box iframe {
        height: 320px;
    }
}

@media (max-width: 550px) {
    .contact-item {
        padding: 14px;
        gap: 12px;
    }

    .contact-icon {
        width: 43px;
        height: 43px;
        font-size: 19px;
    }

    .contact-form-box {
        padding: 22px 16px;
    }

    .map-box iframe {
        height: 280px;
    }
}

.policy-section {
    padding: 70px 0 100px;
    background: #ffffff;
}

.policy-container {
    max-width: 1050px;
}

.policy-intro {
    margin-bottom: 45px;
}

.policy-intro .section-label {
    display: block;
    margin-bottom: 10px;
    color: #f47c20;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.policy-intro h2 {
    margin-bottom: 12px;
    color: #222;
    font-size: 32px;
    font-weight: 800;
}

.policy-intro p {
    max-width: 850px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.policy-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px;
    padding: 30px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid #f1e7df;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease,
        box-shadow 0.25s ease;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(244, 124, 32, 0.10);
}

.policy-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff1e6;
    color: #f47c20;
    font-size: 18px;
    font-weight: 800;
}

.policy-card h3 {
    margin: 0 0 12px;
    color: #222;
    font-size: 21px;
    font-weight: 800;
}

.policy-card p {
    margin: 0 0 10px;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

.policy-contact {
    margin-top: 50px;
    padding: 45px 35px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(
            135deg,
            #fff1e6,
            #fff8f2
        );
}

.policy-contact > span {
    display: block;
    margin-bottom: 8px;
    color: #f47c20;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.policy-contact h2 {
    margin-bottom: 10px;
    color: #222;
    font-size: 30px;
}

.policy-contact p {
    margin-bottom: 25px;
    color: #666;
    font-size: 15px;
}

.policy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 10px;
    background: #f47c20;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.policy-button:hover {
    background: #df6814;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 124, 32, 0.25);
}

@media (max-width: 650px) {
    .policy-section {
        padding: 50px 0 70px;
    }

    .policy-intro {
        margin-bottom: 30px;
    }

    .policy-intro h2 {
        font-size: 27px;
    }

    .policy-intro p {
        font-size: 14px;
    }

    .policy-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
        border-radius: 15px;
    }

    .policy-number {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .policy-card h3 {
        font-size: 18px;
    }

    .policy-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    .policy-contact {
        margin-top: 35px;
        padding: 35px 20px;
        border-radius: 15px;
    }

    .policy-contact h2 {
        font-size: 25px;
    }

    .policy-contact p {
        font-size: 14px;
    }

    .policy-button {
        width: 100%;
    }
}

.account-page {
    min-height: calc(100vh - 90px);
    padding: 55px 20px 90px;
    background: radial-gradient(circle at 10% 10%, rgba(244, 124, 32, 0.08), transparent 25%),
        radial-gradient(circle at 90% 15%, rgba(244, 124, 32, 0.06), transparent 22%),
        linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.account-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.account-title {
    text-align: center;
    margin-bottom: 42px;
}

.account-title h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #1f1f1f;
}

.account-title h1::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        #f47c20,
        #ffb067
    );
}

.account-title p {
    margin: 0;
    color: #7b7b7b;
    font-size: 16px;
}

.account-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 36px;
    background: linear-gradient(
            135deg,
            #ffffff 0%,
            #fffaf6 100%
        );
    border: 1px solid rgba(244, 124, 32, 0.15);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(42, 25, 12, 0.08),
        0 4px 15px rgba(42, 25, 12, 0.04);
    margin-bottom: 30px;
    transition: transform 0.3s ease,
        box-shadow 0.3s ease;
}

.account-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -100px;
    background: rgba(244, 124, 32, 0.07);
    border-radius: 50%;
}

.account-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: 80px;
    bottom: -90px;
    background: rgba(244, 124, 32, 0.05);
    border-radius: 50%;
}

.account-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(42, 25, 12, 0.10),
        0 6px 18px rgba(244, 124, 32, 0.07);
}

.account-avatar {
    position: relative;
    z-index: 2;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(
            145deg,
            #fff7ef,
            #ffe7d2
        );
    border: 6px solid #fff;
    box-shadow: 0 0 0 2px rgba(244, 124, 32, 0.18),
        0 12px 30px rgba(244, 124, 32, 0.14);
    font-size: 48px;
}

.account-info {
    position: relative;
    z-index: 2;
    flex: 1;
}

.account-info h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 28px;
    font-weight: 800;
    color: #222;
}

.account-info h2::after {
    content: "MEMBER";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff0e4;
    color: #f47c20;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.account-info p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 9px 0;
    color: #666;
    font-size: 15px;
}

.account-info strong {
    min-width: 125px;
    color: #2b2b2b;
}

.account-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.account-action {
    position: relative;
    overflow: hidden;
    min-height: 145px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #f0dfd2;
    border-radius: 22px;
    color: #222;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(42, 25, 12, 0.05);
    transition: transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.account-action::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
            90deg,
            #f47c20,
            #ffb56f
        );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.account-action:hover {
    transform: translateY(-7px);
    border-color: rgba(244, 124, 32, 0.35);
    box-shadow: 0 18px 40px rgba(244, 124, 32, 0.12);
}

.account-action:hover::before {
    transform: scaleX(1);
}

.account-action > span {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(
            145deg,
            #fff4e9,
            #ffe5d0
        );
    font-size: 32px;
    box-shadow: inset 0 0 0 1px rgba(244, 124, 32, 0.08);
    transition: transform 0.3s ease;
}

.account-action:hover > span {
    transform: scale(1.08) rotate(-3deg);
}

.account-action h3 {
    margin: 0 0 7px;
    font-size: 18px;
    font-weight: 800;
    color: #222;
}

.account-action p {
    margin: 0;
    color: #7b7b7b;
    font-size: 14px;
    line-height: 1.55;
}

.logout-action {
    width: 100%;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.logout-action:hover {
    border-color: rgba(220, 70, 55, 0.28);
}

.logout-action:hover > span {
    background: linear-gradient(
            145deg,
            #fff0ed,
            #ffe0dc
        );
}

@media (max-width: 900px) {
    .account-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .account-page {
        padding: 38px 15px 60px;
    }

    .account-title {
        margin-bottom: 30px;
    }

    .account-title h1 {
        font-size: 30px;
    }

    .account-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        border-radius: 22px;
    }

    .account-avatar {
        width: 100px;
        height: 100px;
    }

    .account-info h2 {
        justify-content: center;
        font-size: 24px;
    }

    .account-info p {
        justify-content: center;
        flex-wrap: wrap;
    }

    .account-info strong {
        min-width: auto;
    }

    .account-action {
        min-height: 120px;
        padding: 20px;
    }

    .account-action > span {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}


.cart-header,
.cart-sidebar-header {
    min-height: 92px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: linear-gradient(
            135deg,
            #fffaf6,
            #fff
        );
    border-bottom: 1px solid #f1e1d4;
    position: relative;
}

.cart-header::before,
.cart-sidebar-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
            90deg,
            #f47c20,
            #ffb56f
        );
}

.cart-header > div:first-child span {
    display: block;
    margin-bottom: 3px;
    color: #f47c20;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cart-header h2,
.cart-sidebar-header h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    color: #222;
}

.cart-close,
#cart-close {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #eadfd7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #555;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cart-close:hover,
#cart-close:hover {
    background: #f47c20;
    border-color: #f47c20;
    color: #fff;
    transform: rotate(90deg);
}

.clear-cart-button {
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid #f0d6c3;
    border-radius: 10px;
    background: #fff8f3;
    color: #e45f18;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.clear-cart-button:hover {
    background: #f47c20;
    border-color: #f47c20;
    color: #fff;
}

.cart-items::-webkit-scrollbar {
    width: 5px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #e8d8cc;
    border-radius: 20px;
}

@keyframes cartItemIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.08);
}

.cart-item-image span {
    font-size: 35px;
}

.quantity-input {
    width: 42px;
    height: 32px;
    padding: 0;
    border: none;
    outline: none;
    text-align: center;
    color: #222;
    font-size: 14px;
    font-weight: 800;
    background: #fff;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-subtotal {
    margin-top: 8px;
    color: #888;
    font-size: 12px;
}

.cart-item-subtotal strong {
    color: #f47c20;
    font-size: 13px;
}

.continue-shopping:hover {
    background: #df6610;
    transform: translateY(-2px);
}

.cart-total-row,
.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.cart-total-row span,
.cart-total span {
    color: #666;
    font-size: 14px;
}

.cart-total-row strong,
.cart-total strong {
    color: #f47c20;
    font-size: 25px;
    font-weight: 900;
}

#checkout-button,
.checkout-button {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(
            135deg,
            #f47c20,
            #ff9b4d
        );
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px
        rgba(244,124,32,0.20);
    transition: all 0.25s ease;
}

#checkout-button:hover,
.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px
        rgba(244,124,32,0.28);
}

@media (max-width: 550px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .cart-header,
    .cart-sidebar-header {
        padding: 18px 16px;
    }

    .cart-items {
        padding: 8px 16px 16px;
    }

    .cart-item {
        grid-template-columns: 68px 1fr 25px;
        gap: 11px;
    }

    .cart-item-image {
        width: 68px;
        height: 68px;
    }

    .cart-item-info h4 {
        font-size: 15px;
    }

    .cart-footer {
        padding: 16px;
    }

    .cart-total-row strong,
    .cart-total strong {
        font-size: 21px;
    }
}

.product-detail-image::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -100px;
    top: -100px;
    background: rgba(244, 124, 32, 0.08);
    border-radius: 50%;
}

.product-detail-image::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -80px;
    bottom: -90px;
    background: rgba(244, 124, 32, 0.06);
    border-radius: 50%;
}

.product-detail-image:hover img {
    transform: scale(1.035);
}

.quantity-box > span {
    color: #333;
    font-size: 15px;
    font-weight: 700;
}

.quantity-box .quantity-control {
    margin-top: 0;
}

.quantity-box .quantity-control button {
    width: 40px;
    height: 38px;
    border: none;
    background: #fff3e8;
    color: #f47c20;
    border-radius: 9px;
    font-size: 19px;
    transition: 0.2s ease;
}

.quantity-box .quantity-control button:hover {
    background: #f47c20;
    color: #fff;
}

.quantity-box .quantity-control span {
    min-width: 40px;
    color: #222;
    font-size: 15px;
    font-weight: 800;
}

.back-products:hover {
    transform: translateX(-4px);
}

.product-detail-info::after {
    content: "🚚 Giao hàng tận nơi   •   💳 Thanh toán khi nhận hàng   •   ✓ Đảm bảo chất lượng";
    display: block;
    margin-top: 25px;
    padding: 16px;
    background: #fffaf5;
    border: 1px solid #f2dfd0;
    border-radius: 14px;
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-detail-image {
        min-height: auto;
    }

    .product-detail-image img {
        height: auto;
        max-height: 500px;
    }
}

@media (max-width: 600px) {
    .product-detail {
        padding: 40px 15px 60px;
    }

    .product-detail-image {
        padding: 18px;
        border-radius: 22px;
    }

    .product-detail-image img {
        border-radius: 18px;
    }

    .product-detail-info h1 {
        font-size: 32px;
    }

    .product-detail-price {
        font-size: 28px;
    }

    .quantity-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

.cart-voucher {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.cart-voucher input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #eadfd7;
    border-radius: 10px;
    background: #ffffff;
    color: #222;
    font-size: 13px;
    outline: none;
    transition: all 0.25s ease;
}

.cart-voucher input::placeholder {
    color: #aaa;
}

.cart-voucher input:focus {
    border-color: #f47c20;
    box-shadow: 0 0 0 3px
        rgba(244, 124, 32, 0.10);
}

.cart-voucher button {
    height: 42px;
    padding: 0 15px;
    border: none;
    border-radius: 10px;
    background: #f47c20;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cart-voucher button:hover {
    background: #df6610;
    transform: translateY(-1px);
}

.cart-summary {
    padding: 14px 0;
    border-top: 1px dashed #eadfd7;
    border-bottom: 1px dashed #eadfd7;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.cart-summary-row:last-child {
    margin-bottom: 0;
}

.cart-summary-row span {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.cart-summary-row strong {
    color: #333;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

#cart-discount {
    color: #e85d04 !important;
}

.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #eee5df;
}

.cart-summary-total span {
    color: #222;
    font-size: 15px;
    font-weight: 800;
}

.cart-summary-total strong {
    color: #f47c20;
    font-size: 25px;
    font-weight: 900;
    white-space: nowrap;
}

#checkout-button {
    width: 100%;
    min-height: 50px;
    margin-top: 16px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(
        135deg,
        #f47c20,
        #ff9b4d
    );
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px
        rgba(244, 124, 32, 0.20);
    transition: all 0.25s ease;
}

#checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px
        rgba(244, 124, 32, 0.28);
}

#checkout-button:active {
    transform: translateY(0);
}

.cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #f47c20;
}

@media (max-width: 550px) {
    .cart-footer {
        padding: 15px;
    }

    .cart-voucher {
        gap: 6px;
    }

    .cart-voucher input {
        height: 40px;
        font-size: 12px;
    }

    .cart-voucher button {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }

    .cart-summary-row span,
    .cart-summary-row strong {
        font-size: 12px;
    }

    .cart-summary-total span {
        font-size: 14px;
    }

    .cart-summary-total strong {
        font-size: 21px;
    }

    #checkout-button {
        min-height: 47px;
        margin-top: 14px;
    }

    .cart-note {
        font-size: 10px;
    }
}


#success-summary {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid #eee5df;
    border-radius: 14px;
    background: #fffaf6;
}

.success-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.success-summary-row:last-child {
    margin-bottom: 0;
}

.success-summary-row span {
    color: #777;
    font-size: 13px;
}

.success-summary-row strong {
    color: #333;
    font-size: 13px;
    font-weight: 700;
}

.success-discount {
    color: #f47c20 !important;
}

.success-summary-divider {
    height: 1px;
    margin-top: 13px;
    background: #eadfd7;
}

.success-product-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff3e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-product-icon {
    font-size: 35px;
}

.success-product-code {
    display: block;
    margin-bottom: 3px;
    color: #f47c20;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .success-product {
        grid-template-columns: 65px 1fr;
        gap: 12px;
    }

    .success-product-image {
        width: 65px;
        height: 65px;
    }

    .success-product-price {
        grid-column: 2;
        font-size: 14px;
    }
}


.admin-order-summary {
    width: 100%;
    margin-top: 18px;
    padding: 18px 20px;
    background: #fffaf5;
    border: 1px solid #f1dfd2;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial,
        Helvetica,
        sans-serif;
}

.admin-summary-row {
    display: grid !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    margin-bottom: 12px;
    grid-template-columns: 1fr auto;
}

.admin-summary-row span {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    min-width: 0;
    font-family: Arial,
        Helvetica,
        sans-serif;
    line-height: 1.45;
}

.admin-summary-row strong {
    color: #222;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    font-family: Arial,
        Helvetica,
        sans-serif;
    text-align: right;
}

.admin-discount {
    color: #f47c20 !important;
}

.admin-summary-divider {
    width: 100%;
    height: 1px;
    margin: 15px 0;
    background: #e8d9cf;
}

.admin-summary-total {
    display: grid !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    grid-template-columns: 1fr auto;
}

.admin-summary-total span {
    color: #222;
    font-size: 16px;
    font-weight: 800;
    font-family: Arial,
        Helvetica,
        sans-serif;
    line-height: 1.3;
    white-space: nowrap;
}

.admin-summary-total strong {
    color: #f47c20;
    font-size: 23px;
    font-weight: 900;
    white-space: nowrap;
    font-family: Arial,
        Helvetica,
        sans-serif;
    text-align: right;
}

@media (max-width: 768px) {
    .admin-order-summary {
        padding: 15px;
    }

    .admin-summary-row span,
    .admin-summary-row strong {
        font-size: 13px;
    }

    .admin-summary-total span {
        font-size: 14px;
    }

    .admin-summary-total strong {
        font-size: 20px;
    }
}

.admin-summary-row .admin-discount {
    color: #f47c20 !important;
}

@media (max-width: 900px) {
    .order-body {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px !important;
    }

    .admin-order-summary {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .admin-summary-row span,
    .admin-summary-row strong {
        font-size: 13px;
    }

    .admin-summary-total span {
        font-size: 14px;
    }

    .admin-summary-total strong {
        font-size: 20px;
    }
}

.admin-page,
.admin-page *,
.admin-order,
.admin-order *,
.admin-order-summary,
.admin-order-summary *,
.admin-summary-row,
.admin-summary-row *,
.admin-summary-total,
.admin-summary-total * {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
}

.admin-summary-total span,
.admin-summary-total strong {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
    font-style: normal !important;
}

.admin-summary-row span,
.admin-summary-row strong {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
    font-style: normal !important;
}

.cart-sidebar,
.cart-sidebar *,
.cart-empty,
.cart-empty *,
#cart-empty,
#cart-empty *,
.cart-footer,
.cart-footer *,
.cart-voucher,
.cart-voucher *,
.cart-summary,
.cart-summary *,
.checkout-button,
.cart-note {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
    font-style: normal !important;
}

.cart-sidebar h2,
.cart-sidebar h3 {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
}

#cart-empty,
#cart-empty h3,
#cart-empty p,
.cart-empty,
.cart-empty h3,
.cart-empty p {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
}

.cart-sidebar span,
.cart-sidebar strong,
.cart-sidebar button,
.cart-sidebar input {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
}

.header,
.header *,
.navbar,
.navbar *,
.cart,
.cart *,
.cart-button,
.cart-button *,
.user-header-link,
.user-header-link * {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
    font-style: normal !important;
}

.cart span,
.cart-button span {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
    font-style: normal !important;
}

.cart strong,
.cart b,
.cart-button strong,
.cart-button b {
    font-family: "Segoe UI",
        Arial,
        Helvetica,
        sans-serif !important;
    font-style: normal !important;
}



/* =========================================================
   LỊCH SỬ ĐƠN HÀNG - HÀO DRINK
========================================================= */

.order-history-page {
    min-height: calc(100vh - 90px);
    background: #fffaf5;
    padding: 55px 20px 90px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
}

.order-history-page *,
.order-history-page h1,
.order-history-page h2,
.order-history-page h3,
.order-history-page p,
.order-history-page span,
.order-history-page strong,
.order-history-page a {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
}

.order-history-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   TIÊU ĐỀ
========================================================= */

.order-history-title {
    margin-bottom: 28px;
}

.order-history-title h1 {
    margin: 0 0 8px;
    color: #222;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.order-history-title p {
    margin: 0;
    color: #777;
    font-size: 15px;
}


/* =========================================================
   THÔNG TIN KHÁCH HÀNG
========================================================= */

.order-user-box {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px 20px;
    margin-bottom: 28px;

    background: #ffffff;
    border: 1px solid #eee1d7;
    border-radius: 16px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.order-user-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #fff0e4;

    font-size: 21px;
    flex-shrink: 0;
}

.order-user-box strong {
    display: block;
    margin-bottom: 4px;

    color: #222;
    font-size: 16px;
    font-weight: 800;
}

.order-user-box p {
    margin: 0;
    color: #777;
    font-size: 14px;
}


/* =========================================================
   DANH SÁCH ĐƠN
========================================================= */

#order-history-list {
    width: 100%;
}

.history-order {
    width: 100%;
    margin-bottom: 24px;

    background: #ffffff;
    border: 1px solid #eee1d7;
    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);

    transition: 0.2s ease;
}

.history-order:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   HEADER ĐƠN
========================================================= */

.history-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px 22px;

    background: #fff8f1;
    border-bottom: 1px solid #f2e5da;
}

.history-order-header > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.history-order-header > div > span {
    color: #888;
    font-size: 13px;
}

.history-order-header > div > strong {
    color: #f47c20;
    font-size: 18px;
    font-weight: 900;
}

.status-processing,
.status-completed {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 7px 14px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
}

.status-processing {
    background: #fff0e4;
    color: #f47c20;
    border: 1px solid #f8d7bc;
}

.status-completed {
    background: #eaf8ee;
    color: #219653;
    border: 1px solid #ccebd7;
}


/* =========================================================
   NGÀY ĐẶT
========================================================= */

.history-order-date {
    padding: 14px 22px 4px;

    color: #888;
    font-size: 13px;
}


/* =========================================================
   DANH SÁCH SẢN PHẨM
========================================================= */

.history-products {
    display: flex;
    flex-direction: column;

    gap: 10px;

    padding: 18px 22px 8px;
}

.history-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 14px 16px;

    background: #fffaf5;
    border: 1px solid #f0e2d7;
    border-radius: 12px;
}

.history-product > div {
    display: flex;
    flex-direction: column;

    gap: 5px;

    min-width: 0;
}

.history-product > div strong {
    color: #222;
    font-size: 15px;
    font-weight: 800;

    overflow: hidden;
    text-overflow: ellipsis;
}

.history-product > div span {
    color: #888;
    font-size: 13px;
}

.history-product > strong {
    color: #f47c20;
    font-size: 15px;
    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   TỔNG TIỀN
========================================================= */

.history-order-footer {
    margin: 18px 22px 22px;
    padding: 17px 18px;

    background: #fffaf5;
    border: 1px solid #eee0d6;
    border-radius: 14px;
}

.history-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 11px;
}

.history-summary-row span {
    color: #666;
    font-size: 14px;
}

.history-summary-row strong {
    color: #222;
    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;
}

.history-discount {
    color: #f47c20 !important;
}

.history-summary-divider {
    width: 100%;
    height: 1px;

    margin: 14px 0;

    background: #e8dcd3;
}

.history-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.history-summary-total span {
    color: #222;
    font-size: 15px;
    font-weight: 900;

    white-space: nowrap;
}

.history-summary-total strong {
    color: #f47c20;
    font-size: 23px;
    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   ĐANG TẢI
========================================================= */

.history-loading {
    padding: 60px 20px;

    text-align: center;

    color: #888;
    font-size: 15px;
}


/* =========================================================
   KHÔNG CÓ ĐƠN
========================================================= */

.history-empty {
    padding: 65px 25px;

    text-align: center;

    background: #ffffff;
    border: 1px solid #eee1d7;
    border-radius: 18px;
}

.history-empty-icon {
    margin-bottom: 12px;
    font-size: 52px;
}

.history-empty h2 {
    margin: 0 0 8px;

    color: #222;
    font-size: 23px;
    font-weight: 800;
}

.history-empty p {
    margin: 0 0 20px;

    color: #777;
    font-size: 14px;
}

.history-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    background: #f47c20;
    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 800;

    transition: 0.2s;
}

.history-empty a:hover {
    background: #dc6a12;
    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .order-history-page {
        padding: 35px 14px 60px;
    }

    .order-history-title h1 {
        font-size: 28px;
    }

    .order-user-box {
        padding: 15px;
    }

    .history-order-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 17px;
    }

    .history-order-date {
        padding: 12px 17px 2px;
    }

    .history-products {
        padding: 15px 17px 5px;
    }

    .history-product {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .history-product > strong {
        align-self: flex-end;
    }

    .history-order-footer {
        margin: 15px 17px 17px;
    }

    .history-summary-row span,
    .history-summary-row strong {
        font-size: 13px;
    }

    .history-summary-total span {
        font-size: 14px;
    }

    .history-summary-total strong {
        font-size: 19px;
    }
}



/* =========================================================
   GLOBAL TYPOGRAPHY
========================================================= */

html,
body,
button,
input,
textarea,
select {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
}

.header,
.header *,
header,
header * {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
}


/* =========================================================
   HEADER - STANDARD
========================================================= */

.header,
body > header:not(.admin-header) {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 76px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(244, 124, 32, 0.12);
    box-shadow: 0 5px 24px rgba(40, 20, 5, 0.06);
    backdrop-filter: blur(10px);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

body > header:not(.admin-header) {
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 24px;
}

body > header:not(.admin-header) .logo,
.header-container .logo {
    flex: 0 0 auto;
}

body > header:not(.admin-header) .logo a,
.header-container .logo {
    color: #222;
    white-space: nowrap;
}

body > header:not(.admin-header) .logo a span,
.header-container .logo span {
    color: #f47c20;
}

.header-container .navbar,
.header-container .nav,
body > header:not(.admin-header) > nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-container .navbar a,
.header-container .nav a,
body > header:not(.admin-header) > nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: 10px;
    color: #444;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.header-container .navbar a:hover,
.header-container .nav a:hover,
body > header:not(.admin-header) > nav a:hover,
.header-container .navbar a.active,
.header-container .nav a.active,
body > header:not(.admin-header) > nav a.active {
    color: #f47c20;
    background: #fff7f0;
}

.header-container .user-header,
body > header:not(.admin-header) > .user-header {
    flex: 0 0 auto;
    min-width: 0;
}

.user-header-link {
    min-height: 44px;
    max-width: 240px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #f0d9c7;
    border-radius: 999px;
    background: #fffaf6;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.user-header-link:hover {
    background: #f47c20;
    border-color: #f47c20;
    color: #fff;
}

.header-container .cart,
body > header:not(.admin-header) > .cart,
.header-container .cart-button,
body > header:not(.admin-header) > .cart-button {
    flex: 0 0 auto;
    position: relative;
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1.5px solid #f47c20;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.header-container .cart:hover,
body > header:not(.admin-header) > .cart:hover,
.header-container .cart-button:hover,
body > header:not(.admin-header) > .cart-button:hover {
    background: #f47c20;
    color: #fff;
}

.header-container .cart b,
.header-container .cart strong,
body > header:not(.admin-header) > .cart b,
body > header:not(.admin-header) > .cart strong,
.header-container .cart-button b,
.header-container .cart-button strong {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f47c20;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.header-container .cart:hover b,
.header-container .cart:hover strong,
.header-container .cart-button:hover b,
.header-container .cart-button:hover strong {
    background: #fff;
    color: #f47c20;
}


/* =========================================================
   HEADER - RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .header-container {
        width: 94%;
        gap: 12px;
    }

    body > header:not(.admin-header) {
        padding: 0 3%;
    }

    .header-container .navbar,
    .header-container .nav,
    body > header:not(.admin-header) > nav {
        gap: 2px;
    }
}

@media (max-width: 768px) {

    .header-container {
        width: 94%;
        min-height: auto;
        padding: 11px 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 42px 42px;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 9px;
    }

    body > header:not(.admin-header) {
        min-height: auto;
        padding: 0 14px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 42px 42px;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 9px;
    }

    .header-container .logo,
    body > header:not(.admin-header) > .logo {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header-container .logo a,
    .header-container .logo,
    body > header:not(.admin-header) > .logo a {
        font-size: 21px;
        white-space: nowrap;
    }

    .header-container .user-header,
    body > header:not(.admin-header) > .user-header {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: 42px;
        margin: 0;
    }

    .header-container .cart,
    body > header:not(.admin-header) > .cart,
    .header-container .cart-button,
    body > header:not(.admin-header) > .cart-button {
        grid-column: 3;
        grid-row: 1;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    .header-container .navbar,
    .header-container .nav,
    body > header:not(.admin-header) > nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 3px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 0 3px;
        scrollbar-width: none;
    }

    .header-container .navbar::-webkit-scrollbar,
    .header-container .nav::-webkit-scrollbar,
    body > header:not(.admin-header) > nav::-webkit-scrollbar {
        display: none;
    }

    .header-container .navbar a,
    .header-container .nav a,
    body > header:not(.admin-header) > nav a {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 8px 10px;
        font-size: 12.5px;
        white-space: nowrap;
    }

    .header-container .user-header-link,
    body > header:not(.admin-header) > .user-header .user-header-link {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        overflow: visible;
    }
}

@media (max-width: 480px) {

    .header-container,
    body > header:not(.admin-header) {
        grid-template-columns: minmax(0, 1fr) 40px 40px;
        gap: 7px;
    }

    .header-container .logo,
    body > header:not(.admin-header) > .logo a {
        font-size: 20px;
    }

    .header-container .user-header,
    body > header:not(.admin-header) > .user-header {
        width: 40px;
    }

    .header-container .user-header-link,
    body > header:not(.admin-header) > .user-header .user-header-link {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .user-header-link span {
        display: none;
    }

    .header-container .cart span,
    .header-container .cart-button span,
    body > header:not(.admin-header) > .cart span,
    body > header:not(.admin-header) > .cart-button span {
        display: none;
    }

    .header-container .cart,
    .header-container .cart-button,
    body > header:not(.admin-header) > .cart,
    body > header:not(.admin-header) > .cart-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
    }

    .header-container .cart b,
    .header-container .cart strong,
    .header-container .cart-button b,
    .header-container .cart-button strong,
    body > header:not(.admin-header) > .cart b,
    body > header:not(.admin-header) > .cart strong {
        position: absolute;
        right: -3px;
        top: -4px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        font-size: 9px;
        border: 2px solid #fff;
    }
}

/* =========================================================
   ORDER SUCCESS - HEADER MOBILE
========================================================= */

@media (max-width: 768px) {

    .order-success-page .header {
        width: 100% !important;
        overflow: hidden !important;
    }

    .order-success-page .header-container {
        width: 92% !important;
        max-width: none !important;
        margin: 0 auto !important;

        min-height: auto !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 42px 42px !important;

        align-items: center !important;
        gap: 7px !important;

        padding: 11px 0 !important;
        box-sizing: border-box !important;
    }


    /* LOGO */

    .order-success-page .logo {
        grid-column: 1 !important;
        grid-row: 1 !important;

        min-width: 0 !important;
        margin: 0 !important;
    }

    .order-success-page .logo a {
        display: block !important;

        font-size: 20px !important;

        white-space: nowrap !important;
    }


    /* TÀI KHOẢN */

    .order-success-page .user-header {
        grid-column: 2 !important;
        grid-row: 1 !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;
    }

    .order-success-page .user-header-link {
        width: 42px !important;
        height: 42px !important;

        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 50% !important;

        white-space: nowrap !important;
    }

    .order-success-page .user-header-link span {
        display: none !important;
    }


    /* GIỎ HÀNG */

    .order-success-page .cart,
    .order-success-page .cart-button {
        grid-column: 3 !important;
        grid-row: 1 !important;

        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;

        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        position: relative !important;

        white-space: nowrap !important;
    }

    .order-success-page .cart span,
    .order-success-page .cart-button span {
        display: none !important;
    }


    .order-success-page .cart b,
    .order-success-page .cart strong,
    .order-success-page .cart-button b,
    .order-success-page .cart-button strong {
        position: absolute !important;

        top: -3px !important;
        right: -3px !important;

        min-width: 17px !important;
        width: 17px !important;
        height: 17px !important;

        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 9px !important;

        border-radius: 50% !important;
    }


    /* MENU */

    .order-success-page .header-container .navbar,
    .order-success-page .header-container .nav,
    .order-success-page header nav {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 18px !important;

        margin: 2px 0 0 !important;
        padding: 6px 0 3px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scrollbar-width: none !important;
    }

    .order-success-page .header-container .navbar::-webkit-scrollbar,
    .order-success-page .header-container .nav::-webkit-scrollbar,
    .order-success-page header nav::-webkit-scrollbar {
        display: none !important;
    }


    .order-success-page .header-container .navbar a,
    .order-success-page .header-container .nav a,
    .order-success-page header nav a {
        flex: 0 0 auto !important;

        padding: 5px 0 !important;

        font-size: 12px !important;

        white-space: nowrap !important;
    }

}


/* =========================================================
   MOBILE RẤT NHỎ
========================================================= */

@media (max-width: 480px) {

    .order-success-page .header-container {
        width: 92% !important;

        grid-template-columns:
            minmax(0, 1fr)
            40px
            40px !important;
    }

    .order-success-page .user-header,
    .order-success-page .user-header-link {
        width: 40px !important;
        height: 40px !important;
    }

    .order-success-page .cart,
    .order-success-page .cart-button {
        width: 40px !important;
        min-width: 40px !important;

        height: 40px !important;
        min-height: 40px !important;
    }

    .order-success-page .header-container .navbar,
    .order-success-page .header-container .nav,
    .order-success-page header nav {
        gap: 16px !important;
    }

}

/* =========================================================
   HÀO DRINK - HEADER CHUẨN MOBILE
========================================================= */

.header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee5de;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* ================= LOGO ================= */

.header .logo {
    flex-shrink: 0;
    white-space: nowrap;
}

.header .logo span {
    color: #f47c20;
}


/* ================= MENU ================= */

.header .navbar {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    min-width: 0;
}

.header .navbar a {
    position: relative;

    padding: 27px 0;

    color: #333;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}

.header .navbar a:hover,
.header .navbar a.active {
    color: #f47c20;
}


/* ================= USER ================= */

.user-header {
    flex-shrink: 0;
}

.user-header-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 42px;
    padding: 0 14px;

    border: 1px solid #f0ddd0;
    border-radius: 25px;

    color: #333;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


/* ================= CART ================= */

.header .cart {
    position: relative;

    flex-shrink: 0;

    width: auto;
    min-height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 14px;

    border: 1px solid #f47c20;
    border-radius: 25px;

    background: #fff;

    color: #222;

    cursor: pointer;
}

.header .cart-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 15px;
}

.header .cart-label {
    display: inline-block;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
}

.header .cart b {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 20px;
    width: 20px;
    height: 20px;

    padding: 0;

    background: #f47c20;
    color: #fff;

    border-radius: 50%;

    font-size: 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .header {
        position: sticky;
        top: 0;
    }

    .header-container {
        width: 92%;

        min-height: auto;

        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            40px
            40px;

        grid-template-rows:
            46px
            38px;

        gap: 4px 7px;

        padding: 9px 0;
    }


    /* LOGO */

    .header .logo {
        grid-column: 1;
        grid-row: 1;

        min-width: 0;
    }

    .header .logo a {
        font-size: 20px;

        white-space: nowrap;
    }


    /* USER */

    .user-header {
        grid-column: 2;
        grid-row: 1;

        width: 40px;
        height: 40px;
    }

    .user-header-link {
        width: 40px;
        height: 40px;

        padding: 0;

        border-radius: 50%;
    }

    .user-header-link span {
        display: none;
    }


    /* CART */

    .header .cart {
        grid-column: 3;
        grid-row: 1;

        width: 40px;
        min-width: 40px;

        height: 40px;
        min-height: 40px;

        padding: 0;

        border-radius: 50%;

        gap: 0;
    }

    .header .cart-icon {
        font-size: 15px;
    }

    .header .cart-label {
        display: none !important;
    }

    .header .cart b {
        position: absolute;

        top: -3px;
        right: -3px;

        width: 17px;
        min-width: 17px;
        height: 17px;

        font-size: 9px;
    }


    /* NAV */

    .header .navbar {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;
        min-width: 0;

        display: flex;

        justify-content: flex-start;
        align-items: center;

        gap: 18px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 3px 0;

        scrollbar-width: none;
    }

    .header .navbar::-webkit-scrollbar {
        display: none;
    }

    .header .navbar a {
        flex: 0 0 auto;

        padding: 5px 0;

        font-size: 12px;

        white-space: nowrap;
    }
}


/* =========================================================
   MOBILE NHỎ
========================================================= */

@media (max-width: 480px) {

    .header-container {
        width: 92%;

        grid-template-columns:
            minmax(0, 1fr)
            38px
            38px;
    }

    .header .logo a {
        font-size: 19px;
    }

    .user-header,
    .user-header-link {
        width: 38px;
        height: 38px;
    }

    .header .cart {
        width: 38px;
        min-width: 38px;

        height: 38px;
        min-height: 38px;
    }

    .header .navbar {
        gap: 16px;
    }

    .header .navbar a {
        font-size: 11.5px;
    }
}

/* =========================================================
   FIX ICON GIỎ HÀNG MOBILE
========================================================= */

@media (max-width: 768px) {

    .header .cart .cart-icon {
        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        height: auto !important;

        font-size: 16px !important;
        line-height: 1 !important;

        visibility: visible !important;
        opacity: 1 !important;
    }

    .header .cart .cart-label {
        display: none !important;
    }

    .header .cart {
        color: #222 !important;
        overflow: visible !important;
    }
}

/* =========================================================
   MENU MOBILE - LUÔN BẮT ĐẦU TỪ TRANG CHỦ
========================================================= */

@media (max-width: 768px) {

    .header .navbar {
        justify-content: flex-start !important;
        align-items: center !important;

        width: 100% !important;
        min-width: 0 !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        padding-left: 0 !important;
        padding-right: 12px !important;

        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .header .navbar::-webkit-scrollbar {
        display: none;
    }

    .header .navbar a {
        flex: 0 0 auto !important;

        white-space: nowrap !important;
    }
}

/* =========================================
   SẢN PHẨM NỔI BẬT
========================================= */

.featured-products {
    padding: 90px 0;
    background: #fff;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.featured-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.featured-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #fff7ef;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.08);
}

.featured-info {
    padding: 20px;
}

.featured-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #f47c20;
    margin-bottom: 8px;
}

.featured-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #222;
}

.featured-info p {
    margin: 0 0 20px;
    min-height: 44px;
    line-height: 1.6;
    color: #777;
    font-size: 14px;
}

.featured-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.featured-bottom strong {
    color: #f47c20;
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.featured-bottom .add-cart {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    background: #f47c20;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.featured-bottom .add-cart:hover {
    background: #d9650d;
    transform: translateY(-2px);
}

.featured-more {
    text-align: center;
    margin-top: 40px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .featured-products {
        padding: 60px 0;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-image {
        height: 230px;
    }

    .featured-info {
        padding: 18px;
    }

    .featured-info h3 {
        font-size: 18px;
    }

    .featured-bottom strong {
        font-size: 18px;
    }

}

/* =========================================
   FIX SẢN PHẨM NỔI BẬT
========================================= */

.featured-products .featured-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
}

.featured-products .featured-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

.featured-products .featured-image {
    width: 100% !important;
    height: 240px !important;
    overflow: hidden !important;
}

.featured-products .featured-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.featured-products .featured-info {
    width: 100% !important;
}

.featured-products .featured-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}


/* TABLET */

@media (max-width: 1000px) {

    .featured-products .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .featured-products .featured-grid {
        grid-template-columns: 1fr !important;
    }

    .featured-products .featured-image {
        height: 230px !important;
    }

}