@import url("https://fonts.googleapis.com/css2?family=Lily+Script+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100dvh;
}

/* [061824TIN] Override default style of divi */
#et-main-area {
    /* background-color: #F0D7CE; */
}


/* [061824TIN] Add style for collection detail page */
.collection-title {
    color: #000;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 38.4px */
}

.main_desc {
    color: #000;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 19.2px */
}

/* [061824TIN] Update style */
#section-1 {
    box-sizing: border-box;
    padding: 60px 0 144px;
    /* background-color: #F0D7CE; */
    /* [020725TIN] Update style */
    /* background-color: #fff0d6; */
    background-color: #F8EEEE;
    font-family: "Segoe UI", system-ui, sans-serif;
}

/* [061824TIN] Update style */
@media (min-width: 740px) and (max-width: 1023px) {
    #section-1 {
        padding: 67px 0 83px;
    }
}

/* [020725TIN] Adjust title style */
#section-1 .title {
    text-align: center;
    font-family: "Lily Script One", system-ui, sans-serif;
    color: #3D3D3D;
/*     font-size: 96px; */
	/* [030325TIN] Update style */
    font-size: 68px;
    /* margin-bottom: 38px; */
    margin-bottom: 16px;
    margin-top: 32px;
    font-weight: 400;
}

/* [021725TIN] Fix override css of divi */
.et-db #et-boc #section-1 h1.title {
    font-family: "Lily Script One", system-ui, sans-serif;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-1 .title {
        font-size: 48px;
        margin-bottom: 17px;
    }
}

@media (max-width: 479px) {
    #section-1 .title {
        font-size: 48px;
        margin-bottom: 17px;
        line-height: 1.2;
    }
}

#section-1 .lead {
    color: #000;
    text-align: center;
    font-family: "Segoe UI", system-ui, sans-serif;
/*     font-size: 32px; */
	    /* [021025TIN] Update style */
    font-size: 38px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 57px;
}

#section-1 .searchbox {
    display: flex;
    gap: 0;
    max-width: 764px;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0px 4px 56px 0px rgba(171, 171, 171, 0.25);
}

#section-1 .searchbox input {
    background-color: white;
    border-radius: 6px 0 0 6px;
    flex: 1;
    border: none;
    /* padding: 20px 24px; */
    /* [020725TIN] Update style */
    padding: 16px 24px;
    box-sizing: border-box;
    color: #AAA;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    width: 100%;
}

#section-1 .searchbox input:focus {
    /* [020725TIN] Update style */
    outline: 2px dashed inherit;
    outline-offset: -4px;
}

@media (max-width: 479px) {
    #section-1 .searchbox input {
        padding: 10px 17px;
    }
}

/* [020725TIN] Update style */
#section-1 .searchbox button {
    border-radius: 0 6px 6px 0;
    /* background-color: #fe9f3a; */
    background-color: white;
    box-sizing: border-box;
    padding: 20px 36px;
    border: none;
    cursor: pointer;
}

@media (max-width: 479px) {
    #section-1 .searchbox button {
        padding: 10px;
    }
}

#section-1 .searchbox button:focus {
    outline: 2px dashed white;
    outline-offset: -4px;
}

#section-1 .collections-wrap {
    display: flex;
    /*   gap: 10px; */
    /* [061424TIN] Move font import to general css file */
/*     justify-content: space-between; */
/* 	[020725TIN] Update style */
	justify-content: space-evenly;
    margin-top: 105px;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-1 .collections-wrap {
        display: none;
    }
}

@media (max-width: 479px) {
    #section-1 .collections-wrap {
        display: none;
    }
}

/* [061824TIN] Update style */
#section-1 .collections-wrap .collection-card {
    border-radius: 15px;
    border: 1px solid #FFF;
    color: #FFF;
    background-color: #E28821;
/*     background: #fff7ea; */

    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    box-sizing: border-box;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s;
    flex-basis: 200px;
    text-align: center;
/*     min-height: 80px; */
	min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section-1 .collections-wrap .collection-card:hover {
    /* text-decoration: underline; */
    box-shadow: 0 4px 10px 1px #e5e5e5;
}

@media (min-width: 1024px) {
    #section-1 .collections-slider {
        display: none;
    }
}

#section-1 .collections-slider .splide__slide {
    /* background-color: #503025; */
    /* [020725TIN] Update style */
    background-color: #a25d13;
    border-radius: 14px;
    border: 1px solid white;
    color: #FFF;
    font-size: 24px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    align-content: center;
    padding: 16px;
    min-height: 128px;
    box-sizing: border-box;
}

/* [020725TIN] Update style */
#section-1 .collections-slider .splide__slide a,
/* [021725TIN] Fix override css of divi */
#et-boc #section-1 .collections-slider .splide__slide a,
#et-boc #section-1 .collections-wrap .collection-card {
/*     color: inherit; */
	    color: white;
}

#section-1 .collections-slider .splide__arrow {
    background-color: white;
    opacity: 1;
    height: 32px;
    width: 32px;
}

#section-1 .collections-slider .splide__arrow:disabled {
    opacity: 0.7;
}

#section-1 .collections-slider .splide__arrow--next {
    right: -1rem;
}

#section-1 .collections-slider .splide__arrow--prev {
    left: -1rem;
}

/* [061824TIN] Update style */
#section-2 {
    /* background-color: #F9F0ED; */
    /* [020725TIN] Update style */
    background-color: white;
    box-sizing: border-box;
    padding: 0;
    /* padding: 35px 0 119px; */
    font-family: "Segoe UI", system-ui, sans-serif;
    padding-bottom: 100px;
}

/* [061824TIN] Update style */
@media (min-width: 740px) and (max-width: 1023px) {
    /* [020725TIN] Update style */
    /* #section-2 {
        background-color: white;
        padding: 35px 0 59px;
    } */
}

/* [061824TIN] Update style */
@media (max-width: 479px) {
    /* [020725TIN] Update style */
    /* #section-2 {
        background-color: white;
        padding: 35px 0 59px;
    } */
}

/* [061824TIN] Update style */
#section-2 .category-wrap {
    display: flex;
    flex-direction: column;
    gap: 53px;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .category-wrap {
        gap: 0;
    }
}

@media (max-width: 479px) {
    #section-2 .category-wrap {
        gap: 0;
    }
}

/* [020725TIN] Update style */
#section-2 .heading-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    /* display: grid; */
    /* grid-template-rows: repeat(3, auto);
    grid-template-columns: 1fr auto; */
    padding: 0;
    margin-bottom: 35px;
    margin-top: 35px;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .heading-section {
        /* grid-template-rows: repeat(4, auto);
        grid-template-columns: 1fr; */
        gap: 6px;
        /* margin-top: var(--mobile-margin-top, 0); */
        /* [020725TIN] Update style */
        margin-top: 35px;
        margin-bottom: 16px;
    }
}

@media (max-width: 479px) {

    /* [020725TIN] Update style */
    #section-2 .heading-section {
        /* grid-template-rows: repeat(4, auto);
        grid-template-columns: 1fr; */
        gap: 6px;
        margin-top: var(--mobile-margin-top, 32px);
        margin-bottom: 12px;
    }
}

#section-2 .heading-section__label {
    grid-column: 1/3;
    grid-row: 1;
    color: #9C6E5E;
    font-family: "Lily Script One", system-ui, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .heading-section__label {
        grid-column: 1;
    }
}

@media (max-width: 479px) {
    #section-2 .heading-section__label {
        grid-column: 1;
    }
}

#section-2 .heading-section__title {
    grid-column: 1;
    grid-row: 2;
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .heading-section__title {
        font-size: 24px;
        grid-column: 1;
    }
}

@media (max-width: 479px) {
    #section-2 .heading-section__title {
        font-size: 24px;
        grid-column: 1;
    }
}

#section-2 .heading-section__lead {
    grid-column: 1;
    grid-row: 3;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

/* [020725TIN] Update style */
#section-2 .heading-section__cta {
    grid-column: 3;
    grid-row: 2/4;
    /* color: #F0F0F0; */
    color: #E28821;
    box-sizing: border-box;
    /* padding: 16px 24px; */
    /* border-radius: 8px; */
    /* background: #9C6E5E; */
    font-size: 16px;
    /* font-weight: 700; */
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0.8px;
    text-decoration: none;
    margin: 0;
    /* min-width: 285px; */
    text-align: center;
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

@media (min-width: 740px) and (max-width: 1023px) {

    /* [020725TIN] Update style */
    #section-2 .heading-section__cta {
        /* grid-column: 1;
        grid-row: 4;
        margin-top: 22px; */
        width: fit-content;
        min-width: fit-content;
    }
}

@media (max-width: 479px) {

    /* [020725TIN] Update style */
    #section-2 .heading-section__cta {
        /* grid-column: 1;
        grid-row: 4;
        margin-top: 22px; */
        width: fit-content;
        min-width: fit-content;
    }
}

#section-2 .heading-section__cta:hover {
    text-decoration: underline;
}

.section-2 .display-type-full {
    /*   display: flex; */
    display: grid;
    gap: 10px;
    grid-template-columns: auto auto auto;
    /*   flex-direction: row; */

}

@media (min-width: 740px) and (max-width: 1023px) {
    .section-2 .display-type-full {
        grid-template-columns: auto;
        /*     flex-direction: column; */
        row-gap: 64px;
    }
}

@media (max-width: 479px) {
    .section-2 .display-type-full {
        grid-template-columns: auto;
        /*     flex-direction: column; */
        row-gap: 64px;
    }
}

.section-2 .display-type-full .collection-card {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 456px auto;
    row-gap: 16px;
}

@media (min-width: 740px) and (max-width: 1023px) {
    .section-2 .display-type-full .collection-card {
        grid-template-rows: 1fr auto;
    }
}

@media (max-width: 479px) {
    .section-2 .display-type-full .collection-card {
        grid-template-rows: 1fr auto;
    }
}

.section-2 .display-type-full [class^="collection-card__thumb"] {
    grid-column: 1/3;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1px;
}

.section-2 .display-type-full .collection-card__thumb-0 {
    grid-column: 1;
    grid-row: 1/3;
}

.section-2 .display-type-full .collection-card__thumb-1 {
    grid-column: 2;
    grid-row: 1;
}

.section-2 .display-type-full .collection-card__thumb-2 {
    grid-column: 2;
    grid-row: 2;
}

.section-2 .display-type-full .collection-card__thumb-3 {
    display: none;
}

.section-2 .display-type-full [class^="collection-card__thumb"] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 2px solid #FFF;
}

.section-2 .collection-card__info {
    grid-column: 1;
    grid-row: 2;
}

.section-2 .collection-card__title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
}

.section-2 .display-type-full .collection-card__subtitle {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

.section-2 .collection-card__cta {
    grid-column: 2;
    grid-row: 2;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.section-2 .display-type-half {
    /*   display: flex; */
    display: grid;
    gap: 50px;
    /*   flex-direction: row; */
    grid-template-columns: auto auto auto auto;
}

@media (min-width: 740px) and (max-width: 1023px) {
    .section-2 .display-type-half {
        grid-template-columns: auto;
        /*     flex-direction: column; */
        row-gap: 64px;
    }
}

@media (max-width: 479px) {
    .section-2 .display-type-half {
        grid-template-columns: auto;
        /*     flex-direction: column; */
        row-gap: 64px;
    }
}

.section-2 .display-type-half .collection-card {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 361px auto;
    row-gap: 16px;
}

.section-2 .display-type-half [class^="collection-card__thumb"] {
    grid-column: 1/3;
    grid-row: 1;
    gap: 1px;
    position: relative;
}

.section-2 .collection-card__thumb {
    overflow: hidden;
}

.section-2 .display-type-half [class^="collection-card__thumb"] img {
    position: absolute;
    left: calc(var(--image-index, 0) * 26px);
    top: 0;
    width: calc(100% - var(--image-index, 0) * 26px);
    display: block;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.section-2 .display-type-half [class^="collection-card__thumb"] img:not(:first-child),
.section-2 .display-type-minimal [class^="collection-card__thumb"] img:not(:first-child) {
    box-shadow: rgba(0, 0, 0, 0.16) -5px 0px 5px 0px;
}

.section-2 .display-type-half .collection-card__subtitle {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

.section-2 .display-type-minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 35px;
}

@media (min-width: 740px) and (max-width: 1023px) {
    .section-2 .display-type-minimal {
        grid-template-columns: repeat(4, 200px);
        overflow-x: auto;
    }
}

@media (max-width: 479px) {
    .section-2 .display-type-minimal {
        grid-template-columns: repeat(4, 200px);
        overflow-x: auto;
    }
}

.section-2 .display-type-minimal .collection-card {
    flex: 1;
    position: relative;
}

.section-2 .display-type-minimal .collection-card__thumb {
    position: relative;
    height: 154px;
}

.section-2 .display-type-minimal .collection-card__thumb img {
    position: absolute;
    left: calc(var(--image-index, 0) * 26px);
    top: 0;
    height: 100%;
    width: calc(100% - var(--image-index, 0) * 26px);
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

.section-2 .display-type-minimal .collection-card__thumb img:last-child {
    background: linear-gradient(180deg, rgba(49, 49, 49, 0.51) 0%, rgba(49, 49, 49, 0) 100%), linear-gradient(180deg, #3A231B 0%, #A0604A 100%);
    filter: grayscale(50%);
    -webkit-filter: grayscale(50%);
}

.section-2 .display-type-minimal .collection-card__cta {
    display: none;
}

.section-2 .display-type-minimal .collection-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    color: #FFF;
    top: 0;
    right: 0;
    padding: 12px 18px;
    position: absolute;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    text-align: right;
}

.image-grid {
    /* [020625TIN] Move to Masonry.js */
    /* columns: 5;
    column-gap: 16px; */
    /* [082624TIN] Upadate max-width for grid images */
    /* max-width: 823px; */
    /* margin: 0 auto; */
    display: block;
    width: 100%;
}

@media (max-width: 479px) {
    .image-grid {
        /* columns: 2; */
    }
}

.image-grid-item {
    /* position: relative; */
    /* margin-top: 16px; */
}

.image-grid-item:first-child {
    margin-top: 0;
}

.image-grid-item__img {
    display: block;
    /* max-width: 100%; */
    border-radius: 16px;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* min-height: 200px; */
    /* object-fit: cover; */
}

.image-grid-item__author {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 14px 20px;
    box-sizing: border-box;
    gap: 5px;
    display: none;
    transition: all 0.2s;
    align-items: flex-end;
}

.image-grid-item:hover .image-grid-item__author {
    display: flex;
}

.image-grid-item__author-name {
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.image-grid-item__avatar {
    height: 20px;
    width: 20px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.image-grid-item__buttons {
    position: absolute;
    top: 0;
    right: 0;
    padding: 14px;
    box-sizing: border-box;
    gap: 10px;
    flex-direction: column;
    display: none;
}

.image-grid-item:hover .image-grid-item__buttons {
    display: flex;
}

.image-grid-item__buttons button {
    padding: 4px;
    display: flex;
    border-radius: 5px;
    background-color: white;
    border: none;
    cursor: pointer;
    position: relative;
}

.image-grid-item__buttons button:focus {
    outline: 1px dashed #9C6E5E;
    outline-offset: -2px;
}

.image-grid-item__buttons button:hover::after,
.image-grid-item__buttons button:focus::after {
    display: block;
    position: absolute;
    right: calc(100% + 7px);
    top: calc((100% - 10px) / 2);
    content: attr(data-tooltip);
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 6px;
    font-weight: 400;
    background-color: white;
    height: 10px;
    width: 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 2px;
    clip-path: path("M0 1C0 0.447715 0.447715 0 1 0H17.3802C17.9325 0 18.3802 0.447715 18.3802 1V3.09363C18.3802 3.32632 18.4614 3.55172 18.6097 3.73102L19.0887 4.31013C19.3738 4.65477 19.3953 5.14681 19.1415 5.51506L18.5569 6.36317C18.4418 6.53008 18.3802 6.728 18.3802 6.93072V8.78528C18.3802 9.33756 17.9325 9.78528 17.3802 9.78528H1C0.447717 9.78528 0 9.33756 0 8.78528V1Z");
}

#section-2 .collection-card-1 {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 16px;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .collection-card-1 {
        grid-template-rows: 1fr auto;
    }
}

@media (max-width: 479px) {
    #section-2 .collection-card-1 {
        grid-template-rows: 1fr auto;
    }
}

#section-2 .collection-card-1__thumb {
    grid-column: 1/3;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1px;
    aspect-ratio: 1;
}

#section-2 .collection-card-1__thumb-1 {
    grid-column: 1;
    grid-row: 1/3;
}

#section-2 .collection-card-1__thumb-2 {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 1;
}

#section-2 .collection-card-1__thumb-3 {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1;
}

#section-2 .collection-card-1__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 2px solid #FFF;
}

#section-2 .collection-card-1__info {
    grid-column: 1;
    grid-row: 2;
}

#section-2 .collection-card-1__title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    text-decoration: none;
}

#section-2 .collection-card-1__subtitle {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

#section-2 .collection-card-1__cta {
    grid-column: 2;
    grid-row: 2;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

#section-2 .collection-card-2 {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 16px;
    margin: 0 auto;
    width: 100%;
    max-width: 304px;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .collection-card-2 {
        flex-basis: 40%;
    }
}

#section-2 .collection-card-2__thumb {
    grid-column: 1/3;
    grid-row: 1;
    gap: 1px;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 304/362;
}

#section-2 .collection-card-2__thumb img {
    position: absolute;
    left: calc(var(--image-index, 0) * 26px);
    top: 0;
    width: calc(100% - var(--image-index, 0) * 26px);
    display: block;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: -6px 0px 6px 0px rgba(0, 0, 0, 0.25);
}

#section-2 .collection-card-2__thumb img:first-child {
    box-shadow: none;
}

#section-2 .collection-card-2__info {
    grid-column: 1;
    grid-row: 2;
}

#section-2 .collection-card-2__title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    text-decoration: none;
}

#section-2 .collection-card-2__subtitle {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

#section-2 .collection-card-2__cta {
    grid-column: 2;
    grid-row: 2;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

#section-2 .collection-card-3 {
    flex: 1;
    position: relative;
    --left-stack-offest: 26px;
    width: 100%;
    height: auto;
    aspect-ratio: 304/154;
}

#section-2 .collection-card-3__thumb {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

#section-2 .collection-card-3__thumb img {
    position: absolute;
    left: calc(var(--image-index, 0) * var(--left-stack-offest, 26px));
    top: 0;
    height: 100%;
    width: calc(100% - var(--image-index, 0) * var(--left-stack-offest, 26px));
    display: block;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: -6px 0px 6px 0px rgba(0, 0, 0, 0.25);
}

#section-2 .collection-card-3__thumb img:first-child {
    box-shadow: none;
}

#section-2 .collection-card-3__overlay {
    display: block;
    top: 0;
    right: 0;
    padding: 0;
    position: absolute;
    box-sizing: border-box;
    max-width: 100%;
    height: 100%;
    width: 100%;
    text-align: right;
    /* [090924TIN] Fix don't have overlay for last image */
    padding-left: calc((var(--image-count, 0) - 1) * var(--left-stack-offest, 26px));
    /* padding-left: calc(18px + (var(--image-count, 0) - 1) * var(--left-stack-offest, 26px)); */
    /* padding-left: calc(18px + (var(--image-count, 0) - 1) * var(--left-stack-offest, 26px)); */
    /* background: linear-gradient(180deg, rgba(49, 49, 49, 0.51) 0%, rgba(49, 49, 49, 0) 100%); */
}

#section-2 .collection-card-3__title {
    box-sizing: border-box;
    border-radius: 24px;
    padding: 12px 18px;
    max-width: 100%;
    height: 100%;
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    color: #FFF;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* [090924TIN] Fix don't have overlay for last image */
    background: linear-gradient(180deg, rgba(49, 49, 49, 0.51) 0%, rgba(49, 49, 49, 0) 100%);
}

#section-2 .collection-wrap {
    display: flex;
    box-sizing: border-box;
}

#section-2 .collection-wrap--full {
    gap: 21px;
    /* flex-direction: row; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .collection-wrap--full {
        /* flex-direction: column; */
        grid-template-columns: repeat(1, 1fr);
        row-gap: 64px;
        padding-bottom: 83px;
    }
}

@media (max-width: 479px) {
    #section-2 .collection-wrap--full {
        /* flex-direction: column; */
        grid-template-columns: repeat(1, 1fr);
        row-gap: 64px;
        padding-bottom: 83px;
    }
}

#section-2 .collection-wrap--half {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 66px;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    #section-2 .collection-wrap--half {
        margin: 0;
    }
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .collection-wrap--half {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 64px;
        margin-bottom: 59px;
    }
}

@media (max-width: 479px) {
    #section-2 .collection-wrap--half {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 64px;
        margin-bottom: 59px;
    }
}

#section-2 .collection-wrap--minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 66px;
    row-gap: 35px;
}

@media (max-width: 479px) {
    #section-2 .collection-wrap--minimal {
        margin: 0;
        column-gap: 32px;
    }
}

@media (min-width: 740px) and (max-width: 1023px) {
    #section-2 .collection-wrap--minimal {
        grid-template-columns: repeat(4, 304px);
        overflow-x: auto;
    }
}

@media (max-width: 479px) {
    #section-2 .collection-wrap--minimal {
        grid-template-columns: repeat(4, 304px);
        overflow-x: auto;
    }
}

/* [082224TIN] Fix override css from tippy */
/* [072524TIN] Add style for tippy tooltip and context menu */
.category-wrap .tippy-box {
    background-color: transparent;
}

.tippy-content {
    padding: 0;
    background-color: transparent;
}

.tippy-content .context-menu {
    border-radius: 8px;
    border: 1px solid #AAA;
    background: white;
    padding: 5px 10px 5px 10px;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    transition: all 0.2s;
    z-index: 1;
    display: flex;
}

.tippy-content .context-menu .context-menu-item {
    cursor: pointer;
    user-select: none;
    padding: 5px 9px;
    box-sizing: border-box;
    color: #747474;
    font-family: "Segoe UI";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    border-radius: 2px;
    transition: all 0.2s;
    border: none;
    background-color: transparent;
}

.tippy-content .context-menu .context-menu-item:hover {
    background-color: #F7E9E4;
}

@media (max-width: 479px) {
    .tippy-content .context-menu {
        padding: 10px 7px;
    }
}

/* [072524TIN] Add style for tippy tooltip and context menu - end */
/*# sourceMappingURL=gallery.css.map */

/* [081324TIN] Add css for gimage popup */
.image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    /* [061325TIN] Increase image popup backdrop opacity */
    background-color: rgba(49, 49, 49, 0.69);
    /* display: block; */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transform: all .2s;
}

.image-popup .image-popup__content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: min(10vw, 10vh);
    box-sizing: border-box;
}

.image-popup .image-popup__close {
    position: absolute;
    /* top: 16px;
    right: 16px; */
    /* [020625TIN] Adjust close button position */
    top: -16px;
    right: -16px;
    font-size: 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* color: white; */
    /* [020625TIN] Adjust close button style */
    color: black;
    background: white;
    height: 38px;
    width: 38px;
    border-radius: 48px;
}

.image-popup .image-popup__image {
    display: block;
    max-width: 100%;
    /* max-height: 100%; */
    /* [020625TIN] Adjust image size */
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
/* [021025TIN] Add css for image popup fit with height, width set from html element */
    min-width: min(var(--image-min-width, unset), 100%);
    min-height: min(var(--image-min-height, unset), 80vh);
}

/* [020625TIN] Add css for image popup */
.image-popup .image-popup__image-wrap {
    position: relative;
    height: auto;
    width: fit-content;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-popup .image-popup__next,
.image-popup .image-popup__prev {
    position: absolute;
    top: -16px;
    right: -16px;
    font-size: 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: black;
    padding: 0;
    border: none;
    background: white;
    height: 38px;
    width: 38px;
    border-radius: 48px;
    top: 50%;
    transform: translate(0, -50%);
}

.image-popup .image-popup__next:disabled,
.image-popup .image-popup__prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.image-popup .image-popup__prev {
    left: -48px;
    right: unset;
}

.image-popup .image-popup__next {
    right: -48px;
    left: unset;
}

@media (max-width: 479px) {
    .image-popup .image-popup__prev {
        left: -18px;
    }

    .image-popup .image-popup__next {
        right: -18px;
    }
}

/* [020625TIN] Add css for image popup - end */

/* [081324TIN] Add css for gimage popup - end */

/* [082624TIN] Add css for gallery nav button */
.gallery-nav-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all .2s;
    /* [020725TIN] Change gallery nav button style */
    color: #fe9f3a;
    /* color: #9C6E5E; */
    font-family: "Segoe UI", system-ui, sans-serif;
    /* [020725TIN] Change gallery nav button style */
    font-size: 16px;
    font-style: normal;
    /* [020725TIN] Change gallery nav button style */
    font-weight: 600;
    line-height: 120%;
    margin: 0;
}

/* Responsive nav button for mobile & tablet */

@media (max-width: 1023px) {
    .gallery-nav-btn {
        position: relative;
        top: unset;
        bottom: unset;
        left: unset;
        margin-bottom: 32px;
    }
}

/* [082624TIN] Add css for gallery nav button - end */
/* [020625TIN] Add css for image grid - masonry.js */
.image-grid-sizer {
    width: 22%;
}

.image-grid-gutter {
    width: 4%;
}

@media (max-width: 479px) {
    .image-grid-sizer {
        width: 48%;
    }

    .image-grid-gutter {
        width: 2%;
    }
}

@media (min-width: 480px) and (max-width: 1023px) {
    .image-grid-sizer {
        width: 32%;
    }

    .image-grid-gutter {
        width: 2%;
    }
}

/* [020625TIN] Add css for image grid - end */

/* [020725TIN] Add css for gallery */
.image-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.image-collection-grid__image {
    display: block;
    width: 100%;
    height: auto;
}

.image-collection-grid__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    aspect-ratio: 1;
}

@media (min-width: 740px) and (max-width: 1023px) {
    .image-collection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 479px) {
    .image-collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* [020725TIN] Add css for gallery - end*/