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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background: white;
    font-family: "Playwrite AU TAS", cursive;
    overflow-x: hidden;
}

.page-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    gap: 18px;
    color: #2C3E50;
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

body.is-page-loading .page-loading-overlay {
    opacity: 1;
    pointer-events: auto;
}

.page-loading-overlay__mark {
    font-family: "Lilita One", sans-serif;
    font-size: 34px;
    letter-spacing: 2px;
}

.page-loading-overlay__bar {
    width: min(220px, 54vw);
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5ebe8;
}

.page-loading-overlay__bar span {
    width: 42%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #b4553c;
    animation: pageLoadingBar 0.9s ease-in-out infinite;
}

@keyframes pageLoadingBar {
    from {
        transform: translateX(-110%);
    }

    to {
        transform: translateX(250%);
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* TOPBAR */

.site-header {
    position: sticky;
    top: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;

    padding: 14px 3%;

    background: white;
    border-bottom: 1px solid #ddd;

    z-index: 1000;

    /* font-family: "Alegreya SC", serif; */
    font-family: "Playwrite AU TAS", cursive;
    font-weight: bold;
}

.brand-logo {
    flex: 1;
    font-size: 30px;
    font-weight: bold;
    font-family: "Lilita One", sans-serif;
    color: #2C3E50;
    letter-spacing: 2px;
}

.site-header .brand-logo,
.site-header .brand-logo:visited,
.site-header .brand-logo:hover {
    color: #2C3E50;
}

.site-header__account[hidden],
.site-header .auth-button[hidden] {
    display: none !important;
}

.has-auth-session .site-header__account,
.has-auth-session .site-header__actions > .auth-button {
    display: none !important;
}

.contact-brand{
    display: flex;
    align-items: center;
    gap: 20px;
}


.site-nav {
    display: flex;
    gap: 18px;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
}

.site-nav a,
.mobile-nav-menu__dropdown a {
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #b4553c;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
    width: 22px;
}

.site-nav a.is-current {
    color: #2C3E50;
}

.mobile-nav-menu__dropdown a.is-current {
    color: #b4553c;
}

.mobile-nav-menu__dropdown a.is-current::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b4553c;
    transform: translateY(-50%);
}

.site-nav--desktop {
    flex: 1.4;
}

.site-header a {
    text-decoration: none;
    color: #333;
}

.site-header__actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.auth-button {
    min-width: 96px;
    padding: 9px 16px;
    border: 1px solid #2C3E50;
    border-radius: 4px;
    text-align: center;
    line-height: 1;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.auth-button:hover {
    transform: translateY(-1px);
}

.auth-button--outline {
    color: #2C3E50;
    background: white;
}

.auth-button--outline:hover {
    background: #f4f7f8;
}

.auth-button--solid {
    color: white !important;
    background: #2C3E50;
}

.auth-button--solid:hover {
    background: #1f2d3a;
}

.mobile-nav-menu {
    position: relative;
    display: none;
}

.mobile-nav-menu__toggle {
    width: 40px;
    height: 38px;
    border: none;
    /* border: 1px solid #2C3E50; */
    border-radius: 4px;
    background: white;
    color: #2C3E50;
    font-size: 18px;
    cursor: pointer;
}

.mobile-nav-menu__toggle:hover {
    background: #f4f7f8;
}

.mobile-nav-menu__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: white;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 1000;
}

.mobile-nav-menu__dropdown.is-open {
    display: flex;
}

.mobile-nav-menu__dropdown a {
    padding: 15px 20px;
    font-size: 14px;
}

.mobile-nav-menu__dropdown a.is-current {
    padding-left: 24px;
}

.mobile-nav-menu__dropdown a:hover {
    background: #f5f5f5;
}

/* HERO */

.hero {
    position: relative;

    min-height: 80vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;
    color: white;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 24px;
}


.hero__cta {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);

    background: rgba(255, 255, 255, 0.15); /* trong mờ */
    backdrop-filter: blur(4px);           /* làm mờ nền phía sau */
    -webkit-backdrop-filter: blur(10px);

    color: white;
    border-radius: 0px;
    cursor: pointer;

    box-shadow: 0 4px 20px rgba(0,0,0,0.2);

    /* font-family: "Alegreya SC", serif; */
    font-family: "Playwrite AU TAS", cursive;
    font-size: 16px;
    font-weight: bold;
}

/* CONTENT */

.content-section {
    padding: 80px 0;
    background: white;
}

.content-section.alt {
    background: white;
}

.content-section h2 {
    margin-bottom: 20px;
}

.contact-section__link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;

    margin-top: 30px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.card h3 {
    margin-bottom: 10px;
}

/* FOOTER */

.site-footer {
    padding: 16px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    background: #111;
    color: white;
}

.contact-section{
    background: white;
}

.contact-section__inner {
    /* text-align: center; */
    border-top: 2px solid #ddd;
    padding: 10px;
}

.contact-brand__logo {
    width: 40px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

.social-list {
    display: flex;
    gap: 24px;
    margin: 25px 0;
}

.social-list a {
    color: #2C3E50;

    font-size: 28px;

    transition: transform 0.2s ease;
}

.social-list a:hover {
    transform: translateY(-3px);
}

/* MOBILE */

@media (max-width: 768px) {

    .site-header {
        gap: 10px;
        padding: 12px 4%;
    }

    .brand-logo {
        flex: 0 1 auto;
        font-size: 26px;
        letter-spacing: 1px;
    }

    .site-nav--desktop {
        display: none;
    }

    .site-header__actions {
        flex: 0 0 auto;
        gap: 8px;
    }

    .auth-button {
        min-width: auto;
        padding: 9px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .auth-button--outline {
        display: none;
    }

    .mobile-nav-menu {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

}


.split-section {
    display: flex;
    align-items: center;
    gap: 80px;
    min-width: 0;
    overflow: hidden;
}

.split-section__content {
    flex: 1;
    min-width: 0;
}

.split-section__content h2 {
    margin-bottom: 25px;
}

.split-section__content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 18px;
}

.section-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #2C3E50;
    border-radius: 4px;
    padding: 0 18px;
    color: white;
    background: #2C3E50;
    font-weight: 800;
    text-decoration: none;
}


.postcard-gallery {

    flex: 1;

    position: relative;

    height: 560px;

    min-width: min(350px, 100%);
    overflow: visible;
}

.postcard-gallery__image {

    position: absolute;

    width: 220px;

    border: 4px solid white;
    border-radius: 4px;

    background: white;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    transition-delay: 0s;
}

.postcard-gallery__image--1 {
    top: 30px;
    left: 40px;
    transform: rotate(15deg);
}

.postcard-gallery__image--2 {
    top: 80px;
    left: 140px;
    transform: rotate(10deg);
}

.postcard-gallery__image--3 {
    top: 180px;
    left: 60px;
    transform: rotate(-8deg);
}

.postcard-gallery__image--4 {
    top: 220px;
    left: 180px;
    transform: rotate(14deg);
}

.postcard-gallery__image--5 {
    top: 120px;
    left: 250px;
    transform: rotate(-12deg);
}

.postcard-gallery__image--6 {
    top: 280px;
    left: 300px;
    transform: rotate(8deg);
}

.postcard-gallery__image:hover {
    transition-delay: 0.5s;
    z-index: 100;
    transform: scale(1.25);
}

.postcard-gallery__image--1:hover {
    transform: rotate(-6deg) scale(1.25);
}


.postcard-editor {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.postcard-editor__image {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
}

.postcard-intro {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.postcard-intro__image {
    display: block;
    width: min(100%, 520px);
    max-height: 460px;
    border: 6px solid white;
    border-radius: 6px;
    object-fit: contain;
    transform: rotate(-2deg);
}

@media (max-width: 768px) {

    .split-section {
        flex-direction: column;
        gap: 30px;
    }

    .split-section__content {
        width: 100%;
        z-index: 2;
    }

    .postcard-editor {
        width: 100%;
    }

    .postcard-intro {
        width: 100%;
        order: 2;
    }

    .postcard-intro__image {
        width: min(100%, 420px);
        max-height: 320px;
        transform: none;
    }

    .postcard-editor__image {
        max-width: 100%;
    }

    .postcard-gallery {
        position: relative;

        width: 100%;
        height: auto;
        min-height: 0;

        display: flex;
        gap: 15px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 20px 10px;

        justify-content: flex-start;

        scrollbar-width: none;
    }

    .postcard-gallery::-webkit-scrollbar {
        display: none;
    }

    .postcard-gallery__image {

        position: static;

        width: auto;
        max-width: 70vw;

        max-height: 180px;

        flex-shrink: 0;

        object-fit: contain;

        transform: none !important;
    }

    .postcard-gallery__image:nth-child(odd) {
        transform: rotate(-4deg) !important;
    }

    .postcard-gallery__image:nth-child(even) {
        transform: rotate(4deg) !important;
    }
}

@media (max-width: 900px) and (orientation: landscape) {

    .split-section {
        flex-direction: column;
        gap: 30px;
    }

    .split-section__content {
        width: 100%;
        z-index: 2;
    }

    .postcard-gallery {
        position: relative;
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: 0;
        display: flex;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 20px 10px;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .postcard-gallery::-webkit-scrollbar {
        display: none;
    }

    .postcard-gallery__image {
        position: static;
        width: auto;
        max-width: 46vw;
        max-height: 160px;
        flex-shrink: 0;
        object-fit: contain;
        transform: none !important;
    }

    .postcard-gallery__image:nth-child(odd) {
        transform: rotate(-4deg) !important;
    }

    .postcard-gallery__image:nth-child(even) {
        transform: rotate(4deg) !important;
    }
}


.social-list__icon {
    width: 30px;
    height: 30px;
    border: none;
}

.info-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: white;
}

.info-hero__media,
.info-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),
        rgba(44, 62, 80, 0.18);
}

.info-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 82px 0 56px;
}

.info-eyebrow {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.info-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
}

.info-hero p {
    max-width: 660px;
    font-size: 18px;
    line-height: 1.75;
}

.info-section {
    padding: 72px 0;
}

.info-section--white {
    background: white;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 56px;
    align-items: center;
}

.copy-block {
    display: grid;
    gap: 20px;
}

.copy-block h2,
.section-heading h2 {
    color: #2C3E50;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.16;
}

.copy-block p,
.section-heading p,
.policy-card p,
.contact-card p,
.value-card p {
    color: #56666e;
    font-size: 16px;
    line-height: 1.8;
}

.image-stack {
    position: relative;
    min-height: 430px;
}

.image-stack img {
    position: absolute;
    width: min(72%, 320px);
    border: 5px solid white;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 18px 44px rgba(44, 62, 80, 0.18);
}

.image-stack img:nth-child(1) {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
}

.image-stack img:nth-child(2) {
    right: 0;
    bottom: 18px;
    transform: rotate(6deg);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.value-grid,
.policy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.contact-grid {
    display: grid;
    width: 100%;
    max-width: 560px;
    gap: 16px;
}

.value-card,
.policy-card,
.contact-card {
    min-width: 0;
    border: 1px solid #dde2dc;
    border-radius: 6px;
    padding: 24px;
    background: white;
}

.contact-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 245, 0.96));
}

.value-card i,
.contact-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #2C3E50;
    background: rgba(44, 62, 80, 0.08);
}

.contact-card i {
    margin-bottom: 0;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 12px;
}

.value-card h3,
.policy-card h3,
.contact-card h3 {
    margin-bottom: 12px;
    color: #2C3E50;
    font-size: 20px;
}

.contact-card h3 {
    align-self: center;
    margin-bottom: 0;
    font-size: 17px;
}

.contact-card p {
    grid-column: 1 / -1;
    overflow-wrap: break-word;
    font-size: 15px;
}

.contact-card a {
    color: #2C3E50;
    font-weight: 800;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 42px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
    border: 1px solid #dde2dc;
    border-radius: 6px;
    padding: 26px;
    background: white;
}

.form-field {
    display: grid;
    gap: 8px;
    color: #2C3E50;
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #d8dee2;
    border-radius: 4px;
    padding: 11px 12px;
    outline: none;
    color: #22313a;
    background: white;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #2C3E50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-submit {
    min-height: 44px;
    border: 1px solid #2C3E50;
    border-radius: 4px;
    color: white;
    background: #2C3E50;
    font-weight: 800;
    cursor: pointer;
}

.policy-card {
    display: grid;
    gap: 10px;
}

.policy-card ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: #56666e;
    line-height: 1.7;
}

.info-footer {
    padding: 20px;
    color: white;
    background: #111;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .split-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .value-grid,
    .policy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .info-hero {
        min-height: 58vh;
    }

    .info-hero__content {
        padding: 72px 0 42px;
    }

    .info-hero p {
        font-size: 16px;
    }

    .info-section {
        padding: 52px 0;
    }

    .image-stack {
        min-height: auto;
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 10px 4px 24px;
        scrollbar-width: none;
    }

    .image-stack::-webkit-scrollbar {
        display: none;
    }

    .image-stack img {
        position: static;
        width: 72vw;
        max-height: 240px;
        flex: 0 0 auto;
        transform: none !important;
    }

    .contact-form,
    .value-card,
    .policy-card,
    .contact-card {
        padding: 20px;
    }

    .contact-card {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 16px;
    }
}



/* DucVM 07072026: thêm CSS block Users trên header*/

.auth-user-menu {
    position: relative;
    flex: 0 0 auto;
    font-family: inherit;
}

.auth-user-menu__button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d4ddd8;
    border-radius: 6px;
    padding: 4px 10px 4px 5px;
    color: #2C3E50;
    background: rgba(255, 255, 255, 0.94);
    font: inherit;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.06);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.auth-user-menu__button:hover,
.auth-user-menu.is-open .auth-user-menu__button {
    background: #fff;
    box-shadow: 0 6px 12px rgba(44, 62, 80, 0.12);
    transform: translateY(-1px);
}

.auth-user-avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 30px;
    border-radius: 999px;
    color: #fff;
    font-family: "Lilita One", sans-serif;
    font-size: 15px;
    letter-spacing: 0;
}

.auth-user-avatar__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-user-menu__name {
    font-family: "Playwrite AU TAS", cursive !important;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    
}

.auth-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    min-width: 224px;
    display: none;
    border: 1px solid #dde5df;
    border-radius: 8px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(34, 49, 58, 0.16);
    backdrop-filter: blur(10px);
}

.auth-user-menu__dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 18px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #dde5df;
    border-left: 1px solid #dde5df;
    background: inherit;
    transform: rotate(45deg);
}

.auth-user-menu.is-open .auth-user-menu__dropdown {
    display: grid;
    gap: 2px;
}

.auth-user-menu__dropdown a,
.auth-user-menu__dropdown button {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    padding: 9px 11px;
    color: #2C3E50;
    background: transparent;
    font: inherit;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.auth-user-menu__dropdown a:hover,
.auth-user-menu__dropdown button:hover {
    color: #1f2d3a;
    background: #eef3ef;
    transform: translateX(2px);
}

.site-header--shop .auth-user-menu__button {
    min-height: 38px;
    border-radius: 4px;
    box-shadow: none;
}

.site-header--shop .auth-user-menu__name {
    font-family: "Space Grotesk", Arial, sans-serif;
    font-size: 14px;
}

@media (max-width: 768px) {
    .auth-user-menu__button {
        min-height: 38px;
        padding-right: 7px;
    }

    .auth-user-menu__name {
        display: none;
    }

    .auth-user-menu__dropdown {
        right: -44px;
        min-width: 220px;
    }

    .auth-user-menu__dropdown::before {
        right: 56px;
    }
}
