﻿/* ============================================================
   BANH TRUNG THU BAO PHUONG - Template Guest
   TemplateID 979A6DEE-1351-42CB-8971-FBD4D7D1B3ED
   Mot tep duy nhat. Moi rule nam trong @layer.
   ============================================================ */

@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Beautique Display";
    src: url("fonts/BeautiqueDisplay-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("fonts/SVNGilroy-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("fonts/SVNGilroy-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@layer reset, tokens, base, layout, components, template, utilities, overrides;

/* ============================================================
   TOKENS - do tu ban mau, doi mau chi sua o day
   ============================================================ */
@layer tokens {
    :root {
        color-scheme: light;

        /* Mau */
        --az-template-red: #A43B42;
        --az-template-red-dark: #97393F;
        --az-template-red-deep: #B10305;
        --az-template-cream: #FDDEB5;
        --az-template-cream-soft: #FEF2E4;
        --az-template-bg: #FFF9FB;
        --az-template-ink: #231F20;
        --az-template-ink-soft: #686663;
        --az-template-line: #F4EBEB;
        --az-template-white: #FFFFFF;

        /* Chu */
        --az-template-font-display: "Beautique Display", Georgia, serif;
        --az-template-font-body: "Gilroy", "Segoe UI", Arial, sans-serif;

        /* Khung */
        --az-template-max: 1440px;
        --az-template-gut: 20px;
        --az-template-header-h: 76px;
        --az-template-radius: 16px;
        --az-template-radius-lg: 24px;

        /* Chuyen dong */
        --az-template-ease: cubic-bezier(.4, 0, .2, 1);
    }
}

/* ============================================================
   RESET
   ============================================================ */
@layer reset {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    body,
    h1,
    h2,
    h3,
    h4,
    p,
    ul,
    ol,
    figure {
        margin: 0;
        padding: 0;
    }

    ul,
    ol {
        list-style: none;
    }

    img,
    svg {
        display: block;
        max-width: 100%;
    }

    button {
        font: inherit;
        color: inherit;
        background: none;
        border: 0;
        cursor: pointer;
    }

    input,
    select,
    textarea {
        font: inherit;
        color: inherit;
    }

    a {
        color: inherit;
        text-decoration: none;
    }
}

/* ============================================================
   BASE - kieu chu goc, do tu ban mau
   ============================================================ */
@layer base {
    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        /* BAT BUOC: khoi tran vien dung 100vw se sinh cuon ngang neu thieu */
        overflow-x: hidden;
        background: var(--az-template-bg);
        color: var(--az-template-ink);
        font-family: var(--az-template-font-body);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.6;
    }

    h1,
    h2,
    h3 {
        font-family: var(--az-template-font-display);
        font-weight: 700;
    }

    h1 {
        font-size: 38px;
        line-height: 1.4;
    }

    h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    h4 {
        font-family: var(--az-template-font-display);
        font-weight: 900;
        font-size: 16px;
        line-height: 1.4;
    }

    a {
        transition: color .2s var(--az-template-ease);
    }

    :where(a, button, input, [tabindex]):focus-visible {
        outline: 2px solid var(--az-template-red);
        outline-offset: 2px;
    }
}

/* ============================================================
   TEMPLATE - toan bo rule con lai, ke ca @media
   ============================================================ */
@layer template {

    /* --- Khung chung --- */
    .az-template-wrap {
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding-inline: var(--az-template-gut);
    }

    /* Keo mot khoi ra het be ngang man hinh */
    .az-template-full {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .az-template-skip {
        position: absolute;
        left: -9999px;
        top: 0;
        z-index: 100;
        padding: 10px 16px;
        background: var(--az-template-red);
        color: var(--az-template-cream-soft);
    }

    .az-template-skip:focus {
        left: 0;
    }

    /* --- Header --- */
    .az-template-header {
        position: sticky;
        top: 0;
        z-index: 30;
        background: var(--az-template-bg);
    }

    .az-template-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 91.666%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding-block: 16px;
    }

    .az-template-logo img {
        width: auto;
        height: 44px;
    }

    /* --- Cong cu ben phai header --- */
    .az-template-tools {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .az-template-iconbtn {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: var(--az-template-ink);
        transition: background .2s var(--az-template-ease);
    }

    .az-template-iconbtn:hover {
        background: var(--az-template-cream-soft);
    }

    .az-template-divider {
        display: none;
        width: 0;
        height: 24px;
        border-left: .75px solid var(--az-template-ink);
        margin-inline: 19px;
    }

    .az-template-cta {
        display: none;
        align-items: center;
        justify-content: center;
        height: 41px;
        padding-inline: 24px;
        border-radius: 999px;
        background: var(--az-template-red);
        color: var(--az-template-cream-soft);
        font-family: var(--az-template-font-display);
        font-weight: 700;
        letter-spacing: .02em;
        transition: background .2s var(--az-template-ease);
    }

    .az-template-cta:hover {
        background: var(--az-template-red-dark);
        color: var(--az-template-cream-soft);
    }

    /* --- Dieu huong: mac dinh la ngan keo tu phai (mobile) --- */
    .az-template-nav {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 40;
        display: flex;
        flex-direction: column;
        width: 83.333%;
        max-width: 360px;
        padding: 8px 0 32px;
        background: var(--az-template-cream-soft);
        border-radius: var(--az-template-radius-lg) 0 0 var(--az-template-radius-lg);
        transform: translateX(100%);
        visibility: hidden;
        overflow-y: auto;
        transition: transform .35s var(--az-template-ease), visibility .35s var(--az-template-ease);
    }

    .az-template-nav.on {
        transform: translateX(0);
        visibility: visible;
    }

    .az-template-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        font-family: var(--az-template-font-display);
        font-weight: 700;
    }

    .az-template-nav-close {
        width: 36px;
        height: 36px;
        font-size: 28px;
        line-height: 1;
        color: var(--az-template-red);
    }

    .az-template-menu > li > a {
        display: block;
        padding: 12px 20px;
        font-family: var(--az-template-font-display);
        font-weight: 700;
    }

    .az-template-menu > li.on > a {
        color: var(--az-template-red);
    }

    .az-template-sub {
        padding-bottom: 8px;
    }

    .az-template-sub a {
        display: block;
        padding: 8px 20px 8px 36px;
        color: var(--az-template-ink-soft);
        font-size: 15px;
    }

    .az-template-sub a:hover {
        color: var(--az-template-red);
    }

    /* --- Lop phu khi mo ngan keo hoac o tim kiem --- */
    .az-template-scrim {
        position: fixed;
        inset: 0;
        z-index: 35;
        background: rgba(35, 31, 32, .45);
    }

    .az-template-scrim[hidden] {
        display: none;
    }

    /* --- O tim kiem --- */
    .az-template-search {
        display: none;
        border-top: 1px solid var(--az-template-line);
        background: var(--az-template-bg);
    }

    .az-template-search.on {
        display: block;
    }

    .az-template-search-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 91.666%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding-block: 14px;
    }

    .az-template-search-inner input {
        flex: 1;
        height: 44px;
        padding-inline: 16px;
        border: 1px solid var(--az-template-line);
        border-radius: 999px;
        background: var(--az-template-white);
    }

    .az-template-search-inner input:focus {
        border-color: var(--az-template-red);
        outline: none;
    }

    .az-template-search-go {
        height: 44px;
        padding-inline: 22px;
        border-radius: 999px;
        background: var(--az-template-red);
        color: var(--az-template-cream-soft);
        font-family: var(--az-template-font-display);
        font-weight: 700;
    }

    .az-template-search-go:hover {
        background: var(--az-template-red-dark);
    }

    .az-template-search-close {
        width: 40px;
        height: 40px;
        font-size: 26px;
        line-height: 1;
        color: var(--az-template-ink-soft);
    }

    /* --- Chan trang --- */
    .az-template-footer {
        position: relative;
        overflow: hidden;
        margin-top: 64px;
        /* padding duoi chua cho thanh goi nhanh, desktop se giam lai */
        padding: 48px 16px 60px;
        background: var(--az-template-red-deep);
        color: var(--az-template-white);
        font-size: 14px;
    }

    .az-template-footer-left,
    .az-template-footer-right {
        position: absolute;
        bottom: 0;
        z-index: 0;
        width: 288px;
        height: auto;
        opacity: .9;
        pointer-events: none;
    }

    .az-template-footer-left {
        left: 0;
    }

    .az-template-footer-right {
        right: 0;
    }

    .az-template-footer-inner {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
    }

    .az-template-footer-col + .az-template-footer-col {
        margin-top: 32px;
    }

    .az-template-footer-logo img {
        width: 160px;
        height: auto;
        margin-bottom: 24px;
    }

    .az-template-footer-title {
        margin-bottom: 8px;
        color: var(--az-template-cream);
        font-size: 20px;
    }

    .az-template-footer-col + .az-template-footer-col .az-template-footer-title {
        margin-top: 24px;
    }

    .az-template-footer-col + .az-template-footer-col .az-template-footer-title:first-child {
        margin-top: 0;
    }

    .az-template-footer-line {
        padding-block: 4px;
    }

    .az-template-footer-line a:hover,
    .az-template-footer-list a:hover {
        color: var(--az-template-cream);
    }

    .az-template-footer-list li {
        padding-block: 4px;
    }

    .az-template-footer-legal {
        margin-top: 20px;
        color: rgba(255, 255, 255, .85);
        line-height: 1.7;
    }

    .az-template-footer-gov {
        display: inline-block;
        margin-top: 20px;
    }

    .az-template-copyright {
        position: relative;
        z-index: 1;
        margin-top: 32px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, .25);
        text-align: center;
        font-size: 14px;
    }

    /* --- Thanh goi nhanh (chi mobile) --- */
    .az-template-callbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 25;
        display: flex;
        background: var(--az-template-red);
    }

    .az-template-callbar a {
        flex: 1;
        padding: 12px 4px;
        border-left: 1px solid rgba(255, 255, 255, .25);
        color: var(--az-template-cream-soft);
        text-align: center;
        font-size: 14px;
        font-weight: 700;
    }

    .az-template-callbar a:first-child {
        border-left: 0;
    }


    /* ========================================================
       KHOI TRANG CHU
       ======================================================== */

    /* --- 1. Bang bang --- */
    .az-template-hero {
        line-height: 0;
    }

    .az-template-hero img {
        width: 100%;
        height: auto;
    }

    .az-template-hero-desk {
        display: none;
    }

    /* --- Bieu tuong trang tri dung chung --- */
    .az-template-ico {
        width: 48px;
        height: 48px;
        flex: 0 0 auto;
        object-fit: contain;
    }

    /* --- Nut xem them dung chung --- */
    .az-template-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        color: var(--az-template-red);
        font-family: var(--az-template-font-display);
        font-weight: 700;
        font-size: 18px;
    }

    .az-template-more::after {
        content: "";
        width: 22px;
        height: 8px;
        background: currentColor;
        clip-path: polygon(0 40%, 72% 40%, 72% 0, 100% 50%, 72% 100%, 72% 60%, 0 60%);
        transition: transform .2s var(--az-template-ease);
    }

    .az-template-more:hover {
        color: var(--az-template-red-dark);
    }

    .az-template-more:hover::after {
        transform: translateX(4px);
    }

    /* --- 2. Cau chuyen --- */
    .az-template-story {
        position: relative;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 40px var(--az-template-gut) 24px;
    }

    .az-template-story-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .12;
        pointer-events: none;
    }

    .az-template-story-head,
    .az-template-story-body {
        position: relative;
        z-index: 1;
    }

    .az-template-story-head h1 {
        margin-top: 12px;
        max-width: 17rem;
    }

    .az-template-story-body {
        margin-top: 24px;
    }

    .az-template-story-text {
        font-weight: 700;
    }

    .az-template-story-text p {
        margin-bottom: 12px;
    }

    /* --- 3. Ba loi tat --- */
    .az-template-shortcut {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        margin-bottom: 40px;
        padding-inline: var(--az-template-gut);
    }

    .az-template-shortcut-item {
        position: relative;
        display: block;
        height: 124px;
        border-radius: var(--az-template-radius);
        overflow: hidden;
    }

    .az-template-shortcut-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .az-template-shortcut-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(84.74deg, rgba(0, 0, 0, .85) 11.31%, transparent 52.67%);
    }

    .az-template-shortcut-item h3 {
        position: absolute;
        left: 24px;
        bottom: 20px;
        z-index: 1;
        color: var(--az-template-cream);
    }

    /* --- 4. Cac loai banh --- */
    .az-template-cakes {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        margin-bottom: 40px;
        padding: 40px 16px 24px;
        border-radius: 46px;
        background: var(--az-template-cream-soft);
    }

    .az-template-cakes-title {
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--az-template-ink);
    }

    .az-template-cakes-title h2 {
        font-size: 32px;
    }

    .az-template-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
        margin-bottom: 20px;
    }

    .az-template-tab {
        padding: 4px 0;
        color: var(--az-template-ink);
        font-family: var(--az-template-font-display);
        font-weight: 700;
        font-size: 20px;
        transition: color .2s var(--az-template-ease);
    }

    .az-template-tab.on {
        color: var(--az-template-red);
    }

    .az-template-pane {
        display: none;
        flex-wrap: wrap;
    }

    .az-template-pane.on {
        display: flex;
    }

    .az-template-card {
        width: 50%;
        padding: 16px;
        border-radius: var(--az-template-radius-lg);
        transition: background .2s var(--az-template-ease);
    }

    .az-template-card:hover {
        background: var(--az-template-bg);
    }

    .az-template-card-img {
        aspect-ratio: 1;
    }

    .az-template-card-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .az-template-card h4 {
        padding: 20px 0 12px;
    }

    .az-template-price {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

    .az-template-price em {
        width: 14px;
        height: 14px;
        background: var(--az-template-red);
        clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    }

    /* --- 5. Hop banh --- */
    .az-template-boxes {
        position: relative;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 48px var(--az-template-gut);
    }

    .az-template-boxes-title {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--az-template-ink);
    }

    .az-template-boxes-title h2 {
        font-size: 32px;
    }

    .az-template-boxes-body {
        padding-top: 24px;
    }

    .az-template-slide {
        padding: 0 6px;
    }

    .az-template-slide img {
        width: 100%;
        height: auto;
        border-radius: var(--az-template-radius);
    }

    .az-template-slide h3 {
        margin-top: 12px;
        text-align: center;
        text-transform: uppercase;
    }

    /* --- 6. Bao chi --- */
    .az-template-press {
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 32px var(--az-template-gut);
        text-align: center;
    }

    .az-template-press-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin-top: 20px;
    }

    .az-template-press-list img {
        height: 48px;
        width: auto;
        object-fit: contain;
    }

    /* --- 7. Bi quyet --- */
    .az-template-secret {
        position: relative;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 40px var(--az-template-gut);
    }

    .az-template-secret-head {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .az-template-secret-item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 0;
        font-size: 14px;
    }


    /* ========================================================
       TRANG TRONG: san pham, tin tuc, gioi thieu, lien he
       ======================================================== */

    /* --- Duong dan --- */
    .az-template-crumb {
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 16px var(--az-template-gut) 0;
        font-size: 13px;
        color: var(--az-template-ink-soft);
    }

    .az-template-crumb ol {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .az-template-crumb li + li::before {
        content: "/";
        margin-right: 6px;
        color: var(--az-template-line);
    }

    .az-template-crumb a:hover {
        color: var(--az-template-red);
    }

    /* --- Dau trang danh sach --- */
    .az-template-listhead {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 24px var(--az-template-gut) 8px;
    }

    .az-template-listhead span {
        color: var(--az-template-ink-soft);
        font-size: 14px;
    }

    /* --- Thanh loc nhom --- */
    .az-template-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 8px var(--az-template-gut) 0;
    }

    /* --- Luoi san pham --- */
    .az-template-listwrap {
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 16px var(--az-template-gut) 40px;
    }

    .az-template-grid {
        display: flex;
        flex-wrap: wrap;
        margin-inline: -16px;
    }

    /* --- Phan trang --- */
    .az-template-page {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 32px;
    }

    .az-template-page a {
        display: grid;
        place-items: center;
        min-width: 40px;
        height: 40px;
        padding-inline: 8px;
        border: 1px solid var(--az-template-line);
        border-radius: 999px;
        background: var(--az-template-white);
    }

    .az-template-page a:hover {
        border-color: var(--az-template-red);
        color: var(--az-template-red);
    }

    .az-template-page .on a {
        border-color: var(--az-template-red);
        background: var(--az-template-red);
        color: var(--az-template-cream-soft);
    }

    /* --- Chi tiet san pham --- */
    .az-template-detail {
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 16px var(--az-template-gut) 24px;
    }

    .az-template-gallery {
        border-radius: var(--az-template-radius-lg);
        background: var(--az-template-cream-soft);
        overflow: hidden;
    }

    .az-template-gallery img {
        width: 100%;
        height: auto;
    }

    .az-template-buy {
        padding-top: 24px;
    }

    .az-template-buy-price {
        margin: 12px 0 20px;
        color: var(--az-template-red);
        font-family: var(--az-template-font-display);
        font-weight: 900;
        font-size: 28px;
    }

    .az-template-buy-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 8px 28px;
        border-radius: 999px;
        background: var(--az-template-red);
        color: var(--az-template-cream-soft);
        font-family: var(--az-template-font-display);
        font-weight: 700;
        transition: background .2s var(--az-template-ease);
    }

    .az-template-buy-btn:hover {
        background: var(--az-template-red-dark);
        color: var(--az-template-cream-soft);
    }

    /* --- Banh trong hop --- */
    .az-template-combo,
    .az-template-desc {
        margin-top: 40px;
    }

    .az-template-combo-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 16px;
    }

    .az-template-combo-item {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1 1 260px;
        padding: 12px;
        border-radius: var(--az-template-radius);
        background: var(--az-template-cream-soft);
    }

    .az-template-combo-item img {
        width: 64px;
        height: 64px;
        border-radius: 12px;
        object-fit: cover;
    }

    .az-template-combo-item strong {
        display: block;
        font-family: var(--az-template-font-display);
    }

    .az-template-combo-item span {
        font-size: 14px;
        color: var(--az-template-ink-soft);
    }

    /* --- Noi dung soan thao (dung chung) --- */
    .az-template-rich {
        line-height: 1.8;
    }

    .az-template-rich p {
        margin-bottom: 16px;
    }

    .az-template-rich h2,
    .az-template-rich h3 {
        margin: 28px 0 12px;
    }

    .az-template-rich img {
        height: auto;
        margin: 16px auto;
        border-radius: var(--az-template-radius);
    }

    .az-template-rich ul,
    .az-template-rich ol {
        margin: 0 0 16px 20px;
    }

    .az-template-rich ul li {
        position: relative;
        padding-left: 18px;
        margin-bottom: 8px;
    }

    .az-template-rich ul li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 11px;
        width: 8px;
        height: 8px;
        background: var(--az-template-red);
        clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    }

    .az-template-rich ol {
        list-style: decimal;
    }

    .az-template-rich ol li {
        margin-bottom: 8px;
    }

    .az-template-rich a {
        color: var(--az-template-red);
        text-decoration: underline;
    }

    .az-template-rich table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 16px;
    }

    .az-template-rich td,
    .az-template-rich th {
        padding: 8px 12px;
        border: 1px solid var(--az-template-line);
    }

    .az-template-rich iframe {
        max-width: 100%;
    }

    /* --- Bai viet --- */
    .az-template-article {
        width: 100%;
        max-width: 820px;
        margin-inline: auto;
        padding: 16px var(--az-template-gut) 32px;
    }

    .az-template-article-date {
        color: var(--az-template-ink-soft);
        font-size: 14px;
    }

    .az-template-article h1 {
        margin: 8px 0 20px;
    }

    .az-template-article-cover {
        width: 100%;
        height: auto;
        margin-bottom: 24px;
        border-radius: var(--az-template-radius-lg);
    }

    .az-template-article-sum {
        margin-bottom: 20px;
        font-weight: 700;
    }

    /* --- Danh sach tin --- */
    .az-template-news {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .az-template-news-item {
        display: block;
    }

    .az-template-news-img {
        aspect-ratio: 16 / 10;
        border-radius: var(--az-template-radius-lg);
        background: var(--az-template-cream-soft);
        overflow: hidden;
    }

    .az-template-news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s var(--az-template-ease);
    }

    .az-template-news-item:hover .az-template-news-img img {
        transform: scale(1.04);
    }

    .az-template-news-body {
        padding-top: 12px;
    }

    .az-template-news-item:hover h3 {
        color: var(--az-template-red);
    }

    .az-template-news-date {
        display: block;
        margin-top: 6px;
        color: var(--az-template-ink-soft);
        font-size: 14px;
    }

    /* --- Trang tai lieu hai cot --- */
    .az-template-page2col {
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 16px var(--az-template-gut) 40px;
    }

    .az-template-doc h1 {
        margin-bottom: 20px;
    }

    .az-template-doc-cover {
        width: 100%;
        height: auto;
        margin-bottom: 24px;
        border-radius: var(--az-template-radius-lg);
    }

    .az-template-aside {
        margin-top: 40px;
        padding: 20px;
        border-radius: var(--az-template-radius-lg);
        background: var(--az-template-cream-soft);
    }

    .az-template-aside li {
        padding: 8px 0;
        border-bottom: 1px solid var(--az-template-line);
    }

    .az-template-aside li:last-child {
        border-bottom: 0;
    }

    .az-template-aside .on a,
    .az-template-aside a:hover {
        color: var(--az-template-red);
    }

    /* --- Lien he --- */
    .az-template-contact {
        width: 100%;
        max-width: var(--az-template-max);
        margin-inline: auto;
        padding: 16px var(--az-template-gut) 32px;
    }

    .az-template-contact h1 {
        margin-bottom: 24px;
    }

    .az-template-contact-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .az-template-contact-box {
        flex: 1;
        padding: 24px;
        border-radius: var(--az-template-radius-lg);
        background: var(--az-template-cream-soft);
    }

    .az-template-contact-box h2 {
        margin-bottom: 12px;
        font-size: 20px;
    }

    .az-template-contact-tel a,
    .az-template-contact-fb {
        display: block;
        padding: 4px 0;
        color: var(--az-template-red);
        font-family: var(--az-template-font-display);
        font-weight: 700;
        font-size: 20px;
    }

    .az-template-map {
        line-height: 0;
    }


    /* --- Trang 404 --- */
    .az-template-404 {
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
        padding: 64px var(--az-template-gut) 80px;
        text-align: center;
    }

    .az-template-404 .az-template-ico {
        margin: 0 auto 16px;
    }

    .az-template-404 p {
        margin-top: 12px;
        color: var(--az-template-ink-soft);
    }

    .az-template-404-act {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 28px;
    }


    /* --- Bang chay: giu bo cuc truoc khi slick khoi tao --- */
    .az-template-slider:not(.slick-initialized) {
        display: flex;
        overflow: hidden;
    }

    .az-template-slider:not(.slick-initialized) .az-template-slide {
        flex: 0 0 100%;
    }

    .az-template-callbar-fb {
        background: rgba(255, 255, 255, .14);
    }

    /* ========================================================
       DESKTOP - moc 768px, dung theo ban mau
       ======================================================== */
    @media (min-width: 768px) {

        :root {
            --az-template-header-h: 96px;
            --az-template-gut: 40px;
        }

        h1 {
            font-size: 48px;
        }

        h2 {
            font-size: 32px;
        }

        h3 {
            font-size: 24px;
        }

        .az-template-logo img {
            height: 64px;
        }

        .az-template-divider,
        .az-template-cta {
            display: flex;
        }

        /* Ngan keo tro thanh thanh ngang giua header */
        .az-template-nav {
            position: static;
            flex-direction: row;
            align-items: center;
            width: auto;
            max-width: none;
            padding: 0;
            background: none;
            border-radius: 0;
            transform: none;
            visibility: visible;
            overflow: visible;
        }

        .az-template-nav-head {
            display: none;
        }

        .az-template-menu {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .az-template-menu > li {
            position: relative;
        }

        .az-template-menu > li > a {
            padding: 8px 0;
        }

        .az-template-menu > li > a:hover {
            color: var(--az-template-red);
        }

        /* Menu con thanh hop tha xuong */
        .az-template-sub {
            position: absolute;
            top: 100%;
            left: 50%;
            z-index: 10;
            min-width: 240px;
            padding: 8px 0;
            border-radius: var(--az-template-radius);
            background: var(--az-template-cream-soft);
            box-shadow: 0 12px 32px rgba(35, 31, 32, .12);
            opacity: 0;
            visibility: hidden;
            transform: translate(-50%, 8px);
            transition: opacity .2s var(--az-template-ease), transform .2s var(--az-template-ease), visibility .2s var(--az-template-ease);
        }

        .az-template-menu > li:hover .az-template-sub,
        .az-template-menu > li:focus-within .az-template-sub {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, 0);
        }

        .az-template-sub a {
            padding: 8px 20px;
            white-space: nowrap;
        }

        .az-template-nav-open {
            display: none;
        }

        /* Chan trang ba cot */
        .az-template-footer {
            padding: 64px 40px 24px;
        }

        .az-template-footer-inner {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 40px;
        }

        .az-template-footer-col {
            flex: 1;
        }

        .az-template-footer-col + .az-template-footer-col {
            margin-top: 0;
        }

        .az-template-footer-left,
        .az-template-footer-right {
            width: 640px;
        }

        .az-template-callbar {
            display: none;
        }

        /* --- Khoi trang chu tren desktop --- */
        .az-template-hero-desk {
            display: block;
        }

        .az-template-hero-mob {
            display: none;
        }

        .az-template-ico {
            width: 64px;
            height: 64px;
        }

        .az-template-story {
            min-height: 40rem;
            padding: 64px 80px;
        }

        .az-template-story-head h1 {
            max-width: 458px;
            font-size: 65px;
            line-height: 1.4;
        }

        .az-template-story-body {
            max-width: 600px;
            margin-top: 40px;
            margin-left: auto;
        }

        .az-template-story-body h3 {
            font-size: 28px;
        }

        .az-template-shortcut {
            flex-direction: row;
            gap: 16px;
            margin-bottom: 64px;
            padding-inline: 80px;
        }

        .az-template-shortcut-item {
            flex: 1;
            height: 224px;
        }

        .az-template-shortcut-item h3 {
            font-size: 28px;
        }

        /* Tieu de xoay doc dung theo ban mau */
        .az-template-cakes {
            flex-direction: row;
            padding: 40px 49px 24px;
        }

        .az-template-cakes-title {
            display: flex;
            align-items: center;
            margin-bottom: 0;
            margin-right: 80px;
            padding-bottom: 0;
            padding-right: 14px;
            border-bottom: 0;
            border-right: 1px solid var(--az-template-ink);
            writing-mode: vertical-lr;
        }

        .az-template-cakes-title h2 {
            font-size: 56px;
        }

        .az-template-cakes-body {
            flex: 1;
            min-width: 0;
        }

        .az-template-tabs {
            gap: 0 60px;
            margin-bottom: 40px;
        }

        .az-template-card {
            width: 33.333%;
        }

        .az-template-boxes {
            padding: 80px 40px;
        }

        .az-template-boxes-title {
            position: absolute;
            left: 16px;
            top: 80px;
            flex-direction: column;
            padding-bottom: 0;
            border-bottom: 0;
        }

        .az-template-boxes-title h2 {
            font-size: 56px;
            writing-mode: vertical-rl;
        }

        .az-template-boxes-body {
            padding-left: 160px;
            padding-top: 0;
        }

        .az-template-press-list img {
            height: 64px;
        }

        .az-template-secret {
            padding: 64px 40px;
        }

        .az-template-secret-head h2 {
            font-size: 56px;
        }

        .az-template-secret-list {
            display: flex;
            flex-wrap: wrap;
            margin-inline: 80px;
        }

        .az-template-secret-item {
            flex-basis: 50%;
            padding: 32px;
            font-size: 16px;
        }

        /* --- Trang trong tren desktop --- */
        .az-template-crumb {
            padding-top: 24px;
        }

        .az-template-listhead {
            padding-top: 40px;
        }

        .az-template-detail {
            display: grid;
            grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
            align-items: start;
            gap: 48px;
            padding-block: 32px 48px;
        }

        .az-template-buy {
            padding-top: 0;
        }

        .az-template-buy-price {
            font-size: 36px;
        }

        .az-template-combo,
        .az-template-desc {
            grid-column: 1 / -1;
        }

        .az-template-news {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 32px;
        }

        .az-template-news-item {
            flex: 1 1 calc(33.333% - 32px);
            max-width: calc(33.333% - 22px);
        }

        .az-template-page2col {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 300px;
            align-items: start;
            gap: 48px;
            padding-block: 24px 64px;
        }

        .az-template-aside {
            position: sticky;
            top: calc(var(--az-template-header-h) + 16px);
            margin-top: 0;
        }

        .az-template-contact-grid {
            flex-direction: row;
        }

        .az-template-article {
            padding-block: 24px 48px;
        }

        .az-template-slider:not(.slick-initialized) .az-template-slide {
            flex: 0 0 33.333%;
        }
    }

    @media (prefers-reduced-motion: reduce) {

        .az-template-nav,
        .az-template-sub,
        .az-template-cta,
        .az-template-iconbtn,
        a {
            transition: none;
        }
    }
}

/* ============================================================
   TIEN ICH dung chung cho cac trang
   ============================================================ */
@layer utilities {

    .az-template-hide {
        display: none;
    }

    .az-template-sr {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
        clip-path: inset(50%);
        overflow: hidden;
        white-space: nowrap;
    }

    .az-template-nobody {
        overflow: hidden;
    }
}
