/* --------------------------------------------------------------------------
   Base utilities, theme tokens, and shared web components
   -------------------------------------------------------------------------- */
.mt-8 {
    margin-top: 8px !important;
}

.mt-12 {
    margin-top: 12px !important;
}

.mt-16 {
    margin-top: 16px !important;
}

.mt-24 {
    margin-top: 24px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-24 {
    padding-top: 24px !important;
}

.p-20 {
    padding: 20px !important;
}

.tf-btn.btn-dark2 {
    background: var(--text);
    color: var(--white);
}

.flat-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 991px) {
    .flat-spacing {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 425px) {
    .flat-spacing {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

html {
    scrollbar-color: #c7cbd1 transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: #c7cbd1;
}

:root {
    --wl-bg: #fcf9f8;
    --wl-surface: #ffffff;
    --wl-surface-soft: #f6f3f2;
    --wl-surface-bone: #f2efe9;
    --wl-text: #1c1b1b;
    --wl-muted: #444846;
    --wl-soft: #727472;
    --wl-charcoal: #313030;
    --wl-champagne: #c5a059;
    --wl-champagne-soft: #fed488;
    --wl-outline: #c4c7c5;
    --wl-shadow: 0 22px 70px rgba(197, 160, 89, 0.13);
    --wl-radius-xl: 34px;
    --wl-radius-lg: 24px;
    --wl-radius-pill: 999px;
}

body.wl-web {
    background:
        radial-gradient(circle at top left, rgba(254, 212, 136, 0.13), transparent 30vw),
        linear-gradient(180deg, var(--wl-bg) 0%, #fffaf6 58%, var(--wl-bg) 100%);
    color: var(--wl-text);
}

.wl-web #wrapper,
.wl-web .tf-footer,
.wl-web .footer-bottom {
    background: transparent;
}

.wl-web .tf-header {
    background: rgba(252, 249, 248, 0.88);
    border: 0;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.wl-web .tf-header .br-line,
.wl-web .tf-footer .br-line,
.wl-web .footer-bottom .br-line {
    opacity: 0;
}

.wl-web .header-inner {
    min-height: 76px;
}

.wl-web .logo-site span,
.wl-web .main-page-title h3,
.wl-web .section-page-title h3,
.wl-web .feed-empty-box h5,
.wl-web .profile-card h5,
.wl-web .photo-description-box h6,
.wl-web .footer-heading,
.wl-web .footer-infor .logo-site span,
.wl-web .section-log h4,
.wl-web .card-product_info .name-product {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    color: var(--wl-text);
    letter-spacing: -0.02em;
}

.wl-web .logo-site span {
    font-size: 28px;
    line-height: 1;
}

.wl-web .box-nav-menu .item-link,
.wl-web .sub-menu_link,
.wl-web .nav-ul-mb a,
.wl-web .text-caption-01 {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wl-web .box-nav-menu .menu-item.active > .item-link .text,
.wl-web .box-nav-menu .item-link:hover .text,
.wl-web .link:hover,
.wl-web a:hover {
    color: var(--wl-champagne);
}

.wl-web .section-page-title {
    padding-top: clamp(38px, 5vw, 72px) !important;
}

.wl-web .main-page-title {
    max-width: 760px;
    margin-inline: auto;
}

.wl-web .main-page-title h3,
.wl-web .section-page-title h3 {
    font-size: clamp(42px, 6vw, 86px);
    line-height: 0.98;
}

.wl-web .text-body-1,
.wl-web .cl-text-2,
.wl-web .photo-description-text,
.wl-web .profile-muted {
    color: var(--wl-muted) !important;
}

.wl-web .breadcrumbs {
    color: var(--wl-soft);
}

.wl-web .tf-btn {
    min-height: 48px;
    border-radius: var(--wl-radius-pill);
    border: 1px solid transparent;
    background: var(--wl-champagne);
    color: var(--wl-text);
    box-shadow: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.wl-web .tf-btn span,
.wl-web .tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.wl-web .tf-btn.btn-stroke,
.wl-web .tf-btn.btn-white {
    background: var(--wl-surface);
    border-color: var(--wl-champagne);
    color: var(--wl-text);
}

.wl-web .tf-btn.btn-dark2 {
    background: var(--wl-charcoal);
    color: var(--wl-surface);
}

.wl-web .tf-btn.small {
    min-height: 42px;
    padding-inline: 20px;
    font-size: 13px;
}

.wl-web .tf-btn:hover {
    background: var(--wl-charcoal);
    border-color: var(--wl-charcoal);
    color: var(--wl-surface);
    transform: translateY(-1px);
}

.wl-web .feed-category-row,
.wl-web .d-flex.flex-wrap.gap-8.mb-20 {
    gap: 12px !important;
}

.wl-web .feed-category-chip,
.wl-web .d-flex.flex-wrap.gap-8.mb-20 .tf-btn {
    background: var(--wl-surface-bone);
    border: 0;
    color: var(--wl-muted);
    min-height: 52px;
    padding-inline: 28px;
    border-radius: var(--wl-radius-pill);
    letter-spacing: 0.12em;
}

.wl-web .feed-category-chip.animate-btn,
.wl-web .d-flex.flex-wrap.gap-8.mb-20 .tf-btn.animate-btn {
    background: var(--wl-champagne);
    color: var(--wl-text);
}

.wl-web .feed-shell,
.wl-web .section-wishlist,
.wl-web .section-log {
    position: relative;
}

.wl-web .feed-photo-box,
.wl-web .feed-empty-box,
.wl-web .photo-description-box,
.wl-web .photo-detail-card,
.wl-web .profile-card,
.wl-web .section-log .col-left,
.wl-web .section-log .col-right,
.wl-web .category-v03,
.wl-web .card-product {
    background: var(--wl-surface);
    border: 0 !important;
    border-radius: var(--wl-radius-xl) !important;
    box-shadow: var(--wl-shadow);
    box-sizing: border-box;
}

.wl-web .feed-photo-box {
    padding: 22px;
    background: var(--wl-surface);
}

.wl-web .feed-photo-box img,
.wl-web .category-v03 img,
.wl-web .card-product_wrapper,
.wl-web .product-img,
.wl-web .img-product,
.wl-web .img-hover {
    border-radius: 28px !important;
}

.wl-web .feed-empty-box {
    border: 0;
    background: var(--wl-surface);
}

.wl-web .feed-empty-inner {
    border-radius: 28px;
    background: var(--wl-surface-bone);
    padding: clamp(28px, 5vw, 56px);
}

.wl-web .card-product {
    padding: 12px;
    overflow: hidden;
}

.wl-web .card-product_wrapper {
    background: var(--wl-surface-bone);
}

.wl-web .card-product_info {
    padding: 18px 8px 8px;
}

.wl-web .product-badge_item.new,
.wl-web .softPill,
.wl-web .tagPill {
    background: var(--wl-surface-bone) !important;
    color: var(--wl-muted) !important;
    border-radius: var(--wl-radius-pill);
}

.wl-web .photo-description-box,
.wl-web .photo-detail-card,
.wl-web .p-20.border.rounded-4,
.wl-web .profile-card,
.wl-web .section-log .col-left,
.wl-web .section-log .col-right {
    padding: clamp(22px, 3vw, 36px);
}

.wl-web .p-20.border.rounded-4 {
    border: 0 !important;
    border-radius: var(--wl-radius-lg) !important;
    background: var(--wl-surface) !important;
    box-shadow: var(--wl-shadow);
}

.wl-web .tf-field input,
.wl-web .form-control,
.wl-web .password-wrapper input {
    min-height: 54px;
    border-radius: 16px !important;
    border: 0 !important;
    background: var(--wl-surface-bone) !important;
    color: var(--wl-text);
    padding-inline: 18px;
}

.wl-web .tf-lable,
.wl-web .form-label {
    color: var(--wl-text);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
}

.wl-web .tf-footer {
    margin-top: 40px;
}

.wl-web .footer-inner {
    background: var(--wl-surface);
    /*border-radius: 40px 40px 0 0;*/
    box-shadow: 0 -18px 60px rgba(197, 160, 89, 0.08);
}

.wl-web #goTop {
    background: var(--wl-surface);
    border-color: var(--wl-champagne);
    color: var(--wl-text);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
}

.language-switcher__select {
    min-height: 42px;
    border: 0;
    border-radius: var(--wl-radius-pill);
    background: var(--wl-surface-bone);
    color: var(--wl-text);
    padding: 0 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
}

.wl-user-panel {
    position: relative;
}

.wl-user-toggle {
    min-height: 46px;
    border: 0;
    border-radius: var(--wl-radius-pill);
    background: var(--wl-charcoal);
    color: var(--wl-surface);
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-user-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 2px;
}

.wl-user-menu {
    min-width: 240px;
    border: 0;
    border-radius: 22px;
    background: var(--wl-surface);
    box-shadow: var(--wl-shadow);
    padding: 10px;
}

.wl-user-menu .dropdown-header {
    color: var(--wl-text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.2;
    padding: 10px 12px 8px;
    white-space: normal;
}

.wl-user-menu .dropdown-item,
.wl-user-menu .dropdown-item-text {
    border-radius: 14px;
    color: var(--wl-muted);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}

.wl-user-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wl-user-menu .dropdown-item:hover,
.wl-user-menu .dropdown-item:focus {
    background: var(--wl-surface-bone);
    color: var(--wl-text);
}

.wl-user-menu .language-switcher,
.wl-user-menu .language-switcher__select {
    width: 100%;
}

.wl-user-menu .language-switcher__select {
    min-height: 42px;
    background: var(--wl-surface-bone);
}

.wl-footer-language {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--wl-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-footer-language .language-switcher__select {
    background: var(--wl-surface-bone);
}

.wl-user-menu .logout-menu-button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--wl-muted);
    text-align: left;
}

.wl-user-menu .logout-menu-button:hover {
    color: var(--wl-text);
}

@media (max-width: 767.98px) {
    .wl-web .header-inner {
        min-height: 66px;
    }

    .wl-web .logo-site span {
        font-size: 23px;
    }

    .wl-web .main-page-title h3,
    .wl-web .section-page-title h3 {
        font-size: clamp(36px, 12vw, 54px);
    }

    .wl-web .feed-category-chip,
    .wl-web .d-flex.flex-wrap.gap-8.mb-20 .tf-btn {
        min-height: 44px;
        padding-inline: 18px;
        font-size: 12px;
    }

    .wl-web .feed-photo-box {
        padding: 12px;
        border-radius: 28px !important;
    }

    .wl-web .feed-photo-box img,
    .wl-web .category-v03 img,
    .wl-web .card-product_wrapper,
    .wl-web .product-img,
    .wl-web .img-product,
    .wl-web .img-hover {
        border-radius: 22px !important;
    }
}


/* --------------------------------------------------------------------------
   Swipe feed page and card stage
   -------------------------------------------------------------------------- */
.feed-shell {
    min-height: calc(100vh - 250px);
    display: flex;
    flex-direction: column;
}

.feed-category-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
}

.feed-category-row::-webkit-scrollbar {
    display: none;
}

.feed-category-chip {
    flex: 0 0 auto;
    white-space: nowrap;
}

.feed-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-photo-box {
    width: min(92vw, 760px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-inline: auto;
}

.feed-photo-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.feed-report-button {
    min-height: 46px;
    padding-inline: 26px;
}

.feed-empty-box {
    width: min(92vw, 760px);
    aspect-ratio: 1 / 1;
    border: 1px solid #e3e3e8;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
    background: #fff;
    margin-inline: auto;
}

.feed-empty-inner {
    max-width: 420px;
}

.feed-page-title {
    padding-top: 22px;
    padding-bottom: 0;
}

.feed-page-title .breadcrumbs {
    margin-bottom: 6px !important;
    gap: 6px !important;
}

.feed-page-title h3 {
    font-size: clamp(28px, 2.5vw, 40px);
    line-height: 1.2;
    margin-bottom: 6px;
}

.feed-page-title .text-body-1 {
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.45;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .feed-shell {
        min-height: auto;
    }

    .feed-category-row {
        justify-content: flex-start;
        padding-left: 2px;
        padding-right: 2px;
    }

    .feed-stage {
        flex: 0 0 auto;
        align-items: flex-start;
        padding-top: 6px;
    }

    .feed-category-chip {
        font-size: 12px;
        min-height: 38px;
        padding-inline: 14px;
    }

    .feed-photo-box,
    .feed-empty-box {
        width: min(94vw, 460px);
    }
}


/* --------------------------------------------------------------------------
   Photo detail page
   -------------------------------------------------------------------------- */
.photo-description-box {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.photo-detail-layout {
    align-items: stretch;
}

.photo-detail-card {
    padding: clamp(26px, 3.2vw, 40px);
}

.photo-detail-card-title {
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.photo-description-text {
    margin: 0;
    color: var(--text-2);
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-word;
    font-size: 16px;
}

.wl-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wl-pill-wrap .softPill,
.wl-pill-wrap .tagPill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    line-height: 1;
    font-size: 15px;
}

.photo-report-card .photo-description-text {
    max-width: 34ch;
}

.photo-detail-action {
    min-height: 56px;
}

.wl-report-modal {
    border: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(28, 27, 27, 0.18);
}

.wl-report-modal .modal-header,
.wl-report-modal .modal-footer {
    border-color: var(--line);
}

.wl-report-modal .modal-header {
    padding: 26px 30px 22px;
}

.wl-report-modal .modal-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.wl-report-modal .modal-body {
    padding: 26px 30px 28px;
}

.wl-report-modal .modal-footer {
    gap: 14px;
    padding: 24px 30px 30px;
}

.wl-report-modal .modal-footer .tf-btn {
    flex: 1 1 0;
    min-height: 56px;
}

.wl-modal-help {
    margin: 0 0 24px;
    color: var(--wl-muted);
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
}

.wl-form-group {
    margin-bottom: 20px;
}

.wl-report-modal .form-label {
    margin-bottom: 9px;
    color: var(--wl-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-report-modal .form-control,
.wl-report-modal .form-select {
    border-color: var(--line);
    border-radius: 18px;
    min-height: 58px;
    padding: 14px 18px;
    font-size: 15px;
}

@media (max-width: 767.98px) {
    .photo-description-box,
    .photo-detail-card {
        padding: 18px;
    }

    .photo-description-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .wl-report-modal {
        margin: 14px;
        border-radius: 24px;
    }

    .wl-report-modal .modal-header,
    .wl-report-modal .modal-body,
    .wl-report-modal .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wl-report-modal .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .wl-report-modal .modal-footer .tf-btn {
        width: 100%;
    }
}


/* --------------------------------------------------------------------------
   Profile page forms
   -------------------------------------------------------------------------- */
.profile-card {
    border: 1px solid #e7ded6;
    border-radius: 18px;
    background: #fff;
    padding: clamp(20px, 3vw, 34px);
    height: 100%;
}

.profile-muted {
    color: #7e746b;
    line-height: 1.65;
}

.profile-form .form-control {
    border-radius: 12px;
    min-height: 52px;
    border-color: #ded5cb;
}

.profile-form .form-label {
    font-weight: 700;
    color: #2f261f;
}


/* --------------------------------------------------------------------------
   Media helpers
   -------------------------------------------------------------------------- */
.photo-detail-hero img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Web reusable layout and media utilities
   -------------------------------------------------------------------------- */
.auth-panel-full {
    max-width: 100%;
}

.liked-gallery-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Photo reporting
   -------------------------------------------------------------------------- */
.feed-report-box {
    width: min(94vw, 460px);
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.feed-report-box summary {
    cursor: pointer;
    list-style-position: inside;
    text-align: center;
}

.feed-report-box .form-control,
.feed-report-box .form-select {
    border-color: var(--line);
    border-radius: 12px;
    min-height: 48px;
}
