@import "normalize.css";
@import "bootstrap.min.css";
@import "bootstrap-icon/bootstrap-icons.min.css";
@import "default-style.css";
@import "color.css";
@import "mega-menu.css";
/*========================== start header style ==========================*/
.header {
    background-color: #fff;
    padding: 10px 0;
    z-index: 100;
    position: sticky;
    top: 0;
}

.top-header-logo img {
    width: 110px;
    height: auto;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.top-header-logo a {
    display: inline-flex;
    align-items: center;
}

.top-header-link {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.top-header-link-login {
    border: 1px solid #bbb;
    padding: 10px 30px;
    position: relative;
}

.top-header-link-login::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    background-color: var(--main-color-one);
    width: 12px;
    height: 7px;
    border-radius: 25px;
    box-shadow: 0 0 5px 3px var(--main-color-one-shadow);
    transform: translateY(-50%);
}

.top-header-link-login:hover {
    border: 1px solid #bbb;
}

.top-header-link-register {
    padding: 10px 30px;
}

.top-header-link-register span {
    color: #fff;
}

.search-filed {
    position: relative;
    max-width: 100%;
}

.search-filed .search-input {
    border-radius: 30px;
    background-color: #f4f4f4;
    min-height: 46px;
    padding: 10px 18px;
    padding-left: 52px;
    font-size: 14px;
    line-height: 1.8;
    border-color: #ddd;
}

.search-filed .search-input:focus {
    border: 1px solid #aaa;
    box-shadow: var(--shadow-sm);
}

.search-filed .search-btn {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 38px;
    height: 38px;
    padding: 0;
    line-height: 38px;
    transform: translateY(-50%);
}

.top-menu-mini-menu li:not(:last-child) a {
    margin-left: 10px;
}

.btn-primary-cm {
    padding: 10px;
    font-size: 16px;
    font-weight: normal;
    position: relative;
    border-radius: 10px;
    color: #fff;
    border: 0;
    outline: 0;
    background-color: var(--main-color-one);
    overflow: hidden;
}

.btn-primary-cm:hover {
    color: #fff;
}

.btn-primary-cm.btn-with-icon {
    padding-right: 50px;
}

.btn-primary-cm.btn-with-icon.w-100 {
    padding-right: 0;
}

.btn-primary-cm.btn-with-icon::before {
    content: '';
    width: 44px;
    height: 140%;
    position: absolute;
    right: 0;
    top: -10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 60px 0 0 60px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.btn-primary-cm.btn-with-icon:hover::before {
    width: 100%;
}

.btn-primary-cm.btn-with-icon img {
    width: 24px;
    position: absolute;
    right: 10px;
}

.btn-primary-cm.btn-with-icon i {
    position: absolute;
    right: 10px;
    font-size: 23px;
    top: 7px;
}

.top-header-call-icon {
    background-color: var(--main-color-one);
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    color: #7a3801;
}

.top-header-call-title p,
.top-header-call-title h6 {
    margin-bottom: 0;
}

.auth-link .auth-btn,
.cart-button a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.auth-link .auth-btn {
    gap: 6px;
}

.cart-button {
    margin-right: 2px;
}
.btn-favorite-items {
    background-color: var(--main-color-one);
    color: #fff;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    position: relative;
    transition: 0.3s;
}

.btn-favorite-items:hover {
    background-color: var(--main-color-one);
    color: var(--color-site);
}

.btn-favorite-items i {
    font-size: 22px;
}

.btn-favorite-items span {
    position: absolute;
    top: 0;
    right: -15px;
    display: block;
    background-color: var(--main-color-two);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border: 2px solid #fff;
    font-size: 12px;
    color: #fff;
}

.btn-cart-counter {
    background-color: var(--main-color-one);
    padding: 7px 12px;
    color: #fff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.btn-cart-counter:hover {
    background-color: var(--main-color-one-hover);
}

.btn-cart-counter i, .btn-cart-counter span {
    background-color: #768dff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    display: inline-block;
    font-size: 18px;
}

.btn-cart-counter span {
    font-size: 16px;
}

.auth-dropdown .arrow-auth::before {
    transition: 0.3s all linear;
}

.auth-dropdown.show .arrow-auth::before {
    transition: 0.3s all linear;
}

.auth-dropdown.show .arrow-auth::before {
    transform: rotate(180deg);
}

/*========================== end header style ==========================*/
/*========================== start section main-slider ==========================*/
.main-slider .slider {
    border-radius: 20px;
}

.main-slider .swiper-slide {
    padding: 0;
    border-radius: 20px;
}

.main-slider .swiper-slide img {
    border-radius: 20px;
    object-fit: cover;
    height: 400px;
}

.main-slider .row {
    --bs-gutter-y: 1rem;
}

.main-slider .swiper-rtl .swiper-button-next,
.main-slider .swiper-rtl .swiper-button-prev {
    background-color: var(--main-color-one);
    width: 52px;
    height: 52px;
    border-radius: 25px;
}

/* suggest moment */
.swiper-progress-bar {
    position: absolute;
    top: 17.5%;
    width: 95%;
    display: block;
    z-index: 1;
    height: 2px;
    margin: 7px auto;
}

.swiper-progress-bar .slide_progress-bar {
    position: absolute;
    height: 2px;
    background: rgba(199, 199, 199, 0.3);
    width: auto;
    clear: both;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
}

.swiper-progress-bar .slide_progress-bar:after {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--main-color-one);
    height: 100%;
    width: 0;
    content: "";
}

.swiper-progress-bar.active .slide_progress-bar {
    opacity: 1;
}

.swiper-progress-bar.animate .slide_progress-bar:after {
    transition: width linear;
    transition-delay: unset;
    width: 100%;
    transition-duration: 3s;
}

.sugget-Moment .swiper-button-prev,
.sugget-Moment .swiper-button-next {
    outline: none;
    background: #f7f7f7;
    padding: 20px;
    color: #333;
    border-radius: 50%;
    transition: 0.3s opacity ease-in-out;
}

.sugget-Moment .swiper-pagination-bullet-active {
    background-color: #fff !important;
    width: 15px;
    height: 7px;
    border-radius: 10px;
}

/*========================== end section main-slider ==========================*/
/*========================== start section feature ==========================*/
.feature {
    display: flex;
    margin-top: 22px;
    margin-bottom: 18px;
}

.feature-item {
    height: 100%;
    min-height: 122px;
    padding: 14px 10px;
    background: #e9e7e7;
    box-shadow: var(--shadow-inner);
    transition: 0.3s all linear;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-item .title h6 {
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.7;
}

.feature-item.active {
    background-color: var(--main-color-one);
    color: #fff;
}

.feature-item.active:hover, .feature-item.active:hover h6 {
    color: var(--color-site) !important;
}

.feature-item.active:hover .icon {
    border-color: var(--color-site);
}

.feature-item.active .icon {
    border-color: #fff;
}

.feature-item.active h6 {
    color: #fff !important;
}

.feature-item:hover {
    background-color: var(--main-color-two);
    transform: translateY(-2px);
}

.feature-item .icon {
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 5px;
    border: 1px dashed #515151;
    border-radius: 5px;
}

.feature-item .icon i {
    font-size: 25px;
}

/*========================== end section feature ==========================*/
/*========================== start section categories ==========================*/
.with-highlight {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.with-highlight::before {
    content: '';
    width: 100%;
    height: 15px;
    background-color: var(--bs-yellow);
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 5px;
}

.section-title {
    position: relative;
    margin-bottom: 20px;
}

.section-title.with-line::after {
    content: "";
    position: absolute;
    top: 60%;
    right: 30%;
    background-color: var(--main-color-three-shadow);
    width: calc(100% - 650px);
    height: 5px;
    transform: translateY(-50%);
}

.section-title-title {
    position: relative;
    padding-right: 50px;
}

.section-title-title .Dottedsquare {
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: radial-gradient(#6f6c6c 1px, transparent 2px);
    -webkit-background-size: 20px 20px;
    background-size: 10px 10px;
    border-radius: 0;
    z-index: -1;
}

.free-swiper {
    position: relative;
}

.free-swiper .swiper {
    position: unset;
    padding: 5px 0;
}

.free-swiper .swiper-button-next, .free-swiper .swiper-button-prev {
    background: transparent;
    top: 15%;
    right: auto;
    left: 9%;
    box-shadow: none;
    padding: 0;
}

.free-swiper .swiper-button-prev, .free-swiper .swiper-button-next {
    left: 10.5%;
}

.free-swiper .swiper-button-prev {
    left: 13.5%;
}

.free-swiper .swiper-button-next::after, .free-swiper .swiper-button-prev::after {
    color: var(--color-site);
    padding: 10px 15px;
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-radius: 5px;
    border: 1px solid var(--bs-gray-400);
}

.cat-item-image img {
    width: 92px;
    height: 76px;
    object-fit: contain;
}

.cat-item {
    background: #fff;
    height: 100%;
    min-height: 112px;
    padding: 12px;
    border-radius: 10px;
    box-shadow: var(--shadow-box);
    border: 1px solid transparent;
    transition: 0.25s all ease;
}

.cat-item:hover {
    border-color: var(--bs-gray-400);
    transform: translateY(-2px);
}

.cat-item-desc h5 {
    line-height: 1.7;
    margin-bottom: 4px;
}

.cat-item-desc p {
    margin-bottom: 0;
    line-height: 1.6;
}

/*========================== end section categories ==========================*/
/*========================== start product box ==========================*/
.free-sw {
    overflow-x: hidden;
}

.free-sw .swiper {
    overflow: unset;
    position: unset;
    padding-bottom: 100px;
}

.free-sw .product-box {
    box-shadow: var(--shadow-box);
}

.product-box {
    background-color: #fff;
    box-shadow: var(--shadow-box);
    border-radius: 10px;
    padding: 12px;
    transition: 0.25s all ease;
}

.product-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-box.free-mode {
    width: 300px;
}

.product-header-btn {
    display: flex;
    z-index: 10;
}

.product-header-btn a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: #f4f4f4;
    transition: 200ms;
}

.product-header-btn a i {
    font-size: 16px;
}

.product-header-btn a:hover {
    background-color: #ddd;
}

.product-header-btn a:not(:last-child) {
    margin-left: 5px;
}

.product-box .product-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-box .product-timer .timer-label {
    padding: 5px 10px;
    background-color: #fc6d6d3b;
    border-radius: 10px;
}

.product-box .product-timer .timer-label span {
    color: #f21919;
    font-size: 13px;
    font-weight: normal;
}

.product-box .product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 12px;
    position: relative;
    overflow: hidden;
}

.product-box .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: 0.5s all ease-in-out;
}

.product-box .two-image {
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: transform 1.5s, visibility .5s, opacity .5s;
    -webkit-transition: transform 1.5s, visibility .5s, opacity .5s;
    -moz-transition: transform 1.5s, visibility .5s, opacity .5s;
    -ms-transition: transform 1.5s, visibility .5s, opacity .5s;
    -o-transition: transform 1.5s, visibility .5s, opacity .5s;
}

.product-box:hover .one-image {
    opacity: 0;
    visibility: hidden;
}

.product-box:hover .two-image {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    display: block;
    transform: scale(1.04);
}

.product-box .product-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 62px;
    gap: 8px;
}

.product-box .product-title .title {
    min-width: 0;
    flex: 1;
}

.product-box .product-title .title p {
    margin-bottom: 5px;
    font-weight: bold;
    line-height: 1.8;
}

.product-box .product-title .title span {
    color: var(--text-muted-two) !important;
    font-size: 12px;
}

.product-box .product-title .rating {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.product-box .product-title .rating .icon {
    margin-right: 5px;
}

.product-box .product-title .rating .icon i {
    color: #fbc02a;
    font-size: 14px;
    vertical-align: super;
}

.product-box .product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding: 10px 4px 2px;
    border-top: 2px solid var(--bs-gray-400);
}

.product-box .product-action .price {
    text-align: left;
    margin-right: auto;
    min-width: 0;
}

.product-box .product-action .price p {
    margin-bottom: 0;
}

.new-price {
    font-weight: bold;
    line-height: 1.7;
}

.old-price {
    text-decoration: line-through;
    color: #aaa;
    font-weight: normal;
    line-height: 1.7;
}

.category-pro > .row > .col-6 {
    display: flex;
}

.category-pro .product-box {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.category-pro .product-box > a {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.category-pro .product-action {
    margin-top: auto;
}

/*========================== end product box ==========================*/
/*========================== start offer section ==========================*/
.offers {
    padding: 20px 0;
}

.offer {
    height: auto;
    border-radius: 10px;
    background: #fff;
    position: relative;
    box-shadow: 3px 3px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.swiper-pagination-bullet-active {
    background: #007fee;
    width: 15px;
    height: 7px;
    border-radius: 10px;
}

.offer-item {
    max-height: fit-content;
    padding: 0 10px;
    border-radius: 10px;
}

.offer-item .col-md-6 {
    border-left: 1px solid var(--bs-gray-300);
}

.offer-discount {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    min-height: 100px;
    min-width: 140px;
    border-radius: 10px;
}

.offer-discount span {
    border-radius: 0;
    min-height: 30px;
    min-width: 137px;
    font-weight: 400;
    margin: 0;
    z-index: 9;
    background-color: var(--main-color-two);
    color: #fff;
    width: 154px;
    font-size: 16px;
    position: absolute;
    text-align: center;
    padding: 30px 4px 4px;
    right: -46px;
    top: -15px;
    transform: rotate(35deg);
    line-height: 2;
    display: block;
}

.offer-img {
    width: 300px;
    height: 400px;
    text-align: center;
    margin: auto;
}

.offer-img img {
    width: 500px;
}

.offer-content {
    text-align: center;
    padding-bottom: 10px;
}

.offer-title {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: #f0efef;
}

.offer-title h4 {
    font-weight: 900;
    font-size: 16px;
}

.offer-title span {
    color: var(--main-color-one);
}

.offer-desc {
    width: 100%;
    text-align: right;
}

.offer-desc h4 {
    height: 65px;
    font-size: 22px;
    line-height: 35px;
    font-weight: bold;
}

.se-title h5 {
    font-size: 16px;
    margin-bottom: 7px;
}

.se-title h6 {
    font-size: 12px;
    margin-bottom: 7px;
    font-weight: normal;
}

.offer-desc-price {
    margin: 10px auto;
}

.offer-desc-price .old {
    font-size: 17px;
    color: #c3c1c1;
    text-decoration: line-through;
}

.offer-desc-price .new {
    font-weight: bold;
    font-size: 20px;
    color: #009500;
}

.offer-timer {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 7px 0;
}

.offer-timer-item {
    color: var(--main-color-one);
    width: 60px;
    height: 60px;
    border: 1px solid #f8f8f8;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    padding: 5px;
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.offer-timer-item .number {
    font-weight: bold;
    font-size: 16px;
}

.offer-btn {
    margin: 22px 0;
}

.offer-item-link {
    margin: 10px 10px;
    max-height: 400px;
    overflow-y: scroll;
    padding: 10px 0 10px 10px;
}

.se-desc {
    margin-top: 20px;
}

.se-desc h6 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 7px;
}

.se-desc ul {
    margin-bottom: 10px;
    list-style: none;
    padding-right: 10px;
}

.se-desc ul li {
    padding: 2px 0;
    position: relative;
    font-size: 14px;
}

.se-desc ul li::before {
    content: "\f28a";
    font-size: 8px;
    font-family: bootstrap-icons, serif !important;
    color: #000;
    vertical-align: middle;
    margin-left: 2px;
    line-height: 18px;
}

.offer-item-link .swiper-slide {
    width: 100% !important;
}

.offer-item-link .swiper-wrapper {
    flex-direction: column !important;
    transform: translate3d(0px, 0px, 0px) !important;
}

.offer-item-link-item {
    margin-bottom: 10px;
    background: #f4f5f9;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 7px;
}

.offer-item-link-item h6 {
    font-size: 14px;
    font-weight: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.offer-item-link .swiper-slide-thumb-active .offer-item-link-item {
    border-right: 4px solid var(--main-color-one);
}

.swiper-slide:not(.swiper-slide-active) .offer-item {
    opacity: 0;
}

.offer-item .countdown-container .countdown-value {
    width: 50px;
    height: 50px;
    font-size: 16px;
    border-radius: 50%;
}

.offer-item .countdown-container .countdown-heading {
    font-size: 16px;
}

/*========================== end offer section ==========================*/
/*========================== start banner section ==========================*/
.banner-item {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.banner-item a {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.banner-item img {
    display: block;
    margin: 0 auto;
    max-height: 100%;
    object-fit: contain;
    transition: 0.8s all ease;
}

.banner-item:hover img {
    display: block;
    transform: scale(1.050);
}

/*========================== end banner section ==========================*/
/*========================== start section product slider ==========================*/
.pro-slider {
    position: relative;
    border-radius: 20px;
    padding: 20px 5px;
    min-height: 420px;
}

.pro-slider::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    left: 0;
    height: 270px;
    background: var(--main-color-one);
    border-radius: 30px 30px 5px 5px;
}

.pro-slider .swiper-wrapper {
    padding-top: 60px;
}

.pro-slider .swiper-slide {
    padding: 0 10px;
}

.sw-title-image {
    padding-top: 50px;
}

.product-slider .swiper-slide {
    width: 100%;
}

.product-slider {
    margin-top: 12px;
    margin-bottom: 8px;
}

.site-slider .swiper {
    padding-bottom: 86px;
}

.site-slider .swiper-button-next, .site-slider .swiper-button-prev {
    background-color: #fff;
    padding: 3px 20px;
    border-radius: 5px;
    top: 88%;
    right: 51% !important;
    border: 1px solid var(--bs-gray-500);
}

.site-slider .swiper-button-prev {
    right: 47.5% !important;
}

.site-slider .swiper-button-next::after, .site-slider .swiper-button-prev::after {
    color: var(--color-site);
}

/*========================== end section product slider ==========================*/
/*========================== start product group ==========================*/
.product-group-item {
    padding: 5px;
}

.product-group .col-lg-3:not(:last-child) {
    border-left: 1px solid var(--bs-gray-300) !important;
}

.product-group-item .col-6 {
    padding: 10px;
}

.product-group-item .col-6:nth-child(1), .product-group-item .col-6:nth-child(2) {
    border-bottom: 1px solid var(--bs-gray-300);
}

.product-group-item .col-6:nth-child(odd) {
    border-left: 1px solid var(--bs-gray-300);
}

.product-group-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/*========================== end product group ==========================*/
/*========================== start quick select ==========================*/
.mini-box {
    transition: 0.1s all linear;
    border-bottom: 2px solid transparent;
}

.mini-box:hover {
    border-bottom: 2px solid var(--main-color-one);
}

/*========================== end quick select ==========================*/
/*========================== start blog slider ==========================*/
.blog-item {
    background-color: #fff;
    border-radius: 20px 20px 10px 10px;
    box-shadow: var(--shadow-box);
    position: relative;
    height: 100%;
}

.blog-item:hover .image img {
    filter: grayscale(0);
}

.blog-item:hover .title h4 {
    color: var(--main-color-one);
}

.blog-item .title {
    padding: 12px;
}

.blog-item .image img {
    border-radius: 20px;
    filter: grayscale(0%);
    transition: 0.4s all ease-in-out;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.blog-item .title-item {
    border-radius: 10px;
    padding: 2px 7px;
}

.blog-item .title-item span {
    font-size: 12px;
    font-weight: bold;
}

.blog-item .title-item i {
    font-size: 16px;
}

.blog-item h4 {
    margin-top: 15px;
    line-height: 1.8;
}

.blog-slider.site-slider-sm .parent::before {
    height: 330px;
}

/*========================== end blog slider ==========================*/
/*========================== start footer ==========================*/
.footer {
    background-color: #fff;
    padding: 30px 0 20px;
    box-shadow: var(--shadow-box);
    margin-top: 10px;
}

.title-col-social {
    width: 76%;
    margin-right: auto;
}

.footer-col a:hover {
    color: var(--main-color-one);
}

.footer-col {
    margin-top: 20px;
}

.footer-col .navbar {
    padding: 0;
}

.footer-col .nav-link {
    padding: 5px 0;
    line-height: 1.8;
}

.footer-col .nav-item:first-child .nav-link {
    margin-bottom: 6px;
    color: var(--color-site);
    font-weight: 900;
}

.footer-col .social-link {
    margin-top: 10px;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 8px;
}

.footer-col .social-link a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px;
    color: #fff;
    font-size: 20px;
    transition: 0.3s all ease-in-out;
    border-radius: 50%;
    width: 42px;
    height: 42px;
}

.footer-col .social-link a.bi-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-col .social-link a.bi-twitter {
    background: #098ecc;
}

.footer-col .social-link a.bi-whatsapp {
    background: #04ac12;
}

.footer-col .social-link a.bi-youtube {
    background: #ce0909;
}

.footer-col .social-link a.bi-linkedin {
    background: #0d80c8;
}

.footer-app {
    background-color: var(--main-color-one);
    padding: 12px 16px;
    border-radius: 15px;
    margin: 22px 0;
}

.footer-app img {
    width: 150px;
    height: 44px;
    object-fit: contain;
}

.footer-description img {
    height: 108px;
    object-fit: contain;
}

.footer-description p {
    line-height: 2;
}

.footer-contact-image {
    width: 172px;
    max-width: 100%;
}

.footer-contact-image img {
    max-width: 100%;
    width: 135px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

.factor-logo {
    width: 110px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.footer-contact-call .navbar {
    padding-top: 8px;
    padding-bottom: 0;
}

.footer-contact-call .nav-link {
    line-height: 1.8;
}

.footer-form form label {
    flex: 1 1 auto;
}

.footer-form .form-control {
    min-height: 42px;
    border-radius: 10px;
}

.footer-form .btn {
    min-height: 42px;
    border-radius: 10px;
}

.footer-copyright {
    padding-top: 14px;
    border-top: 1px solid var(--bs-gray-300);
}

.footer-copyright p {
    margin-bottom: 0;
    line-height: 1.9;
}

/*========================== end footer ==========================*/
/*========================== start cart drawer ==========================*/
.cart-canvas-parent li:not(:last-child) {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.cart-canvas-delete a {
    background-color: #FF001122;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 15px;
    padding: 0;
}

.cart-canvas-delete a i {
    color: #f54b12;
}

.cart-canvas-delete a:hover {
    background-color: #FF00111F;
}

.cart-canvas-foots {
    border-top: 1px solid #ddd;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
}

.product-box-suggest {
    background-color: #fff;
    padding: 10px;
    margin: 65px 30px 30px 30px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.product-box-suggest-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: auto;
}

.product-box-suggest-title {
    margin: 10px auto;
    text-align: center;
}

.product-box-suggest-price {
    margin: 15px 0 0 0;
    text-align: center;
}

.product-box-suggest-price del {
    text-decoration: none;
    display: inline-block;
    position: relative;
    color: var(--bs-danger);
    font-size: 18px;
}

.product-box-suggest-price del::before {
    content: '';
    position: absolute;
    top: 25%;
    right: -40%;
    background-color: #c00;
    width: 100%;
    height: 1px;
    transform: rotate(-8deg) translateX(-50%);
}

.product-box-suggest-price ins {
    text-decoration: none;
    margin-right: 15px;
    font-size: 18px;
    color: var(--main-color-green);
    font-weight: bold;
    display: flex;
    align-items: center;
}

.product-box-suggest-price ins span {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 5px;
}

/*========================== end cart drawer ==========================*/
/*========================== start page product ==========================*/
.product-gallery img {
    max-width: 80%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: auto;
}

.product-gallery.not-found img, .product-gallery-thumb.not-found img {
    filter: grayscale(100%);
}

.product-gallery-thumb {
    padding: 2px;
}

.product-gallery .swiper-pagination {
    bottom: 20px;
}

.product-gallery .swiper-slide {
    border: 1px solid var(--bs-gray-400);
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 10px 10px 60px 10px;
}

.product-gallery .swiper-slide .swiper-zoom-container {
    padding: 10px;
}

.product-gallery .swiper-button-next,
.product-gallery .swiper-button-prev {
    background-color: #eee;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
}

.product-gallery .swiper-button-next::after,
.product-gallery .swiper-button-prev::after {
    color: var(--color-site);
}

.product-gallery-thumb {
    padding: 12px;
    border: 1px solid var(--bs-gray-400);
    border-radius: 10px;
}

.product-gallery-thumb img {
    display: block;
    max-width: 80%;
    height: 100px;
    object-fit: cover;
    margin: auto;
    opacity: 0.6;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
}

.product-gallery-thumb img:hover {
    opacity: 1;
}

.product-gallery-thumb .swiper-slide {
    border-radius: 10px;
    transition: 0.1s all ease-in-out;
    padding: 10px;
    border: 1px solid transparent;
}

.product-gallery-thumb .swiper-slide-thumb-active {
    border-color: var(--main-color-one);
    border-width: 1px;
}

.product-gallery-thumb .swiper-slide-thumb-active img {
    opacity: 1;
}

.se-cart {
    background: var(--bs-gray-100);
    background-size: cover;
    border: 1px solid var(--bs-gray-400);
    box-shadow: var(--shadow-sm);
    padding: 10px;
    border-radius: 10px;
}

.scd-item {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.5;
}

.scd-item i {
    font-size: 18px;
}

.scd-item a,
.scd-item .link {
    color: #515115;
}

.se-cart-price-old {
    color: #4a4a4a;
    text-decoration: line-through;
    margin-left: 5px;
}

.se-cart-price-new {
    color: #04ac12;
    font-size: 20px;
    font-weight: bold;
}

.se-cart-item {
    padding: 15px 0;
}

.se-cart-item:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

/* icon product box */
.icon-product-box {
    z-index: 9;
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.icon-product-box-item {
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #eee;
    padding: 5px;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary .swiper-button-next,
.summary .swiper-button-prev {
    top: 70% !important;
}

.icon-product-box-item i {
    font-size: 16px;
    display: inherit;
}

.icon-product-box-item span {
    display: block;
    text-align: center;
    font-size: 14px;
}

.pro_gallery {
    position: relative;
}

.special-label {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 9;
}

.special-label img {
    width: 80px;
}

/* end icon product box */
.product-meta-title {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.product-meta-title img {
    max-width: 100px;
}

.rating-star {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #FFE7C1;
    text-align: center;
    border-radius: 50%;
    color: #654700;
    font-size: 16px;
}

.product-meta-feature {
    margin-top: 20px;
}

.product-meta-feature-items ul {
    margin-top: 15px;
    position: relative;
    padding-right: 20px;
}

.product-meta-feature-items ul::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--bs-gray-200);
    border-radius: 10px;
}

.product-meta-feature-items ul::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 25px;
    background-color: var(--bs-gray-600);
    border-radius: 10px;
}

.product-meta-feature-items ul li {
    color: var(--text-muted);
}

.product-meta-feature-items ul li:not(:last-child) {
    margin-bottom: 10px;
}

.product-meta-feature-items ul li span {
    font-weight: bold;
}

.product-meta-feature-items ul li strong {
    margin-right: 7px;
    color: var(--text-muted);
    font-weight: normal;
}

.product-meta-color {
    margin-top: 20px;
}

.product-meta-color h5 {
    margin-bottom: 15px;
}

.product-meta-color-items {
    margin-top: 10px;
}

.product-meta-color-items label {
    background-color: #eee;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 10px;
}

.product-meta-color-items label:hover {
    background-color: #e2e2e2 !important;
}

.product-meta-color-items .btn-check:checked + .btn {
    border-color: var(--main-color-two) !important;
}

.product-meta-color-items .btn-check:checked + .btn:hover {
    background-color: transparent !important;
}

.product-meta-color-items label span {
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 7px;
    position: relative;
}

.product-meta-color-items .btn-check:checked + .btn span::before {
    content: '\F26E';
    color: #fff;
    font-size: 22px;
    font-family: 'bootstrap-icons', serif !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-variant-selector {
    width: 100%;
    margin-top: 20px;
}

.product-variant-selector__title {
    margin-bottom: 15px;
    font-size: 16px;
}

.product-variant-field:not(:last-of-type) {
    margin-bottom: 14px;
}

.product-variant-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: bold;
}

.product-variant-select {
    width: 100%;
    min-height: 46px;
    padding: 8px 14px 8px 40px;
    border-color: #ddd;
    border-radius: 10px;
    background-position: left 14px center;
    color: var(--text-muted);
    font-size: 14px;
    text-align: right;
}

.product-variant-select:focus {
    border-color: var(--main-color-one);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.product-stock-status {
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.product-stock-status.is-in-stock {
    color: var(--bs-success);
}

.product-stock-status.is-out-of-stock {
    color: var(--bs-danger);
}

.product-variant-price {
    min-width: 150px;
}

#product-old-price-row[hidden],
#product-discount[hidden] {
    display: none !important;
}

#product-add-to-cart:disabled {
    background-color: var(--bs-gray-600) !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 1;
}

.product-add-to-cart-label {
    color: inherit;
}

.btn-add-to-cart {
    display: flex;
    align-items: center;
    padding: 10px 50px !important;
}

/* start multi seller */
.title-panel {
    margin-bottom: 30px;
    padding-bottom: 5px;
    position: relative;
}

.title-panel::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    height: 3px;
    background-color: var(--main-color-one);
    width: 70px;
    z-index: 2;
}

.title-panel::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    height: 3px;
    background-color: #eee;
    width: 100%;
    z-index: 1;
}

.responsive-table > table {
    width: 100%;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.responsive-table {
    overflow-x: auto;
    padding: 5px;
}

.main-table {
    margin-bottom: 0;
    padding: 10px;
    border-collapse: collapse;
    border-radius: 10px;
    border-style: hidden;
    box-shadow: 0 0 0 1px #ddd;
    z-index: 100;
}

.main-table th {
    padding: 20px 0;
    font-size: 14px;
    vertical-align: middle;
}

.main-table tr {
    vertical-align: middle;
}

.main-table tr td.title {
    max-width: 280px;
    min-width: 280px;
}

.main-table tr td.counter {
    max-width: 180px;
    min-width: 180px;
}

/* end multi seller */
/* start product-descs */
.product-desc {
    position: relative;
}

.product-desc-tab {
    overflow-x: scroll;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: auto;
    /* Firefox */
    margin-bottom: 10px;
}

.product-desc-content p {
    line-height: 35px;
}

.product-desc-tab::-webkit-scrollbar {
    display: none;
}

.product-desc-tab ul {
    min-width: 450px;
    flex-wrap: nowrap;
}

.product-desc-tab ul li {
    margin-left: 5px;
    margin-bottom: 10px;
}

.product-desc-tab ul li button {
    border: 2px solid transparent;
    height: 100%;
    outline: none;
    background: var(--bs-gray-200);
    padding: 20px 70px;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    display: block;
    position: relative;
}

.product-desc-tab ul li button.active::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 50%;
    transform: translateX(50%);
    width: 50%;
    height: 2px;
    background-color: var(--main-color-one);
}

.product-desc-tab ul li button i {
    margin-left: 5px;
}

.product-desc-tab-content {
    padding: 20px 0;
}

.product-desc .content-box {
    padding: 18px;
}

.product-desc-content {
    line-height: 1.9;
}

.product-desc-tab-content table tr th {
    width: 200px;
}

.product-desc-tab-content table tr td {
    padding: 12px 0;
}

.tab-title {
    font-size: 18px;
    color: #505050;
    text-align: center;
    font-weight: 600;
    line-height: 1.7;
}

.product-desc-content img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.table-product {
    --bs-table-striped-bg: rgb(0 0 0 / 3%);
}

.comment {
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    background-color: #fff !important;
}

.comment .title {
    background-color: #f8f9fb;
    padding: 10px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.comment-replay .title {
    background-color: #fff !important;
}

.comment .avatar img {
    width: 40px;
    height: 40px;
}

.star i.bi-star {
    color: #ccc;
}

.star i.bi-star-fill {
    color: #f7ad0d;
}

.star i.bi-star-half {
    color: #f7ad0d;
}

.positive-nav ul li {
    position: relative;
    padding-right: 10px;
}

.comment .comment-rates .positive {
    padding: 10px 0;
}

.positive-nav ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: #0d9a00;
    border-radius: 50%;
}

.negitive-nav ul li {
    position: relative;
    padding-right: 10px;
}

.comment .comment-rates .negitive {
    padding: 10px 0;
}

.negitive-nav ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: #d03404;
    border-radius: 50%;
}

.comment-reply {
    padding: 20px 0;
}

.product-desc-tab-content {
    position: relative;
}

/* end product-descs */
/* start content product */
.box-tabs ul li a {
    color: #6f6f6f;
}

.box-tabs ul li i {
    vertical-align: -8px;
    color: #ccc;
    padding: 3px;
}

.box-tabs .nav-tabs .nav-link {
    border: 0 solid transparent;
}

.box-tabs .nav-tabs .nav-link.active {
    border-top: 5px solid #00bfd6;
    border-radius: 0;
}

.box-content h4 {
    color: #6f6f6f;
}

.box-content span {
    color: #6f6f6f;
    font-size: 15px;
}

.box_list svg {
    margin-left: 5px;
}

.box-content .box_list .title {
    color: #4d4d4d;
}

.box-content .box_list i {
    vertical-align: -7px;
    color: #00bfd6;
}

.block {
    display: block;
}

.box_params_list p {
    display: block;
    padding: 14px 18px 12px;
    font-size: 13px;
    line-height: 1.692;
    color: #4d4d4d;
    min-height: 47px;
    position: relative;
    margin-bottom: 15px;
    border-radius: 10px;
    font-weight: normal;
}

.border_right_custom1 {
    background: transparent;
    border-radius: 0 !important;
    font-weight: bold;
    font-size: 14px !important;
}

.border_right_custom2 {
    background-color: #f1f1f1;
}

.nav-tabs-custom {
    background: #F5F5F5;
}

.box_comment .bc1 {
    padding: 10px 33px 33px 60px;
}

.bc1 .row {
    background: #fcfcfc;
    border-radius: 5px;
}

.box_comment .progress_title,
.box_comment .progress_title2 {
    font-size: 14px !important;
}

.box_list p.title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 15px;
}

/* end content product */
/* start comment */
.comment-item {
    position: relative;
}

.comment-item label.label-float {
    position: absolute;
    top: -14px;
    background-color: #fff;
    right: 15px;
    padding: 5px;
}

.comment-item input.form-control, .comment-item select {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: right;
    font-size: 14px;
}

.tags.tagify.commentTags {
    background: #fff;
    padding: 6px 10px;
    --tags-focus-border-color: #333;
}

.btn-comment {
    padding: 15px 150px;
    border-radius: 30px;
}

.tag-pos .tagify__tag > div::before {
    inset: unset;
}

.tag-pos .tagify__tag {
    background-color: #afffb2e1;
    border-radius: 10px;
}

.tag-neg .tagify__tag > div::before {
    inset: unset;
}

.tag-neg .tagify__tag {
    background-color: #ffaeaedf;
    border-radius: 10px;
}

.tag-neg .tagify__tag-text {
    color: #480303;
}

.tag-pos .tagify__tag-text {
    color: #428e30;
}

.comment-replay {
    background-color: var(--main-color-one-shadow) !important;
}

/* end comment */
/* rating */
.rating {
    border: none;
}

.rating:not(:checked) > input {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.rating:not(:checked) > label {
    float: right;
    width: 1em;
    padding: 0 .1em;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 200%;
    line-height: 1.2;
    color: #ddd;
}

.rating:not(:checked) > label:before {
    content: "\f586";
    font-family: 'bootstrap-icons', serif;
    width: 30px;
    height: 30px;
    position: absolute;
    background-color: #fff;
}

.rating > input:checked ~ label {
    color: #f7ad0d;
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #f7ad0d;
}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
    color: #f7ad0d;
}

.rating > label:active {
    position: relative;
}

/* end rating */
/* product feature */
.shop-feature ul {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 20px;
}

.shop-feature ul li {
    margin: 0 10px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

.shop-feature ul li img {
    width: 50px;
    margin: 0 0 10px 0;
    display: block;
    color: #fff;
}

.shop-feature ul li span {
    display: block;
    font-size: 16px;
    font-weight: 100;
}

/* end product feature */
/* start procut rating */
.product-rateing .title {
    padding-bottom: 20px;
}

.product-rateing .number {
    text-align: center;
    padding: 20px 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.product-rateing .number h2 {
    margin: 30px 0;
    color: #333;
    font-size: 40px;
}

.product-rateing .number .star {
    padding: 5px;
    background: #dddddd5b;
    border-radius: 10px;
}

.product-rateing .number .star .bi-star {
    color: #bbb;
}

.product-rateing .number .star .bi-star-fill {
    color: rgb(246, 130, 5);
}

.product-rateing .prog-rating {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.product-rateing .prog-rating .right {
    flex: 0 0 calc(10% - 10px);
    max-width: calc(10% - 10px);
}

.product-rateing .prog-rating .center {
    flex: 0 0 calc(80% - 10px);
    max-width: calc(80% - 10px);
}

.product-rateing .prog-rating .left {
    flex: 0 0 calc(10% - 10px);
    max-width: calc(10% - 10px);
}

.product-rateing .prog-rating .center .progress {
    margin-bottom: 3px;
}

/* end procut rating */
/* ---------------  */
.box_comment .bc1 {
    padding: 10px 33px 33px 60px;
}

.bc1 .row {
    background: #fcfcfc;
    border-radius: 5px;
}

.box_comment .progress_title,
.box_comment .progress_title2 {
    font-size: 14px !important;
}

.box_comment .progress {
    height: 4px !important;
    margin-top: 10px;
}

.box_comment .progress-bar {
    background-color: #00bfd6;
}

.box_filter .bf1 i {
    vertical-align: -6px;
    color: #00bfd6;
}

.active_custom {
    color: var(--main-color-one) !important;
    font-weight: bold;
}

.box_users_comment {
    margin-bottom: 36px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.box_users_comment.reply {
    background-color: var(--bs-gray-200);
}

.box_users_comment .box_message_light {
    font-size: 13px;
    line-height: 2.23;
    border-radius: 3px;
    color: var(--main-color-three);
    font-weight: bold;
    padding: 7px 0 7px 12px;
}

.box_message_light svg {
    margin-left: 5px;
}

.box_shopping span {
    font-size: 14px;
}

.box_shopping p svg {
    margin-left: 5px;
    color: #c1c1c1;
}

.box_shopping p a {
    color: var(--main-color-one);
    font-weight: bold;
    padding-bottom: 3px;
}

.box_shopping i {
    color: #c1c1c1;
    margin-left: 7px;
}

.box_shopping a {
    font-size: 14px;
    border-bottom: 1px dashed var(--main-color-one);
}

.box_message_dislike {
    padding: 7px 0 7px 12px;
    font-size: 12px;
    line-height: 2.23;
    color: #ff637d;
}

.box_message_dislike svg {
    margin-left: 5px;
}

.box_comment_header .span1 {
    font-size: 18px;
    font-weight: 800;
}

.box_comment_header .span2 {
    font-size: 13px;
    color: #adadad;
}

.evaluation-positive span {
    font-weight: bold;
    color: var(--main-color-three);
    font-size: 14px !important;
    margin-left: 5px;
}

.evaluation-positive ul li:before {
    color: var(--main-color-two);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    content: "\2022";
    font-size: 19px;
}

.evaluation-negative span {
    font-weight: bold;
    color: #ff637d;
    font-size: 14px !important;
}

.evaluation-negative ul li:before {
    color: #ff637d;
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    content: "\2022";
    font-size: 19px;
}

.evaluation-negative,
.evaluation-positive {
    font-size: 14px !important;
}

.box_text_comment {
    font-size: 14px;
    line-height: 36px;
    text-align: justify;
}

.comments_likes {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.bs-qu {
    --bs-gutter-x: -0.3rem;
}

.comments_likes span {
    text-align: center;
    color: #777;
    font-size: 13px;
    line-height: 1.692;
}

.comments_likes .btn-like {
    border-radius: 4px;
    border: 1px solid var(--main-color-one);
    background: #fff;
    padding: 5px 8px;
    color: #8c8c8c;
    font-size: 12px;
    line-height: 1.692;
    margin-left: 20px;
    transition: 0.4s all ease-in-out;
}

.btn-like-dislike:hover {
    background-color: var(--bs-danger) !important;
    border-color: var(--bs-danger) !important;
    color: #fff;
}

.comments_likes .btn-like i {
    line-height: 1 !important;
}

.comments_likes .btn-like:nth-last-child(1) {
    margin-left: 0;
}

.comments_likes .btn-like:hover {
    background-color: var(--main-color-one);
    color: #fff;
}

.email_check a {
    border-bottom: 1px dashed #1ca2bd;
}

.email_check {
    font-size: 14px;
}

.email_check label {
    line-height: 25px;
}

.box_questions .bq1 i {
    font-size: 90px;
    color: var(--main-color-one) !important;
}

.box_questions .bq1 .span1 {
    font-size: 25px !important;
    color: #565757 !important;
}

.box_questions .bq1 .span2 {
    color: #959595;
    font-size: 13px !important;
    margin-bottom: 10px;
    display: inline-block;
}

.box_questions .bq2::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 11px 11px;
    border-color: transparent transparent transparent #dbdbdb;
    left: 100%;
    top: 50px;
}

.box_questions .bq2 {
    position: relative;
    border: 1px solid #dbdbdb;
    background: #fcfcfc;
    padding: 19px 29px 20px;
    color: #4d4d4d;
    min-height: 240px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
}

.bq2 a {
    font-size: 13px !important;
}

.bq2 .date {
    color: #565757;
    font-size: 12px;
    margin-left: auto;
}

.box_questions .bq1 .bi-chat-dots-fill {
    color: var(--main-color-two) !important;
}

.box_list .title {
    color: #565757;
    font-weight: bold;
}

.box_list section {
    margin-top: 20px;
}

.box_list section .container {
    padding: 0 40px;
}

.title-comment-product svg {
    margin-left: 5px;
    color: #007fee;
}

#modalComment .form-group {
    margin-bottom: 40px;
}

.btn-primary-pill {
    background: #04309f;
    font-weight: bolder;
    padding: 10px 0;
}

.bq-footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 20px 30px;
}

.breadcrumb-item.active {
    font-size: 14px;
}

.list-inline-item:not(:last-child) {
    margin-left: 0.5rem;
    margin-bottom: 5px;
}

.list-inline-item {
    margin: 0 20px;
}

.product-gallery {
    padding: 5px;
}

.product-meta-info {
    background-color: #f4f4f4;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 10px;
}

.product-meta-price .old-price {
    display: inline-block;
    font-size: 14px;
    color: #7d7d7d;
    text-decoration: line-through;
}

.product-meta-price .new-price {
    display: block;
    font-size: 30px;
    color: var(--main-color-three);
}

.product-meta-info-item:not(:last-child) {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

/* read more */
.read-more-state {
    display: none;
}

.read-more-target {
    display: none;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
    visibility: visible;
    display: block;
}

.read-more-state ~ .read-more-trigger:before {
    content: 'بیشتر +';
}

.read-more-state:checked ~ .read-more-trigger:before {
    content: 'کمتر -';
}

.read-more-trigger {
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
    color: var(--main-color-one);
    margin-top: 5px;
}

/* end read more */
.social-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-link a.bi-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link a.bi-twitter {
    background: #098ecc;
}

.social-link a.bi-whatsapp {
    background: #04ac12;
}

.social-link a.bi-youtube {
    background: #ce0909;
}

.social-link a.bi-telegram {
    background: #0d80c8;
}

.social-link a.bi-linkedin {
    background: #0766a2;
}

.social-link a:hover {
    color: #fff;
    transform: translateY(-7px);
}

/* end product desc  */
/*========================== end page product ==========================*/
/*========================== start page cart ==========================*/
/* start cart time line */
.payment_navigtions {
    margin-bottom: 30px;
}

.checkout-headers ul li {
    position: relative;
    padding-left: 50px;
}

.checkout-headers ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #ccc;
    width: 50px;
    height: 3px;
}

.checkout-headers ul li:last-child.active::before {
    opacity: 0;
}

.checkout-headers ul li:last-child {
    padding-left: 0;
}

.checkout-headers ul li:last-child::before {
    background-color: transparent;
}

.checkout-headers ul li.active::before {
    background-color: var(--main-color-two);
}

.checkout-headers ul li a {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.checkout-headers ul li a p {
    margin-bottom: 0;
    color: #8c8888;
}

.checkout-headers ul li a span {
    width: 20px;
    height: 20px;
    line-height: 20px;
    background-color: #ccc;
    color: #fff;
    text-align: center;
    margin-left: 7px;
}

.checkout-headers ul li.active a span {
    background-color: var(--main-color-one);
}

.checkout-headers ul li.active a p {
    font-weight: 900;
    color: var(--color-site);
}

/* end cart time line */
.danger-label {
    padding: 5px 10px;
    background-color: #fc6d6d3b;
    border-radius: 5px;
    color: #f21919;
    font-size: 13px;
    display: inline-block;
    font-weight: normal;
}

.cart-product-item .remove i {
    color: #fb5959;
    font-size: 20px;
}

.cart-product-item {
    margin-bottom: 14px;
}

.cart-product-item .content-box {
    border-radius: 12px;
}

.cart-items > .item {
    padding: 14px 0;
}

.cart-items > .item > .row {
    align-items: center;
}

.cart-items .image img {
    max-height: 130px;
    object-fit: contain;
}

.cart-items .title h6 {
    line-height: 1.8;
    margin-bottom: 0;
}

.cart-item-feature {
    gap: 4px;
}

.cart-item-feature .item {
    line-height: 1.8;
}

.cart-product .action {
    gap: 6px;
    min-width: 170px;
}

.cart-product .product-box-price-price {
    align-items: baseline;
}

.cart-product .product-box-price-price h5 {
    font-weight: 900;
    margin-bottom: 0 !important;
}

.cart-product .product-box-price-price p {
    line-height: 1.4;
    font-size: 13px;
}

.cart-quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--bs-gray-300);
    border-radius: 12px;
    background-color: #fff;
}

.cart-quantity-secondary,
.cart-quantity-increase {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: 0.2s all ease;
}

.cart-item-remove {
    background-color: #fc6d6d3b;
    color: #f21919;
}

.cart-item-remove:hover,
.cart-item-remove:focus {
    background-color: #fb5959;
    color: #fff;
}

.cart-quantity-decrease {
    border: 1px solid var(--bs-gray-300);
    background-color: #f8f9fa;
    color: var(--main-color-one);
}

.cart-quantity-decrease:hover,
.cart-quantity-decrease:focus {
    border-color: var(--main-color-one);
    background-color: var(--main-color-one-shadow);
    color: var(--main-color-one);
}

.cart-quantity-increase {
    background-color: var(--main-color-one);
    color: #fff;
}

.cart-quantity-increase:hover,
.cart-quantity-increase:focus {
    background-color: var(--main-color-three);
    color: #fff;
}

.cart-quantity-value {
    width: 50px;
    height: 38px;
    padding: 0 6px;
    border: 1px solid var(--bs-gray-300);
    border-radius: 9px;
    background-color: #fff;
    color: var(--color-site);
    font-weight: 800;
    text-align: center;
    cursor: default;
}

.cart-item-remove:focus,
.cart-quantity-decrease:focus,
.cart-quantity-increase:focus,
.cart-quantity-value:focus {
    outline: 0;
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.cart-quantity-secondary i,
.cart-quantity-increase i {
    font-size: 17px;
    line-height: 1;
}

.cart-product-item .remove {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* cart canvases */
.cart-canvases .item {
    background-color: #fff;
    box-shadow: var(--shadow-box);
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--bs-gray-400);
}

.cart-canvases .item .action .remove {
    padding: 0 7px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s all ease-in-out;
}

.cart-canvases .item .action .remove:hover {
    background-color: #fea5a552 !important;
}

.cart-canvases .item .action .remove:hover a i {
    color: #fc6d6d;
}

.cart-canvases .item .price .price-discount {
    text-decoration: line-through;
    color: #cccccc;
    font-weight: normal !important;
}

.cart-canvases .item .price .price-off {
    color: #05bf71;
}

.cart-canvas .offcanvas-body {
    background: #f4f4f4 !important;
}

.cart-canvases .item .factor .title {
    padding-bottom: 10px;
    border-bottom: 3px solid #eee;
    margin-bottom: 10px;
}

.cart-canvases .item .factor .title img {
    width: 25px;
    margin-left: 5px !important;
}

.cart-canvases .item .factor .factor-item {
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    gap: 10px;
}

.cart-canvases .item .factor .factor-item p {
    font-weight: 700;
    text-align: left;
}

.cart-canvases .item .factor .factor-item:nth-of-type(4) {
    padding-top: 10px;
    border-bottom: 0;
}

.cart-canvases .item .factor .factor-item:nth-of-type(4) h5,
.cart-canvases .item .factor .factor-item:nth-of-type(4) p {
    font-size: 20px !important;
    font-weight: 900;
}

.cart-canvases .item .factor .action .btn {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

p.mb-0.text-muted-two.ms-1 {
    line-height: 3;
}

/* end cart canvases */
.cart-empty-image {
    max-width: 400px;
    width: min(100%, 360px);
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.content-box .cart-empty-image + h5 {
    line-height: 1.8;
    margin-bottom: 20px;
}

/*========================== end page cart ==========================*/
/*========================== start page category ==========================*/
/* start paginatae */
.my-paginate ul {
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.my-paginate li {
    margin-left: 0;
    margin-bottom: 8px;
}

.my-paginate li.disabled a {
    background: #fff;
}

.my-paginate li.active a {
    background: var(--main-color-one);
    border-color: var(--main-color-one);
    font-weight: bold;
}

.my-paginate li.disabled a i {
    color: #a0a0a096;
}

.my-paginate li a i::before {
    line-height: 1 !important;
}

.my-paginate li a {
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    padding: 7px 16px;
    color: #515151;
    background: #fff;
    min-width: 44px;
    height: 44px;
    line-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
}

.my-paginate li a i {
    color: #515151;
    line-height: 1;
}

/* end paginate */
.category .item {
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-box);
}

.category .swiper-slide {
    padding: 10px 0;
}

.category-sort .content-box {
    padding: 14px 0;
}

.category-sort .d-flex.align-items-center.justify-content-between {
    gap: 15px;
}

.category-sort .box_filter ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.category-sort .box_filter .list-inline-item {
    margin-left: 0;
}

.category-sort .box_filter .list-inline-item:first-child {
    color: #515151;
    font-weight: 700;
    margin-left: 4px;
}

.category-sort .box_filter a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 10px;
    color: #515151;
    background-color: #f8f9fa;
    transition: 0.2s all ease;
}

.category-sort .box_filter a:hover,
.category-sort .box_filter a.active_custom {
    color: var(--main-color-one) !important;
    background-color: var(--main-color-one-shadow);
}

.category-sort .box_filter_counter {
    white-space: nowrap;
    color: #515151;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 7px 12px;
}

.category-filter {
    width: 100%;
    padding: 16px;
    background-color: #fff;
    border: 1px solid var(--bs-gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.category-filter__title {
    margin-bottom: 8px;
    color: #303030;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.category-filter__section {
    border-top: 1px solid var(--bs-gray-200);
}

.category-filter__toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 10px 2px;
    align-items: center;
    justify-content: space-between;
    color: var(--main-color-one);
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    background-color: transparent;
    border: 0;
}

.category-filter__toggle i {
    font-size: 14px;
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

.category-filter__toggle[aria-expanded="false"] {
    color: #515151;
}

.category-filter__toggle[aria-expanded="false"] i {
    transform: rotate(0);
}

.category-filter__toggle:focus-visible {
    border-radius: 8px;
    outline: 0;
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.category-filter__content {
    padding-bottom: 8px;
}

.category-filter__option {
    display: flex;
    min-height: 42px;
    margin: 0;
    padding: 8px 2px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #515151;
    font-size: 14px;
    cursor: pointer;
    border-top: 1px solid #f1f1f1;
}

.category-filter__option:first-child {
    border-top: 0;
}

.category-filter__option-label {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.category-filter__option .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}

.category-filter__option .form-check-input:checked + span {
    color: var(--main-color-one);
    font-weight: 600;
}

.category-filter__count {
    flex: 0 0 auto;
    color: var(--bs-gray-600);
    font-size: 12px;
}

.category-filter__price {
    padding: 2px 2px 16px;
}

.category-filter__price-values {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 8px;
}

.category-filter__price-field label {
    display: block;
    margin-bottom: 4px;
    color: #737373;
    font-size: 12px;
}

.category-filter__price-field .form-control {
    height: 40px;
    padding: 7px 6px;
    color: #303030;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    background-color: #f8f9fa;
    border-color: var(--bs-gray-300);
    border-radius: 8px;
}

.category-filter__price-separator {
    padding-bottom: 10px;
    color: #737373;
    font-size: 12px;
}

.category-filter__price-unit {
    margin-top: 5px;
    color: #737373;
    font-size: 12px;
    text-align: center;
}

.category-filter__slider {
    height: 4px;
    margin: 26px 9px 8px;
    background-color: var(--bs-gray-300);
    border: 0;
    box-shadow: none;
}

.category-filter__slider .noUi-connect {
    background-color: var(--main-color-one);
}

.category-filter__slider .noUi-handle {
    width: 19px;
    height: 19px;
    top: -8px;
    right: -9px;
    cursor: pointer;
    background-color: var(--main-color-one);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.category-filter__slider .noUi-handle::before,
.category-filter__slider .noUi-handle::after {
    display: none;
}

.category-filter__slider .noUi-handle:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.category-filter__availability {
    display: flex;
    min-height: 50px;
    margin: 0;
    padding: 12px 2px;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--bs-gray-200);
}

.category-filter__availability .form-check-input {
    float: none;
    flex: 0 0 auto;
    margin: 0;
}

.category-filter__availability .form-check-label {
    color: #515151;
    font-size: 14px;
    cursor: pointer;
}

.category-filter__submit {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    border-radius: 10px;
}

.category-filter__submit:hover,
.category-filter__submit:focus {
    color: #fff;
}

@media only screen and (min-width: 992px) {
    .category-filter {
        position: sticky;
        top: 92px;
    }
}

.filter-item-select {
    background-color: #EBEDF07A;
    padding: 5px 10px;
    border-radius: 15px;
}

.filter-item-select select {
    background-color: transparent;
    border: none;
    position: relative;
}

.item-boxs .item-box {
    padding: 12px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid var(--bs-gray-200);
}

.item-boxs .item-box:not(:last-child) {
    margin-bottom: 10px;
}

.item-boxs .item-box a[data-bs-toggle="collapse"].collapsed i::before {
    transition: 0.3s;
}

.item-boxs .item-box a[data-bs-toggle="collapse"] i::before {
    transition: 0.3s;
}

.item-boxs .item-box a i {
    transition: 0.3s;
    font-size: 16px;
}

.item-boxs .item-box a[data-bs-toggle="collapse"].collapsed i::before {
    transform: rotate(-180deg);
}

.item-boxs .item-box .title {
    padding: 8px 10px;
    background-color: var(--bs-gray-200);
    border-radius: 10px;
    margin-bottom: 12px;
}

.item-boxs .item-box .title h6 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0;
}

.item-boxs .item-box .title .btn {
    padding: 4px 8px;
}

.category .site-category-items:hover {
    box-shadow: var(--shadow-md) !important;
}

.input-range-filter {
    direction: rtl;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #f4f4f4;
}

.item-box .desc {
    padding: 0 8px 8px;
    color: #515151;
    line-height: 1.9;
}

.item-box .desc .form-check {
    min-height: 28px;
}

.item-box .desc .form-check-label {
    color: #515151;
    font-size: 14px;
}

.item-boxs {
    background-color: #fff;
    box-shadow: var(--shadow-box);
    border-radius: 10px;
    padding: 10px;
}

.item-box:last-child {
    padding-bottom: 2px;
}


.filter-range {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 0;
}

.filter-range li {
    width: 50%;
    text-align: center;
    font-size: 13px;
    line-height: 1.692;
    letter-spacing: 3px;
    color: #858585;
    padding: 13px 15px 20px;
    position: relative;
}

.filter-range li span {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -10px;
    font-size: 13px;
    font-weight: 700;
}

.filter-range li input[type=text] {
    width: 100%;
    height: 40px;
    border: 1px solid #dee2e6;
    background-color: #f5f5f5;
    border-radius: 7px;
    box-sizing: border-box;
    display: inline-block;
    overflow: hidden;
    margin: 6px 0;
    text-align: center;
    color: #3c3c3c;
    font-size: 14px;
    font-weight: 700;
}

.filter-range li.label {
    width: auto;
    padding: unset;
}

.filter-price {
    text-align: center;
    min-height: 140px;
}

.filter-price .filter-slider {
    padding: 18px 18px 18px 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    box-sizing: border-box;
}

.filter-price .filter-slider .noUi-horizontal {
    height: 4px;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
}

.filter-price .filter-slider .noUi-target {
    background-color: #c4c4c4;
    border: 0;
}

.filter-price .filter-slider .noUi-connect,
.filter-price .filter-slider .noUi-origin {
    left: 0;
}

.filter-price .filter-slider .noUi-connect {
    background-color: #000;
}

.filter-price .filter-slider .noUi-handle {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    top: -9px;
    left: 0;
    right: -12px;
    background-color: #000;
    border: 0;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    cursor: pointer;
}

.filter-price .filter-slider .noUi-handle::before, .filter-price .filter-slider .noUi-handle::after {
    display: none;
}

/*========================== end page category ==========================*/
/*========================== start page compare ==========================*/
.compare-title {
    padding: 10px 0;
    margin-bottom: 15px;
    display: flex;
}

.compare-title i {
    margin-left: 10px;
}

.compare-title h6 {
    font-weight: bold;
    font-size: 20px;
}

.compare table {
    border: 1px double #d7d7d7;
    border-collapse: separate;
    border-spacing: 0;
}

.compare table tr {
    width: 100%;
}

.compare table tr th, .compare table tr td {
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
    min-width: 220px;
    max-width: 320px;
    border: 1px double #d7d7d7;
    padding: 12px 18px;
    line-height: 1.9;
}

.compare table td i {
    margin-left: 10px;
}

.compare table tr td:nth-child(1) {
    font-weight: bold;
    color: #444;
}

.td-head {
    font-size: 14px;
    text-align: right !important;
    background-color: rgba(238, 239, 241, 0.63) !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.compare-box {
    position: relative;
    padding: 14px 0 4px;
}

.compare-box .compare-delete {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.compare-delete i {
    cursor: pointer;
    font-size: 20px;
    transition: .2s all ease;
}

.compare-delete span i:hover {
    color: #d12714;
}

.compare-add {
    display: flex;
    justify-content: center;
}

.compare-add-product {
    width: 220px;
    border: 1px dashed #cdcaca;
    height: 100%;
    padding: 24px 12px;
    border-radius: 10px;
    line-height: 1.8;
}

.cap-title {
    margin: 10px 0;
}

.cap-icon i {
    font-size: 30px;
    color: #666;
}

.empty-cell {
    position: relative;
    text-align: center;
}

.empty-cell:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 5px;
    border-radius: 5px;
    background: #ccc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.compare-product-box {
    min-width: 300px;
    box-shadow: none;
}

.compare .table-responsive {
    border-radius: 14px;
    border: 1px solid #eee;
}

.compare .product-box {
    min-width: 210px;
    border-radius: 12px;
}

.compare .product-box .product-image {
    height: 150px;
}

.compare .product-box .product-image img {
    max-height: 140px;
    object-fit: contain;
}

.compare .product-box .product-title {
    min-height: 62px;
}

.compare .product-box .product-action {
    padding-top: 8px;
    gap: 8px;
}

/*========================== end page compare ==========================*/
/*========================== start page checkout ==========================*/
.image-selector ul {
    list-style-type: none;
    flex-wrap: wrap;
    gap: 10px;
}

.image-selector li {
    display: inline-block;
}

.image-selector input[type="radio"][id^="cb"] {
    display: none;
}

.image-selector label {
    border: 2px solid #fff;
    padding: 12px;
    display: block;
    position: relative;
    margin: 0;
    cursor: pointer;
    border-radius: 10px;
    min-height: 74px;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
}

.image-selector label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 2px solid var(--bs-gray-400);
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}

.image-selector label img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

.image-selector :checked + label {
    border-color: var(--main-color-one);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.image-selector :checked + label:before {
    content: "✓";
    background-color: var(--main-color-one);
    transform: scale(1);
}

.image-selector :checked + label img {
    transform: scale(0.9);
    z-index: -1;
    border-radius: 5px;
}

.send-item {
    min-width: 190px;
    min-height: 62px;
    padding: 10px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
}

.send-item.active {
    color: var(--main-color-one);
}

.detail-order {
    background-color: var(--bs-info-bg-subtle);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--bs-info);
}

.detail-order-item {
    gap: 8px;
    line-height: 1.9;
}

.detail-order-item h6 {
    min-width: 110px;
    margin-bottom: 0;
    font-weight: 800;
}

.detail-order .btn {
    min-width: 86px;
}

.content-box > .cart-product-item {
    margin-top: 28px !important;
    margin-bottom: 34px !important;
}

.content-box > .cart-product-item .cart-items {
    padding: 10px 12px;
    border-color: #eee !important;
}

.content-box > .cart-product-item .cart-items .image {
    text-align: center !important;
}

.content-box > .cart-product-item .cart-items .image img {
    max-height: 92px;
    object-fit: contain;
}

.content-box > .cart-product-item .cart-item-feature {
    margin-top: 12px !important;
}

.content-box > .cart-product-item .cart-item-feature .item:last-child {
    padding-top: 8px;
}

.show-discount-modal {
    border: 1px dashed var(--bs-gray-400);
    border-radius: 10px;
    padding-right: 16px !important;
    padding-left: 16px !important;
    background-color: #fff;
    line-height: 1.9;
}

.show-discount-modal > i {
    vertical-align: middle;
}

.delivary-payment-bank {
    padding-bottom: 8px;
}

.delivary-payment-bank .image-selector ul {
    gap: 12px;
}

.delivary-payment-bank .image-selector label {
    min-width: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivary-payment-bank .image-selector label img,
.delivary-payment-bank .image-selector input:checked + label img {
    display: block;
    opacity: 1;
    visibility: visible;
    filter: none;
    transform: none;
    z-index: 1;
    object-fit: contain;
}

.delivary-payment-bank .image-selector input:checked + label {
    background-color: #fff;
}

.checkout-quantity-control {
    margin-top: 2px;
}

/*========================== end page checkout ==========================*/
/*========================== start page delivery address ==========================*/
.da-parent {
    text-align: center;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    padding: 26px 16px;
}

.da-title {
    margin: 24px 0;
    line-height: 2;
}

.da-image img {
    width: 170px;
    max-width: 48vw;
}

.da-action .btn {
    min-width: 150px;
    min-height: 42px;
    border-radius: 10px;
}

#editModal .modal-content {
    border: 0;
    border-radius: 16px;
}

#editModal .modal-header {
    align-items: flex-start;
    padding: 22px 24px 14px;
    border-bottom-color: #eee;
}

.address-modal-description {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
    line-height: 1.9;
}

#editModal .modal-body {
    padding: 22px 24px 24px;
}

#address-form .form-label {
    margin-bottom: 8px;
    color: var(--color-site);
    font-size: 14px;
}

#address-form .form-control,
#address-form .form-select {
    min-height: 48px;
    border-radius: 10px;
    border-color: var(--bs-gray-300);
    font-size: 14px;
    transition: 0.2s all ease;
}

#address-form textarea.form-control {
    min-height: 112px;
    resize: vertical;
    line-height: 2;
}

#address-form .form-control:focus,
#address-form .form-select:focus {
    border-color: var(--main-color-one);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

#address-form [dir="ltr"] {
    text-align: left;
}

#address-form [aria-invalid="true"] {
    border-color: #dc3545;
}

.address-form-error {
    min-height: 22px;
    margin-top: 6px;
    color: #dc3545;
    font-size: 12px;
    line-height: 1.8;
}

.address-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.address-form-actions .btn {
    min-height: 46px;
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 10px;
    font-weight: 800;
}

.saved-address-card {
    border-bottom-color: #eee !important;
}

.saved-address-main p {
    margin-bottom: 0;
    color: var(--color-site);
    font-size: 15px;
    font-weight: 800;
    line-height: 2;
}

.saved-address-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.saved-address-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.saved-address-field {
    display: grid;
    grid-template-columns: 24px minmax(92px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #686868;
    line-height: 1.8;
}

.saved-address-field-wide {
    grid-column: 1 / -1;
}

.saved-address-icon {
    color: var(--main-color-one);
    font-size: 17px;
}

.saved-address-label {
    color: #777;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.saved-address-value {
    min-width: 0;
    color: var(--color-site);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.profile-details-card {
    padding: 20px;
    border-radius: 14px;
    background-color: #fff;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-detail-item {
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #fff;
}

.profile-detail-address {
    grid-column: 1 / -1;
}

.profile-detail-label {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.profile-detail-value {
    display: block;
    color: var(--color-site);
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.profile-modal-description {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
    line-height: 1.9;
}

#profile-edit-form .form-label {
    margin-bottom: 8px;
    color: var(--color-site);
    font-size: 14px;
}

#profile-edit-form .form-control,
#profile-edit-form .form-select {
    min-height: 48px;
    border-radius: 10px;
    border-color: var(--bs-gray-300);
    font-size: 14px;
    transition: 0.2s all ease;
}

#profile-edit-form textarea.form-control {
    min-height: 112px;
    resize: vertical;
    line-height: 2;
}

#profile-edit-form .form-control:focus,
#profile-edit-form .form-select:focus {
    border-color: var(--main-color-one);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

#profile-edit-form [dir="ltr"] {
    text-align: left;
}

#profile-edit-form [aria-invalid="true"] {
    border-color: #dc3545;
}

.profile-form-error {
    min-height: 22px;
    margin-top: 6px;
    color: #dc3545;
    font-size: 12px;
    line-height: 1.8;
}

.profile-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.profile-form-actions .btn {
    min-height: 46px;
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 10px;
    font-weight: 800;
}

/*========================== end page delivery address ==========================*/
/*========================== start pages payment ==========================*/
.payment {
    text-align: center;
    padding: 10px 0;
}

.payment-icon i {
    font-size: 7em;
    color: var(--main-color-green);
}

.payment-title {
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
    line-height: 2;
}

.payment-detail-item h5 {
    font-size: 16px;
    font-weight: bold;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.payment-detail-item:not(:last-child) {
    margin-left: 0;
}

.payment-detail-item {
    flex: 1 1 160px;
    padding: 12px;
    border-radius: 10px;
    background-color: #f8f8f8;
}

.payment-detail-item h6 {
    margin-bottom: 10px;
}

/*========================== end pages payment ==========================*/
/*========================== start about page ==========================*/
.time-work {
    line-height: 35px;
    margin-left: 20px;
    background-color: var(--main-color-one-shadow);
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 10px;
    color: var(--main-color-one);
    box-shadow: var(--shadow-box);
}

.time-work i {
    margin-left: 10px;
}

.about-us-image {
    text-align: center;
}

.about-us-image img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.about-us-desc {
    line-height: 2;
}

.about-us-text p {
    line-height: 2.2;
}

.about-us-social .navbar-nav {
    gap: 6px;
}

.about-us-social .nav-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f7f7f7;
}

.about-us-link {
    gap: 10px;
    flex-wrap: wrap;
}

.about-us-faq .accordion-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.about-us-faq .accordion-item:not(:last-child) {
    margin-bottom: 10px;
}

.about-us-faq .accordion-button {
    line-height: 1.8;
    padding: 14px 18px;
}

.about-us-faq .accordion-body {
    line-height: 2.1;
}

.footer-namad-item a img {
    height: 100px;
    object-fit: contain;
}

.footer-namad-item a {
    min-width: 120px;
    display: flex;
    justify-content: center;
}

.about-us-title h2 {
    font-size: 65px;
}

.about-us-title h3 {
    font-size: 55px;
}

/*========================== end about page ==========================*/
/*========================== start page blog ==========================*/
.blog-heeader .header-form .input-btn-search {
    background-color: #3a3b9c;
    color: #fff;
    top: 0;
    left: 0;
    height: 100%;
}

.blog-heeader .header-form .input-search {
    padding: 10px 10px;
}

.blog-menu .content-box {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.blog-menu-items .navbar-nav {
    gap: 6px;
}

.blog-menu-items .nav-link {
    border-radius: 10px;
    padding: 9px 12px;
    color: #515151;
}

.blog-menu-items .navbar-nav > .nav-item:first-child > .nav-link,
.blog-menu-items .nav-link:hover {
    color: var(--main-color-one);
    background-color: var(--main-color-one-shadow);
}

.blog-menu-social .nav-link {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.parent-blog-menu-level-2 {
    position: relative;
}

.parent-blog-menu-level-2:hover .blog-menu-level-2 {
    display: flex;
}

.blog-menu-level-2 a {
    transition: 0.3s;
}

.blog-menu-level-2 a:hover {
    color: var(--main-color-one);
}

.blog-menu-level-2 a i {
    float: left;
}

.blog-menu-level-2 {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    width: 200px;
    box-shadow: var(--shadow-box);
    border-radius: 10px;
    padding: 10px;
    z-index: 19;
}

.parent-blog-menu-level-3 {
    position: relative;
}

.parent-blog-menu-level-3:hover .blog-menu-level-3 {
    display: flex;
}

.blog-menu-level-3 {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    background-color: #fff;
    width: 200px;
    box-shadow: var(--shadow-box);
    border-radius: 10px;
    padding: 10px;
    z-index: 20;
}

.blog-post-card {
    padding: 20px 20px 15px 20px;
    border: 1px solid var(--bs-gray-400);
}

.blog-post-card:hover {
    border: 1px solid var(--main-color-two);
}

.blog-post-card-title {
    height: 30px;
}

.blog-post-card-description {
    height: 80px;
}

.blog-post-card-description p {
    line-height: 40px;
    font-size: 14px;
}

.blog-post-card-thumbnail img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.box-ui-title .icon-circle::before {
    transform: translateY(-90%);
}

.mini-blog-item {
    display: flex;
    align-items: flex-start;
    justify-content: start;
}

.mini-blog-item .desc {
    margin-right: 10px;
}

.mini-blog-item .title {
    margin-bottom: 10px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.mini-blog-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.mini-blog-item .image {
    position: relative;
    margin-bottom: 10px;
}

.mini-blog-item:not(:last-child) {
    margin-bottom: 10px;
}

.article-latest {
    padding: 20px 0;
}

.al {
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border-radius: 10px;
}

.al-header a {
    color: #0580ad;
    --border-color: #05ae65;
}

.al-item {
    margin-bottom: 5px;
    position: relative;
    border-bottom: 6px solid #bcbcbc;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    background-color: #fff;
}

.al-img {
    height: 100%;
}

.al-img img {
    display: flex;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.al-item:hover img {
    transform: scale(1.1);
}

.al-img img {
    border-radius: 10px;
}

.al-date {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    font-size: 13px;
    background-color: #ebbd18;
    color: #444;
    font-weight: 700;
}

.al-title {
    transition: 0.2s all linear;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.9;
    padding: 16px;
    font-weight: 800;
    -webkit-transition: 0.2s all linear;
    -moz-transition: 0.2s all linear;
    -ms-transition: 0.2s all linear;
    -o-transition: 0.2s all linear;
}

.al-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.88) 100%);
    transition: 0.3s all ease-out;
    -webkit-transition: 0.3s all ease-out;
    -moz-transition: 0.3s all ease-out;
    -ms-transition: 0.3s all ease-out;
    -o-transition: 0.3s all ease-out;
}

.grid-center {
    height: 270px;
}

.grid-img {
    height: 130px;
}

.blog-grid .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.blog-grid .col-lg-4 .al-title {
    font-size: 18px;
    padding: 20px;
}

.blog-post {
    margin-top: 30px;
}

.blog-post .row {
    --bs-gutter-y: 1.25rem;
}

.blog-post .blog-item {
    height: 100%;
    transition: 0.25s all ease;
}

.blog-post .blog-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-post .blog-item .image img {
    height: 210px;
}

.blog-post .blog-item .title {
    padding: 12px;
}

.blog-post .blog-item .title > .d-flex {
    gap: 8px;
}

.blog-post .blog-item .title-item {
    min-height: 32px;
}

.blog-post .blog-item .title-item:last-child {
    margin-left: 0 !important;
}

.blog-post .blog-item h4 {
    min-height: 52px;
    line-height: 1.8;
    margin-top: 14px;
    margin-bottom: 0;
}

.blog-post .my-paginate {
    margin-top: 18px !important;
}

/*========================== end page blog ==========================*/
/*========================== start page single blog ==========================*/
.blog-single-title {
    background-color: var(--main-color-one);
}

.blog-single-title-thumbnail img {
    height: 300px;
    object-fit: cover;
}

.blog-content-meta-detail {
    border-bottom: 1px solid #ddd;
    padding-bottom: 14px;
}

.blog-content-meta-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.8;
}

.blog-content-meta-detail-item h6 {
    margin: 0;
    font-weight: 800;
}

.blog-single-content {
    margin-top: 24px;
    line-height: 36px;
}

.blog-single-content p {
    line-height: 2.25;
    font-size: 16px;
    text-align: justify;
}

.blog-single-content h1,
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4,
.blog-single-content h5,
.blog-single-content h6 {
    line-height: 1.9;
    margin-bottom: 18px;
    margin-top: 25px;
}

.blog-card-items li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.blog-card-items ul li:last-child {
    border-bottom: none;
}

.blog-single-content img {
    display: block;
    margin: 18px auto;
    border-radius: 12px;
    max-width: 100%;
}

.blog-card .card-body {
    padding: 0 15px;
}

.blog-card-items ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
}

.blog-card-items ul li a span {
    width: 32px;
    height: 32px;
    line-height: 32px;
    background-color: var(--main-color-two);
    text-align: center;
    color: #fff;
}

.blog-single-content-meta + .blog-single-content {
    padding-top: 4px;
}

.blog-single-comment-items .content-box,
.blog-single-comment .content-box {
    border: 1px solid #eee;
}

.blog-single-comment .btn.main-color-one-bg {
    min-width: 130px;
    min-height: 42px;
    border-radius: 10px;
}

.blog-single-comment .form-check-label {
    line-height: 2;
    margin-right: 8px;
}

.box-ui {
    line-height: 1.9;
}

/*========================== end page single blog ==========================*/
/*========================== start register page ==========================*/
.bg-auth {
    background: url('../image/cosmetics/auth-background.webp') no-repeat;
    background-size: cover;
}

.comment-item {
    position: relative;
}

.comment-item label.label-float {
    position: absolute;
    top: 4px;
    background-color: #fff;
    right: 15px;
    padding: 5px;
}

.comment-item input.form-control, .comment-item select {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: right;
    border-radius: 10px;
    font-size: 14px;
}

.auth-form {
    padding: 15px;
    border: 1px solid #ccc;
}

.auth-form-title h2 {
    color: var(--color-site) !important;
}

.btn-login {
    padding: 12px 5px;
    background-color: var(--main-color-one);
    border-color: var(--main-color-one);
    font-size: 15px;
    border-radius: 0;
}

.btn-login:hover {
    background-color: var(--main-color-three);
    border-color: var(--main-color-three);
}

.loginTermsDesc {
    font-size: 14px;
    text-align: center;
    color: #333;
    direction: rtl;
    width: 90%;
    display: block;
    margin: auto;
}

a.underlined {
    position: relative;
    padding-bottom: 4px;
    text-decoration: none;
}

a.underlined:after {
    position: absolute;
    border-bottom: 1px solid #929292;
    content: "";
    right: 0;
    left: 0;
    bottom: 0;
}

.inline-btn-text {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
}

.bg-auth {
    background: url('../image/cosmetics/auth-background.webp') no-repeat;
    background-size: cover;
}

.comment-item {
    position: relative;
}

.comment-item label.label-float {
    position: absolute;
    top: -14px;
    background-color: #fff;
    right: 16px;
    padding: 5px 10px;
}

.comment-item input.form-control, .comment-item select {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: right;
    border-radius: 10px;
    font-size: 14px;
    border-color: var(--bs-gray-400);
}

.comment-item input.form-control:focus, .comment-item select:focus {
    border-color: var(--main-color-one);
}

.auth-logo {
    width: 125px;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.auth {
    padding: 28px 0;
}

.auth-items {
    width: 100%;
}

.auth-form {
    padding: 24px;
    border-color: var(--bs-gray-300);
    border-radius: 14px !important;
    box-shadow: var(--shadow-md) !important;
}

.auth-form-title {
    align-items: center;
    gap: 16px;
    margin-bottom: 24px !important;
    padding-bottom: 12px;
}

.auth-form-title h2 {
    margin-bottom: 0;
    font-weight: 900;
}

.auth-logo {
    width: 125px;
    max-width: 100%;
    max-height: 48px;
}

#form-auth,
#mobile-auth-form,
#otp-auth-form {
    padding-top: 12px !important;
    padding-bottom: 8px !important;
}

#form-auth .comment-item,
#mobile-auth-form .comment-item {
    margin-bottom: 24px !important;
}

#form-auth .step-username {
    margin-bottom: 26px !important;
}

#form-auth .comment-item label.label-float,
#mobile-auth-form .comment-item label.label-float {
    right: 18px;
    padding: 3px 9px;
    font-size: 13px;
}

#form-auth .comment-item input.form-control,
#form-auth .comment-item select,
#mobile-auth-form .comment-item input.form-control {
    min-height: 54px;
    padding-top: 16px;
    padding-bottom: 12px;
    border-radius: 12px;
    transition: 0.2s all ease;
}

#form-auth .comment-item input.form-control:focus,
#form-auth .comment-item select:focus,
#mobile-auth-form .comment-item input.form-control:focus {
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.step-passwd input.form-control {
    padding-left: 112px;
}

.inline-btn-text {
    left: 8px;
}

.inline-btn-text .btn {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 13px;
    white-space: nowrap;
}

.auth-form .btn.main-color-one-bg {
    min-height: 50px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.auth-description {
    color: #4f4f4f;
    font-size: 15px;
    line-height: 2;
    text-align: right;
}

.auth-description span {
    display: block;
    color: #777;
    font-size: 13px;
}

.auth-field-error {
    min-height: 22px;
    margin-top: 8px;
    color: #dc3545;
    font-size: 13px;
    line-height: 1.8;
}

#mobile-auth-form #mobile {
    direction: ltr;
    text-align: left;
}

.loginTermsDesc {
    max-width: 430px;
    line-height: 2 !important;
    margin-top: 16px !important;
    color: #515151;
}

.loginTermsDesc a {
    display: inline-block;
}

/* otp sms */
#otp-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    column-gap: 10px;
    row-gap: 10px;
    flex-wrap: nowrap;
    margin: 18px 0 8px;
}

.otp-mobile-display {
    padding: 10px 12px;
    border: 1px solid var(--bs-gray-200);
    border-radius: 12px;
    background: #f8f9fa;
    color: #555;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

#otp-input input {
    text-align: center;
    padding: 10px 8px 10px 8px;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    outline: none;
    height: 58px;
    width: 48px;
    font-weight: 800;
    font-size: 20px;
    transition: 0.2s all ease;
}

#otp-input .otp-digit[aria-invalid="true"],
#mobile-auth-form #mobile[aria-invalid="true"] {
    border-color: #dc3545;
}

#otp-input input:focus {
    border: 1px solid var(--main-color-one);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

#otp-input input:focus::placeholder {
    color: transparent;
}

#otp-input input::-webkit-outer-spin-button,
#otp-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#otp-input input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.otp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.otp-edit-mobile,
.otp-resend {
    font-size: 13px;
    line-height: 1.8;
}

.otp-edit-mobile {
    color: var(--main-color-one);
    text-decoration: none;
}

.otp-edit-mobile:hover {
    color: var(--main-color-three);
}

.otp-resend {
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
}

.otp-resend:not(:disabled) {
    color: var(--main-color-one);
    font-weight: 800;
}

/* end otp sms */
/* Countdown-bar General */
.countDownContainer {
    display: flex;
    justify-content: center;
}

div.countdown-bar {
    width: 0;
    height: 20px;
    margin: 40px 0;
    background-color: #aaa;
    border-radius: 5px;
}

/* Loader */
div.countdown-bar div:nth-of-type(1) {
    width: 0;
    height: 100%;
    border-radius: 5px;
}

/* Timer */
div.countdown-bar div:nth-of-type(2) {
    width: 100%;
    height: 100%;
}

div.countdown-bar div:nth-of-type(2) span {
    font-family: var(--font-site), serif !important;
}

div.countdown-bar span {
    display: block;
    text-align: center;
}

div.countdown-bar span a {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: normal;
    background: transparent;
    font-family: var(--font-site), serif;
}

div.countdown-bar div:nth-of-type(2) span {
    margin-top: 10px;
    display: block;
    text-align: center;
    font-weight: normal;
}

/* end otp loader */
.social-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-link a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    padding: 10px;
    color: #fff;
    font-size: 20px;
    transition: 0.3s all ease-in-out;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    line-height: 42px;
}

.social-link a.bi-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link a.bi-twitter {
    background: #098ecc;
}

.social-link a.bi-whatsapp {
    background: #04ac12;
}

.social-link a.bi-youtube {
    background: #ce0909;
}

.social-link a.bi-telegram {
    background: #0d80c8;
}

.social-link a.bi-linkedin {
    background: #0766a2;
}

.social-link a:hover {
    color: #fff;
    transform: translateY(-7px);
}

/*========================== end register page ==========================*/
/*========================== start panel page ==========================*/
.img-profile-panel {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.profile-box-nav .nav-item i {
    background-color: var(--main-color-one);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: inline-block;
    color: #fff;
    border-radius: 50%;
}

.profile-box-nav .nav-item.active i {
    background-color: var(--main-color-two);
}

.profile-box-nav .nav-item.active .nav-link {
    font-weight: bold;
    color: var(--main-color-one);
}

.profile-box-nav .nav-link {
    transition: 0.3s all ease-in-out;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 12px;
}

.profile-box-nav .nav-link:hover {
    color: var(--main-color-one);
    background-color: #fff;
}

.panel-box {
    position: relative;
    overflow: hidden;
}

.panel-box::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -33px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--main-color-one);
}

.panel-mini-card {
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    background-color: rgba(234, 234, 234, 0.3);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.panel-two-full-info-item .content {
    background-color: #fff;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    box-shadow: 0 30px 20px rgba(0, 0, 0, 0.02);
    padding: 26px 17px;
    border: 1px solid var(--bs-gray-400);
    min-height: 112px;
}

.icon-card {
    width: 54px;
    height: 54px;
    background-color: var(--main-color-one);
    border-radius: 11px;
    box-shadow: 0 37px 50px rgba(255, 131, 83, 0.25);
    margin-left: 13px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-card i {
    color: #fff;
    font-size: 25px;
}

.table-custom table {
    position: relative;
    margin-bottom: 0;
}

.table-custom table td {
    min-width: 200px;
}

.table-custom table::before {
    content: '';
    background-color: var(--main-color-two);
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: 0;
}

.slider-parent {
    background-color: #fff;
    margin-top: 7px;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 20px;
}

.slider-parent::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    -ms-transform: scaleX(0.9);
    transform: scaleX(0.9);
    background-color: rgba(33, 35, 65, 0.04);
    width: 100%;
    height: 100%;
    z-index: -2;
    border-radius: 10px;
}

.slider-parent::after {
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    -ms-transform: scaleX(0.95);
    transform: scaleX(0.95);
    background-color: rgba(33, 35, 65, 0.04);
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 10px;
}

.content .slider-parent.content-box,
.content .table-custom.slider-parent,
.orders .order-item.bg-white {
    border: 1px solid #eee;
}

.content .slider-parent.content-box .container-fluid {
    padding: 6px;
}

.content .comment-item {
    margin-bottom: 18px;
}

.content .comment-item label.label-float {
    right: 18px;
    padding: 4px 8px;
}

.content .comment-item input.form-control,
.content .comment-item select,
.content .comment-item textarea.form-control {
    min-height: 52px;
    border-radius: 10px;
}

.content .comment-item textarea.form-control {
    line-height: 2;
}

.content .comment-item + .btn,
.content form .btn.main-color-one-bg {
    min-height: 42px;
    border-radius: 10px;
}

.mini-box {
    background: var(--bs-gray-300);
    position: relative;
    padding: 30px 10px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-gray-400);
    box-shadow: var(--shadow-box);
}

.border-purple {
    border: 1px solid #805ad559;
}

.mini-box-icon {
    position: absolute;
    top: -15%;
    right: 50%;
    transform: translateX(50%);
}

.table-custom table {
    position: relative;
    z-index: 9;
}

.table-custom table td {
    min-width: 200px;
}

.table-custom table::before {
    content: '';
    background-color: var(--main-color-one);
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: 0;
}

.roundedTable {
    border-radius: 20px / 20px;
    border-spacing: 0;
    margin-bottom: 0;
}

.roundedTable th {
    padding: 4px;
}

.roundedTable tr td {
    border-right: none;
    border-bottom: none;
    padding: 12px 12px;
}

.roundedTable tr:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.roundedTable tr td:first-child {
    border-left: none;
}

.tab-panel-tbl {
    background-color: var(--bs-gray-200);
}

.tab-panel-tbl .nav-tabs li {
    margin-left: 10px;
}

.tab-panel-tbl .nav-tabs button.active {
    background-color: #fff;
}

.panel-latest-order {
    margin-top: 6px;
}

.panel-latest-order .main-table {
    box-shadow: none;
}

.panel-latest-order .roundedTable {
    border-radius: 14px;
    overflow: hidden;
}

.panel-latest-order .roundedTable tr {
    background-color: #fff;
    transition: 0.2s all ease;
}

.panel-latest-order .roundedTable tr:hover {
    background-color: #fafafa;
}

.panel-latest-order .roundedTable tr td {
    padding: 16px 12px;
    border-color: #eee;
}

.panel-latest-order h5 {
    margin-bottom: 0;
    line-height: 1.8;
    font-weight: 800;
}

.panel-latest-order .avatar-group {
    min-width: 118px;
}

.panel-latest-order .avatar.avatar-md {
    width: 42px;
    height: 42px;
}

.panel-latest-order .roundedTable tr td:nth-child(3) p:first-child,
.panel-latest-order .roundedTable tr td:nth-child(4) p:first-child {
    color: #515151 !important;
}

.panel-latest-order .roundedTable tr td:nth-child(4) p:last-child {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background-color: #f4f4f4;
}

.panel-latest-order .roundedTable .btn {
    min-width: 82px;
    min-height: 36px;
    border-radius: 10px;
    font-weight: 700;
}

#latest-order-pane .pagination.pagination-2 {
    gap: 6px;
    margin-top: 28px !important;
}

.order-list__table-body {
    min-height: 170px;
}

.order-list--empty {
    padding: 50px 0;
    text-align: center;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='25' ry='25' stroke='%23DDE2E9' stroke-width='6' stroke-dasharray='21%2c 21' stroke-dashoffset='38' stroke-linecap='square'/%3e%3c/svg%3e") !important;
    border-radius: 25px;
    margin: 20px 0;
}

.order-list__empty-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 800;
}

.detail-order {
    background-color: var(--bs-gray-200);
    padding: 10px;
    border-radius: 10px;
}

.bill-row__col:first-child {
    margin-left: 50px;
}

.bill-row__col {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bill-row__col label {
    white-space: nowrap;
}

.bill-row__col .cart__item-price {
    font-size: 22px;
    margin-left: 0;
}

.cart__item-price {
    margin-left: 20px;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.cart__item-price span {
    font-size: 12px;
}

.order-details__bill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-details__bill-title .order-details__bill-icon {
    width: 73px;
    height: 73px;
    margin: 15px auto 0;
}

.pagination.pagination-2 a.pageitem, .pagination.pagination-2 span.pageitem {
    width: auto;
}

.pagination.pagination-2 a, .pagination.pagination-2 span {
    border: none;
    text-align: center;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.4);
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.pagination.pagination-2 a.active, .pagination.pagination-2 span.active {
    background: #f44336;
    color: #fff;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 10px 27px -20px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: 0 10px 27px -20px rgba(0, 0, 0, 0.33);
    box-shadow: 0 10px 27px -20px rgba(0, 0, 0, 0.33);
}

/* start main table */
.responsive-table > table {
    width: 100%;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.responsive-table {
    overflow-x: auto;
    padding: 5px;
}

.main-table {
    margin-bottom: 0;
    padding: 10px;
    border-collapse: collapse;
    border-radius: 10px;
    border-style: hidden;
    box-shadow: 0 0 0 1px #ddd;
}

.main-table th {
    padding: 20px 0;
    font-size: 14px;
    vertical-align: middle;
}

.main-table tr {
    vertical-align: middle;
}

.main-table tr td.title {
    max-width: 280px;
    min-width: 280px;
}

.main-table tr td.counter {
    max-width: 180px;
    min-width: 180px;
}

/* end main table */
/* avatar */
.avatar {
    position: relative;
    width: 2.375rem;
    height: 2.375rem;
    cursor: pointer;
}

.avatar img {
    width: 100%;
    height: 100%;
    border: 1px solid var(--bs-gray-400) !important;
}

.avatar .avatar-initial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #69809a;
    font-weight: 600;
}

.avatar.avatar-online:after, .avatar.avatar-offline:after, .avatar.avatar-away:after, .avatar.avatar-busy:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 3px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    box-shadow: 0 0 0 2px #fff;
}

.avatar.avatar-online:after {
    background-color: #39da8a;
}

.avatar.avatar-offline:after {
    background-color: #69809a;
}

.avatar.avatar-away:after {
    background-color: #fdac41;
}

.avatar.avatar-busy:after {
    background-color: #ff5b5c;
}

.pull-up {
    transition: all 0.25s ease;
}

.pull-up:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
    z-index: 30;
    border-radius: 50%;
}

.avatar-xs {
    width: 1.625rem;
    height: 1.625rem;
}

.avatar-xs .avatar-initial {
    font-size: 0.625rem;
}

.avatar-xs.avatar-online:after, .avatar-xs.avatar-offline:after, .avatar-xs.avatar-away:after, .avatar-xs.avatar-busy:after {
    width: 0.325rem;
    height: 0.325rem;
    right: 1px;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
}

.avatar-sm .avatar-initial {
    font-size: 0.75rem;
}

.avatar-sm.avatar-online:after, .avatar-sm.avatar-offline:after, .avatar-sm.avatar-away:after, .avatar-sm.avatar-busy:after {
    width: 0.4rem;
    height: 0.4rem;
    right: 2px;
}

.avatar-md {
    width: 3rem;
    height: 3rem;
}

.avatar-md .avatar-initial {
    font-size: 1.125rem;
}

.avatar-md.avatar-online:after, .avatar-md.avatar-offline:after, .avatar-md.avatar-away:after, .avatar-md.avatar-busy:after {
    width: 0.6rem;
    height: 0.6rem;
    right: 4px;
}

.avatar-lg {
    width: 4rem;
    height: 4rem;
}

.avatar-lg .avatar-initial {
    font-size: 1.5rem;
}

.avatar-lg.avatar-online:after, .avatar-lg.avatar-offline:after, .avatar-lg.avatar-away:after, .avatar-lg.avatar-busy:after {
    width: 0.8rem;
    height: 0.8rem;
    right: 5px;
}

.avatar-xl {
    width: 4.5rem;
    height: 4.5rem;
}

.avatar-xl .avatar-initial {
    font-size: 1.875rem;
}

.avatar-xl.avatar-online:after, .avatar-xl.avatar-offline:after, .avatar-xl.avatar-away:after, .avatar-xl.avatar-busy:after {
    width: 0.9rem;
    height: 0.9rem;
    right: 6px;
}

.avatar-group .avatar {
    transition: all 0.25s ease;
}

.avatar-group .avatar img,
.avatar-group .avatar .avatar-initial {
    border: 2px solid #fff;
}

.avatar-group .avatar .avatar-initial {
    background-color: #8799ae;
}

.avatar-group .avatar:hover {
    z-index: 30;
    transition: all 0.25s ease;
}

.avatar-group .avatar {
    margin-left: -0.8rem;
}

.avatar-group .avatar:first-child {
    margin-left: 0;
}

.avatar-group .avatar-xs {
    margin-left: -0.65rem;
}

.avatar-group .avatar-sm {
    margin-left: -0.75rem;
}

.avatar-group .avatar-md {
    margin-left: -0.9rem;
}

.avatar-group .avatar-lg {
    margin-left: -1.5rem;
}

.avatar-group .avatar-xl {
    margin-left: -1.75rem;
}

.avatar-group .avatar {
    margin-right: -0.8rem;
    margin-left: 0;
}

.avatar-group .avatar-xs {
    margin-right: -0.65rem;
}

.avatar-group .avatar-sm {
    margin-right: -0.75rem;
}

.avatar-group .avatar-md {
    margin-right: -0.9rem;
}

.avatar-group .avatar-lg {
    margin-right: -1.5rem;
}

.avatar-group .avatar-xl {
    margin-right: -1.75rem;
}

/* end avatar */
/* start orders-item */
.ui-boxs {
    padding-bottom: 20px;
    border-radius: 10px;
}

.ui-box {
    margin-bottom: 20px;
}

.ui-box-white .ui-box-item-desc {
    background-color: #fff;
}

.ui-box-white .ui-box-item-title {
    background-color: #f7f7f7;
}

.ui-box-item {
    background: #fff;
    box-shadow: rgb(0 0 0 / 10%) 0 0 10px 0 !important;
}

.ui-box-item-title {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.ui-box-item-title h4 {
    font-size: 18px;
}

.ui-box-item-desc {
    background: #f7f7f7;
    padding: 10px;
}

/* end dashboard */
/*========================== end panel page ==========================*/
/*========================== start ticket page ==========================*/
.comment {
    display: block;
    position: relative;
    margin-bottom: 30px;
    padding-left: 66px
}

.comment .comment-author-ava {
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    width: 50px;
    border-radius: 50%;
    overflow: hidden
}

.comment .comment-author-ava > img {
    display: block;
    width: 100%
}

.comment .comment-body {
    position: relative;
    padding: 24px;
    border: 1px solid #e1e7ec;
    border-radius: 7px;
    background-color: #fff
}

.ticket-settings {
    line-height: 2;
}

.ticket-settings .ticket-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ticket-settings .badge {
    padding: 7px 10px;
}

.ticket-created-at {
    color: #555;
}

.ticket-title h6 {
    line-height: 2;
}

.panel-latest-order .card.slider-parent {
    border: 1px solid #eee;
}

.panel-latest-order .alert {
    line-height: 2;
    border-radius: 12px;
}

.panel-latest-order textarea.form-control {
    min-height: 180px;
    line-height: 2;
    border-radius: 10px;
}

.panel-latest-order input.form-control {
    min-height: 44px;
    border-radius: 10px;
}

.panel-latest-order form .btn {
    min-height: 44px;
    border-radius: 10px;
}

.comment .comment-body {
    box-shadow: var(--shadow-sm);
}

.comment.active .comment-body {
    background-color: #CEEFB5C9;
}

.comment.active .comment-author-ava {
    left: unset;
    right: 0;
}

.comment.active {
    display: block;
    position: relative;
    margin-bottom: 30px;
    padding-left: 0;
    padding-right: 60px;
}

.comment.active .comment-body::after, .comment.active .comment-body::before {
    left: 100%;
    right: -20px;
    border-left-color: #e1e7ec;
    border-right-color: transparent;
}

.comment.active .comment-body::after {
    border-right-color: var(--main-color-two-shadow);
    display: none;
}

.comment .comment-body::after,
.comment .comment-body::before {
    position: absolute;
    top: 12px;
    right: 100%;
    width: 0;
    height: 0;
    border: solid transparent;
    content: '';
    pointer-events: none
}

.comment .comment-body::after {
    border-width: 9px;
    border-color: transparent;
    border-right-color: #fff
}

.comment .comment-body::before {
    margin-top: -1px;
    border-width: 10px;
    border-color: transparent;
    border-right-color: #e1e7ec
}

.comment .comment-title {
    margin-bottom: 8px;
    color: #606975;
    font-size: 14px;
    font-weight: 500
}

.comment .comment-text {
    margin-bottom: 12px;
    line-height: 2.2;
}

.comment .comment-footer {
    display: table;
    width: 100%
}

.comment .comment-footer > .column {
    display: table-cell;
    vertical-align: middle
}

.comment .comment-footer > .column:last-child {
    text-align: right
}

.comment .comment-meta {
    color: #333;
    font-size: 13px
}

.comment .reply-link {
    transition: color .3s;
    color: #606975;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none
}

.comment .reply-link > i {
    display: inline-block;
    margin-top: -3px;
    margin-right: 4px;
    vertical-align: middle
}

.comment .reply-link:hover {
    color: #0da9ef
}

.comment.comment-reply {
    margin-top: 30px;
    margin-bottom: 0
}

/*========================== end ticket page ==========================*/
/*========================== start order page ==========================*/
/* start order process */
.steps .step {
    display: block;
    width: 100%;
    margin-bottom: 35px;
    text-align: center
}

.step.completed .step-title {
    font-weight: bold !important;
    padding-right: 15px;
    position: relative;
}

.step.completed .step-title::before {
    content: '\F26A';
    position: absolute;
    bottom: -35px;
    right: 50%;
    transform: translateX(50%);
    font-family: 'bootstrap-icons', serif;
    font-size: 20px;
    color: var(--main-color-one);
    margin-left: 60px;
    display: block;
}

.steps .step .step-icon-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 80px;
    text-align: center
}

.steps .step .step-icon-wrap::before,
.steps .step .step-icon-wrap::after {
    display: block;
    position: absolute;
    top: 50%;
    width: 50%;
    height: 3px;
    margin-top: -1px;
    background-color: #e1e7ec;
    content: '';
    z-index: 1
}

.steps .step .step-icon-wrap::before {
    left: 0;
}

.steps .step .step-icon-wrap::after {
    right: 0;
}

.steps .step .step-icon {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #e1e7ec;
    border-radius: 0;
    background-color: #f5f5f5;
    color: #374250;
    font-size: 38px;
    line-height: 81px;
    z-index: 5
}

.steps .step .step-title {
    margin-top: 16px;
    margin-bottom: 0;
    color: #606975;
    font-size: 14px;
    font-weight: 500
}

.steps .step.completed .step-icon-wrap::before,
.steps .step.completed .step-icon-wrap::after {
    background-color: var(--main-color-two);
}

.steps .step.completed .step-icon {
    border-color: var(--main-color-one);;
    background-color: var(--main-color-one);;
    color: #fff;
    border-radius: 10px;
}

.bg-faded {
    background-color: #f5f5f5 !important;
}

/* end order process */
.orders {
    padding: 10px 0;
}

.orders .order-item {
    border-radius: 14px;
}

.order-item-detail {
    border-bottom: 1px solid #ddd;
}

.order-item-detail:last-child {
    padding-bottom: 0;
    border-color: transparent;
}

.order-item-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 0 15px 0;
}

.order-item-status-item p {
    font-weight: bold;
    line-height: 2;
    margin-bottom: 0;
}

.order-item-status-item i {
    font-size: 25px;
    color: #009500;
}

.order-item-status-item span {
    margin-right: 5px;
}

.order-item-detail {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.order-item-detail .text-muted i {
    width: 22px;
    text-align: center;
    color: var(--main-color-one);
}

.order-item-detail img.img-thumbnail {
    border-radius: 12px;
}

.order-item-detail ul li {
    margin-left: 20px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 2;
}

.order-item-detail ul li:nth-last-child(1) {
    padding-bottom: 0;
}

.order-item-detail ul li span {
    margin-left: 7px;
}

.orders-item .order-item-detail {
    padding: 16px 0;
}

.orders-item .order-item-detail .btn {
    min-height: 42px;
    border-radius: 10px;
}

.steps-header {
    padding: .375rem;
    border-bottom: 1px solid #e7e7e7
}

.steps-header .progress {
    height: .25rem
}

.steps-body {
    display: table;
    table-layout: fixed;
    width: 100%
}

.step:last-child {
    border-right: 0
}

.step-indicator {
    display: block;
    position: absolute;
    top: .75rem;
    left: .75rem;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    background-color: #fff;
    font-size: .875rem;
    line-height: 1.375rem
}

.has-indicator {
    padding-right: 1.5rem;
    padding-left: 2.375rem
}

.has-indicator .step-indicator {
    top: 50%;
    margin-top: -.75rem
}

.step-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 auto .75rem;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    color: #888
}

.step:hover {
    color: rgba(0, 0, 0, 0.9);
    text-decoration: none
}

.step:hover .step-indicator {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    border-color: transparent;
    background-color: #f4f4f4
}

.step:hover .step-icon {
    color: rgba(0, 0, 0, 0.9)
}

.step-active,
.step-active:hover {
    color: rgba(0, 0, 0, 0.9);
    pointer-events: none;
    cursor: default
}

.step-active {
    font-weight: bold;
}

.step-active .step-indicator,
.step-active:hover .step-indicator {
    border-color: transparent;
    background-color: #5c77fc;
    color: #fff
}

.step-active .step-icon,
.step-active:hover .step-icon {
    color: var(--main-color-two)
}

.step-completed .step-indicator, .step-completed:hover .step-indicator {
    border-color: transparent;
    background-color: var(--main-color-one);
    color: #fff;
    line-height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-completed .step-indicator .feather,
.step-completed:hover .step-indicator .feather {
    width: .875rem;
    height: .875rem
}

/*========================== end order page ==========================*/
/*========================== start comment page ==========================*/
.ui-boxs {
    padding-bottom: 20px;
    border-radius: 10px;
}

.ui-box {
    margin-bottom: 20px;
}

.ui-box-white .ui-box-item-desc {
    background-color: #fff;
}

.ui-box-white .ui-box-item-title {
    background-color: #f7f7f7;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ui-box-item {
    border-radius: 10px;
    background: #fff;
    box-shadow: rgb(0 0 0 / 10%) 0 0 10px 0 !important;
}

.ui-box-item-title {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.ui-box-item-title h4 {
    font-size: 18px;
}

.ui-box-item-desc {
    background: #fff;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.comment-item-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.comment-item-rating i {
    color: #eaaf00;
    font-size: 20px;
}

.comment-item-desc {
    padding: 20px;
    border: 1px solid #ddd;
    width: 100%;
    border-radius: 7px;
    line-height: 2;
}

.comment-item p {
    margin: 0;
}

.comment-item p {
    margin: 10px 0;
}

.comment-item-avatar {
    margin: 10px 0 0 10px;
}

.comment-item-avatar-img a img {
    display: flex;
    border: 4px solid #e6e6e6;
}

.comment-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.content .orders .order-item .w-100-px.img-thumbnail {
    width: 96px !important;
    height: 96px;
    object-fit: contain;
    border-radius: 12px;
}

.content .orders .order-item .badge {
    padding: 6px 10px;
    border-radius: 999px;
}

.content .cart-canvas {
    height: 100%;
    transition: 0.3s all ease-in-out;
}

.content .cart-canvas img {
    max-height: 112px;
    object-fit: contain;
}

.content .cart-canvas h3 {
    line-height: 1.8;
    margin-bottom: 8px;
}

.content .cart-canvas .product-box-suggest-price ins {
    font-weight: 900;
    line-height: 1.4;
}

.content .cart-canvas-delete a {
    width: 36px;
    height: 36px;
}

.comment-date {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.comment-date-speractor {
    margin: 0 10px !important;
    font-size: 17px;
    font-weight: bolder;
}

.comment-date-date {
    font-size: 14px;
}

/*========================== end comment page ==========================*/
/*========================== start page 404 ==========================*/
.page-404 img {
    width: min(100%, 500px);
    max-height: 360px;
    object-fit: contain;
}

.page-404 h4 {
    line-height: 1.9;
}

.page-404 .btn {
    min-width: 130px;
    min-height: 42px;
    border-radius: 10px;
}

/*========================== start page 404 ==========================*/
/*========================== start contact us ==========================*/

.single_address p {
    min-height: 65px;
    height: auto;
    overflow-y: hidden;
    line-height: 2;
}

.single_address {
    height: 100%;
    border-radius: 14px;
    margin-bottom: 0;
}

.single_address .d-flex {
    min-height: 112px;
}

.panel-meta-item-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    line-height: 68px;
    text-align: center;
    background-color: var(--bs-green);
    border-radius: 20px;
    box-shadow: inset -1px 0 8px 4px rgb(255 254 254 / 28%);
    margin-left: 10px;
}

.panel-meta-item-icon i {
    font-size: 28px;
    color: #fff;
}

.contact-map {
    min-height: 360px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #eee;
}

.contact-title p {
    line-height: 2;
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.contact-title + .content-box {
    border: 1px solid #eee;
}

.contact-title + .content-box textarea.form-control {
    min-height: 150px;
    line-height: 2;
}

.table-custom .main-table .badge {
    padding: 7px 10px;
    border-radius: 999px;
}

.table-custom .main-table .btn-sm {
    min-height: 34px;
    border-radius: 9px;
}

.table-custom .main-table td p {
    line-height: 1.9;
}

body.bg-white > .container-xl {
    max-width: 1180px;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

body.bg-white > .container-xl h3 {
    line-height: 1.8;
    font-weight: 900;
}

body.bg-white > .container-xl .table {
    min-width: 980px;
    border-color: #ddd;
    line-height: 2;
}

body.bg-white > .container-xl .table th,
body.bg-white > .container-xl .table td {
    padding: 10px;
    vertical-align: middle;
}

body.bg-white > .container-xl .table thead th {
    background-color: #f7f7f7;
}

body.bg-white > .container-xl p {
    margin-bottom: 8px;
    line-height: 1.9;
}

body.bg-white > .container-xl #printPageButton {
    min-width: 120px;
    min-height: 42px;
    border-radius: 10px;
}

/*========================== end contact us ==========================*/

/*========================== cosmetics homepage ==========================*/
.cosmetics-homepage {
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-homepage .text-muted {
    color: var(--cosmetics-muted) !important;
}

.cosmetics-homepage .top-header-logo img {
    width: 138px;
    height: 72px;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.cosmetics-homepage .header .top-header-logo a {
    width: 140px;
    min-height: 72px;
    justify-content: center;
}

.cosmetics-homepage .offcanvas .top-header-logo img {
    width: 126px;
    height: 80px;
    max-height: 80px;
    object-fit: contain;
}

.cosmetics-homepage .offcanvas .top-header-logo {
    min-height: 80px;
}

.cosmetics-homepage .search-filed .search-input {
    background-color: var(--cosmetics-soft);
    border-color: var(--cosmetics-border);
}

.cosmetics-homepage .with-highlight::before {
    background-color: var(--cosmetics-highlight);
}

.cosmetics-homepage .section-title-title .Dottedsquare {
    background-image: radial-gradient(var(--cosmetics-highlight) 1px, transparent 2px);
}

.cosmetics-homepage .section-title-link .btn {
    background-color: var(--cosmetics-secondary-dark) !important;
    color: var(--cosmetics-text-inverse) !important;
}

.cosmetics-homepage .search-filed .search-btn,
.cosmetics-homepage .cart-button .main-color-two-bg {
    background-color: var(--cosmetics-secondary-soft) !important;
    color: var(--cosmetics-text) !important;
}

.cosmetics-homepage .section-title-link .btn:hover,
.cosmetics-homepage .section-title-link .btn:focus,
.cosmetics-homepage .section-title-link .btn:focus-visible,
.cosmetics-homepage .section-title-link .btn:active {
    background-color: var(--cosmetics-secondary-dark) !important;
    color: var(--cosmetics-text-inverse) !important;
}

.cosmetics-homepage .search-filed .search-btn:hover {
    background-color: var(--cosmetics-secondary) !important;
    color: var(--cosmetics-text) !important;
}

.cosmetics-homepage .section-title > .row {
    align-items: center;
}

.cosmetics-homepage .section-title-title,
.cosmetics-homepage .section-title-link {
    display: flex;
    min-height: 44px;
    align-items: center;
}

.cosmetics-homepage .section-title-title h2 {
    margin-bottom: 0;
}

.cosmetics-homepage .section-title-link {
    justify-content: flex-end;
}

.cosmetics-homepage #homeSlider.is-single-slide .swiper-pagination,
.cosmetics-homepage #homeSlider.is-single-slide .swiper-button-next,
.cosmetics-homepage #homeSlider.is-single-slide .swiper-button-prev {
    display: none !important;
}

.cosmetics-homepage .main-slider {
    padding: 14px 0 22px;
    background-color: var(--cosmetics-soft);
}

.cosmetics-homepage .cosmetics-hero-slide {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #f9b4bd;
}

.cosmetics-homepage .cosmetics-hero-slide picture {
    display: block;
}

.cosmetics-homepage .cosmetics-hero-slide img {
    display: block;
    width: 100%;
}

.cosmetics-homepage .cosmetics-hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 7%;
    width: 40%;
    transform: translateY(-50%);
    text-align: right;
}

.cosmetics-homepage .cosmetics-hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--cosmetics-primary-dark);
    font-size: 15px;
    font-weight: 800;
}

.cosmetics-homepage .cosmetics-hero-content h1 {
    max-width: 480px;
    color: var(--cosmetics-text);
    font-size: clamp(24px, 2.05vw, 34px);
    line-height: 1.55;
}

.cosmetics-homepage .cosmetics-hero-content p {
    max-width: 470px;
    margin: 17px 0 23px;
    color: #594451;
    font-size: 16px;
    line-height: 1.9;
}

.cosmetics-homepage .cosmetics-hero-content .btn {
    min-height: 42px;
    padding: 9px 22px;
    border-radius: 999px;
    background-color: var(--cosmetics-secondary-dark) !important;
}

.cosmetics-homepage .cosmetics-hero-content .btn:hover {
    background-color: var(--cosmetics-secondary) !important;
}

.cosmetics-homepage .suggetMoment .product-box {
    min-height: 400px;
    white-space: normal;
}

.cosmetics-homepage .suggetMoment .product-image img,
.cosmetics-homepage .cart-canvas img {
    object-fit: contain;
}

.cosmetics-homepage .feature-item {
    min-height: 134px;
    padding: var(--cosmetics-space-4) var(--cosmetics-space-3);
    background-color: var(--cosmetics-surface);
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    box-shadow: none;
    color: var(--cosmetics-text);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cosmetics-homepage .feature {
    margin: 0;
    padding: var(--cosmetics-space-5) 0 var(--cosmetics-space-6);
    background-color: var(--cosmetics-surface);
}

.cosmetics-homepage .feature-item .icon {
    border-color: var(--cosmetics-border-strong);
    border-radius: var(--cosmetics-radius-sm);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-homepage .feature-item .title h3,
.cosmetics-homepage .feature-item .title p {
    color: var(--cosmetics-text);
    line-height: 1.7;
}

.cosmetics-homepage .feature-item .title p {
    color: var(--cosmetics-text-muted);
}

.cosmetics-homepage .feature-item.active,
.cosmetics-homepage .feature-item:hover,
.cosmetics-homepage .feature-item:focus-within {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-surface-soft);
    box-shadow: inset 0 0 0 1px var(--cosmetics-primary);
    color: var(--cosmetics-text);
}

.cosmetics-homepage .feature-item.active h3,
.cosmetics-homepage .feature-item:hover h3,
.cosmetics-homepage .feature-item:focus-within h3 {
    color: var(--cosmetics-primary-dark) !important;
}

.cosmetics-homepage .feature-item.active p,
.cosmetics-homepage .feature-item:hover p,
.cosmetics-homepage .feature-item:focus-within p {
    color: var(--cosmetics-text-muted) !important;
}

.cosmetics-homepage .feature-item.active .icon,
.cosmetics-homepage .feature-item:hover .icon {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-homepage .categories {
    background-color: var(--cosmetics-soft);
}

.cosmetics-homepage .banner {
    background-color: #fff;
}

.cosmetics-homepage .cat-item {
    border-color: var(--cosmetics-border);
}

.cosmetics-homepage .cat-item-image img {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

/* Homepage catalog entry */
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-section {
    padding: 34px 0 38px;
    background-color: var(--cosmetics-soft);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-heading-content {
    min-width: 0;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-title {
    margin-bottom: 0;
    color: var(--cosmetics-text);
    font-size: clamp(21px, 2vw, 26px);
    line-height: 1.7;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-view-all {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border: 1px solid var(--cosmetics-secondary-dark);
    border-radius: 999px;
    background-color: var(--cosmetics-secondary-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-view-all:hover,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-view-all:focus,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-view-all:focus-visible {
    border-color: var(--cosmetics-secondary-dark);
    background-color: var(--cosmetics-secondary-dark);
    color: #fff;
    box-shadow: var(--shadow-md);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-view-all:focus,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-view-all:focus-visible,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card:focus,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card:focus-visible {
    outline: 3px solid var(--cosmetics-primary-dark);
    outline-offset: 3px;
    box-shadow: var(--cosmetics-focus-shadow), var(--shadow-md);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 18px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card {
    display: flex;
    height: 100%;
    min-width: 0;
    min-height: 128px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    color: var(--cosmetics-text);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card:hover {
    border-color: var(--cosmetics-highlight);
    color: var(--cosmetics-text);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card:focus,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card:focus-visible {
    border-color: var(--cosmetics-highlight);
    color: var(--cosmetics-text);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-media {
    position: relative;
    display: grid;
    width: 88px;
    height: 88px;
    min-width: 88px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background:
        radial-gradient(circle at center, rgb(242 184 207 / 36%) 0 24%, transparent 25%),
        var(--cosmetics-page-bg);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-media::before {
    width: 34px;
    height: 34px;
    border: 2px solid var(--cosmetics-highlight);
    border-radius: 50%;
    content: "";
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-media img {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    object-fit: contain;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-media img:not([src]),
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-media img[src=""] {
    display: none;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-content {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 4px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-title {
    display: -webkit-box;
    min-height: 54px;
    overflow: hidden;
    color: var(--cosmetics-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-subtitle {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-category-card-subtitle:empty {
    display: none;
}

/* Cosmetics homepage special offers */
.cosmetics-homepage .cosmetics-special-offer {
    padding: 42px 0 46px;
    background-color: #fff;
}

.cosmetics-homepage .cosmetics-special-offer-header {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.cosmetics-homepage .cosmetics-special-offer-title {
    position: relative;
    display: inline-block;
    margin: 0 0 5px;
    color: var(--cosmetics-text);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.6;
}

.cosmetics-homepage .cosmetics-special-offer-title::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 5px;
    width: 58%;
    height: 9px;
    border-radius: 999px;
    background-color: var(--cosmetics-highlight);
    content: "";
}

.cosmetics-homepage .cosmetics-special-offer-subtitle {
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 14px;
    line-height: 1.8;
}

.cosmetics-homepage .cosmetics-special-offer-header-actions,
.cosmetics-homepage .cosmetics-special-offer-nav {
    display: flex;
    align-items: center;
}

.cosmetics-homepage .cosmetics-special-offer-header-actions {
    flex: 0 0 auto;
    gap: 12px;
}

.cosmetics-homepage .cosmetics-special-offer-count {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.cosmetics-homepage .cosmetics-special-offer-count strong {
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
    font-weight: 900;
}

.cosmetics-homepage .cosmetics-special-offer-nav {
    gap: 8px;
}

.cosmetics-homepage .cosmetics-special-offer-prev,
.cosmetics-homepage .cosmetics-special-offer-next {
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--cosmetics-border);
    border-radius: 50%;
    background-color: #fff;
    color: var(--cosmetics-secondary-dark);
    font-size: 18px;
    line-height: 1;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    place-items: center;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cosmetics-homepage .cosmetics-special-offer-prev:hover,
.cosmetics-homepage .cosmetics-special-offer-next:hover {
    border-color: var(--cosmetics-secondary-dark);
    background-color: var(--cosmetics-secondary-dark);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.cosmetics-homepage .cosmetics-special-offer-prev.swiper-button-disabled,
.cosmetics-homepage .cosmetics-special-offer-next.swiper-button-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.cosmetics-homepage .cosmetics-special-offer-frame {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr);
    gap: 18px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 12%, rgb(242 184 207 / 32%) 0 70px, transparent 72px),
        linear-gradient(135deg, var(--cosmetics-soft), #fff7f1 55%, #f7f0fa);
    box-shadow: var(--shadow-md);
}

.cosmetics-homepage .cosmetics-special-offer-main,
.cosmetics-homepage .cosmetics-special-offer-list {
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.cosmetics-homepage .cosmetics-special-offer-main {
    overflow: hidden;
    border: 1px solid rgb(237 221 229 / 82%);
    border-radius: 20px;
    background-color: #fff;
}

.cosmetics-homepage .cosmetics-special-offer-main .swiper-wrapper {
    align-items: stretch;
}

.cosmetics-homepage .cosmetics-special-offer-slide {
    display: grid;
    height: auto;
    min-width: 0;
    min-height: 400px;
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    overflow: hidden;
    background-color: #fff;
    color: var(--cosmetics-text);
    text-decoration: none;
}

.cosmetics-homepage .cosmetics-special-offer-media {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 360px;
    overflow: hidden;
    place-items: center;
    border-left: 1px solid var(--cosmetics-border);
    background:
        radial-gradient(circle at center, rgb(242 184 207 / 24%), transparent 58%),
        var(--cosmetics-page-bg);
}

.cosmetics-homepage .cosmetics-special-offer-media img {
    display: block;
    width: min(88%, 360px);
    height: 330px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.cosmetics-homepage .cosmetics-special-offer-slide:hover .cosmetics-special-offer-media img {
    transform: scale(1.025);
}

.cosmetics-homepage .cosmetics-special-offer-discount {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

.cosmetics-homepage .cosmetics-special-offer-content {
    display: flex;
    min-width: 0;
    padding: clamp(24px, 3vw, 42px);
    align-items: flex-start;
    flex-direction: column;
}

.cosmetics-homepage .cosmetics-special-offer-label {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

.cosmetics-homepage .cosmetics-special-offer-product-title {
    display: -webkit-box;
    min-height: 66px;
    overflow: hidden;
    color: var(--cosmetics-text);
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 900;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cosmetics-homepage .cosmetics-special-offer-meta {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.cosmetics-homepage .cosmetics-special-offer-meta > span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 10px;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.7;
}

.cosmetics-homepage .cosmetics-special-offer-meta b {
    color: var(--cosmetics-text);
    font-weight: 800;
}

.cosmetics-homepage .cosmetics-special-offer-meta .cosmetics-special-offer-stock {
    color: #256b50;
    background-color: #eef9f4;
    border-color: #cfe9dc;
    font-weight: 800;
}

.cosmetics-homepage .cosmetics-special-offer-meta .cosmetics-special-offer-stock.is-out-of-stock {
    color: #8b3d54;
    background-color: #fff1f4;
    border-color: #f0ccd6;
}

.cosmetics-homepage .cosmetics-special-offer-pricing {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-homepage .cosmetics-special-offer-current-price {
    color: var(--cosmetics-primary-dark);
    font-size: clamp(21px, 2.1vw, 29px);
    font-weight: 900;
    line-height: 1.6;
    white-space: nowrap;
}

.cosmetics-homepage .cosmetics-special-offer-current-price small {
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-homepage .cosmetics-special-offer-old-price {
    color: var(--cosmetics-muted);
    font-size: 13px;
    line-height: 1.7;
    white-space: nowrap;
}

.cosmetics-homepage .cosmetics-special-offer-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 20px;
    border-radius: 999px;
    background-color: var(--cosmetics-secondary-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
    box-shadow: var(--shadow-sm);
}

.cosmetics-homepage .cosmetics-special-offer-slide.is-out-of-stock .cosmetics-special-offer-label {
    color: #8b3d54;
    background-color: #fff1f4;
    border-color: #f0ccd6;
}

.cosmetics-homepage .cosmetics-special-offer-slide.is-out-of-stock .cosmetics-special-offer-media img {
    opacity: 0.58;
    filter: saturate(0.7);
}

.cosmetics-homepage .cosmetics-special-offer-slide.is-out-of-stock .cosmetics-special-offer-cta {
    background-color: var(--cosmetics-muted);
}

.cosmetics-homepage .cosmetics-special-offer-list {
    height: 400px;
    padding: 2px;
}

.cosmetics-homepage .cosmetics-special-offer-item {
    display: flex;
    width: 100%;
    min-width: 0;
    height: auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: rgb(255 255 255 / 86%);
    color: var(--cosmetics-text);
    font-family: inherit;
    text-align: right;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cosmetics-homepage .cosmetics-special-offer-item:hover,
.cosmetics-homepage .cosmetics-special-offer-item.swiper-slide-thumb-active {
    border-color: var(--cosmetics-primary);
    background-color: #fff;
    box-shadow: var(--shadow-md);
}

.cosmetics-homepage .cosmetics-special-offer-item-media {
    display: grid;
    width: 68px;
    height: 68px;
    min-width: 68px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-homepage .cosmetics-special-offer-item-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cosmetics-homepage .cosmetics-special-offer-item-content {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 5px;
}

.cosmetics-homepage .cosmetics-special-offer-item-content > span {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cosmetics-homepage .cosmetics-special-offer-item-content small {
    overflow: hidden;
    color: var(--cosmetics-primary-dark);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.7;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cosmetics-homepage .cosmetics-special-offer-item.is-out-of-stock {
    background-color: rgb(255 249 250 / 90%);
}

.cosmetics-homepage .cosmetics-special-offer-item.is-out-of-stock img {
    opacity: 0.58;
    filter: saturate(0.7);
}

.cosmetics-homepage .cosmetics-special-offer-item.is-out-of-stock small {
    color: #8b3d54;
}

.cosmetics-homepage .cosmetics-special-offer-slide:focus,
.cosmetics-homepage .cosmetics-special-offer-slide:focus-visible,
.cosmetics-homepage .cosmetics-special-offer-item:focus,
.cosmetics-homepage .cosmetics-special-offer-item:focus-visible,
.cosmetics-homepage .cosmetics-special-offer-prev:focus,
.cosmetics-homepage .cosmetics-special-offer-prev:focus-visible,
.cosmetics-homepage .cosmetics-special-offer-next:focus,
.cosmetics-homepage .cosmetics-special-offer-next:focus-visible {
    outline: 3px solid var(--cosmetics-primary-dark);
    outline-offset: 3px;
}

.cosmetics-homepage .cosmetics-special-offer-slide:focus,
.cosmetics-homepage .cosmetics-special-offer-slide:focus-visible {
    outline-offset: -4px;
    box-shadow: inset 0 0 0 4px rgb(217 70 141 / 20%);
}

.cosmetics-homepage .cosmetics-special-offer [hidden],
.cosmetics-homepage .cosmetics-special-offer-discount:empty,
.cosmetics-homepage .cosmetics-special-offer-old-price:empty {
    display: none !important;
}

.cosmetics-homepage .cosmetics-special-offer.is-single-offer .cosmetics-special-offer-frame,
.cosmetics-homepage .cosmetics-special-offer.has-no-offer-list .cosmetics-special-offer-frame {
    grid-template-columns: minmax(0, 1fr);
}

.cosmetics-homepage .cosmetics-special-offer.is-single-offer .cosmetics-special-offer-list,
.cosmetics-homepage .cosmetics-special-offer.is-single-offer .cosmetics-special-offer-nav,
.cosmetics-homepage .cosmetics-special-offer.has-no-offer-list .cosmetics-special-offer-list {
    display: none;
}

.cosmetics-homepage .cosmetics-special-offer.is-single-offer .cosmetics-special-offer-main .swiper-wrapper {
    transform: none !important;
}

.cosmetics-homepage .cosmetics-special-offer.is-single-offer .cosmetics-special-offer-slide {
    width: 100% !important;
}

.cosmetics-homepage .banner-item img {
    width: 100%;
    aspect-ratio: 1200 / 418;
    object-fit: cover;
}

.cosmetics-homepage .product-group .slider-parent {
    margin-top: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
}

.cosmetics-homepage .product-group .slider-parent::before,
.cosmetics-homepage .product-group .slider-parent::after {
    display: none;
}

.cosmetics-homepage .product-group {
    padding: 42px 0;
    background-color: var(--cosmetics-bg);
}

.cosmetics-homepage .cosmetics-home-section-heading {
    margin-bottom: var(--cosmetics-space-5);
}

.cosmetics-homepage .cosmetics-home-section-heading .section-title-title {
    min-width: 0;
}

.cosmetics-homepage .cosmetics-home-section-heading h2 {
    margin-bottom: 0;
    color: var(--cosmetics-text);
    font-size: clamp(21px, 2vw, 26px);
    line-height: 1.7;
}

.cosmetics-homepage .product-group-item {
    height: 100%;
    min-width: 0;
    padding: var(--cosmetics-space-5);
    overflow: hidden;
    border-radius: var(--cosmetics-radius-lg);
    background-color: var(--cosmetics-surface-soft);
}

.cosmetics-homepage .product-group-item > .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
}

.cosmetics-homepage .product-group .col-lg-3:not(:last-child),
.cosmetics-homepage .product-group-item .col-6:nth-child(1),
.cosmetics-homepage .product-group-item .col-6:nth-child(2),
.cosmetics-homepage .product-group-item .col-6:nth-child(odd) {
    border: 0 !important;
}

.cosmetics-homepage .product-group-item .col-6 {
    padding-top: 0;
    padding-bottom: 0;
}

.cosmetics-homepage .product-group-link {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    padding: var(--cosmetics-space-3);
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cosmetics-homepage .product-group-link:hover {
    border-color: var(--cosmetics-border-strong);
    box-shadow: var(--cosmetics-shadow-sm);
    transform: translateY(-2px);
}

.cosmetics-homepage .product-group-link:focus,
.cosmetics-homepage .product-group-link:focus-visible {
    outline: 3px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
    border-color: var(--cosmetics-primary);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-homepage .product-group-item img {
    width: 100%;
    height: 166px;
    padding: var(--cosmetics-space-3);
    border: 0;
    border-radius: var(--cosmetics-radius-sm);
    background-color: var(--cosmetics-surface-soft);
    object-fit: contain;
}

.cosmetics-homepage .product-group-name {
    display: -webkit-box;
    min-height: 52px;
    margin-top: var(--cosmetics-space-3);
    overflow: hidden;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cosmetics-homepage .product-group-price {
    display: block;
    margin-top: auto;
    padding-top: var(--cosmetics-space-2);
    color: var(--cosmetics-primary-dark);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.cosmetics-homepage .product-group-footer {
    padding-top: var(--cosmetics-space-4);
}

.cosmetics-homepage .product-group-action {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: var(--cosmetics-space-2);
    padding: 7px 16px;
    border: 1px solid var(--cosmetics-secondary);
    border-radius: var(--cosmetics-radius-pill);
    color: var(--cosmetics-secondary-active);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.cosmetics-homepage .product-group-action:hover {
    border-color: var(--cosmetics-secondary-active);
    background-color: var(--cosmetics-secondary-active);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-homepage .product-group-action:focus,
.cosmetics-homepage .product-group-action:focus-visible {
    outline: 3px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
    border-color: var(--cosmetics-secondary-active);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-homepage .quick-select {
    padding: 42px 0 !important;
    background-color: var(--cosmetics-soft);
}

.cosmetics-homepage .mini-box {
    min-height: 150px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md) !important;
    box-shadow: none !important;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.cosmetics-homepage .mini-box:hover {
    border-color: var(--cosmetics-border-strong);
    background-color: var(--cosmetics-surface-soft) !important;
    transform: translateY(-2px);
}

.cosmetics-homepage .cosmetics-guide-card-link {
    min-height: 118px;
    padding: var(--cosmetics-space-2);
    border-radius: var(--cosmetics-radius-sm);
}

.cosmetics-homepage .cosmetics-guide-card-link:focus,
.cosmetics-homepage .cosmetics-guide-card-link:focus-visible {
    outline: 3px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-homepage .mini-box i {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background-color: var(--cosmetics-surface-soft);
}

.cosmetics-homepage .mini-box h3 {
    color: var(--cosmetics-text);
    font-size: 16px;
    line-height: 1.7;
}

.cosmetics-homepage .mini-box p {
    padding: 0 8px;
    color: var(--cosmetics-text-muted) !important;
    line-height: 1.8;
}

.cosmetics-homepage .blog-slider .swiper-slide {
    height: auto;
}

.cosmetics-homepage .blog-slider {
    padding: 42px 0 46px;
    background-color: var(--cosmetics-surface);
}

.cosmetics-homepage .blog-item {
    height: 100%;
    overflow: hidden;
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-lg);
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cosmetics-homepage .blog-item > a {
    display: block;
    height: 100%;
}

.cosmetics-homepage .blog-item:hover {
    border-color: var(--cosmetics-border-strong);
    box-shadow: var(--cosmetics-shadow-sm);
    transform: translateY(-2px);
}

.cosmetics-homepage .blog-item > a:focus,
.cosmetics-homepage .blog-item > a:focus-visible {
    outline: 3px solid var(--cosmetics-focus-ring);
    outline-offset: -3px;
    border-radius: inherit;
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-homepage .blog-item .image {
    overflow: hidden;
    background-color: var(--cosmetics-surface-soft);
}

.cosmetics-homepage .blog-item .image img {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    object-fit: cover;
}

.cosmetics-homepage .blog-item .title {
    padding: var(--cosmetics-space-4);
}

.cosmetics-homepage .blog-item .title-item.main-color-one-bg {
    background-color: var(--cosmetics-surface-strong) !important;
}

.cosmetics-homepage .blog-item .title-item span.text-white {
    color: var(--cosmetics-primary-dark) !important;
}

.cosmetics-homepage .blog-item h3 {
    margin-top: var(--cosmetics-space-4);
    color: var(--cosmetics-text);
    line-height: 1.8;
}

.cosmetics-homepage .blog-description {
    color: var(--cosmetics-text-muted) !important;
    font-size: 13px;
    line-height: 2;
}

.cosmetics-homepage .cosmetics-home-view-all {
    min-height: 44px;
    padding: 9px 20px;
    border-radius: var(--cosmetics-radius-pill);
    color: var(--cosmetics-text-inverse) !important;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-homepage .cosmetics-home-view-all:focus,
.cosmetics-homepage .cosmetics-home-view-all:focus-visible {
    outline: 3px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
    box-shadow: var(--cosmetics-focus-shadow), var(--cosmetics-shadow-sm);
}

@media (prefers-reduced-motion: reduce) {
    .cosmetics-homepage .product-group-link,
    .cosmetics-homepage .mini-box,
    .cosmetics-homepage .blog-item {
        transition: none;
    }

    .cosmetics-homepage .product-group-link:hover,
    .cosmetics-homepage .mini-box:hover,
    .cosmetics-homepage .blog-item:hover {
        transform: none;
    }
}

/*========================== canonical cosmetics public footer ==========================*/

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer {
    position: relative;
    margin-top: 72px;
    padding: 0 0 28px;
    overflow: visible;
    border: 0;
    background: linear-gradient(
        180deg,
        transparent 0,
        transparent 54px,
        var(--cosmetics-footer-bg) 54px,
        var(--cosmetics-footer-bg) 100%
    );
    box-shadow: none;
    color: var(--cosmetics-text);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-shell {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 24px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-strip {
    position: relative;
    z-index: 2;
    display: grid;
    width: calc(100% - 96px);
    max-width: 1120px;
    min-height: 88px;
    margin: 0 auto -44px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgb(217 70 141 / 18%);
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 18px 42px rgb(67 37 59 / 16%);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-item {
    display: flex;
    min-width: 0;
    min-height: 88px;
    align-items: center;
    gap: 13px;
    padding: 16px 24px;
    color: var(--cosmetics-text);
    text-align: right;
}

:is(.cosmetics-homepage, .cosmetics-page) a.cosmetics-footer-contact-item {
    transition: background-color 180ms ease, color 180ms ease;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-item + .cosmetics-footer-contact-item {
    border-right: 1px solid var(--cosmetics-border);
}

:is(.cosmetics-homepage, .cosmetics-page) a.cosmetics-footer-contact-item:hover {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(217 70 141 / 17%);
    border-radius: 15px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 20px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-content,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-label,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-value {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-label {
    margin-bottom: 4px;
    color: var(--cosmetics-muted);
    font-size: 12px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-contact-value {
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-main {
    position: relative;
    z-index: 1;
    padding: 62px 40px 40px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 34px;
    background-color: var(--cosmetics-footer-deep);
    box-shadow: 0 24px 58px rgb(67 37 59 / 17%);
    color: #fff;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-back-to-top {
    display: flex;
    width: max-content;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 12px;
    background-color: rgb(255 255 255 / 9%);
    color: rgb(255 255 255 / 86%);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    margin: 0 auto 22px 0;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-back-to-top:hover {
    border-color: rgb(242 184 207 / 72%);
    background-color: rgb(255 255 255 / 14%);
    color: #fff;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.2fr) minmax(360px, 1.15fr) minmax(245px, 0.85fr);
    gap: 42px;
    align-items: start;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-brand,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-links,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-assurance,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter {
    min-width: 0;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-logo {
    display: inline-flex;
    width: 174px;
    max-width: 100%;
    min-height: 66px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 7px 13px;
    border-radius: 18px;
    background-color: #fff;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-logo img {
    display: block;
    width: 150px;
    height: 50px;
    max-width: 100%;
    object-fit: contain;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-brand h2,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group h3,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust h3,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter h3,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-social-block h3 {
    margin: 0;
    color: #fff;
    font-weight: 900;
    line-height: 1.8;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-brand h2 {
    max-width: 28ch;
    font-size: 18px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-description {
    max-width: 42ch;
    margin: 10px 0 0;
    color: rgb(255 255 255 / 73%);
    font-size: 13px;
    line-height: 2.05;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-social-block {
    margin-top: 22px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-social-block h3 {
    margin-bottom: 11px;
    font-size: 13px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-social a {
    display: inline-flex;
    width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 12px;
    background-color: rgb(255 255 255 / 9%);
    color: #fff;
    font-size: 17px;
    line-height: 1;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-social a:hover {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-primary-dark);
    transform: translateY(-2px);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group h3,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust h3,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter h3 {
    position: relative;
    margin-bottom: 15px;
    padding-right: 15px;
    font-size: 15px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group h3::before,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust h3::before,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter h3::before {
    position: absolute;
    top: 0.8em;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 3px;
    background-color: var(--cosmetics-highlight);
    content: "";
    transform: translateY(-50%) rotate(12deg);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group li + li {
    margin-top: 3px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group a {
    position: relative;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 4px 14px 4px 0;
    color: rgb(255 255 255 / 74%);
    font-size: 13px;
    line-height: 1.75;
    transition: color 180ms ease, transform 180ms ease;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group a::before {
    position: absolute;
    right: 1px;
    color: var(--cosmetics-highlight);
    content: "•";
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-link-group a:hover {
    color: #fff;
    transform: translateX(-3px);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-assurance {
    display: grid;
    gap: 18px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust,
:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter {
    padding: 18px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 20px;
    background-color: var(--cosmetics-footer-deep-raised);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust-item {
    display: inline-flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgb(255 255 255 / 34%);
    border-radius: 15px;
    background-color: #fff;
    transition: border-color 180ms ease, transform 180ms ease;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust-item:hover {
    border-color: var(--cosmetics-highlight);
    transform: translateY(-2px);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-trust-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter p {
    margin: -4px 0 13px;
    color: rgb(255 255 255 / 70%);
    font-size: 12px;
    line-height: 1.9;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter-form label {
    min-width: 0;
    flex: 1 1 auto;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter .form-control {
    min-height: 43px;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 12px;
    background-color: #fff;
    color: var(--cosmetics-text);
    font-size: 12px;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter .form-control::placeholder {
    color: #91838c;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter .form-control:focus {
    border-color: var(--cosmetics-highlight);
    box-shadow: 0 0 0 3px rgb(242 184 207 / 24%);
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter .btn {
    min-width: 62px;
    min-height: 43px;
    flex: 0 0 auto;
    margin: 0 !important;
    border: 0;
    border-radius: 12px;
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-newsletter .btn:hover {
    background-color: #9f2866;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-bottom {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin-inline: 18px;
    padding: 14px 18px 0;
    border-top: 1px solid rgb(217 70 141 / 12%);
    text-align: center;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer-bottom p {
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.9;
}

:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-footer :is(a, button, input):focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

:is(.cosmetics-homepage, .cosmetics-page) .progress-wrap {
    width: 42px;
    height: 42px;
    left: 28px;
    bottom: 22px;
    padding: 0;
    border: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-surface);
    box-shadow: var(--shadow-md);
}

:is(.cosmetics-homepage, .cosmetics-page) .progress-wrap::after {
    width: 40px;
    height: 40px;
    color: var(--cosmetics-secondary-dark);
    font-size: 20px;
    line-height: 40px;
}

:is(.cosmetics-homepage, .cosmetics-page) .progress-wrap svg.progress-circle path {
    stroke: var(--cosmetics-primary);
    stroke-width: 4;
}

/*========================== end canonical cosmetics public footer ==========================*/
/*========================== end cosmetics homepage ==========================*/

/*========================== cosmetics non-homepage foundation ==========================*/
/*
 * Opt-in foundation for storefront pages outside the approved homepage.
 * Nothing in this section applies unless the body has the cosmetics-page class.
 */

.cosmetics-page {
    min-height: 100vh;
    background-color: var(--cosmetics-bg);
    color: var(--cosmetics-text);
}

.cosmetics-page .text-muted {
    color: var(--cosmetics-text-muted) !important;
}

.cosmetics-page :focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

/* public and authenticated chrome */
.cosmetics-page .header {
    padding: 10px 0;
    border-bottom: 1px solid var(--cosmetics-border);
    background-color: rgb(255 255 255 / 96%);
    box-shadow: var(--cosmetics-shadow-sm);
    backdrop-filter: blur(12px);
}

.cosmetics-page .top-header {
    min-height: 72px;
}

.cosmetics-page .top-header-logo a {
    display: flex;
    width: 140px;
    min-height: 72px;
    align-items: center;
    justify-content: center;
}

.cosmetics-page .top-header-logo img,
.cosmetics-page .cosmetics-logo {
    width: 138px;
    height: 72px;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.cosmetics-page .offcanvas .top-header-logo {
    min-height: 80px;
}

.cosmetics-page .offcanvas .top-header-logo img {
    width: 126px;
    height: 80px;
    max-height: 80px;
    object-fit: contain;
}

.cosmetics-page .search-filed {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-soft);
    box-shadow: none;
}

.cosmetics-page .search-filed .search-input {
    min-height: 46px;
    border-color: transparent;
    background-color: transparent;
    color: var(--cosmetics-text);
}

.cosmetics-page .search-filed .search-input::placeholder {
    color: var(--cosmetics-muted);
}

.cosmetics-page .search-filed .search-input:focus {
    border-color: transparent;
    box-shadow: none;
}

.cosmetics-page .search-filed:focus-within {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page .search-filed .search-btn {
    background-color: var(--cosmetics-secondary-soft) !important;
    color: var(--cosmetics-text) !important;
}

.cosmetics-page .search-filed .search-btn:hover,
.cosmetics-page .search-filed .search-btn:focus-visible {
    background-color: var(--cosmetics-secondary-hover) !important;
    color: var(--cosmetics-text-inverse) !important;
}

.cosmetics-page .auth-link .auth-btn,
.cosmetics-page .cart-button a,
.cosmetics-page .cosmetics-header-action {
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-pill);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .auth-link .auth-btn:hover,
.cosmetics-page .cart-button a:hover,
.cosmetics-page .cosmetics-header-action:hover {
    border-color: var(--cosmetics-highlight);
    color: var(--cosmetics-primary-dark);
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cart-button .main-color-two-bg {
    background-color: var(--cosmetics-secondary-soft) !important;
    color: var(--cosmetics-text) !important;
}

.cosmetics-page .btn-responsive-menu {
    width: 42px;
    height: 42px;
    border: 1px solid var(--cosmetics-border) !important;
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .auth-dropdown {
    border-radius: var(--cosmetics-radius-pill);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
}

.cosmetics-page .auth-dropdown .avatar {
    border: 2px solid var(--cosmetics-highlight);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .top-header-link .dropdown-menu {
    padding: var(--cosmetics-space-2);
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .top-header-link .dropdown-item {
    border-radius: 9px;
    color: var(--cosmetics-text);
}

.cosmetics-page .top-header-link .dropdown-item:hover,
.cosmetics-page .top-header-link .dropdown-item:focus {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page #offcanvasCart .offcanvas-header {
    border-bottom: 1px solid var(--cosmetics-border);
    box-shadow: none !important;
}

.cosmetics-page #offcanvasCart .offcanvas-body {
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cart-canvas {
    border-bottom-color: var(--cosmetics-border);
}

.cosmetics-page .cart-canvas img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.cosmetics-page .cart-canvas-foots {
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px 14px 0 0;
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .footer {
    margin-top: 38px;
    padding-top: 38px;
    border-top: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-footer-bg);
}

.cosmetics-page .footer-contact {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .footer-contact-image {
    width: 164px;
    max-width: 100%;
}

.cosmetics-page .footer-contact-image a {
    display: flex;
    width: 100%;
    min-height: 80px;
    align-items: center;
    justify-content: center;
}

.cosmetics-page .footer-contact-image img {
    width: 156px;
    height: 80px;
    max-height: 80px;
    object-fit: contain;
}

.cosmetics-page .footer-contact-call .navbar-nav {
    gap: 4px 22px;
}

.cosmetics-page .footer-contact-call .nav-link,
.cosmetics-page .footer-col .nav-link,
.cosmetics-page .footer-description p,
.cosmetics-page .footer-copyright p {
    color: var(--cosmetics-muted);
}

.cosmetics-page .footer-col {
    margin-top: 28px;
}

.cosmetics-page .footer-col .nav-link:hover {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .footer-form {
    width: 100%;
}

.cosmetics-page .footer-form form .d-flex {
    align-items: stretch;
    gap: var(--cosmetics-space-2);
}

.cosmetics-page .footer-form .form-control {
    min-height: 44px;
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
}

.cosmetics-page .footer-form .form-control:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page .footer-form .btn {
    min-width: 58px;
    min-height: 44px;
    margin-right: 0 !important;
    border-radius: var(--cosmetics-radius-md);
    flex: 0 0 auto;
}

.cosmetics-page .footer-description {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .footer-description img {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-surface);
}

.cosmetics-page .footer-copyright {
    margin-top: 20px !important;
    padding-top: 18px;
    border-color: var(--cosmetics-border);
}

.cosmetics-page .mobile-footer {
    border-top: 1px solid var(--cosmetics-border);
    background-color: rgb(255 255 255 / 97%) !important;
    box-shadow: 0 -8px 24px rgb(112 50 82 / 10%) !important;
    backdrop-filter: blur(12px);
}

.cosmetics-page .mobile-footer .mf-link {
    color: var(--cosmetics-muted);
}

.cosmetics-page .mobile-footer .mf-link:hover,
.cosmetics-page .mobile-footer .mf-link:focus-visible,
.cosmetics-page .mobile-footer .mf-link.active {
    color: var(--cosmetics-primary-dark);
}

/* surfaces, cards and sections */
.cosmetics-page .cosmetics-section {
    padding-block: 28px;
}

.cosmetics-page .cosmetics-surface,
.cosmetics-page .cosmetics-card,
.cosmetics-page .cosmetics-form-card,
.cosmetics-page .content-box {
    border: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-surface);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-surface,
.cosmetics-page .cosmetics-form-card,
.cosmetics-page .content-box {
    border-radius: var(--cosmetics-radius-lg);
}

.cosmetics-page .cosmetics-form-card {
    padding: var(--cosmetics-space-5);
}

.cosmetics-page .cosmetics-card {
    height: 100%;
    padding: 20px;
    border-radius: var(--cosmetics-radius-md);
}

.cosmetics-page .cosmetics-card-flat {
    box-shadow: none;
}

.cosmetics-page .cosmetics-card-elevated {
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-card-interactive {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cosmetics-page .cosmetics-card-interactive:hover,
.cosmetics-page .cosmetics-card-interactive:focus-within {
    border-color: var(--cosmetics-highlight);
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-breadcrumb,
.cosmetics-page .bread-crumb .breadcrumb {
    padding: 10px 14px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-breadcrumb a,
.cosmetics-page .bread-crumb .breadcrumb a {
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-breadcrumb a:hover,
.cosmetics-page .bread-crumb .breadcrumb a:hover {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-breadcrumb .active,
.cosmetics-page .bread-crumb .breadcrumb .active {
    color: var(--cosmetics-primary-dark) !important;
}

.cosmetics-page .cosmetics-section-title,
.cosmetics-page .section-title-title {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
}

.cosmetics-page .cosmetics-section-title {
    position: relative;
    margin-bottom: 20px;
    padding-right: 18px;
}

.cosmetics-page .cosmetics-section-title::before {
    position: absolute;
    top: 8px;
    right: 0;
    width: 6px;
    height: calc(100% - 16px);
    border-radius: 999px;
    background-color: var(--cosmetics-primary);
    content: "";
}

.cosmetics-page .cosmetics-section-title h1,
.cosmetics-page .cosmetics-section-title h2,
.cosmetics-page .cosmetics-section-title h3,
.cosmetics-page .section-title-title h1,
.cosmetics-page .section-title-title h2,
.cosmetics-page .section-title-title h3 {
    margin-bottom: 0;
    color: var(--cosmetics-text);
    line-height: 1.7;
}

.cosmetics-page .with-highlight::before {
    background-color: var(--cosmetics-highlight);
}

.cosmetics-page .section-title-title .Dottedsquare {
    background-image: radial-gradient(var(--cosmetics-highlight) 1px, transparent 2px);
}

/* explicit cosmetics buttons */
.cosmetics-page .cosmetics-btn,
.cosmetics-page .cosmetics-btn-primary,
.cosmetics-page .cosmetics-btn-secondary,
.cosmetics-page .cosmetics-btn-outline,
.cosmetics-page .cosmetics-btn-ghost,
.cosmetics-page .cosmetics-btn-danger,
.cosmetics-page .cosmetics-btn-link,
.cosmetics-page .cosmetics-btn-icon {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: var(--cosmetics-space-2);
    padding: 9px 20px;
    border: 1px solid transparent;
    border-radius: var(--cosmetics-radius-pill);
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
    user-select: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: rgb(217 70 141 / 12%);
}

.cosmetics-page .cosmetics-btn {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-btn-primary {
    border-color: var(--cosmetics-primary-strong);
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-btn-primary:hover,
.cosmetics-page .cosmetics-btn-primary:focus-visible {
    border-color: var(--cosmetics-primary-hover);
    background-color: var(--cosmetics-primary-hover);
    color: var(--cosmetics-text-inverse);
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-btn-secondary {
    border-color: var(--cosmetics-secondary-dark);
    background-color: var(--cosmetics-secondary-dark);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-btn-secondary:hover,
.cosmetics-page .cosmetics-btn-secondary:focus-visible {
    border-color: var(--cosmetics-secondary-hover);
    background-color: var(--cosmetics-secondary-hover);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-btn-outline {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-btn-outline:hover,
.cosmetics-page .cosmetics-btn-outline:focus-visible {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-btn-ghost {
    border-color: transparent;
    background-color: transparent;
    color: var(--cosmetics-primary-dark);
    box-shadow: none;
}

.cosmetics-page .cosmetics-btn-ghost:hover,
.cosmetics-page .cosmetics-btn-ghost:focus-visible {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-btn-danger {
    border-color: var(--cosmetics-danger);
    background-color: var(--cosmetics-danger);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-btn-danger:hover,
.cosmetics-page .cosmetics-btn-danger:focus-visible {
    border-color: #a92535;
    background-color: #a92535;
    color: #fff;
}

.cosmetics-page .cosmetics-btn-link {
    min-height: 38px;
    padding-inline: 8px;
    background-color: transparent;
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-btn-link:hover,
.cosmetics-page .cosmetics-btn-link:focus-visible {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-btn-icon {
    width: 44px;
    min-width: 44px;
    padding: 0;
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-btn-icon:hover,
.cosmetics-page .cosmetics-btn-icon:focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-btn-sm {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 11px;
}

.cosmetics-page .cosmetics-btn-icon.cosmetics-btn-sm {
    width: 36px;
    min-width: 36px;
    padding: 0;
}

.cosmetics-page .cosmetics-btn-block {
    width: 100%;
}

.cosmetics-page :is(
    .cosmetics-btn,
    .cosmetics-btn-primary,
    .cosmetics-btn-secondary,
    .cosmetics-btn-outline,
    .cosmetics-btn-ghost,
    .cosmetics-btn-danger,
    .cosmetics-btn-link,
    .cosmetics-btn-icon
):active:not(:disabled, [aria-disabled="true"]) {
    box-shadow: none;
    transform: translateY(1px);
}

.cosmetics-page :is(
    .cosmetics-btn,
    .cosmetics-btn-primary,
    .cosmetics-btn-secondary,
    .cosmetics-btn-outline,
    .cosmetics-btn-ghost,
    .cosmetics-btn-danger,
    .cosmetics-btn-link,
    .cosmetics-btn-icon
)[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px var(--cosmetics-border-strong);
}

.cosmetics-page .cosmetics-btn:disabled,
.cosmetics-page .cosmetics-btn-primary:disabled,
.cosmetics-page .cosmetics-btn-secondary:disabled,
.cosmetics-page .cosmetics-btn-outline:disabled,
.cosmetics-page .cosmetics-btn-ghost:disabled,
.cosmetics-page .cosmetics-btn-danger:disabled,
.cosmetics-page .cosmetics-btn-link:disabled,
.cosmetics-page .cosmetics-btn-icon:disabled,
.cosmetics-page [class*="cosmetics-btn-"][aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.58;
    filter: saturate(0.55);
    box-shadow: none;
    pointer-events: none;
}

.cosmetics-page :is(
    .cosmetics-btn,
    .cosmetics-btn-primary,
    .cosmetics-btn-secondary,
    .cosmetics-btn-outline,
    .cosmetics-btn-ghost,
    .cosmetics-btn-danger,
    .cosmetics-btn-link,
    .cosmetics-btn-icon
):is(.is-loading, [aria-busy="true"]) {
    color: transparent !important;
    cursor: wait;
    pointer-events: none;
}

.cosmetics-page :is(
    .cosmetics-btn,
    .cosmetics-btn-primary,
    .cosmetics-btn-secondary,
    .cosmetics-btn-outline,
    .cosmetics-btn-ghost,
    .cosmetics-btn-danger,
    .cosmetics-btn-link,
    .cosmetics-btn-icon
):is(.is-loading, [aria-busy="true"]) > * {
    visibility: hidden;
}

.cosmetics-page :is(
    .cosmetics-btn,
    .cosmetics-btn-primary,
    .cosmetics-btn-secondary,
    .cosmetics-btn-outline,
    .cosmetics-btn-ghost,
    .cosmetics-btn-danger,
    .cosmetics-btn-link,
    .cosmetics-btn-icon
):is(.is-loading, [aria-busy="true"])::after {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid currentcolor;
    border-right-color: transparent;
    border-radius: 50%;
    color: var(--cosmetics-primary-dark);
    content: "";
    animation: cosmetics-button-spin 0.75s linear infinite;
}

.cosmetics-page :is(
    .cosmetics-btn-primary,
    .cosmetics-btn-secondary,
    .cosmetics-btn-danger
):is(.is-loading, [aria-busy="true"])::after {
    color: var(--cosmetics-text-inverse);
}

@keyframes cosmetics-button-spin {
    to {
        transform: rotate(1turn);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cosmetics-page :is(
        .cosmetics-btn,
        .cosmetics-btn-primary,
        .cosmetics-btn-secondary,
        .cosmetics-btn-outline,
        .cosmetics-btn-ghost,
        .cosmetics-btn-danger,
        .cosmetics-btn-link,
        .cosmetics-btn-icon,
        .cosmetics-filter-submit,
        .cosmetics-product-add-to-cart,
        .cosmetics-checkout-submit,
        .cosmetics-address-continue,
        .cosmetics-auth-submit,
        .cosmetics-account-form-submit
    ) {
        transition: none;
    }

    .cosmetics-page :is(
        .cosmetics-btn,
        .cosmetics-btn-primary,
        .cosmetics-btn-secondary,
        .cosmetics-btn-outline,
        .cosmetics-btn-ghost,
        .cosmetics-btn-danger,
        .cosmetics-btn-link,
        .cosmetics-btn-icon
    ):is(.is-loading, [aria-busy="true"])::after {
        animation: none;
    }
}

.cosmetics-page :is(
    .cosmetics-filter-submit,
    .cosmetics-product-add-to-cart,
    .cosmetics-checkout-submit,
    .cosmetics-address-continue,
    .cosmetics-auth-submit,
    .cosmetics-account-form-submit
) {
    touch-action: manipulation;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: rgb(217 70 141 / 12%);
}

.cosmetics-page :is(
    .cosmetics-filter-submit,
    .cosmetics-product-add-to-cart,
    .cosmetics-checkout-submit,
    .cosmetics-address-continue,
    .cosmetics-auth-submit,
    .cosmetics-account-form-submit
):active:not(:disabled, [aria-disabled="true"]) {
    box-shadow: none;
    transform: translateY(1px);
}

.cosmetics-page :is(
    .cosmetics-filter-submit,
    .cosmetics-product-add-to-cart,
    .cosmetics-checkout-submit,
    .cosmetics-address-continue,
    .cosmetics-auth-submit,
    .cosmetics-account-form-submit
):is(:disabled, [aria-disabled="true"]) {
    cursor: not-allowed;
    opacity: 0.58;
    filter: saturate(0.55);
    box-shadow: none;
}

/* forms and validation */
.cosmetics-page .cosmetics-form {
    display: grid;
    gap: var(--cosmetics-space-4);
}

.cosmetics-page .cosmetics-field,
.cosmetics-page .cosmetics-form-group {
    display: grid;
    min-width: 0;
    gap: var(--cosmetics-space-2);
}

.cosmetics-page .cosmetics-field > label,
.cosmetics-page .cosmetics-form .form-label,
.cosmetics-page .cosmetics-form-label {
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-form-control,
.cosmetics-page .cosmetics-form-select,
.cosmetics-page .cosmetics-form .form-control,
.cosmetics-page .cosmetics-form .form-select {
    width: 100%;
    min-height: 48px;
    padding: 10px var(--cosmetics-space-3);
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
    font: inherit;
    line-height: 1.8;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cosmetics-page .cosmetics-form-select,
.cosmetics-page .cosmetics-form .form-select {
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
}

.cosmetics-page textarea.cosmetics-form-control,
.cosmetics-page .cosmetics-form textarea.form-control {
    min-height: 112px;
    resize: vertical;
}

.cosmetics-page .cosmetics-form-control::placeholder,
.cosmetics-page .cosmetics-form .form-control::placeholder {
    color: var(--cosmetics-text-subtle);
}

.cosmetics-page .cosmetics-form-control:focus,
.cosmetics-page .cosmetics-form-select:focus,
.cosmetics-page .cosmetics-form .form-control:focus,
.cosmetics-page .cosmetics-form .form-select:focus {
    border-color: var(--cosmetics-focus-ring);
    outline: 0;
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page .cosmetics-form-control:disabled,
.cosmetics-page .cosmetics-form-select:disabled,
.cosmetics-page .cosmetics-form .form-control:disabled,
.cosmetics-page .cosmetics-form .form-select:disabled {
    cursor: not-allowed;
    border-color: var(--cosmetics-disabled-border);
    background-color: var(--cosmetics-disabled-bg);
    color: var(--cosmetics-disabled-text);
    opacity: 1;
}

.cosmetics-page .cosmetics-form-control[readonly],
.cosmetics-page .cosmetics-form .form-control[readonly] {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-text-muted);
}

.cosmetics-page .cosmetics-form-control[type="file"],
.cosmetics-page .cosmetics-form .form-control[type="file"],
.cosmetics-page .cosmetics-account-form .form-control[type="file"] {
    padding: 5px;
}

.cosmetics-page .cosmetics-form-control[type="file"]::file-selector-button,
.cosmetics-page .cosmetics-form .form-control[type="file"]::file-selector-button,
.cosmetics-page .cosmetics-account-form .form-control[type="file"]::file-selector-button {
    min-height: 36px;
    margin-left: 10px;
    padding-inline: 14px;
    border: 0;
    border-radius: var(--cosmetics-radius-sm);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font: inherit;
    font-weight: 800;
}

.cosmetics-page .cosmetics-form-control[type="file"]::file-selector-button:hover,
.cosmetics-page .cosmetics-form .form-control[type="file"]::file-selector-button:hover,
.cosmetics-page .cosmetics-account-form .form-control[type="file"]::file-selector-button:hover {
    background-color: var(--cosmetics-highlight);
}

.cosmetics-page .cosmetics-checkbox,
.cosmetics-page .cosmetics-radio,
.cosmetics-page .cosmetics-form .form-check-input {
    width: 18px;
    height: 18px;
    border-color: var(--cosmetics-border);
    accent-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-checkbox:focus,
.cosmetics-page .cosmetics-radio:focus,
.cosmetics-page .cosmetics-form .form-check-input:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page :is(
    .cosmetics-checkbox,
    .cosmetics-radio,
    .cosmetics-form .form-check-input
):disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.cosmetics-page .cosmetics-form .form-check-label {
    cursor: pointer;
}

.cosmetics-page .cosmetics-form .form-check-input:disabled + .form-check-label {
    cursor: not-allowed;
    color: var(--cosmetics-disabled-text);
}

.cosmetics-page .cosmetics-field-help,
.cosmetics-page .cosmetics-form-help {
    color: var(--cosmetics-text-muted);
    font-size: 12px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-field-error,
.cosmetics-page .cosmetics-form [class*="form-error"],
.cosmetics-page .cosmetics-form-error {
    min-height: 21px;
    color: var(--cosmetics-danger);
    font-size: 12px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-field-success,
.cosmetics-page .cosmetics-form-success {
    color: var(--cosmetics-success);
    font-size: 12px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-form-control[aria-invalid="true"],
.cosmetics-page .cosmetics-form-select[aria-invalid="true"],
.cosmetics-page .cosmetics-form [aria-invalid="true"],
.cosmetics-page .cosmetics-form :is(.form-control, .form-select).is-invalid {
    border-color: var(--cosmetics-danger);
    background-color: var(--cosmetics-danger-bg);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cosmetics-danger) 14%, transparent);
}

.cosmetics-page .cosmetics-form-control[aria-invalid="false"],
.cosmetics-page .cosmetics-form-select[aria-invalid="false"],
.cosmetics-page .cosmetics-form :is(.form-control, .form-select).is-valid {
    border-color: var(--cosmetics-success);
    background-color: var(--cosmetics-success-bg);
}

.cosmetics-page .cosmetics-form-feedback {
    padding: 10px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-text);
    font-size: 12px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-form-feedback.is-error {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-form-feedback.is-success {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-form-feedback.is-warning {
    border-color: var(--cosmetics-warning-border);
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
}

.cosmetics-page .cosmetics-form-feedback.is-info {
    border-color: var(--cosmetics-info-border);
    background-color: var(--cosmetics-info-bg);
    color: var(--cosmetics-info);
}

/* reusable empty, not-found and status states */
.cosmetics-page .cosmetics-state {
    display: grid;
    width: min(100%, 680px);
    min-height: 320px;
    margin-inline: auto;
    padding: 34px 26px;
    place-items: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
    text-align: center;
}

.cosmetics-page .cosmetics-state-media {
    display: grid;
    width: 150px;
    max-width: 46vw;
    aspect-ratio: 1;
    margin-bottom: 18px;
    place-items: center;
}

.cosmetics-page .cosmetics-state-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cosmetics-page .cosmetics-state-media .bi {
    color: var(--cosmetics-secondary-dark);
    font-size: 72px;
}

.cosmetics-page .cosmetics-state-code {
    position: relative;
    width: 176px;
    max-width: 54vw;
    border: 1px solid var(--cosmetics-border);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, #fff 0 12%, transparent 13%),
        linear-gradient(145deg, var(--cosmetics-soft-pink), var(--cosmetics-page-bg));
    color: var(--cosmetics-primary-dark);
    isolation: isolate;
}

.cosmetics-page .cosmetics-state-code::before,
.cosmetics-page .cosmetics-state-code::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--cosmetics-secondary) 24%, white);
    content: "";
}

.cosmetics-page .cosmetics-state-code::before {
    top: 8px;
    inset-inline-start: -16px;
    width: 42px;
    height: 42px;
}

.cosmetics-page .cosmetics-state-code::after {
    right: auto;
    bottom: 14px;
    inset-inline-end: -9px;
    width: 25px;
    height: 25px;
    background-color: color-mix(in srgb, var(--cosmetics-accent) 22%, white);
}

.cosmetics-page .cosmetics-state-code span {
    font-size: clamp(44px, 10vw, 64px);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
}

.cosmetics-page.cosmetics-404-page .content,
.cosmetics-page.cosmetics-empty-cart-page .content {
    padding-block: 34px 54px;
}

.cosmetics-page.cosmetics-empty-cart-page .cosmetics-state-media {
    width: 172px;
}

.cosmetics-page .cosmetics-state-title {
    color: var(--cosmetics-text);
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.7;
}

.cosmetics-page .cosmetics-state-description {
    max-width: 520px;
    margin-top: 10px;
    color: var(--cosmetics-muted);
    line-height: 2;
}

.cosmetics-page .cosmetics-state-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.cosmetics-page .cosmetics-state-empty,
.cosmetics-page .cosmetics-state-not-found,
.cosmetics-page .cosmetics-state-unavailable {
    border-color: var(--cosmetics-border);
    background: linear-gradient(180deg, #fff 0%, var(--cosmetics-page-bg) 100%);
}

.cosmetics-page .cosmetics-state-success {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
}

.cosmetics-page .cosmetics-state-success .cosmetics-state-media .bi {
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-state-error {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
}

.cosmetics-page .cosmetics-state-error .cosmetics-state-media .bi {
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-state-warning {
    border-color: var(--cosmetics-warning-border);
    background-color: var(--cosmetics-warning-bg);
}

.cosmetics-page .cosmetics-state-warning .cosmetics-state-media .bi {
    color: var(--cosmetics-warning);
}

/* shared public information pages */
.cosmetics-page .cosmetics-public-page {
    padding-block: 28px 54px;
}

.cosmetics-page .cosmetics-public-breadcrumb {
    margin-bottom: 18px !important;
}

.cosmetics-page .cosmetics-public-hero,
.cosmetics-page .cosmetics-public-section {
    border: 1px solid var(--cosmetics-border);
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
    padding: 26px 28px;
    border-radius: 18px;
}

.cosmetics-page .cosmetics-public-eyebrow,
.cosmetics-page .cosmetics-public-section-heading > span {
    display: block;
    margin-bottom: 5px;
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-public-hero h1 {
    margin-bottom: 8px;
    color: var(--cosmetics-text);
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.6;
}

.cosmetics-page .cosmetics-public-hero p,
.cosmetics-page .cosmetics-public-section-heading p,
.cosmetics-page .cosmetics-public-cta p {
    max-width: 760px;
    color: var(--cosmetics-muted);
    line-height: 2;
}

.cosmetics-page .cosmetics-public-hero-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 20px;
    background-color: var(--cosmetics-soft-pink);
    color: var(--cosmetics-secondary-dark);
    font-size: 31px;
}

.cosmetics-page .cosmetics-public-layout {
    display: grid;
    gap: 18px;
}

.cosmetics-page .cosmetics-public-section {
    min-width: 0;
    padding: 24px;
    border-radius: 16px;
}

.cosmetics-page .cosmetics-public-section-heading {
    margin-bottom: 18px;
}

.cosmetics-page .cosmetics-public-section-heading h2,
.cosmetics-page .cosmetics-public-cta h2 {
    margin-bottom: 0;
    color: var(--cosmetics-text);
    font-size: clamp(19px, 2.5vw, 25px);
    line-height: 1.7;
}

.cosmetics-page .cosmetics-public-section-heading p {
    margin-top: 7px;
}

.cosmetics-page .cosmetics-about-story p {
    max-width: 1050px;
    color: var(--cosmetics-muted);
    line-height: 2.15;
}

.cosmetics-page .cosmetics-about-story p + p {
    margin-top: 12px;
}

.cosmetics-page .cosmetics-about-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cosmetics-page .cosmetics-about-value {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-about-value > span,
.cosmetics-page .cosmetics-contact-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 21px;
}

.cosmetics-page .cosmetics-about-value h3,
.cosmetics-page .cosmetics-contact-card h3 {
    margin-top: 13px;
    color: var(--cosmetics-text);
    font-size: 16px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-about-value p,
.cosmetics-page .cosmetics-contact-card p {
    margin-top: 6px;
    color: var(--cosmetics-muted);
    font-size: 14px;
    line-height: 2;
}

.cosmetics-page .cosmetics-public-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cosmetics-page .cosmetics-public-cta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cosmetics-page .cosmetics-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 18px;
}

.cosmetics-page .cosmetics-contact-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cosmetics-page .cosmetics-contact-card {
    display: grid;
    min-width: 0;
    min-height: 132px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-contact-card h3 {
    margin-top: 0;
}

.cosmetics-page .cosmetics-contact-card a,
.cosmetics-page .cosmetics-contact-card p {
    display: block;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-contact-card a {
    margin-top: 6px;
    color: var(--cosmetics-primary-dark);
    font-weight: 800;
    line-height: 2;
}

.cosmetics-page .cosmetics-contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cosmetics-page .cosmetics-contact-form textarea {
    min-height: 150px;
}

.cosmetics-page .cosmetics-contact-form-actions {
    display: flex;
    justify-content: flex-start;
}

.cosmetics-page .cosmetics-contact-location {
    margin-top: 18px;
}

.cosmetics-page .cosmetics-contact-map {
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-contact-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* cosmetics editorial pages */
.cosmetics-page .cosmetics-blog-list {
    min-width: 0;
}

.cosmetics-page .cosmetics-blog-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.cosmetics-page .cosmetics-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cosmetics-page .cosmetics-article-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cosmetics-page .cosmetics-article-card:hover,
.cosmetics-page .cosmetics-article-card:focus-within {
    border-color: var(--cosmetics-highlight);
    box-shadow: var(--cosmetics-shadow-md);
    transform: translateY(-2px);
}

.cosmetics-page .cosmetics-article-card-link {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    color: inherit;
}

.cosmetics-page .cosmetics-article-card-link:focus,
.cosmetics-page .cosmetics-article-card-link:focus-visible {
    border-radius: inherit;
    outline: 3px solid var(--cosmetics-primary);
    outline-offset: -3px;
}

.cosmetics-page .cosmetics-article-card-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cosmetics-page .cosmetics-article-card-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.cosmetics-page .cosmetics-article-card-meta,
.cosmetics-page .cosmetics-article-meta {
    display: flex;
    align-items: center;
    gap: 8px 16px;
    flex-wrap: wrap;
    color: var(--cosmetics-muted);
    font-size: 13px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-article-card-meta span {
    padding: 3px 9px;
    border-radius: 999px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-weight: 800;
}

.cosmetics-page .cosmetics-article-card-title {
    margin: 13px 0 8px;
    color: var(--cosmetics-text);
    font-size: 18px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-article-card-excerpt {
    margin-bottom: 16px;
    color: var(--cosmetics-muted);
    font-size: 14px;
    line-height: 2;
}

.cosmetics-page .cosmetics-article-card-action {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-top: auto;
    color: var(--cosmetics-primary-dark);
    font-size: 14px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-blog-pagination {
    margin-top: 26px;
}

.cosmetics-page .cosmetics-blog-pagination .pagination {
    gap: 6px;
    margin-bottom: 0;
}

.cosmetics-page .cosmetics-blog-pagination .page-link {
    display: grid;
    min-width: 40px;
    min-height: 40px;
    padding: 7px 11px;
    place-items: center;
    border-color: var(--cosmetics-border);
    border-radius: 10px;
    background-color: #fff;
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-blog-pagination .page-link:hover,
.cosmetics-page .cosmetics-blog-pagination .page-link:focus-visible {
    border-color: var(--cosmetics-primary);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-blog-pagination .page-item.active .page-link {
    border-color: var(--cosmetics-primary-strong);
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-blog-pagination .page-item.disabled .page-link {
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-blog-empty {
    margin-top: 18px;
}

.cosmetics-page .cosmetics-blog-empty[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-article-header {
    width: min(100%, 960px);
    margin-inline: auto;
    text-align: center;
}

.cosmetics-page .cosmetics-article-category {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-article-header h1 {
    max-width: 820px;
    margin: 0 auto 12px;
    color: var(--cosmetics-text);
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.65;
}

.cosmetics-page .cosmetics-article-intro {
    max-width: 760px;
    margin-inline: auto;
    color: var(--cosmetics-muted);
    font-size: 16px;
    line-height: 2.05;
}

.cosmetics-page .cosmetics-article-meta {
    justify-content: center;
    margin-top: 16px;
}

.cosmetics-page .cosmetics-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cosmetics-page .cosmetics-article-hero {
    width: min(100%, 1080px);
    margin: 18px auto;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background-color: var(--cosmetics-page-bg);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-article-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 692;
    object-fit: cover;
}

.cosmetics-page .cosmetics-article-body {
    width: min(100%, 860px);
    margin-inline: auto;
    padding: 38px 44px;
    color: var(--cosmetics-text);
    font-size: 17px;
    line-height: 2.25;
}

.cosmetics-page .cosmetics-article-body p {
    margin-bottom: 18px;
}

.cosmetics-page .cosmetics-article-body h2 {
    margin: 34px 0 12px;
    color: var(--cosmetics-text);
    font-size: clamp(21px, 2.8vw, 27px);
    line-height: 1.8;
}

.cosmetics-page .cosmetics-article-body h3 {
    margin: 26px 0 9px;
    color: var(--cosmetics-text);
    font-size: 19px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-article-body ul,
.cosmetics-page .cosmetics-article-body ol {
    margin: 8px 0 24px;
    padding-inline-start: 24px;
}

.cosmetics-page .cosmetics-article-body li {
    margin-bottom: 8px;
    padding-inline-start: 5px;
}

.cosmetics-page .cosmetics-article-body > :first-child {
    margin-top: 0;
}

.cosmetics-page .cosmetics-article-body > :last-child {
    margin-bottom: 0;
}

.cosmetics-page .cosmetics-article-back {
    width: min(100%, 860px);
    margin: 18px auto 0;
}

.cosmetics-page .cosmetics-article-related {
    width: min(100%, 1080px);
    margin: 34px auto 0;
}

.cosmetics-page .cosmetics-blog-grid-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* catalog product cards; homepage product-group-item is intentionally excluded */
.cosmetics-page .cosmetics-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.cosmetics-page .cosmetics-product-card,
.cosmetics-page .product-box {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
    white-space: normal;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cosmetics-page .cosmetics-product-card:hover,
.cosmetics-page .cosmetics-product-card:focus-within,
.cosmetics-page .product-box:hover,
.cosmetics-page .product-box:focus-within {
    border-color: var(--cosmetics-highlight);
    box-shadow: var(--cosmetics-shadow-md);
    transform: translateY(-3px);
}

.cosmetics-page .cosmetics-product-media,
.cosmetics-page .product-box .product-image {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    margin: 0;
    padding: 16px;
    place-items: center;
    background-color: #fff;
}

.cosmetics-page .cosmetics-product-media img,
.cosmetics-page .product-box .product-image img {
    width: 100%;
    height: 100%;
    max-height: 230px;
    object-fit: contain;
}

.cosmetics-page .cosmetics-product-body {
    display: flex;
    padding: 0 16px 16px;
    flex: 1 1 auto;
    flex-direction: column;
}

.cosmetics-page .cosmetics-product-title,
.cosmetics-page .product-box .product-title .title p {
    display: -webkit-box;
    min-height: 52px;
    margin-bottom: 0;
    overflow: hidden;
    color: var(--cosmetics-text);
    font-size: 14px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cosmetics-page .cosmetics-product-price,
.cosmetics-page .product-box .product-action .price .new-price {
    margin-top: auto;
    color: var(--cosmetics-primary-dark);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-product-old-price,
.cosmetics-page .product-box .product-action .price .old-price {
    color: var(--cosmetics-muted);
    font-size: 12px;
    text-decoration: line-through;
}

.cosmetics-page .cosmetics-product-discount,
.cosmetics-page .product-box .product-timer .timer-label span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 999px;
    background-color: var(--cosmetics-error);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-product-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.cosmetics-page .cosmetics-product-action {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 10px;
    background-color: #fff;
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-product-action:hover,
.cosmetics-page .cosmetics-product-action:focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

/* tables and status badges */
.cosmetics-page .cosmetics-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
    -webkit-overflow-scrolling: touch;
}

.cosmetics-page .cosmetics-table {
    width: 100%;
    min-width: 680px;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-table th,
.cosmetics-page .cosmetics-table td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--cosmetics-border);
    vertical-align: middle;
    line-height: 1.9;
    text-align: right;
}

.cosmetics-page .cosmetics-table th {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-text);
    font-weight: 900;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-table tbody tr:last-child td {
    border-bottom: 0;
}

.cosmetics-page .cosmetics-table tbody tr:hover {
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-table-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-table-empty {
    padding: 32px 18px !important;
    color: var(--cosmetics-muted);
    text-align: center !important;
}

.cosmetics-page .cosmetics-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border: 1px solid transparent;
    border-radius: var(--cosmetics-radius-pill);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-badge-success {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-badge-warning {
    border-color: var(--cosmetics-warning-border);
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
}

.cosmetics-page .cosmetics-badge-error {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-badge-neutral {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-secondary-dark);
}

/* commerce, cart, checkout and transaction summaries */
.cosmetics-page .cosmetics-commerce-card,
.cosmetics-page .cosmetics-summary,
.cosmetics-page .cosmetics-cart-row,
.cosmetics-page .cart-product-item > .content-box,
.cosmetics-page .cart-canvases .item {
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-commerce-card,
.cosmetics-page .cosmetics-summary {
    padding: 20px;
}

.cosmetics-page .cosmetics-cart-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
}

.cosmetics-page .cosmetics-cart-row-media {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
}

.cosmetics-page .cosmetics-cart-row-media img,
.cosmetics-page .cart-items .image img {
    width: 100%;
    height: 100%;
    max-height: 130px;
    object-fit: contain;
}

.cosmetics-page .cosmetics-summary {
    position: relative;
}

.cosmetics-page .cosmetics-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-block: 10px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-summary-row:last-child {
    padding-top: 16px;
    border-bottom: 0;
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-quantity,
.cosmetics-page .cart-quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-quantity button,
.cosmetics-page .cart-quantity-secondary,
.cosmetics-page .cart-quantity-increase {
    border-radius: 9px;
}

.cosmetics-page .cosmetics-quantity .is-increase,
.cosmetics-page .cart-quantity-increase {
    background-color: var(--cosmetics-primary);
    color: #fff;
}

.cosmetics-page .cosmetics-quantity .is-decrease,
.cosmetics-page .cart-quantity-decrease {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-quantity input,
.cosmetics-page .cart-quantity-value {
    border-color: var(--cosmetics-border);
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-checkout-progress,
.cosmetics-page .checkout-headers .navbar-nav {
    display: flex;
    align-items: center;
}

.cosmetics-page .cosmetics-checkout-step {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-checkout-step-index {
    display: inline-grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    background-color: #e6dfe3;
    color: var(--cosmetics-muted);
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-step.is-active,
.cosmetics-page .cosmetics-checkout-step.is-complete {
    color: var(--cosmetics-text);
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-step.is-active .cosmetics-checkout-step-index {
    background-color: var(--cosmetics-primary);
    color: #fff;
}

.cosmetics-page .cosmetics-checkout-step.is-complete .cosmetics-checkout-step-index {
    background-color: var(--cosmetics-success);
    color: #fff;
}

.cosmetics-page .checkout-headers ul li.active::before {
    background-color: var(--cosmetics-highlight);
}

.cosmetics-page .checkout-headers ul li.active a span {
    background-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-payment-option,
.cosmetics-page .cosmetics-shipping-option {
    display: flex;
    min-height: 84px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cosmetics-page .cosmetics-payment-option:hover,
.cosmetics-page .cosmetics-shipping-option:hover,
.cosmetics-page .cosmetics-payment-option:focus-within,
.cosmetics-page .cosmetics-shipping-option:focus-within,
.cosmetics-page .cosmetics-payment-option.is-selected,
.cosmetics-page .cosmetics-shipping-option.is-selected {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-page-bg);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.cosmetics-page .cosmetics-discount-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.cosmetics-page .cosmetics-transaction-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.cosmetics-page .cosmetics-transaction-item,
.cosmetics-page .payment-detail-item {
    padding: 14px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: var(--cosmetics-page-bg);
    text-align: center;
}

/* authentication */
.cosmetics-page .cosmetics-auth,
.cosmetics-page .auth {
    min-height: 100vh;
    padding: 28px 0;
    background:
        radial-gradient(circle at 15% 20%, rgb(242 184 207 / 42%), transparent 34%),
        radial-gradient(circle at 85% 80%, rgb(152 117 173 / 20%), transparent 32%),
        var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-auth-card,
.cosmetics-page .auth-form {
    width: min(100%, 470px);
    margin-inline: auto;
    padding: 26px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px !important;
    background-color: rgb(255 255 255 / 96%) !important;
    box-shadow: var(--cosmetics-shadow-lg) !important;
}

.cosmetics-page .cosmetics-auth-logo,
.cosmetics-page .auth-logo {
    width: 138px;
    height: 64px;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

.cosmetics-page .auth-form-title {
    gap: 16px;
    margin-bottom: 24px !important;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .auth-form .comment-item input.form-control,
.cosmetics-page .auth-form .comment-item select {
    border-color: var(--cosmetics-border);
}

.cosmetics-page .auth-form .comment-item input.form-control:focus,
.cosmetics-page .auth-form .comment-item select:focus {
    border-color: var(--cosmetics-primary);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.cosmetics-page .auth-form .btn.main-color-one-bg {
    border-radius: 999px;
    background-color: var(--cosmetics-primary) !important;
}

.cosmetics-page .auth-form .btn.main-color-one-bg:hover {
    background-color: var(--cosmetics-primary-dark) !important;
}

.cosmetics-page .cosmetics-otp,
.cosmetics-page #otp-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    direction: ltr;
    flex-direction: row;
}

.cosmetics-page .cosmetics-otp input,
.cosmetics-page #otp-input input {
    border-color: var(--cosmetics-border);
    border-radius: 11px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-otp input:focus,
.cosmetics-page #otp-input input:focus {
    border-color: var(--cosmetics-primary);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

/* authenticated account and panel foundation */
.cosmetics-page .cosmetics-panel {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.cosmetics-page .cosmetics-panel-sidebar,
.cosmetics-page .panel-side {
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .panel-box {
    border-color: var(--cosmetics-border);
    border-radius: 14px !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

.cosmetics-page .panel-box::before {
    background-color: var(--cosmetics-soft);
}

.cosmetics-page .profile-box-nav .nav-link {
    border-radius: 11px;
    color: var(--cosmetics-muted);
}

.cosmetics-page .profile-box-nav .nav-item i {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .profile-box-nav .nav-item.active i {
    background-color: var(--cosmetics-primary);
    color: #fff;
}

.cosmetics-page .profile-box-nav .nav-item.active .nav-link,
.cosmetics-page .profile-box-nav .nav-link:hover,
.cosmetics-page .profile-box-nav .nav-link:focus-visible {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-panel-card,
.cosmetics-page .panel-mini-card,
.cosmetics-page .profile-details-card,
.cosmetics-page .saved-address-card {
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-panel-card {
    padding: 20px;
}

.cosmetics-page .cosmetics-panel-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    overflow-x: auto;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: #fff;
    scrollbar-width: thin;
}

.cosmetics-page .cosmetics-panel-tab {
    min-height: 38px;
    padding: 7px 16px;
    border: 0;
    border-radius: 999px;
    background-color: transparent;
    color: var(--cosmetics-muted);
    font-weight: 800;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-panel-tab:hover,
.cosmetics-page .cosmetics-panel-tab:focus-visible,
.cosmetics-page .cosmetics-panel-tab.active {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-order-card,
.cosmetics-page .cosmetics-profile-card,
.cosmetics-page .cosmetics-address-card,
.cosmetics-page .cosmetics-ticket-card {
    padding: 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .panel-side .offcanvas-header,
.cosmetics-page .custom-filter .offcanvas-header {
    border-bottom: 1px solid var(--cosmetics-border);
}

/* canonical cosmetics catalog */
.cosmetics-page .cosmetics-catalog {
    padding-block: 30px 18px;
}

.cosmetics-page .cosmetics-catalog > .container-fluid {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

.cosmetics-page .cosmetics-catalog-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.cosmetics-page .cosmetics-catalog-heading-content {
    display: flex;
    min-height: 126px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 5% 10%, rgb(242 184 207 / 24%), transparent 30%),
        linear-gradient(135deg, #fff 0%, #fff7fa 62%, #f8f1fb 100%);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-catalog-heading-content h1 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 900;
    line-height: 1.7;
}

.cosmetics-page .cosmetics-catalog-heading-content p {
    max-width: 74ch;
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 14px;
    line-height: 2;
}

.cosmetics-page .cosmetics-catalog-heading-icon {
    display: inline-flex;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(217 70 141 / 15%);
    border-radius: 22px;
    background-color: rgb(255 255 255 / 82%);
    box-shadow: var(--cosmetics-shadow-sm);
    color: var(--cosmetics-primary);
    font-size: 30px;
}

.cosmetics-page .cosmetics-catalog-layout {
    display: grid;
    grid-template-columns: minmax(260px, 290px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.cosmetics-page .cosmetics-filter-panel {
    min-width: 0;
    border: 0;
    background-color: transparent;
}

.cosmetics-page .cosmetics-filter-form {
    display: block;
    width: 100%;
    padding: 18px;
    overflow: visible;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-filter-header {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
}

.cosmetics-page .cosmetics-filter-header h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 20px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-filter-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cosmetics-page .cosmetics-filter-clear {
    min-height: 36px;
    padding: 5px 9px;
    border: 0;
    border-radius: 9px;
    background-color: transparent;
    color: var(--cosmetics-primary-dark);
    font-size: 12px;
    font-weight: 800;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.cosmetics-page .cosmetics-filter-clear:hover {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-filter-group {
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 2px;
    border: 0;
    background-color: transparent;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}

.cosmetics-page .cosmetics-filter-toggle i {
    color: var(--cosmetics-secondary-dark);
    font-size: 13px;
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

.cosmetics-page .cosmetics-filter-toggle[aria-expanded="false"] i {
    transform: rotate(0);
}

.cosmetics-page .cosmetics-filter-options {
    padding: 0 2px 12px;
}

.cosmetics-page .cosmetics-filter-option {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 7px 3px;
    border-top: 1px solid #f5edf1;
    color: var(--cosmetics-muted);
    font-size: 13px;
    line-height: 1.8;
    cursor: pointer;
}

.cosmetics-page .cosmetics-filter-option:first-child {
    border-top: 0;
}

.cosmetics-page .cosmetics-filter-option > span:first-child {
    display: inline-flex;
    min-width: 0;
    align-items: flex-start;
    gap: 9px;
}

.cosmetics-page .cosmetics-filter-option .form-check-input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 3px 0 0;
    border-color: var(--cosmetics-border);
}

.cosmetics-page .cosmetics-filter-option .form-check-input:checked {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-filter-option .form-check-input:checked + span {
    color: var(--cosmetics-primary-dark);
    font-weight: 800;
}

.cosmetics-page .cosmetics-filter-count {
    display: inline-flex;
    min-width: 30px;
    min-height: 24px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding-inline: 7px;
    border-radius: 999px;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-filter-price {
    padding-top: 2px;
    padding-bottom: 18px;
}

.cosmetics-page .cosmetics-filter-price-values {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 7px;
}

.cosmetics-page .cosmetics-filter-price-values label {
    display: block;
    margin-bottom: 5px;
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-filter-price-values .form-control {
    min-height: 42px;
    padding-inline: 6px;
    border-color: var(--cosmetics-border);
    border-radius: 10px;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.cosmetics-page .cosmetics-filter-price-values > span {
    padding-bottom: 11px;
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-filter-price-unit {
    margin: 6px 0 0;
    color: var(--cosmetics-muted);
    font-size: 11px;
    text-align: center;
}

.cosmetics-page .cosmetics-filter-price-slider {
    height: 5px;
    margin: 29px 10px 8px;
    border: 0;
    border-radius: 999px;
    background-color: var(--cosmetics-border);
    box-shadow: none;
}

.cosmetics-page .cosmetics-filter-price-slider .noUi-connect {
    background: linear-gradient(90deg, var(--cosmetics-secondary), var(--cosmetics-primary));
}

.cosmetics-page .cosmetics-filter-price-slider .noUi-handle {
    top: -8px;
    right: -10px;
    width: 21px;
    height: 21px;
    border: 3px solid #fff;
    border-radius: 50%;
    background-color: var(--cosmetics-primary);
    box-shadow: 0 2px 8px rgb(112 50 82 / 24%);
    cursor: grab;
}

.cosmetics-page .cosmetics-filter-price-slider .noUi-handle::before,
.cosmetics-page .cosmetics-filter-price-slider .noUi-handle::after {
    display: none;
}

.cosmetics-page .cosmetics-filter-price-slider .noUi-handle:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

.cosmetics-page .cosmetics-filter-stock {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 2px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-filter-stock .form-check-input {
    float: none;
    width: 38px;
    height: 21px;
    flex: 0 0 38px;
    margin: 0;
    border-color: var(--cosmetics-border);
}

.cosmetics-page .cosmetics-filter-stock .form-check-input:checked {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-filter-stock .form-check-label {
    color: var(--cosmetics-text);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.cosmetics-page .cosmetics-filter-submit {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--cosmetics-primary-strong);
    border-radius: 12px;
    background-color: var(--cosmetics-primary-strong);
    box-shadow: var(--cosmetics-shadow-sm);
    color: #fff;
    font-weight: 900;
}

.cosmetics-page .cosmetics-filter-submit:hover,
.cosmetics-page .cosmetics-filter-submit:focus-visible {
    border-color: var(--cosmetics-primary-dark);
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
}

.cosmetics-page .cosmetics-results {
    min-width: 0;
}

.cosmetics-page .cosmetics-catalog-toolbar {
    display: flex;
    min-height: 70px;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-filter-trigger {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid var(--cosmetics-primary);
    border-radius: 11px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-weight: 900;
}

.cosmetics-page .cosmetics-catalog-sort {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.cosmetics-page .cosmetics-catalog-sort label {
    flex: 0 0 auto;
    color: var(--cosmetics-text);
    font-size: 13px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-catalog-sort .form-select {
    width: 170px;
    min-height: 44px;
    border-color: var(--cosmetics-border);
    border-radius: 11px;
    color: var(--cosmetics-text);
    font-size: 13px;
}

.cosmetics-page .cosmetics-catalog-sort .form-select:focus {
    border-color: var(--cosmetics-primary);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.cosmetics-page .cosmetics-results-count {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    margin: 0;
    margin-inline-start: auto;
    padding: 7px 11px;
    border-radius: 10px;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-product-card {
    position: relative;
}

.cosmetics-page .cosmetics-product-card-top {
    position: absolute;
    z-index: 2;
    top: 11px;
    right: 11px;
    left: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    pointer-events: none;
}

.cosmetics-page .cosmetics-product-stock {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border: 1px solid transparent;
    border-radius: var(--cosmetics-radius-pill);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-product-stock.is-in-stock {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-product-stock.is-out-of-stock {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-product-brand {
    display: -webkit-box;
    min-height: 24px;
    margin-bottom: 5px;
    overflow: hidden;
    color: var(--cosmetics-muted);
    font-size: 11px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.cosmetics-page .cosmetics-product-title a {
    color: inherit;
}

.cosmetics-page .cosmetics-product-pricing {
    display: grid;
    min-height: 58px;
    align-content: end;
    margin-top: auto;
    padding-top: 10px;
}

.cosmetics-page .cosmetics-product-price,
.cosmetics-page .cosmetics-product-old-price {
    margin-bottom: 0;
}

.cosmetics-page .cosmetics-product-actions {
    padding-top: 10px;
    border-top: 1px solid #f5edf1;
}

.cosmetics-page .cosmetics-results-empty {
    width: 100%;
    min-height: 390px;
    margin-top: 0;
}

.cosmetics-page .cosmetics-results-empty[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-results-empty .cosmetics-state-media {
    width: auto;
    height: 84px;
    aspect-ratio: auto;
    margin-bottom: 8px;
}

.cosmetics-page .cosmetics-results-empty .cosmetics-state-media .bi {
    font-size: 64px;
}

.cosmetics-page .cosmetics-pagination {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.cosmetics-page .cosmetics-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
    list-style: none;
}

.cosmetics-page .cosmetics-pagination-link {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--cosmetics-muted);
    font-size: 13px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-pagination-link:hover,
.cosmetics-page .cosmetics-pagination-link:focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-pagination-link.is-active {
    border-color: var(--cosmetics-primary-strong);
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-pagination-link.is-disabled {
    cursor: not-allowed;
    background-color: var(--cosmetics-page-bg);
    color: #aaa0a7;
}

.cosmetics-page .cosmetics-pagination-ellipsis {
    display: inline-flex;
    min-width: 24px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--cosmetics-muted);
}

/* Unified full-bleed cosmetics category banner hero */
.cosmetics-category-page .cosmetics-collection-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 205px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 20px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-category-page .cosmetics-collection-banner-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cosmetics-category-page .cosmetics-collection-banner-media::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to left,
        rgb(255 255 255 / 93%) 0%,
        rgb(255 255 255 / 78%) 38%,
        rgb(255 255 255 / 25%) 72%,
        transparent 100%
    );
    content: "";
    pointer-events: none;
}

.cosmetics-category-page .cosmetics-collection-banner-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.cosmetics-category-page .cosmetics-collection-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    min-width: 0;
    max-width: 540px;
    flex-direction: column;
    justify-content: center;
    padding: 30px 36px;
    margin-inline-start: 0;
    text-align: right;
}

.cosmetics-category-page .cosmetics-collection-banner h1 {
    max-width: 20ch;
    margin: 0;
    color: var(--cosmetics-text);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 900;
    line-height: 1.55;
    text-wrap: balance;
}

.cosmetics-category-page .cosmetics-collection-banner p {
    max-width: 58ch;
    margin: 8px 0 0;
    color: var(--cosmetics-text-muted);
    font-size: 14px;
    line-height: 2;
    text-wrap: pretty;
}

.cosmetics-search-page .cosmetics-search-context {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 132px;
    padding: 24px 28px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 12%, rgb(242 184 207 / 24%), transparent 34%),
        linear-gradient(135deg, #fff 0%, #fff8fa 100%);
}

.cosmetics-search-page .cosmetics-search-context-copy {
    min-width: 0;
}

.cosmetics-search-page .cosmetics-search-context h1 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: clamp(23px, 2.3vw, 31px);
    font-weight: 900;
    line-height: 1.6;
    text-wrap: balance;
}

.cosmetics-search-page .cosmetics-search-context h1 span {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-search-page .cosmetics-search-context p {
    max-width: 64ch;
    margin: 5px 0 0;
    color: var(--cosmetics-text-muted);
    font-size: 14px;
    line-height: 2;
}

.cosmetics-search-page .cosmetics-search-context-meta {
    display: flex;
    max-width: 420px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cosmetics-search-page .cosmetics-search-context-meta > span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-pill);
    background-color: rgb(255 255 255 / 86%);
    color: var(--cosmetics-text-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.cosmetics-search-page .cosmetics-search-context-meta > span.is-active {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-search-page .cosmetics-search-context-meta i {
    color: var(--cosmetics-primary-strong);
    font-size: 14px;
}

.cosmetics-search-page .cosmetics-search-context-meta strong {
    color: var(--cosmetics-text);
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-form,
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-catalog-toolbar {
    box-shadow: none;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-clear {
    min-height: 44px;
    padding-inline: 10px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-clear:focus-visible,
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-toggle:focus-visible,
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-trigger:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-options {
    display: grid;
    gap: 3px;
    padding-inline: 0;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-option {
    min-height: 44px;
    padding: 7px 8px;
    border: 1px solid transparent;
    border-radius: 10px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-option:first-child {
    border-top: 1px solid transparent;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-option:has(.form-check-input:checked) {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-text);
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-option:has(.form-check-input:checked) .cosmetics-filter-count {
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-weight: 900;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-option .form-check-input:focus-visible,
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-stock .form-check-input:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
    box-shadow: none;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-price-values .form-control {
    font-variant-numeric: tabular-nums;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-price-slider {
    height: 6px;
    margin-top: 31px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-price-slider .noUi-handle {
    top: -11px;
    right: -14px;
    width: 28px;
    height: 28px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-trigger {
    touch-action: manipulation;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-trigger-count {
    display: inline-flex;
    min-width: 24px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding-inline: 6px;
    border-radius: var(--cosmetics-radius-pill);
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-filter-trigger-count[hidden] {
    display: none;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-results-count {
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-text-muted);
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-results-count strong {
    color: var(--cosmetics-text);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card {
    border-radius: 16px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card:hover,
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card:focus-within {
    border-color: var(--cosmetics-highlight);
    box-shadow: var(--cosmetics-shadow-md);
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    :is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card:hover {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card {
        transition: none;
    }

    :is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card:hover {
        transform: none;
    }
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-media {
    aspect-ratio: 1 / 0.9;
    padding: 14px;
    background: linear-gradient(180deg, #fff 0%, var(--cosmetics-bg) 100%);
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-media img {
    width: 88%;
    height: 88%;
    max-height: none;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-body {
    padding: 2px 14px 14px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-brand {
    min-height: 22px;
    margin-bottom: 3px;
    font-size: 12px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-title {
    min-height: 50px;
    font-weight: 800;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-pricing {
    min-height: 56px;
    padding-top: 8px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-price {
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-old-price {
    color: var(--cosmetics-text-subtle);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-actions {
    gap: 8px;
    margin-top: 10px;
    padding-top: 11px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-action {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 11px;
    touch-action: manipulation;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-action-cart {
    border-color: var(--cosmetics-primary-strong);
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-action-cart:hover,
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-action-cart:focus-visible {
    border-color: var(--cosmetics-primary-dark);
    background-color: var(--cosmetics-primary-dark);
    color: var(--cosmetics-text-inverse);
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-action:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card.is-unavailable .cosmetics-product-media img {
    opacity: 0.7;
    filter: saturate(0.55);
}

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card.is-unavailable .cosmetics-product-price {
    color: var(--cosmetics-text-muted);
    font-size: 14px;
}

.cosmetics-page:is(.cosmetics-category-page, .cosmetics-search-page) :is(a, button, input, select):focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

.cosmetics-search-page .cosmetics-results-empty {
    min-height: 340px;
}

.cosmetics-search-page .cosmetics-state-description strong {
    color: var(--cosmetics-text);
    font-weight: 900;
}

/* canonical cosmetics product detail */
.cosmetics-page.cosmetics-product-page .cosmetics-product {
    padding: 28px 0 70px;
}

.cosmetics-page.cosmetics-product-page .cosmetics-product > .container-fluid {
    width: min(100%, 1360px);
    margin-inline: auto;
}

.cosmetics-page .cosmetics-product-breadcrumb {
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: rgb(255 255 255 / 88%);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: start;
    gap: 24px;
}

.cosmetics-page .cosmetics-product-gallery,
.cosmetics-page .cosmetics-product-info,
.cosmetics-page .cosmetics-product-details,
.cosmetics-page .cosmetics-product-reviews,
.cosmetics-page .cosmetics-product-related {
    border: 1px solid var(--cosmetics-border);
    border-radius: 20px;
    background-color: #fff;
    box-shadow: none;
}

.cosmetics-page .cosmetics-product-gallery {
    position: relative;
    padding: 26px;
}

.cosmetics-page .cosmetics-product-gallery-actions {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
}

.cosmetics-page .cosmetics-product-gallery-action {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 13px;
    background-color: rgb(255 255 255 / 94%);
    color: var(--cosmetics-muted);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-product-gallery-action:hover,
.cosmetics-page .cosmetics-product-gallery-action:focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-product-main-media {
    display: grid;
    min-height: 480px;
    margin: 0;
    border-radius: 20px;
    place-items: center;
    background:
        radial-gradient(circle at 50% 46%, rgb(255 226 238 / 66%), transparent 38%),
        linear-gradient(145deg, #fff, #fff8fb);
}

.cosmetics-page .cosmetics-product-main-media img {
    width: min(76%, 430px);
    height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 22px 24px rgb(96 48 70 / 13%));
}

.cosmetics-page .cosmetics-product-media-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px 0 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.cosmetics-page .cosmetics-product-info {
    padding: 28px;
}

.cosmetics-page.cosmetics-product-page .cosmetics-product-info > .cosmetics-product-brand {
    display: inline-flex;
    min-height: 0;
    margin-bottom: 8px;
    overflow: visible;
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
    font-weight: 900;
    -webkit-line-clamp: initial;
}

.cosmetics-page.cosmetics-product-page .cosmetics-product-info > .cosmetics-product-title {
    display: block;
    min-height: 0;
    margin: 0;
    overflow: visible;
    color: var(--cosmetics-text);
    font-size: clamp(25px, 2.2vw, 34px);
    font-weight: 950;
    line-height: 1.55;
    -webkit-line-clamp: initial;
}

.cosmetics-page .cosmetics-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--cosmetics-muted);
    font-size: 12px;
}

.cosmetics-page .cosmetics-product-rating-stars {
    display: inline-flex;
    gap: 2px;
    color: #b39aab;
}

.cosmetics-page .cosmetics-product-rating a {
    color: var(--cosmetics-muted);
    text-decoration: underline;
    text-decoration-color: var(--cosmetics-border);
    text-underline-offset: 4px;
}

.cosmetics-page .cosmetics-product-short-description {
    max-width: 62ch;
    margin: 14px 0 0;
    color: var(--cosmetics-muted);
    font-size: 14px;
    line-height: 2;
}

.cosmetics-page .cosmetics-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 18px 0 0;
    padding: 14px 0;
    border-block: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-product-meta > div {
    display: flex;
    gap: 7px;
}

.cosmetics-page .cosmetics-product-meta dt {
    color: var(--cosmetics-muted);
    font-size: 12px;
}

.cosmetics-page .cosmetics-product-meta dd {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-product-purchase-card {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background: linear-gradient(145deg, #fffafb, #fff);
}

.cosmetics-page .cosmetics-product-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.cosmetics-page .cosmetics-product-options h2,
.cosmetics-page .cosmetics-product-option-help {
    grid-column: 1 / -1;
}

.cosmetics-page .cosmetics-product-options h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 16px;
}

.cosmetics-page .cosmetics-product-option label {
    display: block;
    margin-bottom: 7px;
    color: var(--cosmetics-muted);
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-product-option .form-select {
    min-height: 46px;
    border-color: var(--cosmetics-border);
    border-radius: 12px;
    background-color: #fff;
    background-position: left 13px center;
    color: var(--cosmetics-text);
    font-size: 13px;
}

.cosmetics-page .cosmetics-product-option .form-select:focus {
    border-color: var(--cosmetics-primary);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.cosmetics-page .cosmetics-product-option .form-select option:disabled {
    background-color: var(--cosmetics-disabled-bg);
    color: #aaa0a7;
}

.cosmetics-page .cosmetics-product-option-help {
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 11px;
    line-height: 1.8;
}

.cosmetics-page.cosmetics-product-page .cosmetics-product-purchase-card > .cosmetics-product-stock {
    width: fit-content;
    min-height: 32px;
    margin: 16px 0 0;
    padding: 5px 10px;
    font-size: 12px;
}

.cosmetics-page .cosmetics-product-stock.is-low-stock {
    border-color: var(--cosmetics-warning-border);
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
}

.cosmetics-page.cosmetics-product-page .cosmetics-product-purchase-card > .cosmetics-product-pricing {
    display: flex;
    min-height: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding: 16px 0 0;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page.cosmetics-product-page .cosmetics-product-old-price {
    display: flex;
    gap: 5px;
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-decoration: line-through;
}

.cosmetics-page .cosmetics-product-current-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cosmetics-page .cosmetics-product-current-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    color: var(--cosmetics-primary-dark);
    font-variant-numeric: tabular-nums;
    font-weight: 950;
}

.cosmetics-page .cosmetics-product-current-price span:first-child {
    font-size: clamp(24px, 2.2vw, 31px);
}

.cosmetics-page .cosmetics-product-current-price span:last-child {
    font-size: 12px;
}

.cosmetics-page.cosmetics-product-page .cosmetics-product-discount {
    flex: 0 0 auto;
    background-color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-product-purchase {
    display: grid;
    grid-template-columns: minmax(130px, 155px) minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 18px;
}

.cosmetics-page .cosmetics-product-quantity > label {
    display: block;
    margin-bottom: 7px;
    color: var(--cosmetics-muted);
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-product-quantity .bootstrap-touchspin {
    display: grid;
    height: 50px;
    grid-template-columns: 48px minmax(52px, 1fr) 48px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: #fff;
    direction: ltr;
}

.cosmetics-page .cosmetics-product-quantity .bootstrap-touchspin:focus-within {
    border-color: var(--cosmetics-primary);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page .cosmetics-product-quantity .bootstrap-touchspin .input-group-btn {
    display: flex;
    min-width: 0;
}

.cosmetics-page .cosmetics-product-quantity-input {
    width: 100% !important;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    padding: 0 5px;
    border: 0;
    border-inline: 1px solid var(--cosmetics-border);
    border-radius: 0 !important;
    box-shadow: none !important;
    font-variant-numeric: tabular-nums;
    line-height: 48px;
    text-align: center;
}

.cosmetics-page .cosmetics-product-quantity-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    color: var(--cosmetics-primary-dark) !important;
    font-size: 17px;
    line-height: 1;
    touch-action: manipulation;
}

.cosmetics-page .cosmetics-product-quantity-button:hover {
    background-color: var(--cosmetics-soft) !important;
}

.cosmetics-page .cosmetics-product-quantity-button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: -3px;
}

.cosmetics-page .cosmetics-product-add-to-cart {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--cosmetics-primary-strong);
    border-radius: 13px;
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cosmetics-page .cosmetics-product-add-to-cart:hover,
.cosmetics-page .cosmetics-product-add-to-cart:focus-visible {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
    box-shadow: 0 10px 20px rgb(217 70 141 / 20%);
    transform: translateY(-1px);
}

.cosmetics-page .cosmetics-product-add-to-cart:disabled {
    border-color: #b8afb4;
    background-color: #b8afb4;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.cosmetics-page .cosmetics-product-purchase-card > .cosmetics-product-actions {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-product-purchase-card > .cosmetics-product-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 11px;
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 12px;
    font-weight: 800;
    padding-inline: 14px;
    touch-action: manipulation;
}

.cosmetics-page .cosmetics-product-purchase-card > .cosmetics-product-actions a:hover,
.cosmetics-page .cosmetics-product-purchase-card > .cosmetics-product-actions a:focus-visible {
    border-color: var(--cosmetics-highlight);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-product-purchase-note {
    margin: 10px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-product-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-product-benefit {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}

.cosmetics-page .cosmetics-product-benefit + .cosmetics-product-benefit {
    border-inline-start: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-product-benefit > i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 19px;
}

.cosmetics-page .cosmetics-product-benefit strong,
.cosmetics-page .cosmetics-product-benefit span {
    display: block;
}

.cosmetics-page .cosmetics-product-benefit strong {
    color: var(--cosmetics-text);
    font-size: 13px;
}

.cosmetics-page .cosmetics-product-benefit span {
    margin-top: 4px;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.7;
}

.cosmetics-page .cosmetics-product-details,
.cosmetics-page .cosmetics-product-reviews,
.cosmetics-page .cosmetics-product-related {
    margin-top: 24px;
    padding: 28px;
}

.cosmetics-page.cosmetics-product-page .cosmetics-product-details {
    margin-bottom: 0;
}

.cosmetics-page .cosmetics-product-section-heading > span,
.cosmetics-page .cosmetics-product-related-heading > div > span {
    color: var(--cosmetics-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-product-section-heading h2 {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: 24px;
}

.cosmetics-page .cosmetics-product-section-heading > p {
    max-width: 68ch;
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-product-detail-nav {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.cosmetics-page .cosmetics-product-detail-nav a {
    min-width: max-content;
    padding: 8px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-product-detail-nav a:hover,
.cosmetics-page .cosmetics-product-detail-nav a:focus-visible {
    border-color: var(--cosmetics-highlight);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.cosmetics-page .cosmetics-product-detail-card {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fffafb;
    scroll-margin-top: 120px;
}

.cosmetics-page .cosmetics-product-detail-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 18px;
}

.cosmetics-page .cosmetics-product-detail-card h3 {
    margin: 0 0 8px;
    color: var(--cosmetics-text);
    font-size: 16px;
}

.cosmetics-page .cosmetics-product-detail-card p {
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 13px;
    line-height: 2;
}

.cosmetics-page .cosmetics-product-detail-card small {
    display: block;
    margin-top: 8px;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-product-specifications dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.cosmetics-page .cosmetics-product-specifications dl > div {
    display: grid;
    grid-template-columns: minmax(100px, 0.35fr) minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 7px;
    border-bottom: 1px dashed var(--cosmetics-border);
}

.cosmetics-page .cosmetics-product-specifications dt {
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-product-specifications dd {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-product-reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: start;
    gap: 18px;
    margin-top: 22px;
}

.cosmetics-page .cosmetics-product-review-list {
    display: grid;
    gap: 12px;
}

.cosmetics-page .cosmetics-product-review {
    padding: 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: #fffafb;
}

.cosmetics-page .cosmetics-product-review header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cosmetics-page .cosmetics-product-review header strong,
.cosmetics-page .cosmetics-product-review header span {
    display: block;
}

.cosmetics-page .cosmetics-product-review header strong {
    color: var(--cosmetics-text);
    font-size: 13px;
}

.cosmetics-page .cosmetics-product-review header div span {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-product-review-rating {
    color: var(--cosmetics-warning);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-product-review p {
    margin: 13px 0 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.95;
}

.cosmetics-page .cosmetics-product-review-form-panel {
    padding: 20px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-product-review-form-panel h3 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 18px;
}

.cosmetics-page .cosmetics-product-review-form-panel > p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 11px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-product-review-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.cosmetics-page .cosmetics-product-review-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cosmetics-page .cosmetics-product-review-form label,
.cosmetics-page .cosmetics-product-review-rating-field legend {
    display: block;
    margin-bottom: 6px;
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-product-review-form .form-control {
    min-height: 44px;
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    font-size: 12px;
}

.cosmetics-page .cosmetics-product-review-form .form-control:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page .cosmetics-product-review-form textarea.form-control {
    min-height: 112px;
    resize: vertical;
}

.cosmetics-page .cosmetics-product-review-rating-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.cosmetics-page .cosmetics-product-review-rating-field > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cosmetics-page .cosmetics-product-review-rating-field input {
    position: absolute;
    opacity: 0;
}

.cosmetics-page .cosmetics-product-review-rating-field label {
    min-width: 48px;
    margin: 0;
    padding: 7px 8px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-sm);
    background-color: var(--cosmetics-surface);
    text-align: center;
    cursor: pointer;
}

.cosmetics-page .cosmetics-product-review-rating-field input:checked + label {
    border-color: var(--cosmetics-warning-border);
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
}

.cosmetics-page .cosmetics-product-review-rating-field input:focus-visible + label {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

.cosmetics-page .cosmetics-product-review-form .cosmetics-btn-primary {
    width: fit-content;
    min-width: 150px;
}

.cosmetics-page .cosmetics-product-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.cosmetics-page .cosmetics-product-related-heading > a {
    padding: 8px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    color: var(--cosmetics-primary-dark);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-product-related .cosmetics-product-grid {
    margin-top: 20px;
}

/* canonical cosmetics cart */
.cosmetics-page.cosmetics-cart-page .cosmetics-cart {
    padding: 28px 0 70px;
}

.cosmetics-page.cosmetics-cart-page .cosmetics-cart > .container-fluid {
    width: min(100%, 1360px);
    margin-inline: auto;
}

.cosmetics-page .cosmetics-cart-heading {
    margin-bottom: 22px;
}

.cosmetics-page .cosmetics-cart-heading > nav {
    margin-bottom: 14px;
    padding: 11px 15px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: rgb(255 255 255 / 88%);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-cart-heading-content {
    display: flex;
    min-height: 128px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 50%, rgb(244 194 215 / 38%), transparent 24%),
        linear-gradient(140deg, #fffafb, #fff);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-cart-heading-content > div > span {
    color: var(--cosmetics-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-cart-heading-content h1 {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 950;
}

.cosmetics-page .cosmetics-cart-heading-content > div > p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-cart-count {
    display: inline-flex;
    min-width: max-content;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 999px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
    align-items: start;
    gap: 22px;
}

.cosmetics-page .cosmetics-cart-items {
    display: grid;
    min-width: 0;
    gap: 14px;
}

.cosmetics-page .cosmetics-cart-item {
    display: grid;
    grid-template-areas:
        "media content commerce"
        "media footer footer";
    grid-template-columns: 132px minmax(0, 1fr) minmax(180px, auto);
    align-items: center;
    gap: 16px 20px;
    padding: 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 19px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-cart-item-media {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    grid-area: media;
    padding: 10px;
    border: 1px solid #f4e9ee;
    border-radius: 15px;
    place-items: center;
    background:
        radial-gradient(circle, rgb(255 230 240 / 58%), transparent 54%),
        #fffafb;
}

.cosmetics-page .cosmetics-cart-item-media img {
    width: 100%;
    height: 100%;
    max-height: 122px;
    object-fit: contain;
}

.cosmetics-page .cosmetics-cart-item-content {
    min-width: 0;
    grid-area: content;
}

.cosmetics-page .cosmetics-cart-item-brand {
    display: block;
    margin-bottom: 4px;
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-cart-item-title {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.85;
}

.cosmetics-page .cosmetics-cart-item-title a {
    color: inherit;
}

.cosmetics-page .cosmetics-cart-item-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.cosmetics-page .cosmetics-cart-item-variant li {
    padding: 4px 8px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-cart-item-stock {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-cart-item-stock.is-available {
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-cart-item-stock.is-low-stock {
    color: var(--cosmetics-warning);
}

.cosmetics-page .cosmetics-cart-item-stock.is-unavailable {
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-cart-item-service {
    margin: 8px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-cart-item-commerce {
    display: grid;
    min-width: 170px;
    grid-area: commerce;
    gap: 11px;
    padding-right: 18px;
    border-right: 1px solid var(--cosmetics-border);
    text-align: left;
}

.cosmetics-page .cosmetics-cart-item-price > span,
.cosmetics-page .cosmetics-cart-line-total > span {
    display: block;
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-cart-item-price p {
    margin: 3px 0 0;
    color: var(--cosmetics-primary-dark);
    font-size: 18px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-cart-item-price p small {
    font-size: 10px;
}

.cosmetics-page .cosmetics-cart-item-price del {
    display: block;
    margin-top: 2px;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-cart-line-total {
    padding-top: 9px;
    border-top: 1px dashed var(--cosmetics-border);
}

.cosmetics-page .cosmetics-cart-line-total strong {
    display: block;
    margin-top: 3px;
    color: var(--cosmetics-text);
    font-size: 15px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    grid-area: footer;
    padding-top: 12px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-cart-quantity {
    min-height: 44px;
    padding: 3px;
}

.cosmetics-page .cosmetics-cart-quantity button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
}

.cosmetics-page .cosmetics-cart-quantity .cart-item-remove {
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-cart-quantity .cart-quantity-value {
    width: 42px;
    height: 36px;
    padding: 0;
    border: 0;
    background-color: #fff;
    color: var(--cosmetics-text);
    font-weight: 900;
    text-align: center;
}

.cosmetics-page .cosmetics-cart-quantity button:disabled,
.cosmetics-page .cosmetics-cart-quantity input:disabled {
    background-color: #f2edef;
    color: #a69ca2;
    cursor: not-allowed;
    opacity: 1;
}

.cosmetics-page .cosmetics-cart-quantity-note {
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-cart-quantity-note.is-warning {
    color: var(--cosmetics-error);
    font-weight: 800;
}

.cosmetics-page .cosmetics-cart-item.is-unavailable {
    border-color: color-mix(in srgb, var(--cosmetics-error) 22%, white);
    background: linear-gradient(135deg, #fff, var(--cosmetics-error-soft));
}

.cosmetics-page .cosmetics-cart-item.is-unavailable .cosmetics-cart-item-media img {
    filter: grayscale(0.75);
    opacity: 0.68;
}

.cosmetics-page .cosmetics-cart-delivery {
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-cart-delivery summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 17px;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.cosmetics-page .cosmetics-cart-delivery summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cosmetics-page .cosmetics-cart-delivery summary small {
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 500;
}

.cosmetics-page .cosmetics-cart-delivery form {
    display: grid;
    gap: 10px;
    padding: 0 17px 17px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-cart-delivery form > p {
    margin: 13px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-cart-delivery form > label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cosmetics-text);
    font-size: 11px;
    cursor: pointer;
}

.cosmetics-page .cosmetics-cart-summary {
    position: sticky;
    top: 112px;
    padding: 22px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 19px;
    background: linear-gradient(145deg, #fffafb, #fff);
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-cart-summary h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 20px;
}

.cosmetics-page .cosmetics-cart-summary-count {
    margin: 5px 0 0;
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-cart-summary dl {
    margin: 18px 0 0;
}

.cosmetics-page .cosmetics-cart-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-cart-summary-row dt {
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-weight: 700;
}

.cosmetics-page .cosmetics-cart-summary-row dd {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
    text-align: left;
}

.cosmetics-page .cosmetics-cart-summary-row.is-discount dd {
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-cart-summary-total {
    padding-top: 16px;
    border-bottom: 0;
}

.cosmetics-page .cosmetics-cart-summary-total dt {
    color: var(--cosmetics-text);
    font-size: 13px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-cart-summary-total dd {
    color: var(--cosmetics-primary-dark);
    font-size: 22px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-cart-summary-warning {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 14px 0 0;
    padding: 10px;
    border: 1px solid var(--cosmetics-warning-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
    font-size: 10px;
    line-height: 1.75;
}

.cosmetics-page .cosmetics-cart-checkout {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 15px;
    border: 1px solid var(--cosmetics-primary-strong);
    border-radius: 13px;
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    font-weight: 900;
}

.cosmetics-page .cosmetics-cart-checkout:hover,
.cosmetics-page .cosmetics-cart-checkout:focus-visible {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
    box-shadow: 0 10px 20px rgb(217 70 141 / 20%);
}

.cosmetics-page .cosmetics-cart-summary-note {
    margin: 10px 0 0;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-cart-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.cosmetics-page .cosmetics-cart-benefits > div {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-weight: 800;
    box-shadow: var(--cosmetics-shadow-sm);
    text-align: center;
}

.cosmetics-page .cosmetics-cart-benefits i {
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
}

/* canonical cosmetics checkout */
.cosmetics-page.cosmetics-checkout-page .cosmetics-checkout {
    padding: 28px 0 72px;
}

.cosmetics-page.cosmetics-checkout-page .cosmetics-checkout > .container-fluid {
    width: min(100%, 1360px);
    margin-inline: auto;
}

.cosmetics-page .cosmetics-checkout-breadcrumb {
    margin-bottom: 14px;
    padding: 11px 15px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: rgb(255 255 255 / 88%);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-checkout-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 14px;
    padding: 17px 22px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
    list-style: none;
}

.cosmetics-page .cosmetics-checkout-step {
    position: relative;
    z-index: 0;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.cosmetics-page .cosmetics-checkout-step:not(:last-child)::after {
    position: absolute;
    z-index: -1;
    width: calc(100% - 52px);
    height: 2px;
    inset-inline-start: calc(50% + 26px);
    background-color: var(--cosmetics-border);
    content: "";
}

.cosmetics-page .cosmetics-checkout-step.is-complete:not(:last-child)::after {
    background-color: color-mix(in srgb, var(--cosmetics-success) 45%, var(--cosmetics-border));
}

.cosmetics-page .cosmetics-checkout-step-index {
    display: inline-grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 50%;
    place-items: center;
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 0 0 5px #fff;
}

.cosmetics-page .cosmetics-checkout-step.is-active,
.cosmetics-page .cosmetics-checkout-step.is-complete {
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-checkout-step.is-active .cosmetics-checkout-step-index {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-primary);
    color: #fff;
}

.cosmetics-page .cosmetics-checkout-step.is-complete .cosmetics-checkout-step-index {
    border-color: var(--cosmetics-success);
    background-color: var(--cosmetics-success);
    color: #fff;
}

.cosmetics-page .cosmetics-checkout-heading {
    display: flex;
    min-height: 136px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding: 25px 28px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 50%, rgb(244 194 215 / 38%), transparent 24%),
        linear-gradient(140deg, #fffafb, #fff);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-checkout-heading > div:first-child > span {
    color: var(--cosmetics-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-heading h1 {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 950;
}

.cosmetics-page .cosmetics-checkout-heading p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-checkout-heading-mark {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 19px;
    place-items: center;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 25px;
}

.cosmetics-page .cosmetics-checkout-heading-mark i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cosmetics-page .cosmetics-checkout-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-checkout-alert[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-checkout-alert.is-error {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-checkout-alert strong,
.cosmetics-page .cosmetics-checkout-alert p {
    display: block;
}

.cosmetics-page .cosmetics-checkout-alert p {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: 11px;
}

.cosmetics-page .cosmetics-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(290px, 0.9fr);
    align-items: start;
    gap: 22px;
}

.cosmetics-page .cosmetics-checkout-main {
    display: grid;
    min-width: 0;
    gap: 16px;
}

.cosmetics-page .cosmetics-checkout-section,
.cosmetics-page .cosmetics-checkout-summary {
    border: 1px solid var(--cosmetics-border);
    border-radius: 19px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-checkout-section {
    padding: 20px;
}

.cosmetics-page .cosmetics-checkout-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-checkout-section-heading > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.cosmetics-page .cosmetics-checkout-section-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    place-items: center;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
}

.cosmetics-page .cosmetics-checkout-section-heading h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 17px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-checkout-section-heading p {
    margin: 4px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-checkout-section-heading > a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 10px;
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-section-heading > a:hover,
.cosmetics-page .cosmetics-checkout-section-heading > a:focus-visible {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-checkout-items {
    display: grid;
    gap: 10px;
}

.cosmetics-page .cosmetics-checkout-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto minmax(118px, auto);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-checkout-item-media {
    display: grid;
    width: 78px;
    height: 78px;
    padding: 7px;
    border: 1px solid #f4e9ee;
    border-radius: 13px;
    place-items: center;
    background:
        radial-gradient(circle, rgb(255 230 240 / 58%), transparent 54%),
        #fff;
}

.cosmetics-page .cosmetics-checkout-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cosmetics-page .cosmetics-checkout-item-content {
    min-width: 0;
}

.cosmetics-page .cosmetics-checkout-item-content > span {
    display: block;
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-item-content h3 {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.75;
}

.cosmetics-page .cosmetics-checkout-item-content h3 a {
    color: inherit;
}

.cosmetics-page .cosmetics-checkout-item-content p {
    margin: 5px 0 0;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 1.7;
}

.cosmetics-page .cosmetics-checkout-item-quantity {
    display: grid;
    justify-items: center;
    gap: 5px;
}

.cosmetics-page .cosmetics-checkout-item-quantity > span,
.cosmetics-page .cosmetics-checkout-item-total > span {
    color: var(--cosmetics-muted);
    font-size: 9px;
}

.cosmetics-page .cosmetics-checkout-item .checkout-quantity-control {
    min-height: 38px;
    margin: 0;
    padding: 2px;
}

.cosmetics-page .cosmetics-checkout-item .checkout-quantity-control button {
    width: 31px;
    height: 31px;
    border: 0;
}

.cosmetics-page .cosmetics-checkout-item .checkout-quantity-control .cart-quantity-value {
    width: 34px;
    height: 31px;
    padding: 0;
    border: 0;
    background-color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.cosmetics-page .cosmetics-checkout-item .checkout-quantity-control .cart-item-remove {
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-checkout-item-total {
    padding-inline-start: 14px;
    border-inline-start: 1px solid var(--cosmetics-border);
    text-align: left;
}

.cosmetics-page .cosmetics-checkout-item-total strong {
    display: block;
    margin-top: 4px;
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-checkout-address {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-checkout-address-person {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cosmetics-page .cosmetics-checkout-address-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    place-items: center;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-checkout-address-person strong,
.cosmetics-page .cosmetics-checkout-address-person span {
    display: block;
}

.cosmetics-page .cosmetics-checkout-address-person strong {
    color: var(--cosmetics-text);
    font-size: 12px;
}

.cosmetics-page .cosmetics-checkout-address-person span {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 10px;
    text-align: right;
}

.cosmetics-page .cosmetics-checkout-address address {
    margin: 0;
    padding-inline-start: 18px;
    border-inline-start: 1px solid var(--cosmetics-border);
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-style: normal;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-checkout-address-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px dashed var(--cosmetics-warning);
    border-radius: 14px;
    background-color: var(--cosmetics-warning-soft);
    color: #805200;
}

.cosmetics-page .cosmetics-checkout-address-empty[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-checkout-address-empty > i {
    font-size: 22px;
}

.cosmetics-page .cosmetics-checkout-address-empty strong,
.cosmetics-page .cosmetics-checkout-address-empty p {
    display: block;
}

.cosmetics-page .cosmetics-checkout-address-empty p {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: 10px;
}

.cosmetics-page .cosmetics-checkout-address-empty a {
    margin-inline-start: auto;
    padding: 8px 11px;
    border-radius: 9px;
    background-color: #fff;
    color: #805200;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.cosmetics-page .cosmetics-checkout-fieldset + .cosmetics-checkout-fieldset {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-checkout-fieldset legend {
    float: none;
    width: auto;
    margin: 0 0 11px;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-day-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.cosmetics-page .cosmetics-checkout-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cosmetics-page .cosmetics-checkout-choice {
    position: relative;
    min-width: 0;
}

.cosmetics-page .cosmetics-checkout-choice > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.cosmetics-page .cosmetics-checkout-choice > label {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 36px 12px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 13px;
    background-color: #fff;
    color: var(--cosmetics-text);
    cursor: pointer;
}

.cosmetics-page .cosmetics-checkout-choice > label::before {
    position: absolute;
    width: 16px;
    height: 16px;
    inset-inline-start: 12px;
    border: 1px solid #cbbac3;
    border-radius: 50%;
    background-color: #fff;
    content: "";
}

.cosmetics-page .cosmetics-checkout-choice > label::after {
    position: absolute;
    width: 8px;
    height: 8px;
    inset-inline-start: 16px;
    border-radius: 50%;
    background-color: var(--cosmetics-primary);
    content: "";
    opacity: 0;
    transform: scale(0.4);
}

.cosmetics-page .cosmetics-checkout-choice > input:checked + label {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-page-bg);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.cosmetics-page .cosmetics-checkout-choice > input:checked + label::before {
    border-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-checkout-choice > input:checked + label::after {
    opacity: 1;
    transform: scale(1);
}

.cosmetics-page .cosmetics-checkout-choice > input:focus + label,
.cosmetics-page .cosmetics-checkout-choice > input:focus-visible + label {
    outline: 3px solid var(--cosmetics-primary-dark);
    outline-offset: 3px;
}

.cosmetics-page .cosmetics-checkout-choice > input:disabled + label {
    background-color: #f2edef;
    color: #8e858a;
    cursor: not-allowed;
}

.cosmetics-page .cosmetics-checkout-day-options label {
    min-height: 70px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.cosmetics-page .cosmetics-checkout-day-options strong,
.cosmetics-page .cosmetics-checkout-day-options span {
    display: block;
}

.cosmetics-page .cosmetics-checkout-day-options strong {
    font-size: 11px;
}

.cosmetics-page .cosmetics-checkout-day-options span {
    color: var(--cosmetics-muted);
    font-size: 9px;
}

.cosmetics-page .cosmetics-checkout-option > label > i {
    color: var(--cosmetics-primary-dark);
    font-size: 20px;
}

.cosmetics-page .cosmetics-checkout-option label span,
.cosmetics-page .cosmetics-checkout-option label strong,
.cosmetics-page .cosmetics-checkout-option label small {
    display: block;
}

.cosmetics-page .cosmetics-checkout-option label strong {
    font-size: 12px;
}

.cosmetics-page .cosmetics-checkout-option label small {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-checkout-gateways {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.cosmetics-page .cosmetics-checkout-gateways label {
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    padding: 9px 28px 9px 9px;
}

.cosmetics-page .cosmetics-checkout-gateways img {
    width: 50px;
    height: 32px;
    object-fit: contain;
}

.cosmetics-page .cosmetics-checkout-gateways label span {
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-checkout-field-error {
    margin: 9px 0 0;
    color: var(--cosmetics-error);
    font-size: 10px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-checkout-field-error[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-checkout-discount-trigger {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 13px;
    border: 1px dashed var(--cosmetics-highlight);
    border-radius: 13px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    text-align: right;
}

.cosmetics-page .cosmetics-checkout-discount-trigger > i:first-child {
    font-size: 20px;
}

.cosmetics-page .cosmetics-checkout-discount-trigger > i:last-child {
    margin-inline-start: auto;
}

.cosmetics-page .cosmetics-checkout-discount-trigger span,
.cosmetics-page .cosmetics-checkout-discount-trigger strong,
.cosmetics-page .cosmetics-checkout-discount-trigger small {
    display: block;
}

.cosmetics-page .cosmetics-checkout-discount-trigger strong {
    font-size: 11px;
}

.cosmetics-page .cosmetics-checkout-discount-trigger small {
    margin-top: 2px;
    color: var(--cosmetics-muted);
    font-size: 9px;
}

.cosmetics-page .cosmetics-checkout-discount-trigger:hover,
.cosmetics-page .cosmetics-checkout-discount-trigger:focus-visible {
    border-style: solid;
    border-color: var(--cosmetics-primary);
    background-color: #fff;
}

.cosmetics-page .cosmetics-checkout-summary {
    position: sticky;
    top: 112px;
    padding: 22px;
    background: linear-gradient(145deg, #fffafb, #fff);
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-checkout-summary h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 20px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-checkout-summary > p:first-of-type {
    margin: 5px 0 0;
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-checkout-summary dl {
    margin: 18px 0 0;
}

.cosmetics-page .cosmetics-checkout-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-checkout-summary-row dt {
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-weight: 700;
}

.cosmetics-page .cosmetics-checkout-summary-row dd {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
    text-align: left;
}

.cosmetics-page .cosmetics-checkout-summary-row.is-discount dd {
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-checkout-total {
    padding-top: 16px;
    border-bottom: 0;
}

.cosmetics-page .cosmetics-checkout-total dt {
    color: var(--cosmetics-text);
    font-size: 13px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-total dd {
    color: var(--cosmetics-primary-dark);
    font-size: 22px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-checkout-summary-notice {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 14px 0 0;
    padding: 10px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 11px;
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-checkout-submit {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 15px;
    border: 1px solid var(--cosmetics-primary-strong);
    border-radius: 13px;
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-submit:hover,
.cosmetics-page .cosmetics-checkout-submit:focus-visible {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
    box-shadow: 0 10px 20px rgb(217 70 141 / 20%);
}

.cosmetics-page .cosmetics-checkout-submit-note {
    margin: 9px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

.cosmetics-page .cosmetics-checkout-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.cosmetics-page .cosmetics-checkout-trust > div {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-checkout-trust > div > i {
    color: var(--cosmetics-primary-dark);
    font-size: 18px;
}

.cosmetics-page .cosmetics-checkout-trust span,
.cosmetics-page .cosmetics-checkout-trust strong,
.cosmetics-page .cosmetics-checkout-trust small {
    display: block;
}

.cosmetics-page .cosmetics-checkout-trust strong {
    color: var(--cosmetics-text);
    font-size: 10px;
}

.cosmetics-page .cosmetics-checkout-trust small {
    margin-top: 2px;
    color: var(--cosmetics-muted);
    font-size: 9px;
}

.cosmetics-page .cosmetics-checkout-discount-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    box-shadow: var(--cosmetics-shadow-lg);
}

.cosmetics-page .cosmetics-checkout-discount-modal .modal-header {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-checkout-discount-modal .modal-title {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 17px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-checkout-discount-modal .modal-body {
    padding: 20px;
}

.cosmetics-page .cosmetics-checkout-discount-modal .modal-body > p {
    margin: 0 0 14px;
    color: var(--cosmetics-muted);
    font-size: 11px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-checkout-discount-modal form {
    display: grid;
    gap: 12px;
}

.cosmetics-page .cosmetics-checkout-discount-modal .form-label {
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-checkout-discount-modal .form-control {
    min-height: 44px;
    border-color: var(--cosmetics-border);
    border-radius: 11px;
}

.cosmetics-page .cosmetics-checkout-discount-modal .form-control:focus {
    border-color: var(--cosmetics-primary);
    box-shadow: 0 0 0 3px var(--main-color-one-shadow);
}

.cosmetics-page .cosmetics-checkout-discount-modal .cosmetics-btn-primary {
    width: fit-content;
    min-height: 42px;
    padding-inline: 18px;
    border: 0;
    border-radius: 10px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-weight: 900;
}

/* canonical cosmetics delivery address */
.cosmetics-page.cosmetics-delivery-address-page .cosmetics-address {
    padding: 28px 0 72px;
}

.cosmetics-page.cosmetics-delivery-address-page .cosmetics-address > .container-fluid {
    width: min(100%, 1360px);
    margin-inline: auto;
}

.cosmetics-page .cosmetics-address-breadcrumb {
    margin-bottom: 14px;
    padding: 11px 15px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: rgb(255 255 255 / 88%);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-address-heading {
    display: flex;
    min-height: 136px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 14px 0 22px;
    padding: 25px 28px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 50%, rgb(244 194 215 / 38%), transparent 24%),
        linear-gradient(140deg, #fffafb, #fff);
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-address-heading > div:first-child > span {
    color: var(--cosmetics-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-heading h1 {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 950;
}

.cosmetics-page .cosmetics-address-heading p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-address-heading-mark {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 50% 50% 50% 16px;
    place-items: center;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 24px;
}

.cosmetics-page .cosmetics-address-heading-mark i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cosmetics-page .cosmetics-address-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-address-alert[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-address-alert.is-error {
    border-color: color-mix(in srgb, var(--cosmetics-error) 25%, white);
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-address-alert strong,
.cosmetics-page .cosmetics-address-alert p {
    display: block;
}

.cosmetics-page .cosmetics-address-alert p {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: 11px;
}

.cosmetics-page .cosmetics-address-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(280px, 0.95fr);
    align-items: start;
    gap: 22px;
}

.cosmetics-page .cosmetics-address-main {
    min-width: 0;
}

.cosmetics-page .cosmetics-address-section,
.cosmetics-page .cosmetics-address-summary {
    border: 1px solid var(--cosmetics-border);
    border-radius: 19px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-address-section {
    padding: 20px;
}

.cosmetics-page .cosmetics-address-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-address-section-heading > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.cosmetics-page .cosmetics-address-section-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    place-items: center;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
}

.cosmetics-page .cosmetics-address-section-heading h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 17px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-address-section-heading p {
    margin: 4px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-address-add {
    display: inline-flex;
    min-height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--cosmetics-primary);
    border-radius: 11px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-add:hover,
.cosmetics-page .cosmetics-address-add:focus-visible {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
}

.cosmetics-page .cosmetics-address-list {
    display: grid;
    min-width: 0;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.cosmetics-page .cosmetics-address-option {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-address-option > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.cosmetics-page .cosmetics-address-card {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(155px, 0.65fr) minmax(0, 1.35fr) auto;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 20px 22px;
    background-color: #fff;
    cursor: pointer;
}

.cosmetics-page .cosmetics-address-card::before {
    position: absolute;
    width: 4px;
    inset-block: 0;
    inset-inline-start: 0;
    background-color: transparent;
    content: "";
}

.cosmetics-page .cosmetics-address-option > input:checked + .cosmetics-address-card {
    background:
        linear-gradient(90deg, transparent 70%, rgb(253 235 243 / 42%)),
        var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-address-option > input:checked + .cosmetics-address-card::before {
    background-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-address-option > input:focus + .cosmetics-address-card,
.cosmetics-page .cosmetics-address-option > input:focus-visible + .cosmetics-address-card {
    outline: 3px solid var(--cosmetics-primary-dark);
    outline-offset: -3px;
}

.cosmetics-page .cosmetics-address-selected-label {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--cosmetics-success);
    font-size: 9px;
    font-weight: 900;
    opacity: 0;
}

.cosmetics-page .cosmetics-address-option > input:checked + .cosmetics-address-card .cosmetics-address-selected-label {
    opacity: 1;
}

.cosmetics-page .cosmetics-address-card-title {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-start: 14px;
    padding: 4px 8px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 8px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-recipient,
.cosmetics-page .cosmetics-address-location {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding-top: 19px;
}

.cosmetics-page .cosmetics-address-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    place-items: center;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-address-recipient > span:last-child,
.cosmetics-page .cosmetics-address-recipient strong,
.cosmetics-page .cosmetics-address-recipient small,
.cosmetics-page .cosmetics-address-location > span,
.cosmetics-page .cosmetics-address-location strong,
.cosmetics-page .cosmetics-address-location small {
    display: block;
    min-width: 0;
}

.cosmetics-page .cosmetics-address-recipient strong,
.cosmetics-page .cosmetics-address-location strong {
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-recipient small,
.cosmetics-page .cosmetics-address-location small {
    margin-top: 4px;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-address-recipient small {
    text-align: right;
}

.cosmetics-page .cosmetics-address-location > i {
    color: var(--cosmetics-primary-dark);
    font-size: 18px;
}

.cosmetics-page .cosmetics-address-postal {
    align-self: center;
    min-width: 100px;
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-address-postal span,
.cosmetics-page .cosmetics-address-postal strong {
    display: block;
}

.cosmetics-page .cosmetics-address-postal span {
    color: var(--cosmetics-muted);
    font-size: 8px;
}

.cosmetics-page .cosmetics-address-postal strong {
    margin-top: 4px;
    color: var(--cosmetics-text);
    font-size: 10px;
    text-align: right;
}

.cosmetics-page .cosmetics-address-actions {
    display: flex;
    min-width: 78px;
    flex-direction: column;
    border-inline-start: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-address-actions a {
    display: flex;
    min-height: 50%;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-actions a + a {
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-address-actions a:hover,
.cosmetics-page .cosmetics-address-actions a:focus-visible {
    background-color: var(--cosmetics-soft);
}

.cosmetics-page .cosmetics-address-actions a.is-remove {
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-address-actions a.is-remove:hover,
.cosmetics-page .cosmetics-address-actions a.is-remove:focus-visible {
    background-color: var(--cosmetics-error-soft);
}

.cosmetics-page .cosmetics-address-selection-error {
    margin: 10px 0 0;
    color: var(--cosmetics-error);
    font-size: 10px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-address-selection-error[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-address-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 22px;
    border: 1px dashed var(--cosmetics-highlight);
    border-radius: 15px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-address-empty[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-address-empty-icon {
    display: grid;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    place-items: center;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 22px;
}

.cosmetics-page .cosmetics-address-empty h3 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-address-empty p {
    margin: 4px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-address-empty button {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--cosmetics-primary);
    border-radius: 10px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-summary {
    position: sticky;
    top: 112px;
    padding: 22px;
    background:
        radial-gradient(circle at 10% 5%, rgb(244 194 215 / 25%), transparent 30%),
        linear-gradient(145deg, #fffafb, #fff);
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-address-summary-eyebrow {
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-summary h2 {
    margin: 4px 0 0;
    color: var(--cosmetics-text);
    font-size: 20px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-address-summary > p:first-of-type {
    margin: 5px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-address-summary-destination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    padding: 13px;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 13px;
    background-color: var(--cosmetics-soft);
}

.cosmetics-page .cosmetics-address-summary-destination > i {
    color: var(--cosmetics-primary-dark);
    font-size: 19px;
}

.cosmetics-page .cosmetics-address-summary-destination span,
.cosmetics-page .cosmetics-address-summary-destination strong {
    display: block;
}

.cosmetics-page .cosmetics-address-summary-destination span {
    color: var(--cosmetics-muted);
    font-size: 8px;
}

.cosmetics-page .cosmetics-address-summary-destination strong {
    margin-top: 3px;
    color: var(--cosmetics-text);
    font-size: 11px;
}

.cosmetics-page .cosmetics-address-summary dl {
    margin: 16px 0 0;
}

.cosmetics-page .cosmetics-address-summary dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-address-summary dt {
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 700;
}

.cosmetics-page .cosmetics-address-summary dd {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    text-align: left;
}

.cosmetics-page .cosmetics-address-summary dd.is-ready {
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-address-summary-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 14px 0 0;
    padding: 10px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 11px;
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-address-continue {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 15px;
    border: 1px solid var(--cosmetics-primary-strong);
    border-radius: 13px;
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    font-weight: 900;
}

.cosmetics-page .cosmetics-address-continue:hover,
.cosmetics-page .cosmetics-address-continue:focus-visible {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
    box-shadow: 0 10px 20px rgb(217 70 141 / 20%);
}

.cosmetics-page .cosmetics-address-back {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-address-back:hover,
.cosmetics-page .cosmetics-address-back:focus-visible {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-address-help {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 22px;
    padding: 15px 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-address-help > i {
    color: var(--cosmetics-primary-dark);
    font-size: 20px;
}

.cosmetics-page .cosmetics-address-help strong,
.cosmetics-page .cosmetics-address-help span {
    display: block;
}

.cosmetics-page .cosmetics-address-help strong {
    color: var(--cosmetics-text);
    font-size: 10px;
}

.cosmetics-page .cosmetics-address-help span {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 9px;
}

.cosmetics-page .cosmetics-address-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    box-shadow: var(--cosmetics-shadow-lg);
}

.cosmetics-page .cosmetics-address-modal .modal-header {
    align-items: flex-start;
    padding: 20px 22px;
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-address-modal .modal-title {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 18px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-address-modal .address-modal-description {
    margin-top: 5px;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-address-modal .modal-body {
    padding: 20px 22px 22px;
}

.cosmetics-page.cosmetics-delivery-address-page #address-form .form-label {
    margin-bottom: 7px;
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page.cosmetics-delivery-address-page #address-form .form-control,
.cosmetics-page.cosmetics-delivery-address-page #address-form .form-select {
    min-height: 46px;
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    font-size: 12px;
}

.cosmetics-page.cosmetics-delivery-address-page #address-form textarea.form-control {
    min-height: 116px;
    line-height: 2;
}

.cosmetics-page.cosmetics-delivery-address-page #address-form .form-control:focus,
.cosmetics-page.cosmetics-delivery-address-page #address-form .form-select:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page.cosmetics-delivery-address-page #address-form [aria-invalid="true"] {
    border-color: var(--cosmetics-danger);
    background-color: var(--cosmetics-danger-bg);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cosmetics-danger) 14%, transparent);
}

.cosmetics-page.cosmetics-delivery-address-page #address-form .address-form-error {
    color: var(--cosmetics-danger);
}

.cosmetics-page.cosmetics-delivery-address-page #address-form .address-form-actions .btn {
    border-radius: var(--cosmetics-radius-md);
}

.cosmetics-page.cosmetics-delivery-address-page #address-form .address-form-actions .main-color-one-bg {
    background-color: var(--cosmetics-primary-strong) !important;
}

/*========================== canonical cosmetics payment results ==========================*/

.cosmetics-page.cosmetics-payment-result-page .cosmetics-payment-result {
    padding-block: 30px 64px;
}

.cosmetics-page .cosmetics-payment-result > .container-fluid {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

.cosmetics-page .cosmetics-payment-result-breadcrumb {
    margin-bottom: 18px;
    padding: 12px 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-payment-result-shell {
    width: min(100%, 820px);
    margin: 24px auto 0;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 24px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-payment-result-status {
    position: relative;
    display: flex;
    min-height: 260px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 34px 28px 30px;
    overflow: hidden;
    text-align: center;
}

.cosmetics-page .cosmetics-payment-result-status::before,
.cosmetics-page .cosmetics-payment-result-status::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.cosmetics-page .cosmetics-payment-result-status::before {
    width: 230px;
    height: 230px;
    inset-block-start: -140px;
    inset-inline-end: -70px;
}

.cosmetics-page .cosmetics-payment-result-status::after {
    width: 110px;
    height: 110px;
    inset-block-end: -70px;
    inset-inline-start: 7%;
}

.cosmetics-page .cosmetics-payment-result.is-success .cosmetics-payment-result-status {
    background:
        linear-gradient(145deg, rgb(234 247 240 / 92%), rgb(255 255 255 / 96%) 68%),
        var(--cosmetics-success-soft);
}

.cosmetics-page .cosmetics-payment-result.is-success .cosmetics-payment-result-status::before,
.cosmetics-page .cosmetics-payment-result.is-success .cosmetics-payment-result-status::after {
    background-color: rgb(25 135 84 / 7%);
}

.cosmetics-page .cosmetics-payment-result.is-failure .cosmetics-payment-result-status {
    background:
        linear-gradient(145deg, rgb(255 240 242 / 96%), rgb(255 255 255 / 96%) 68%),
        var(--cosmetics-error-soft);
}

.cosmetics-page .cosmetics-payment-result.is-failure .cosmetics-payment-result-status::before,
.cosmetics-page .cosmetics-payment-result.is-failure .cosmetics-payment-result-status::after {
    background-color: rgb(201 52 69 / 7%);
}

.cosmetics-page .cosmetics-payment-result-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgb(255 255 255 / 76%);
    font-size: 35px;
}

.cosmetics-page .cosmetics-payment-result.is-success .cosmetics-payment-result-icon,
.cosmetics-page .cosmetics-payment-result.is-success .cosmetics-payment-result-eyebrow {
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-payment-result.is-failure .cosmetics-payment-result-icon,
.cosmetics-page .cosmetics-payment-result.is-failure .cosmetics-payment-result-eyebrow {
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-payment-result-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-payment-result-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--cosmetics-text);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.65;
}

.cosmetics-page .cosmetics-payment-result-copy {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin: 8px auto 0;
    color: var(--cosmetics-muted);
    font-size: 13px;
    line-height: 2;
}

.cosmetics-page .cosmetics-payment-result-details {
    margin: 0 28px;
    padding: 24px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-payment-result-details-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-payment-result-details-heading > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 20px;
}

.cosmetics-page .cosmetics-payment-result-details-heading h2,
.cosmetics-page .cosmetics-payment-result-details-heading p {
    margin: 0;
}

.cosmetics-page .cosmetics-payment-result-details-heading h2 {
    color: var(--cosmetics-text);
    font-size: 16px;
    font-weight: 950;
}

.cosmetics-page .cosmetics-payment-result-details-heading p {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-payment-result-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.cosmetics-page .cosmetics-payment-result-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--cosmetics-border);
}

.cosmetics-page .cosmetics-payment-result-row:nth-child(odd) {
    padding-inline-end: 24px;
}

.cosmetics-page .cosmetics-payment-result-row:nth-child(even) {
    padding-inline-start: 24px;
    border-inline-start: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-payment-result-row:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.cosmetics-page .cosmetics-payment-result-row dt,
.cosmetics-page .cosmetics-payment-result-row dd {
    min-width: 0;
    margin: 0;
}

.cosmetics-page .cosmetics-payment-result-row dt {
    color: var(--cosmetics-muted);
    font-size: 11px;
}

.cosmetics-page .cosmetics-payment-result-row dd {
    overflow-wrap: anywhere;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
    text-align: end;
}

.cosmetics-page .cosmetics-payment-result-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-payment-result.is-success .cosmetics-payment-result-badge {
    background-color: var(--cosmetics-success-soft);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-payment-result.is-failure .cosmetics-payment-result-badge {
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-payment-result-message {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 18px 28px 0;
    padding: 14px 16px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
}

.cosmetics-page .cosmetics-payment-result.is-success .cosmetics-payment-result-message {
    border-color: rgb(25 135 84 / 20%);
    background-color: var(--cosmetics-success-soft);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-payment-result.is-failure .cosmetics-payment-result-message {
    border-color: rgb(201 52 69 / 20%);
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-payment-result-message > i {
    margin-top: 2px;
    font-size: 18px;
}

.cosmetics-page .cosmetics-payment-result-message strong,
.cosmetics-page .cosmetics-payment-result-message p {
    display: block;
    margin: 0;
}

.cosmetics-page .cosmetics-payment-result-message strong {
    color: var(--cosmetics-text);
    font-size: 11px;
}

.cosmetics-page .cosmetics-payment-result-message p {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-payment-result-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 28px 28px;
}

.cosmetics-page .cosmetics-payment-result-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cosmetics-page .cosmetics-payment-result-action.is-primary {
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-payment-result-action.is-primary:hover {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
}

.cosmetics-page .cosmetics-payment-result-action.is-secondary {
    border-color: var(--cosmetics-border);
    background-color: #fff;
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-payment-result-action.is-secondary:hover {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-payment-result-action.is-text {
    min-height: 40px;
    padding-inline: 12px;
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-payment-result-action.is-text:hover {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-payment-result-action:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--cosmetics-primary) 28%, transparent);
    outline-offset: 3px;
}

.cosmetics-page .cosmetics-payment-result-help {
    display: flex;
    width: min(100%, 820px);
    align-items: center;
    gap: 12px;
    margin: 18px auto 0;
    padding: 15px 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-payment-result-help > i {
    color: var(--cosmetics-primary-dark);
    font-size: 21px;
}

.cosmetics-page .cosmetics-payment-result-help strong,
.cosmetics-page .cosmetics-payment-result-help p {
    display: block;
    margin: 0;
}

.cosmetics-page .cosmetics-payment-result-help strong {
    color: var(--cosmetics-text);
    font-size: 11px;
}

.cosmetics-page .cosmetics-payment-result-help p {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

/*========================== end canonical cosmetics payment results ==========================*/

/*========================== canonical cosmetics sms authentication ==========================*/

.cosmetics-page.cosmetics-auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 18%, rgb(242 184 207 / 35%), transparent 35%),
        linear-gradient(180deg, rgb(255 255 255 / 75%) 0%, rgb(255 255 255 / 65%) 100%),
        url('../image/cosmetics/auth-background.webp') no-repeat center center / cover;
}

.cosmetics-page .cosmetics-auth-shell {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: 28px 20px;
}

.cosmetics-page .cosmetics-auth-wrap {
    width: min(100%, 470px);
}

.cosmetics-page .cosmetics-auth-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.cosmetics-page .cosmetics-auth-brand > a:first-child {
    display: inline-flex;
    border-radius: 12px;
}

.cosmetics-page .cosmetics-auth-brand .cosmetics-auth-logo {
    display: block;
    width: 126px;
    height: 54px;
    object-fit: contain;
}

.cosmetics-page .cosmetics-auth-return {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 11px;
    background-color: rgb(255 255 255 / 84%);
    color: var(--cosmetics-muted);
    font-size: 11px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-auth-return:hover,
.cosmetics-page .cosmetics-auth-return:focus-visible {
    border-color: var(--cosmetics-primary);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-auth-card.auth-form {
    width: 100%;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 20px !important;
    background-color: rgb(255 255 255 / 97%) !important;
    box-shadow: var(--cosmetics-shadow-lg) !important;
}

.cosmetics-page .cosmetics-auth-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 280px;
    margin: 0 auto 25px;
    padding: 0;
    list-style: none;
}

.cosmetics-page .cosmetics-auth-steps::before {
    position: absolute;
    height: 2px;
    inset: 17px 25% auto;
    background-color: var(--cosmetics-border);
    content: "";
}

.cosmetics-page .cosmetics-auth-steps li {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-auth-steps li > span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 50%;
    background-color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-auth-steps li > small {
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-auth-steps li.is-active > span {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-primary);
    box-shadow: 0 0 0 5px var(--cosmetics-soft);
    color: #fff;
}

.cosmetics-page .cosmetics-auth-steps li.is-active > small {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-auth-steps li.is-complete > span {
    border-color: var(--cosmetics-success);
    background-color: var(--cosmetics-success);
    color: #fff;
}

.cosmetics-page .cosmetics-auth-heading {
    margin-bottom: 22px;
    text-align: center;
}

.cosmetics-page .cosmetics-auth-heading > span {
    display: block;
    margin-bottom: 5px;
    color: var(--cosmetics-primary-dark);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-auth-heading h1 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 24px;
    font-weight: 950;
    line-height: 1.7;
}

.cosmetics-page .cosmetics-auth-copy {
    max-width: 36ch;
    margin: 6px auto 0;
    color: var(--cosmetics-muted);
    font-size: 11px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-auth-form {
    padding: 0 !important;
}

.cosmetics-page .cosmetics-auth-field > label,
.cosmetics-page .cosmetics-auth-code-label {
    display: block;
    margin-bottom: 8px;
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-auth-control {
    position: relative;
}

.cosmetics-page .cosmetics-auth-control > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    inset-inline-end: 16px;
    color: var(--cosmetics-primary-dark);
    font-size: 19px;
    transform: translateY(-50%);
}

.cosmetics-page .cosmetics-auth-control .form-control {
    min-height: 54px;
    padding-inline: 46px 16px;
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
    font-size: 14px;
}

.cosmetics-page .cosmetics-auth-control .form-control:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page .cosmetics-auth-control .form-control[aria-invalid="true"] {
    border-color: var(--cosmetics-danger);
    background-color: var(--cosmetics-danger-bg);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cosmetics-danger) 14%, transparent);
}

.cosmetics-page .cosmetics-auth-hint {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 9px;
}

.cosmetics-page .cosmetics-auth-card > .cosmetics-auth-feedback {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 11px 12px;
    border: 1px solid var(--cosmetics-danger-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-auth-feedback[hidden] {
    display: none;
}

.cosmetics-page .auth-field-error.cosmetics-auth-feedback {
    min-height: 22px;
    margin-top: 7px;
    color: var(--cosmetics-danger);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-auth-actions {
    margin-top: 18px;
}

.cosmetics-page .cosmetics-auth-submit {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 18px;
    border: 0;
    border-radius: 13px !important;
    background-color: var(--cosmetics-primary-strong) !important;
    box-shadow: var(--cosmetics-shadow-sm);
    color: var(--cosmetics-text-inverse) !important;
    font-size: 12px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-auth-submit:hover,
.cosmetics-page .cosmetics-auth-submit:focus-visible {
    background-color: var(--cosmetics-primary-dark) !important;
}

.cosmetics-page .cosmetics-auth-submit:focus-visible,
.cosmetics-page .cosmetics-auth-return:focus-visible,
.cosmetics-page .otp-edit-mobile:focus-visible,
.cosmetics-page .otp-resend:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

.cosmetics-page .cosmetics-auth-submit:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.cosmetics-page .cosmetics-auth-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 19px;
    padding: 11px 13px;
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-auth-mobile > i {
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
}

.cosmetics-page .cosmetics-auth-mobile span {
    display: inline-block;
    color: var(--cosmetics-text);
    font-weight: 900;
}

.cosmetics-page .cosmetics-auth-code-field {
    margin-top: 2px;
}

.cosmetics-page .cosmetics-auth-code {
    margin: 0 0 4px;
}

.cosmetics-page .cosmetics-auth-code label {
    flex: 0 1 48px;
    min-width: 0;
}

.cosmetics-page .cosmetics-auth-code input {
    width: 100%;
    height: 56px;
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
}

.cosmetics-page .cosmetics-auth-code .otp-digit[aria-invalid="true"] {
    border-color: var(--cosmetics-danger);
    background-color: var(--cosmetics-danger-bg);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cosmetics-danger) 14%, transparent);
}

.cosmetics-page .cosmetics-auth-resend {
    margin-top: 6px;
    padding-top: 15px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-auth-resend .otp-edit-mobile,
.cosmetics-page .cosmetics-auth-resend .otp-resend {
    border-radius: 8px;
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-auth-resend .otp-edit-mobile:hover,
.cosmetics-page .cosmetics-auth-resend .otp-resend:not(:disabled) {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-auth-resend .otp-resend:disabled {
    cursor: wait;
    opacity: 0.78;
}

.cosmetics-page .cosmetics-auth-terms {
    width: 100%;
    max-width: 440px;
    margin: 14px auto 0 !important;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 2 !important;
    text-align: center;
}

.cosmetics-page .cosmetics-auth-terms a {
    color: var(--cosmetics-primary-dark);
    font-weight: 900;
}

.cosmetics-page .cosmetics-auth-support {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 1.9;
    text-align: center;
}

.cosmetics-page .cosmetics-auth-support > i {
    color: var(--cosmetics-primary-dark);
    font-size: 15px;
}

/*========================== end canonical cosmetics sms authentication ==========================*/

@media only screen and (min-width: 992px) {
    .cosmetics-page .cosmetics-filter-panel {
        position: sticky;
        top: 112px;
    }
}

/*========================== end cosmetics non-homepage foundation ==========================*/

/*========================== canonical cosmetics account shell ==========================*/

.cosmetics-page.cosmetics-account-page .cosmetics-account {
    padding: 28px 0 72px;
}

.cosmetics-page .cosmetics-account > .container-fluid {
    width: min(100%, 1440px);
}

.cosmetics-page .cosmetics-account-breadcrumb {
    margin-bottom: 20px;
}

.cosmetics-page .cosmetics-account-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    list-style: none;
}

.cosmetics-page .cosmetics-account-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cosmetics-page .cosmetics-account-breadcrumb li + li::before {
    content: "\F285";
    color: var(--cosmetics-highlight);
    font-family: bootstrap-icons;
    font-size: 9px;
}

.cosmetics-page .cosmetics-account-breadcrumb a {
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-account-breadcrumb a:hover {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-account-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.cosmetics-page .cosmetics-account-eyebrow,
.cosmetics-page .cosmetics-account-section-header > div > span,
.cosmetics-page .cosmetics-account-welcome > div > span {
    display: block;
    margin-bottom: 6px;
    color: var(--cosmetics-primary-dark);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-heading h1 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.5;
}

.cosmetics-page .cosmetics-account-heading p {
    margin: 6px 0 0;
    color: var(--cosmetics-muted);
    font-size: 13px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-account-mobile-nav {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-size: 12px;
    font-weight: 900;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-account-mobile-nav:hover,
.cosmetics-page .cosmetics-account-mobile-nav:focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-soft);
}

.cosmetics-page .cosmetics-account-layout {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.cosmetics-page .cosmetics-account-sidebar {
    border: 1px solid var(--cosmetics-border);
    border-radius: 22px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-account-sidebar .offcanvas-body {
    display: block;
    padding: 16px;
}

.cosmetics-page .cosmetics-account-user {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 32px;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background:
        radial-gradient(circle at 12% 18%, rgb(217 70 141 / 9%) 0 28px, transparent 29px),
        linear-gradient(135deg, var(--cosmetics-soft), #fff);
}

.cosmetics-page .cosmetics-account-avatar {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 50%;
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-size: 24px;
}

.cosmetics-page .cosmetics-account-user-name {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.6;
}

.cosmetics-page .cosmetics-account-user-meta {
    margin: 3px 0 0;
    color: var(--cosmetics-muted);
    font-size: 11px;
    text-align: right;
}

.cosmetics-page .cosmetics-account-user-edit {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-account-user-edit:hover,
.cosmetics-page .cosmetics-account-user-edit:focus-visible {
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-account-nav {
    margin-top: 14px;
}

.cosmetics-page .cosmetics-account-nav ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cosmetics-page .cosmetics-account-nav-link {
    position: relative;
    display: grid;
    min-height: 46px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 11px;
    color: var(--cosmetics-muted);
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-nav-link::before {
    content: "";
    position: absolute;
    inset: 9px auto 9px -16px;
    width: 3px;
    border-radius: 3px;
    background-color: transparent;
}

.cosmetics-page .cosmetics-account-nav-link > i {
    color: var(--cosmetics-secondary-dark);
    font-size: 17px;
    text-align: center;
}

.cosmetics-page .cosmetics-account-nav-link:hover,
.cosmetics-page .cosmetics-account-nav-link:focus-visible {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-account-nav-link.is-active {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-account-nav-link.is-active::before {
    background-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-account-nav-link.is-active > i {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-account-nav-badge {
    min-width: 25px;
    padding: 3px 7px;
    border-radius: 999px;
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    text-align: center;
}

.cosmetics-page .cosmetics-account-logout {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 9px 12px;
    border-top: 1px solid var(--cosmetics-border);
    color: #b7354f;
    font-size: 12px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-logout:hover,
.cosmetics-page .cosmetics-account-logout:focus-visible {
    color: #8f263c;
}

.cosmetics-page .cosmetics-account-content {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-welcome {
    position: relative;
    display: flex;
    min-height: 142px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 25px 28px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 85%, rgb(152 117 173 / 13%) 0 68px, transparent 69px),
        linear-gradient(115deg, #fff, var(--cosmetics-soft));
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-account-welcome::after {
    content: "\F4D7";
    position: absolute;
    left: 28px;
    top: 50%;
    color: rgb(217 70 141 / 7%);
    font-family: bootstrap-icons;
    font-size: 116px;
    transform: translateY(-50%);
}

.cosmetics-page .cosmetics-account-welcome > div,
.cosmetics-page .cosmetics-account-welcome > a {
    position: relative;
    z-index: 1;
}

.cosmetics-page .cosmetics-account-welcome h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.7;
}

.cosmetics-page .cosmetics-account-welcome p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 12px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-account-welcome > a {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 11px;
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-welcome > a:hover,
.cosmetics-page .cosmetics-account-welcome > a:focus-visible {
    border-color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-account-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.cosmetics-page .cosmetics-account-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-account-stat-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 19px;
}

.cosmetics-page .cosmetics-account-stat-icon.is-active-order {
    background-color: #edf4fc;
    color: #2762a8;
}

.cosmetics-page .cosmetics-account-stat-icon.is-complete-order {
    background-color: #eef8f1;
    color: #277447;
}

.cosmetics-page .cosmetics-account-stat-icon.is-favorite {
    background-color: #fff0f5;
    color: #b73570;
}

.cosmetics-page .cosmetics-account-stat-icon.is-comment {
    background-color: #f3eef7;
    color: #73558a;
}

.cosmetics-page .cosmetics-account-stat > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-stat strong,
.cosmetics-page .cosmetics-account-stat span {
    display: block;
}

.cosmetics-page .cosmetics-account-stat strong {
    color: var(--cosmetics-text);
    font-size: 20px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-stat > div > span {
    margin-top: 3px;
    overflow: hidden;
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-account-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, .8fr);
    gap: 16px;
    margin-top: 16px;
}

.cosmetics-page .cosmetics-account-section {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 19px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.cosmetics-page .cosmetics-account-section-header h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 16px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-section-header > a {
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-section-header > a:hover,
.cosmetics-page .cosmetics-account-section-header > a:focus-visible {
    color: var(--cosmetics-primary);
}

.cosmetics-page .cosmetics-account-order {
    display: grid;
    grid-template-columns: minmax(150px, .75fr) minmax(0, 1.55fr) auto;
    gap: 18px;
    align-items: center;
    padding: 17px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-order-primary {
    display: flex;
    align-items: center;
    gap: 11px;
}

.cosmetics-page .cosmetics-account-order-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: var(--cosmetics-secondary-soft);
    color: var(--cosmetics-secondary-dark);
    font-size: 18px;
}

.cosmetics-page .cosmetics-account-order-primary span,
.cosmetics-page .cosmetics-account-order-primary strong {
    display: block;
}

.cosmetics-page .cosmetics-account-order-primary div > span,
.cosmetics-page .cosmetics-account-order-meta dt {
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 700;
}

.cosmetics-page .cosmetics-account-order-primary strong {
    margin-top: 4px;
    color: var(--cosmetics-text);
    font-size: 13px;
    text-align: right;
}

.cosmetics-page .cosmetics-account-order-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-meta > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-order-meta dt,
.cosmetics-page .cosmetics-account-order-meta dd {
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-meta dd {
    margin-top: 5px;
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-account-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: var(--cosmetics-radius-pill);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-status::before {
    content: "\F26A";
    font-family: bootstrap-icons;
    font-size: 10px;
}

.cosmetics-page .cosmetics-account-status.is-delivered {
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-account-status.is-processing {
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
}

.cosmetics-page .cosmetics-account-status.is-cancelled {
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-account-order-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 10px;
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-account-order-link:hover,
.cosmetics-page .cosmetics-account-order-link:focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-quick-list {
    display: grid;
    gap: 9px;
}

.cosmetics-page .cosmetics-account-quick-list > a {
    display: grid;
    min-height: 58px;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-account-quick-list > a:hover,
.cosmetics-page .cosmetics-account-quick-list > a:focus-visible {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-soft);
}

.cosmetics-page .cosmetics-account-quick-list > a > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 16px;
}

.cosmetics-page .cosmetics-account-quick-list strong,
.cosmetics-page .cosmetics-account-quick-list small {
    display: block;
}

.cosmetics-page .cosmetics-account-quick-list strong {
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-quick-list small {
    margin-top: 3px;
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-account-quick-list > a > i {
    color: var(--cosmetics-muted);
    font-size: 10px;
}

.cosmetics-page .cosmetics-account-empty {
    padding: 30px 20px;
    border: 1px dashed var(--cosmetics-border);
    border-radius: 15px;
    background-color: var(--cosmetics-page-bg);
    text-align: center;
}

.cosmetics-page .cosmetics-account-empty[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-account-empty > span {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 22px;
}

.cosmetics-page .cosmetics-account-empty h3 {
    margin: 13px 0 5px;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-empty p {
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-account-empty a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 7px 14px;
    border-radius: 10px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-profile {
    max-width: 900px;
    padding: 28px;
}

.cosmetics-page .cosmetics-account-profile-header {
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-profile-header > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-profile-header p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-account-profile-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 14px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 20px;
}

.cosmetics-page .cosmetics-account-feedback {
    margin-bottom: 18px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: var(--cosmetics-radius-md);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-account-feedback[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-account-feedback.is-error {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-account-feedback.is-success {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-account-form {
    width: 100%;
}

.cosmetics-page .cosmetics-account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
}

.cosmetics-page .cosmetics-account-field {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-field-wide {
    grid-column: 1 / -1;
}

.cosmetics-page .cosmetics-account-field > label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-field > label span {
    color: var(--cosmetics-danger);
}

.cosmetics-page #profile-edit-form .form-control,
.cosmetics-page #profile-edit-form .form-select {
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
    font-size: 11px;
    box-shadow: none;
}

.cosmetics-page #profile-edit-form textarea.form-control {
    min-height: 112px;
    line-height: 2;
    resize: vertical;
}

.cosmetics-page #profile-edit-form .form-control:focus,
.cosmetics-page #profile-edit-form .form-select:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page #profile-edit-form [dir="ltr"] {
    text-align: left;
}

.cosmetics-page #profile-edit-form [aria-invalid="true"] {
    border-color: var(--cosmetics-danger);
    background-color: var(--cosmetics-danger-bg);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cosmetics-danger) 14%, transparent);
}

.cosmetics-page .cosmetics-account-field-error {
    min-height: 18px;
    padding-top: 5px;
    color: var(--cosmetics-danger);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.7;
}

.cosmetics-page .cosmetics-account-form-note {
    margin: 6px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-account-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-form-cancel,
.cosmetics-page .cosmetics-account-form-submit {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 17px;
    border-radius: var(--cosmetics-radius-md);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-form-cancel {
    border: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-account-form-cancel:hover,
.cosmetics-page .cosmetics-account-form-cancel:focus-visible {
    border-color: var(--cosmetics-highlight);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-account-form-submit {
    border: 1px solid var(--cosmetics-primary-strong);
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-account-form-submit:hover,
.cosmetics-page .cosmetics-account-form-submit:focus-visible {
    border-color: var(--cosmetics-primary-dark);
    background-color: var(--cosmetics-primary-dark);
    color: var(--cosmetics-text-inverse);
}

.cosmetics-page .cosmetics-account-addresses {
    max-width: 960px;
    padding: 24px;
}

.cosmetics-page .cosmetics-account-addresses-header {
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-addresses-header > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-addresses-header p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-account-address-add {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid var(--cosmetics-primary);
    border-radius: 11px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-address-add:hover,
.cosmetics-page .cosmetics-account-address-add:focus-visible {
    border-color: var(--cosmetics-primary-dark);
    background-color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-account-address-list {
    display: grid;
    gap: 14px;
}

.cosmetics-page .cosmetics-account-address-card {
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-address-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--cosmetics-border);
    background:
        radial-gradient(circle at 6% 20%, rgb(217 70 141 / 8%) 0 35px, transparent 36px),
        var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-address-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-highlight);
    border-radius: 12px;
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
}

.cosmetics-page .cosmetics-account-address-header > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-address-header > div > span {
    display: block;
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-address-header h3 {
    margin: 4px 0 0;
    color: var(--cosmetics-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.7;
}

.cosmetics-page .cosmetics-account-address-body {
    padding: 17px 18px;
}

.cosmetics-page .cosmetics-account-address-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
    margin: 0;
}

.cosmetics-page .cosmetics-account-address-meta > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-address-meta > .is-wide {
    grid-column: 1 / -1;
}

.cosmetics-page .cosmetics-account-address-meta dt,
.cosmetics-page .cosmetics-account-address-meta dd {
    margin: 0;
}

.cosmetics-page .cosmetics-account-address-meta dt {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-address-meta dt > i {
    color: var(--cosmetics-secondary-dark);
    font-size: 13px;
}

.cosmetics-page .cosmetics-account-address-meta dd {
    margin-top: 6px;
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-address-meta dd[dir="ltr"] {
    text-align: right;
}

.cosmetics-page .cosmetics-account-address-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid var(--cosmetics-border);
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-address-actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-address-actions a:hover,
.cosmetics-page .cosmetics-account-address-actions a:focus-visible {
    background-color: var(--cosmetics-soft);
}

.cosmetics-page .cosmetics-account-address-actions .is-remove {
    border-inline-start: 1px solid var(--cosmetics-border);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-account-address-actions .is-remove:hover,
.cosmetics-page .cosmetics-account-address-actions .is-remove:focus-visible {
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-account-address-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 22px;
    border: 1px dashed var(--cosmetics-highlight);
    border-radius: 15px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-address-empty[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-account-address-empty > span {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 21px;
}

.cosmetics-page .cosmetics-account-address-empty h2 {
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-address-empty p {
    margin: 4px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-account-address-empty button {
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--cosmetics-primary);
    border-radius: 10px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page.cosmetics-account-addresses-page #address-form .form-label {
    margin-bottom: 7px;
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page.cosmetics-account-addresses-page #address-form .form-control,
.cosmetics-page.cosmetics-account-addresses-page #address-form .form-select {
    min-height: 46px;
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    font-size: 11px;
    box-shadow: none;
}

.cosmetics-page.cosmetics-account-addresses-page #address-form textarea.form-control {
    min-height: 116px;
    line-height: 2;
    resize: vertical;
}

.cosmetics-page.cosmetics-account-addresses-page #address-form .form-control:focus,
.cosmetics-page.cosmetics-account-addresses-page #address-form .form-select:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page.cosmetics-account-addresses-page #address-form [aria-invalid="true"] {
    border-color: var(--cosmetics-danger);
    background-color: var(--cosmetics-danger-bg);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cosmetics-danger) 14%, transparent);
}

.cosmetics-page.cosmetics-account-addresses-page #address-form .address-form-error {
    min-height: 18px;
    padding-top: 5px;
    color: var(--cosmetics-danger);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page.cosmetics-account-addresses-page #address-form .address-form-actions .btn {
    min-height: 42px;
    border-radius: var(--cosmetics-radius-md);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page.cosmetics-account-addresses-page #address-form .address-form-actions .main-color-one-bg {
    background-color: var(--cosmetics-primary-strong) !important;
    color: var(--cosmetics-text-inverse);
}

/* Canonical cosmetics account order system */

.cosmetics-page .cosmetics-account-orders,
.cosmetics-page .cosmetics-account-order-detail > .cosmetics-account-section {
    max-width: 980px;
}

.cosmetics-page .cosmetics-account-orders {
    padding: 24px;
}

.cosmetics-page .cosmetics-account-orders-header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-orders-header p {
    margin: 7px 0 0;
    color: var(--cosmetics-muted);
    font-size: 10px;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-account-order-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    padding: 5px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 13px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-order-tabs button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border: 0;
    border-radius: 9px;
    background-color: transparent;
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-order-tabs button > span {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding-inline: 5px;
    border-radius: 999px;
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
}

.cosmetics-page .cosmetics-account-order-tabs button.active {
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    box-shadow: 0 5px 16px rgb(83 45 71 / 8%);
}

.cosmetics-page .cosmetics-account-order-tabs button:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

.cosmetics-page .cosmetics-account-order-list {
    display: grid;
    gap: 14px;
}

.cosmetics-page .cosmetics-account-order-card {
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 17px;
    border-bottom: 1px solid var(--cosmetics-border);
    background:
        radial-gradient(circle at 5% 10%, rgb(217 70 141 / 8%) 0 34px, transparent 35px),
        var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-order-reference {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.cosmetics-page .cosmetics-account-order-reference > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-order-reference span,
.cosmetics-page .cosmetics-account-order-reference h3 {
    display: block;
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-reference > div > span {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-order-reference h3 {
    margin-top: 4px;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 900;
    text-align: right;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-order-card-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 17px;
}

.cosmetics-page .cosmetics-account-order-products {
    display: flex;
    align-items: center;
    padding-inline-start: 7px;
}

.cosmetics-page .cosmetics-account-order-products a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin-inline-start: -7px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 14px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-order-products img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cosmetics-page .cosmetics-account-order-card .cosmetics-account-order-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cosmetics-page .cosmetics-account-order-card .cosmetics-account-order-meta dd {
    white-space: normal;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-order-actions {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 17px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-order-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-order-actions > span > i {
    color: var(--cosmetics-secondary-dark);
    font-size: 13px;
}

.cosmetics-page .cosmetics-account-order-actions > a,
.cosmetics-page .cosmetics-account-order-heading-actions > a,
.cosmetics-page .cosmetics-account-order-detail-actions > a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 10px;
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-order-actions > a:hover,
.cosmetics-page .cosmetics-account-order-actions > a:focus-visible,
.cosmetics-page .cosmetics-account-order-heading-actions > a:hover,
.cosmetics-page .cosmetics-account-order-heading-actions > a:focus-visible,
.cosmetics-page .cosmetics-account-order-detail-actions > a:hover,
.cosmetics-page .cosmetics-account-order-detail-actions > a:focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-soft);
}

.cosmetics-page .cosmetics-account-order-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.cosmetics-page .cosmetics-account-order-pagination a {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 10px;
    background-color: #fff;
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-order-pagination a[aria-current="page"] {
    border-color: var(--cosmetics-primary);
    background-color: var(--cosmetics-primary);
    color: #fff;
}

.cosmetics-page .cosmetics-account-order-pagination a:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

.cosmetics-page .cosmetics-account-orders-empty {
    margin-top: 4px;
}

.cosmetics-page .cosmetics-account-order-detail-heading {
    align-items: flex-end;
}

.cosmetics-page .cosmetics-account-order-detail-heading h1 bdi {
    font: inherit;
}

.cosmetics-page .cosmetics-account-order-heading-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cosmetics-page .cosmetics-account-order-detail {
    display: grid;
    gap: 16px;
}

.cosmetics-page .cosmetics-account-order-detail > .cosmetics-account-section {
    width: 100%;
}

.cosmetics-page .cosmetics-account-order-summary {
    padding: 24px;
}

.cosmetics-page .cosmetics-account-order-summary .cosmetics-account-section-header {
    padding-bottom: 17px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-summary-grid > div {
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-order-summary-grid dt,
.cosmetics-page .cosmetics-account-order-summary-grid dd {
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-summary-grid dt {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-order-summary-grid dd {
    margin-top: 6px;
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-order-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.cosmetics-page .cosmetics-account-order-progress li {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-order-progress li::after {
    position: absolute;
    z-index: 0;
    top: 18px;
    right: 36px;
    width: calc(100% - 36px);
    height: 2px;
    background-color: var(--cosmetics-border);
    content: "";
}

.cosmetics-page .cosmetics-account-order-progress li:last-child::after {
    display: none;
}

.cosmetics-page .cosmetics-account-order-progress i {
    z-index: 1;
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 50%;
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 14px;
}

.cosmetics-page .cosmetics-account-order-progress .is-complete,
.cosmetics-page .cosmetics-account-order-progress .is-current {
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-account-order-progress .is-complete i {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-account-order-progress .is-current i {
    border-color: var(--cosmetics-warning-border);
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
}

.cosmetics-page .cosmetics-account-order-count {
    color: var(--cosmetics-muted);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-order-item-list {
    display: grid;
    gap: 12px;
}

.cosmetics-page .cosmetics-account-order-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) minmax(280px, .9fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 14px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-order-item-media {
    display: flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 13px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-order-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cosmetics-page .cosmetics-account-order-item-content {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-order-item-content > span {
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-order-item-content h3 {
    margin: 5px 0;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-account-order-item-content h3 a {
    color: inherit;
}

.cosmetics-page .cosmetics-account-order-item-content p {
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-order-item-commerce {
    display: grid;
    grid-template-columns: .55fr 1fr 1fr;
    gap: 8px;
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-item-commerce > div {
    min-width: 0;
    padding: 9px;
    border-inline-start: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-order-item-commerce dt,
.cosmetics-page .cosmetics-account-order-item-commerce dd {
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-item-commerce dt {
    color: var(--cosmetics-muted);
    font-size: 8px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-order-item-commerce dd {
    margin-top: 5px;
    color: var(--cosmetics-text);
    font-size: 9px;
    font-weight: 900;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 16px;
    max-width: 980px;
}

.cosmetics-page .cosmetics-account-order-address dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-address dl > div {
    min-width: 0;
}

.cosmetics-page .cosmetics-account-order-address dl > .is-wide {
    grid-column: 1 / -1;
}

.cosmetics-page .cosmetics-account-order-address dt,
.cosmetics-page .cosmetics-account-order-address dd,
.cosmetics-page .cosmetics-account-order-totals dt,
.cosmetics-page .cosmetics-account-order-totals dd {
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-address dt,
.cosmetics-page .cosmetics-account-order-totals dt {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-order-address dd {
    margin-top: 5px;
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-order-totals > dl {
    display: grid;
    gap: 11px;
    margin: 0;
}

.cosmetics-page .cosmetics-account-order-totals > dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cosmetics-page .cosmetics-account-order-totals dd {
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    text-align: left;
}

.cosmetics-page .cosmetics-account-order-totals .is-discount dd {
    color: #a92d43;
}

.cosmetics-page .cosmetics-account-order-totals .is-total {
    margin-top: 4px;
    padding-top: 13px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-order-totals .is-total dt {
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-order-totals .is-total dd {
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
}

.cosmetics-page .cosmetics-account-order-detail-actions {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-order-detail-actions > a {
    width: 100%;
}

/* Account favorites and customer comments */
.cosmetics-page .cosmetics-account-section-count {
    margin: 0;
    padding: 7px 11px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-account-favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.cosmetics-page .cosmetics-account-favorite-card .cosmetics-product-media {
    padding: 14px;
}

.cosmetics-page .cosmetics-account-favorite-card .cosmetics-product-body {
    padding-inline: 14px;
    padding-bottom: 14px;
}

.cosmetics-page .cosmetics-account-favorite-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-favorite-view {
    display: inline-flex;
    min-width: 0;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    flex: 1 1 auto;
    border-radius: 10px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-favorite-remove {
    display: inline-flex;
    width: 38px;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--cosmetics-error) 20%, white);
    border-radius: 10px;
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-account-favorite-view:hover,
.cosmetics-page .cosmetics-account-favorite-view:focus-visible,
.cosmetics-page .cosmetics-account-favorite-remove:hover,
.cosmetics-page .cosmetics-account-favorite-remove:focus-visible,
.cosmetics-page .cosmetics-account-comment-actions a:hover,
.cosmetics-page .cosmetics-account-comment-actions a:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

.cosmetics-page .cosmetics-account-favorites-empty,
.cosmetics-page .cosmetics-account-comments-empty {
    margin-top: 20px;
}

.cosmetics-page .cosmetics-account-comment-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.cosmetics-page .cosmetics-account-comment-card {
    display: grid;
    grid-template-columns: minmax(185px, .72fr) minmax(0, 1.6fr);
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-comment-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-left: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-comment-product > a {
    display: grid;
    width: 72px;
    height: 72px;
    padding: 7px;
    place-items: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 13px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-comment-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cosmetics-page .cosmetics-account-comment-product span {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-comment-product h3 {
    margin: 5px 0 0;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-account-comment-product h3 a {
    color: var(--cosmetics-text);
}

.cosmetics-page .cosmetics-account-comment-body {
    min-width: 0;
    padding: 15px 17px;
}

.cosmetics-page .cosmetics-account-comment-meta,
.cosmetics-page .cosmetics-account-comment-meta > div {
    display: flex;
    align-items: center;
}

.cosmetics-page .cosmetics-account-comment-meta {
    justify-content: space-between;
    gap: 12px;
}

.cosmetics-page .cosmetics-account-comment-meta > div:first-child {
    flex-wrap: wrap;
    gap: 9px;
}

.cosmetics-page .cosmetics-account-comment-meta time {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-comment-status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: var(--cosmetics-radius-pill);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-comment-status.is-published {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-account-comment-status.is-rejected {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-account-comment-rating {
    display: inline-flex;
    direction: ltr;
    gap: 2px;
    color: #d99a22;
    font-size: 11px;
}

.cosmetics-page .cosmetics-account-comment-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cosmetics-page .cosmetics-account-comment-actions a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 9px;
    background-color: #fff;
    color: var(--cosmetics-text);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-comment-actions a.is-destructive {
    border-color: color-mix(in srgb, var(--cosmetics-error) 20%, white);
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-account-comment-text {
    margin: 13px 0 0;
    color: var(--cosmetics-text);
    font-size: 11px;
    line-height: 2;
    overflow-wrap: anywhere;
}

/* Account support tickets */
.cosmetics-page .cosmetics-account-ticket-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cosmetics-page .cosmetics-account-ticket-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 16px;
    background-color: #fff;
}

.cosmetics-page .cosmetics-account-ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 15px;
    border-bottom: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-ticket-header > div {
    display: grid;
    gap: 3px;
}

.cosmetics-page .cosmetics-account-ticket-header > div > span {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-ticket-header > div > strong {
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-ticket-status {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: var(--cosmetics-radius-pill);
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-account-ticket-status.is-waiting {
    border-color: var(--cosmetics-warning-border);
    background-color: var(--cosmetics-warning-bg);
    color: var(--cosmetics-warning);
}

.cosmetics-page .cosmetics-account-ticket-status.is-answered {
    border-color: var(--cosmetics-success-border);
    background-color: var(--cosmetics-success-bg);
    color: var(--cosmetics-success);
}

.cosmetics-page .cosmetics-account-ticket-status.is-closed {
    border-color: var(--cosmetics-danger-border);
    background-color: var(--cosmetics-danger-bg);
    color: var(--cosmetics-danger);
}

.cosmetics-page .cosmetics-account-ticket-body {
    padding: 16px 15px;
    flex: 1 1 auto;
}

.cosmetics-page .cosmetics-account-ticket-body h3 {
    min-height: 48px;
    margin: 0;
    color: var(--cosmetics-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 2;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-ticket-meta {
    margin: 15px 0 0;
    padding-top: 13px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-ticket-meta dt,
.cosmetics-page .cosmetics-account-ticket-meta dd {
    margin: 0;
}

.cosmetics-page .cosmetics-account-ticket-meta dt {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-ticket-meta dd {
    margin-top: 4px;
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-ticket-actions {
    padding: 0 15px 15px;
}

.cosmetics-page .cosmetics-account-ticket-actions a,
.cosmetics-page .cosmetics-account-ticket-summary-actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 10px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-account-ticket-actions a {
    width: 100%;
}

.cosmetics-page .cosmetics-account-ticket-actions a:hover,
.cosmetics-page .cosmetics-account-ticket-actions a:focus-visible,
.cosmetics-page .cosmetics-account-ticket-summary-actions a:hover,
.cosmetics-page .cosmetics-account-ticket-summary-actions a:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

.cosmetics-page .cosmetics-account-tickets-empty {
    margin-top: 18px;
}

.cosmetics-page .cosmetics-account-ticket-detail {
    display: grid;
    gap: 16px;
}

.cosmetics-page .cosmetics-account-ticket-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cosmetics-page .cosmetics-account-ticket-summary-grid > div {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-account-ticket-summary-grid > .is-wide {
    grid-column: 1 / -1;
}

.cosmetics-page .cosmetics-account-ticket-summary-grid span {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-account-ticket-summary-grid strong {
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-account-ticket-summary-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-account-ticket-summary-actions .is-destructive {
    border: 1px solid color-mix(in srgb, var(--cosmetics-error) 20%, white);
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-ticket-thread {
    display: grid;
    gap: 13px;
}

.cosmetics-page .cosmetics-ticket-message {
    width: min(78%, 700px);
    padding: 15px 17px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-sm);
}

.cosmetics-page .cosmetics-ticket-message.is-customer {
    justify-self: start;
    border-inline-start: 4px solid var(--cosmetics-primary);
    background-color: #fffafd;
}

.cosmetics-page .cosmetics-ticket-message.is-support {
    justify-self: end;
    border-inline-end: 4px solid #9272a8;
    background-color: #fbf9fc;
}

.cosmetics-page .cosmetics-ticket-message header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-ticket-message header strong {
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-ticket-message header time {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-ticket-message p {
    margin: 10px 0 0;
    color: var(--cosmetics-text);
    font-size: 11px;
    line-height: 2.05;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-ticket-closed {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--cosmetics-error) 20%, white);
    border-radius: 12px;
    background-color: var(--cosmetics-error-soft);
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-ticket-closed[hidden] {
    display: none;
}

.cosmetics-page .cosmetics-ticket-closed p {
    margin: 0;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-ticket-reply {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-ticket-reply > header {
    margin-bottom: 15px;
}

.cosmetics-page .cosmetics-ticket-reply > header span {
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-ticket-reply > header h3 {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-ticket-reply .cosmetics-account-field + .cosmetics-account-field {
    margin-top: 15px;
}

.cosmetics-page .cosmetics-ticket-reply .form-control {
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text);
    font-size: 11px;
    box-shadow: none;
}

.cosmetics-page .cosmetics-ticket-reply textarea.form-control {
    min-height: 145px;
    line-height: 2;
    resize: vertical;
}

.cosmetics-page .cosmetics-ticket-reply .form-control:focus {
    border-color: var(--cosmetics-focus-ring);
    box-shadow: var(--cosmetics-focus-shadow);
}

.cosmetics-page .cosmetics-ticket-attachment p {
    margin: 6px 0 0;
    color: var(--cosmetics-muted);
    font-size: 9px;
    line-height: 1.8;
}

@media only screen and (min-width: 992px) {
    .cosmetics-page .cosmetics-account-sidebar {
        position: sticky;
        top: 112px;
    }
}

/*========================== end canonical cosmetics account shell ==========================*/

/*========================== canonical cosmetics invoice ==========================*/
.cosmetics-page.cosmetics-invoice-page {
    min-height: 100vh;
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-text);
}

.cosmetics-page.cosmetics-invoice-page .cosmetics-invoice {
    padding: 34px 0 48px;
}

.cosmetics-page .cosmetics-invoice-shell {
    position: relative;
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 20px;
    background-color: #fff;
    box-shadow: var(--cosmetics-shadow-md);
}

.cosmetics-page .cosmetics-invoice-shell::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #d9468d, #b68ac8);
    content: "";
}

.cosmetics-page .cosmetics-invoice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-invoice-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.cosmetics-page .cosmetics-invoice-brand > a {
    display: grid;
    width: 104px;
    height: 66px;
    place-items: center;
    flex: 0 0 104px;
}

.cosmetics-page .cosmetics-invoice-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cosmetics-page .cosmetics-invoice-brand span,
.cosmetics-page .cosmetics-invoice-section-heading > div > span {
    color: var(--cosmetics-primary-dark);
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-brand h1 {
    margin: 4px 0 0;
    color: var(--cosmetics-text);
    font-size: 25px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(135px, 1fr));
    gap: 9px;
    margin: 0;
}

.cosmetics-page .cosmetics-invoice-meta > div {
    padding: 10px 12px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 11px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-invoice-meta dt,
.cosmetics-page .cosmetics-invoice-meta dd,
.cosmetics-page .cosmetics-invoice-section dt,
.cosmetics-page .cosmetics-invoice-section dd,
.cosmetics-page .cosmetics-invoice-payment dt,
.cosmetics-page .cosmetics-invoice-payment dd,
.cosmetics-page .cosmetics-invoice-summary dt,
.cosmetics-page .cosmetics-invoice-summary dd {
    margin: 0;
}

.cosmetics-page .cosmetics-invoice-meta dt,
.cosmetics-page .cosmetics-invoice-section dt,
.cosmetics-page .cosmetics-invoice-payment dt,
.cosmetics-page .cosmetics-invoice-summary dt {
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-invoice-meta dd {
    margin-top: 4px;
    color: var(--cosmetics-text);
    font-size: 11px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-parties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cosmetics-page .cosmetics-invoice-section,
.cosmetics-page .cosmetics-invoice-payment,
.cosmetics-page .cosmetics-invoice-summary {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-invoice-section > header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}

.cosmetics-page .cosmetics-invoice-section > header > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
    font-size: 17px;
}

.cosmetics-page .cosmetics-invoice-section > header p {
    margin: 0;
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-invoice-section > header h2 {
    margin: 2px 0 0;
    color: var(--cosmetics-text);
    font-size: 14px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-section dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin: 0;
}

.cosmetics-page .cosmetics-invoice-section dl > .is-wide {
    grid-column: 1 / -1;
}

.cosmetics-page .cosmetics-invoice-section dd {
    margin-top: 4px;
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cosmetics-page .cosmetics-invoice-section dd a {
    color: inherit;
}

.cosmetics-page .cosmetics-invoice-items {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
}

.cosmetics-page .cosmetics-invoice-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 17px;
    border-bottom: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
}

.cosmetics-page .cosmetics-invoice-section-heading h2 {
    margin: 3px 0 0;
    color: var(--cosmetics-text);
    font-size: 15px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-section-heading > p {
    margin: 0;
    padding: 6px 10px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 999px;
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
    font-size: 9px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-table-wrap {
    min-width: 0;
}

.cosmetics-page .cosmetics-invoice-table-wrap table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.cosmetics-page .cosmetics-invoice-table-wrap th {
    padding: 11px 13px;
    border-bottom: 1px solid var(--cosmetics-border);
    background-color: #fff;
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 900;
    text-align: right;
}

.cosmetics-page .cosmetics-invoice-table-wrap td {
    padding: 13px;
    border-bottom: 1px solid var(--cosmetics-border);
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.8;
    vertical-align: middle;
}

.cosmetics-page .cosmetics-invoice-table-wrap tbody tr:last-child td {
    border-bottom: 0;
}

.cosmetics-page .cosmetics-invoice-product-cell {
    display: flex;
    min-width: 290px;
    align-items: center;
    gap: 12px;
}

.cosmetics-page .cosmetics-invoice-product-cell img {
    width: 66px;
    height: 66px;
    padding: 6px;
    flex: 0 0 66px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 11px;
    background-color: #fff;
    object-fit: contain;
}

.cosmetics-page .cosmetics-invoice-product-cell > div {
    display: grid;
    min-width: 0;
}

.cosmetics-page .cosmetics-invoice-product-cell span {
    color: var(--cosmetics-muted);
    font-size: 8px;
    font-weight: 800;
}

.cosmetics-page .cosmetics-invoice-product-cell strong {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.8;
}

.cosmetics-page .cosmetics-invoice-product-cell p {
    margin: 4px 0 0;
    color: var(--cosmetics-muted);
    font-size: 9px;
    font-weight: 700;
}

.cosmetics-page .cosmetics-invoice-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 14px;
    margin-top: 18px;
}

.cosmetics-page .cosmetics-invoice-payment .cosmetics-invoice-section-heading,
.cosmetics-page .cosmetics-invoice-summary .cosmetics-invoice-section-heading {
    margin: -17px -17px 15px;
    border-radius: 15px 15px 0 0;
}

.cosmetics-page .cosmetics-invoice-payment-status {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid color-mix(in srgb, var(--cosmetics-success) 20%, white);
    border-radius: 999px;
    background-color: var(--cosmetics-success-soft);
    color: var(--cosmetics-success);
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.cosmetics-page .cosmetics-invoice-payment dl,
.cosmetics-page .cosmetics-invoice-summary dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.cosmetics-page .cosmetics-invoice-payment dl > div,
.cosmetics-page .cosmetics-invoice-summary dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cosmetics-page .cosmetics-invoice-payment dd,
.cosmetics-page .cosmetics-invoice-summary dd {
    color: var(--cosmetics-text);
    font-size: 10px;
    font-weight: 900;
    text-align: left;
}

.cosmetics-page .cosmetics-invoice-summary .is-discount dd {
    color: var(--cosmetics-error);
}

.cosmetics-page .cosmetics-invoice-summary .is-total {
    margin-top: 3px;
    padding-top: 11px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-invoice-summary .is-total dt {
    color: var(--cosmetics-text);
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-summary .is-total dd {
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
}

.cosmetics-page .cosmetics-invoice-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 12px;
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-invoice-note p {
    margin: 0;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.9;
}

.cosmetics-page .cosmetics-invoice-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--cosmetics-border);
}

.cosmetics-page .cosmetics-invoice-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 900;
}

.cosmetics-page .cosmetics-invoice-back {
    border: 1px solid var(--cosmetics-border);
    background-color: #fff;
    color: var(--cosmetics-muted);
}

.cosmetics-page .cosmetics-invoice-print {
    border: 1px solid var(--cosmetics-primary);
    background-color: var(--cosmetics-primary);
    color: #fff;
}

.cosmetics-page .cosmetics-invoice-actions a:hover,
.cosmetics-page .cosmetics-invoice-actions a:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

/*========================== end canonical cosmetics invoice ==========================*/

/*========================== canonical cosmetics public header ==========================*/

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    padding: 0;
    border-bottom: 1px solid var(--cosmetics-border);
    background-color: rgb(255 255 255 / 97%);
    box-shadow: 0 8px 24px rgb(86 56 79 / 7%);
    backdrop-filter: blur(14px);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-top {
    display: grid;
    min-height: 88px;
    grid-template-columns: 150px minmax(320px, 1fr) minmax(190px, 220px) auto;
    grid-template-areas: "brand search support actions";
    align-items: center;
    gap: 18px;
    padding-block: 12px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-brand {
    grid-area: brand;
    display: inline-flex;
    width: 142px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    border-radius: 18px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-brand img {
    display: block;
    width: 132px;
    height: 60px;
    object-fit: contain;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-form {
    position: relative;
    grid-area: search;
    min-width: 0;
    margin: 0;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search {
    position: relative;
    display: flex;
    min-height: 52px;
    align-items: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background-color: var(--cosmetics-soft);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search:focus-within {
    border-color: var(--cosmetics-primary);
    background-color: #fff;
    box-shadow: var(--cosmetics-focus-shadow);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-input {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 11px 18px 11px 58px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--cosmetics-text);
    font: inherit;
    font-size: 14px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-input::placeholder {
    color: var(--cosmetics-muted);
    opacity: 1;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-input::-webkit-search-cancel-button {
    margin-left: 8px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-submit {
    position: absolute;
    left: 7px;
    top: 50%;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 13px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-size: 17px;
    transform: translateY(-50%);
    transition: background-color 180ms ease, transform 180ms ease;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-submit:hover {
    background-color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-submit:active {
    transform: translateY(-50%) scale(.96);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-feedback {
    position: absolute;
    right: 15px;
    bottom: -19px;
    display: none;
    color: var(--cosmetics-error);
    font-size: 11px;
    font-weight: 700;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-search-feedback:not(:empty) {
    display: block;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-support {
    grid-area: support;
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--cosmetics-text);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-support-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: var(--cosmetics-primary-soft);
    color: var(--cosmetics-primary);
    font-size: 18px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-support span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-support small {
    color: var(--cosmetics-muted);
    font-size: 11px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-support strong {
    color: var(--cosmetics-text);
    font-size: 14px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-account,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-icon-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cosmetics-border);
    border-radius: 15px;
    background-color: #fff;
    color: var(--cosmetics-text);
    box-shadow: none;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-account {
    gap: 7px;
    padding: 9px 13px;
    white-space: nowrap;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-account i {
    color: var(--cosmetics-secondary-dark);
    font-size: 19px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart {
    gap: 9px;
    padding: 5px 8px 5px 11px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart-icon {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background-color: var(--cosmetics-primary);
    color: #fff;
    font-size: 17px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding-inline: 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background-color: var(--cosmetics-secondary);
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart-copy {
    display: grid;
    min-width: 106px;
    gap: 1px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart-copy small {
    color: var(--cosmetics-muted);
    font-size: 10px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart-copy strong {
    color: var(--cosmetics-text);
    font-size: 11px;
    white-space: nowrap;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-account:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-cart:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-icon-button:hover {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-account[aria-current="page"],
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link[aria-current="page"],
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category-trigger[aria-current="page"] {
    color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-account[aria-current="page"] {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-primary-soft);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-menu {
    display: none;
    grid-area: mobile;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-offcanvas {
    width: min(88vw, 340px);
    border: 0;
    background-color: var(--cosmetics-page-bg);
}

/*
 * Keep right-anchored RTL drawers inside the viewport's layout bounds.
 * Clipping preserves Bootstrap's lifecycle and transition without letting the
 * closed translateX(100%) state widen Firefox's root scroll area.
 */
body:is(.cosmetics-homepage, .cosmetics-page) .offcanvas.offcanvas-start {
    transform: none;
    clip-path: inset(0 0 0 100%);
    transition-property: clip-path;
}

body:is(.cosmetics-homepage, .cosmetics-page) .offcanvas.offcanvas-start.showing,
body:is(.cosmetics-homepage, .cosmetics-page) .offcanvas.offcanvas-start.show:not(.hiding) {
    clip-path: inset(0);
}

/* Bootstrap's physical scrollbar compensation creates RTL root overflow in Firefox. */
body:is(.cosmetics-homepage, .cosmetics-page):has(.offcanvas[aria-modal="true"], .offcanvas-lg[aria-modal="true"]) {
    padding-right: 0 !important;
}

@media only screen and (max-width: 991px) {
    /* The filtered sticky header is the fixed drawer's containing block in both engines. */
    body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-offcanvas {
        height: 100vh;
        height: 100dvh;
    }

    body:is(.cosmetics-homepage, .cosmetics-page) .offcanvas-lg.offcanvas-start {
        transform: none;
        clip-path: inset(0 0 0 100%);
        transition-property: clip-path;
    }

    body:is(.cosmetics-homepage, .cosmetics-page) .offcanvas-lg.offcanvas-start.showing,
    body:is(.cosmetics-homepage, .cosmetics-page) .offcanvas-lg.offcanvas-start.show:not(.hiding) {
        clip-path: inset(0);
    }
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--cosmetics-border);
    background-color: #fff;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-offcanvas .offcanvas-body {
    padding: 20px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-offcanvas-brand {
    display: flex;
    width: 132px;
    height: 70px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;
    background-color: #fff;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-offcanvas-brand img {
    width: 116px;
    height: 58px;
    object-fit: contain;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-links,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories ul,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-links {
    display: grid;
    gap: 7px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-links a,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--cosmetics-text);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-links a:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-links a:focus-visible,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories a:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories a:focus-visible {
    border-color: var(--cosmetics-border);
    background-color: #fff;
    color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--cosmetics-border);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories h3 {
    margin-bottom: 10px;
    color: var(--cosmetics-primary-dark);
    font-size: 13px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories a {
    min-height: 64px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 11px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-mobile-categories i {
    color: var(--cosmetics-primary);
    font-size: 18px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-nav {
    top: 88px;
    z-index: 1030;
    padding: 0;
    border-top: 0;
    border-bottom: 1px solid var(--cosmetics-border);
    background-color: rgb(255 255 255 / 98%);
    box-shadow: 0 6px 18px rgb(86 56 79 / 5%);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-nav-inner {
    display: flex;
    min-height: 58px;
    align-items: center;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-links {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category-trigger {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 13px;
    color: var(--cosmetics-text);
    font-size: 13px;
    font-weight: 700;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category-trigger {
    min-width: 176px;
    border: 0;
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    box-shadow: none;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link::after {
    position: absolute;
    right: 13px;
    bottom: 4px;
    left: 13px;
    height: 2px;
    border-radius: 999px;
    background-color: var(--cosmetics-primary);
    content: "";
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity 180ms ease, transform 180ms ease;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link:focus-visible {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link:hover::after,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link:focus-visible::after,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-link[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category-trigger:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category-trigger:focus-visible {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category-trigger[aria-current="page"] {
    background-color: var(--cosmetics-primary-dark);
    color: #fff;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-content {
    top: calc(100% - 2px);
    right: 0;
    width: min(980px, 88vw);
    margin-top: 0;
    overflow: hidden;
    border: 1px solid var(--cosmetics-border);
    border-radius: 0 0 20px 20px;
    box-shadow: var(--cosmetics-shadow-md);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category:focus-within .custom-mega-content {
    display: block !important;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-grid {
    min-height: 330px;
    grid-template-columns: 220px minmax(0, 1fr);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-sidebar,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-panel {
    height: 330px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-sidebar {
    border-right: 0;
    border-left: 1px solid var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-category {
    padding-inline: 10px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-category-link {
    min-height: 54px;
    padding-inline: 10px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-category-content {
    gap: 9px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-main {
    padding: 24px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-section-title {
    margin-bottom: 18px;
    color: var(--cosmetics-primary-dark);
    font-size: 16px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-section-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-section-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 10px;
    border-radius: 10px;
    color: var(--cosmetics-muted);
    font-size: 12px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-section-link:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-category .custom-mega-section-link:focus-visible {
    background-color: var(--cosmetics-soft);
    color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header :focus-visible,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-header-nav :focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

/*========================== end canonical cosmetics public header ==========================*/

/*========================== canonical cosmetics mobile navigation ==========================*/

body:is(.cosmetics-homepage, .cosmetics-page) {
    --cosmetics-mobile-nav-height: 68px;
    --cosmetics-mobile-nav-clearance: 96px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav {
    position: fixed;
    right: auto;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 1035;
    display: none;
    width: min(calc(100% - 20px), 520px);
    min-height: var(--cosmetics-mobile-nav-height);
    padding: 5px;
    border: 1px solid var(--cosmetics-border);
    border-radius: 22px;
    background-color: rgb(255 255 255 / 97%);
    box-shadow: 0 -8px 30px rgb(86 56 79 / 12%);
    transform: translateX(-50%);
    backdrop-filter: blur(14px);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-list {
    display: grid;
    min-height: 56px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-item {
    min-width: 0;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 5px 3px 4px;
    border: 1px solid transparent;
    border-radius: 17px;
    color: var(--cosmetics-muted);
    text-align: center;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-icon {
    position: relative;
    display: inline-flex;
    width: 29px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 19px;
    line-height: 1;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-label {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding-inline: 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background-color: var(--cosmetics-secondary);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link:hover,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link:focus-visible {
    border-color: var(--cosmetics-border);
    background-color: var(--cosmetics-page-bg);
    color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link.is-active,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link[aria-current="page"] {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-primary-soft);
    color: var(--cosmetics-primary-dark);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link.is-active::before,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link[aria-current="page"]::before {
    position: absolute;
    top: 3px;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--cosmetics-primary);
    content: "";
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link.is-active .cosmetics-mobile-nav-icon,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link[aria-current="page"] .cosmetics-mobile-nav-icon {
    background-color: var(--cosmetics-primary);
    color: #fff;
    transform: translateY(-1px);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link.is-active .cosmetics-mobile-nav-label,
body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link[aria-current="page"] .cosmetics-mobile-nav-label {
    font-weight: 900;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav :focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 2px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-back-to-top {
    z-index: 1030;
    width: 40px;
    height: 40px;
    left: 24px;
    bottom: 22px;
    border-color: var(--cosmetics-border);
    background-color: rgb(255 255 255 / 96%);
    box-shadow: 0 8px 22px rgb(86 56 79 / 12%);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-back-to-top::after {
    width: 38px;
    height: 38px;
    color: var(--cosmetics-secondary-dark);
    font-size: 18px;
    line-height: 38px;
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-back-to-top svg.progress-circle path {
    stroke: var(--cosmetics-primary);
}

body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-back-to-top:focus-visible {
    outline: 2px solid var(--cosmetics-focus-ring);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-link,
    body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-mobile-nav-icon,
    body:is(.cosmetics-homepage, .cosmetics-page) .cosmetics-back-to-top {
        transition: none;
    }
}

/*========================== end canonical cosmetics mobile navigation ==========================*/

/*========================== canonical cosmetics navigation context systems ==========================*/

/*
 * Breadcrumbs share one quiet list surface. Page-specific wrappers only manage
 * placement, preventing nested borders and padding around the same trail.
 */
.cosmetics-page .cosmetics-breadcrumb {
    --bs-breadcrumb-divider-color: var(--cosmetics-text-subtle);
    --bs-breadcrumb-item-active-color: var(--cosmetics-text);
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: var(--cosmetics-space-2) var(--cosmetics-space-3);
    border-color: var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text-muted);
    font-size: 12px;
    line-height: 1.8;
    box-shadow: none;
}

.cosmetics-page .cosmetics-breadcrumb .breadcrumb-item {
    min-width: 0;
}

.cosmetics-page .cosmetics-breadcrumb a,
.cosmetics-page .cosmetics-account-breadcrumb a {
    color: var(--cosmetics-text-muted);
    text-decoration: none;
}

.cosmetics-page .cosmetics-breadcrumb a:hover,
.cosmetics-page .cosmetics-account-breadcrumb a:hover {
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page .cosmetics-breadcrumb .breadcrumb-item[aria-current="page"],
.cosmetics-page .cosmetics-account-breadcrumb [aria-current="page"] {
    color: var(--cosmetics-text);
    font-weight: 800;
}

.cosmetics-page :is(
    .cosmetics-product-breadcrumb,
    .cosmetics-checkout-breadcrumb,
    .cosmetics-address-breadcrumb,
    .cosmetics-payment-result-breadcrumb,
    .cosmetics-cart-heading > nav
) {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

/*
 * Page roles retain their established layout, while sharing resilient text
 * behavior and the same eyebrow/title/supporting-copy hierarchy.
 */
.cosmetics-page :is(
    .cosmetics-page-heading,
    .cosmetics-public-hero,
    .cosmetics-catalog-heading-content,
    .cosmetics-cart-heading-content,
    .cosmetics-checkout-heading,
    .cosmetics-address-heading,
    .cosmetics-account-heading,
    .cosmetics-article-header
) {
    min-width: 0;
}

.cosmetics-page :is(
    .cosmetics-page-heading,
    .cosmetics-public-hero,
    .cosmetics-catalog-heading-content,
    .cosmetics-cart-heading-content,
    .cosmetics-checkout-heading,
    .cosmetics-address-heading,
    .cosmetics-account-heading
) > :first-child {
    min-width: 0;
}

.cosmetics-page :is(
    .cosmetics-page-heading,
    .cosmetics-public-hero,
    .cosmetics-catalog-heading-content,
    .cosmetics-cart-heading-content,
    .cosmetics-checkout-heading,
    .cosmetics-address-heading,
    .cosmetics-account-heading,
    .cosmetics-article-header
) h1,
.cosmetics-page :is(
    .cosmetics-product-title,
    .cosmetics-payment-result-title,
    .cosmetics-state-title
) {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.cosmetics-page :is(
    .cosmetics-public-hero,
    .cosmetics-catalog-heading-content,
    .cosmetics-cart-heading-content,
    .cosmetics-checkout-heading,
    .cosmetics-address-heading,
    .cosmetics-account-heading,
    .cosmetics-article-header
) p {
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.cosmetics-page :is(
    .cosmetics-section-heading,
    .cosmetics-public-section-heading,
    .cosmetics-product-section-heading,
    .cosmetics-checkout-section-heading,
    .cosmetics-address-section-heading,
    .cosmetics-account-section-header
) {
    min-width: 0;
}

.cosmetics-page :is(
    .cosmetics-section-heading,
    .cosmetics-public-section-heading,
    .cosmetics-product-section-heading,
    .cosmetics-checkout-section-heading,
    .cosmetics-address-section-heading,
    .cosmetics-account-section-header
) :is(h2, h3, p) {
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

/*
 * Existing list, Bootstrap, and account-order pagination markup now inherit
 * one visual and interaction system without changing server-rendered links.
 */
.cosmetics-page :is(
    .cosmetics-pagination,
    .cosmetics-blog-pagination,
    .cosmetics-account-order-pagination
) {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: var(--cosmetics-space-2);
    margin-top: var(--cosmetics-space-5);
}

.cosmetics-page :is(
    .cosmetics-pagination > ul,
    .cosmetics-blog-pagination .pagination,
    .cosmetics-account-order-pagination
) {
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0;
    padding: 7px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-lg);
    background-color: var(--cosmetics-surface);
    box-shadow: none;
}

.cosmetics-page :is(
    .cosmetics-pagination-link,
    .cosmetics-blog-pagination .page-link,
    .cosmetics-account-order-pagination a
) {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);
    background-color: var(--cosmetics-surface);
    color: var(--cosmetics-text-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgb(217 70 141 / 12%);
}

.cosmetics-page :is(
    .cosmetics-pagination-link,
    .cosmetics-blog-pagination .page-link,
    .cosmetics-account-order-pagination a
):hover,
.cosmetics-page :is(
    .cosmetics-pagination-link,
    .cosmetics-blog-pagination .page-link,
    .cosmetics-account-order-pagination a
):focus-visible {
    border-color: var(--cosmetics-highlight);
    background-color: var(--cosmetics-surface-soft);
    color: var(--cosmetics-primary-dark);
}

.cosmetics-page :is(
    .cosmetics-pagination-link.is-active,
    .cosmetics-blog-pagination .page-item.active .page-link,
    .cosmetics-account-order-pagination a[aria-current="page"]
) {
    border-color: var(--cosmetics-primary-strong);
    background-color: var(--cosmetics-primary-strong);
    color: var(--cosmetics-text-inverse);
    font-weight: 950;
    box-shadow: inset 0 -3px rgb(255 255 255 / 58%);
}

.cosmetics-page :is(
    .cosmetics-pagination-link.is-disabled,
    .cosmetics-blog-pagination .page-item.disabled .page-link,
    .cosmetics-blog-pagination .page-link[aria-disabled="true"]
) {
    cursor: not-allowed;
    background-color: var(--cosmetics-disabled-bg);
    color: var(--cosmetics-disabled-text);
    opacity: 0.68;
}

.cosmetics-page :is(
    .cosmetics-pagination-ellipsis,
    .cosmetics-blog-pagination .cosmetics-pagination-ellipsis
) {
    min-width: 32px;
    min-height: 44px;
    color: var(--cosmetics-text-muted);
}

/*========================== end canonical cosmetics navigation context systems ==========================*/




.product-group-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.8;
    max-height: calc(1.8em * 2);
}



/* =========================================================
   Cosmetics Random Products Showcase
========================================================= */

.cosmetics-homepage .cosmetics-random-showcase {
    padding: 6px 0 32px;
    background-color: #fff;
}


.cosmetics-homepage .cosmetics-random-showcase-box {
    position: relative;

    padding: 22px;

    overflow: hidden;

    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-lg);

    background:
        radial-gradient(
            circle at 94% 4%,
            rgb(242 184 207 / 25%),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            var(--cosmetics-surface-soft),
            var(--cosmetics-surface)
        );
}


/* ================= header ================= */

.cosmetics-homepage .cosmetics-random-showcase-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.cosmetics-homepage .cosmetics-random-showcase-heading {
    display: flex;

    min-width: 0;

    align-items: center;

    gap: 14px;
}


.cosmetics-homepage .cosmetics-random-showcase-badge {
    display: inline-flex;

    min-width: 72px;
    height: 72px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 3px;

    border: 1px solid var(--cosmetics-border);
    border-radius: 18px;

    background-color: var(--cosmetics-surface);

    color: var(--cosmetics-primary-dark);

    font-size: 10px;
    font-weight: 800;
}


.cosmetics-homepage .cosmetics-random-showcase-badge i {
    font-size: 22px;
}


.cosmetics-homepage .cosmetics-random-showcase-heading h2 {
    margin: 0;

    color: var(--cosmetics-text);

    font-size: clamp(21px, 2vw, 27px);
    font-weight: 900;
    line-height: 1.7;
}


.cosmetics-homepage .cosmetics-random-showcase-heading p {
    margin: 4px 0 0;

    color: var(--cosmetics-muted);

    font-size: 12px;
    line-height: 1.8;
}


/* ================= arrows ================= */

.cosmetics-homepage .cosmetics-random-showcase-nav {
    display: flex;

    flex: 0 0 auto;

    gap: 8px;
}


.cosmetics-homepage .cosmetics-random-prev,
.cosmetics-homepage .cosmetics-random-next {
    display: inline-flex;

    width: 42px;
    height: 42px;

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

    padding: 0;

    border: 1px solid var(--cosmetics-border);
    border-radius: 50%;

    background-color: var(--cosmetics-surface);

    color: var(--cosmetics-text);

    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.cosmetics-homepage .cosmetics-random-prev:hover,
.cosmetics-homepage .cosmetics-random-next:hover {
    border-color: var(--cosmetics-primary);

    background-color: var(--cosmetics-primary-dark);

    color: #fff;

    transform: translateY(-2px);
}


/* ================= swiper ================= */

.cosmetics-homepage .cosmetics-random-products-swiper {
    overflow: hidden;

    padding: 2px 2px 30px;
}


.cosmetics-homepage
.cosmetics-random-products-swiper
.swiper-wrapper {
    align-items: stretch;
}


.cosmetics-homepage
.cosmetics-random-products-swiper
.swiper-slide {
    height: auto;
}


/* ================= product card ================= */

.cosmetics-homepage .cosmetics-random-product-card {
    display: flex;

    height: 100%;
    min-width: 0;

    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-md);

    background-color: var(--cosmetics-surface);

    color: var(--cosmetics-text);

    text-decoration: none;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.cosmetics-homepage .cosmetics-random-product-card:hover {
    border-color: var(--cosmetics-border-strong);

    box-shadow: var(--cosmetics-shadow-sm);

    transform: translateY(-4px);
}


/* image */

.cosmetics-homepage .cosmetics-random-product-media {
    position: relative;

    display: flex;

    height: 190px;

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

    padding: 14px;

    overflow: hidden;

    background-color: var(--cosmetics-surface-soft);
}


.cosmetics-homepage .cosmetics-random-product-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform .3s ease;
}


.cosmetics-homepage
.cosmetics-random-product-card:hover
.cosmetics-random-product-media img {
    transform: scale(1.05);
}


/* discount */

.cosmetics-homepage .cosmetics-random-product-discount {
    position: absolute;

    z-index: 2;

    top: 10px;
    right: 10px;

    display: inline-flex;

    min-width: 38px;
    min-height: 30px;

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

    padding: 4px 8px;

    border-radius: 999px;

    background-color: var(--cosmetics-primary-dark);

    color: #fff;

    font-size: 11px;
    font-weight: 900;

    box-shadow: var(--shadow-sm);
}


/* body */

.cosmetics-homepage .cosmetics-random-product-body {
    display: flex;

    min-width: 0;

    flex: 1;

    flex-direction: column;

    padding: 13px;
}


.cosmetics-homepage .cosmetics-random-product-label {
    min-height: 18px;

    margin-bottom: 3px;

    color: var(--cosmetics-primary-dark);

    font-size: 10px;
    font-weight: 800;
    line-height: 1.6;
}

/* exactly two lines */
.cosmetics-homepage .cosmetics-random-product-title {
    display: -webkit-box;

    height: calc(1.75em * 2);
    min-height: calc(1.75em * 2);
    max-height: calc(1.75em * 2);

    overflow: hidden;

    color: var(--cosmetics-text);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.75;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    text-overflow: ellipsis;
}

/* price */

.cosmetics-homepage .cosmetics-random-product-price {
    display: flex;

    min-height: 36px;

    align-items: center;
    justify-content: space-between;

    gap: 6px;

    margin-top: 5px;
}


.cosmetics-homepage .cosmetics-random-product-price strong {
    color: var(--cosmetics-primary-dark);

    font-size: 14px;
    font-weight: 900;
    line-height: 1.6;

    white-space: nowrap;
}


.cosmetics-homepage .cosmetics-random-product-price strong small {
    font-size: 9px;
    font-weight: 700;
}


.cosmetics-homepage .cosmetics-random-product-price del {
    color: var(--cosmetics-muted);

    font-size: 9px;
    line-height: 1.5;

    white-space: nowrap;
}






/* CTA */

.cosmetics-homepage .cosmetics-random-product-action {
    display: flex;

    min-height: 38px;

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

    gap: 7px;

    margin-top: 10px;
    padding: 7px 12px;

    border: 1px solid var(--cosmetics-highlight);
    border-radius: 999px;

    background-color: var(--cosmetics-soft);

    color: var(--cosmetics-primary-dark);

    font-size: 11px;
    font-weight: 850;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}
.cosmetics-homepage
.cosmetics-random-product-card:hover
.cosmetics-random-product-action {
    border-color: var(--cosmetics-primary-dark);

    background-color: var(--cosmetics-primary-dark);

    color: #fff;
}
.cosmetics-homepage .cosmetics-random-product-action i {
    color: var(--cosmetics-primary-dark);

    font-size: 13px;

    transition:
        transform .2s ease,
        color .2s ease;
}


.cosmetics-homepage
.cosmetics-random-product-card:hover
.cosmetics-random-product-action i {
    color: #fff;

    transform: translateX(-4px);
}


.cosmetics-homepage .cosmetics-random-product-action i {
    color: var(--cosmetics-primary-dark);

    transition: transform .2s ease;
}


.cosmetics-homepage
.cosmetics-random-product-card:hover
.cosmetics-random-product-action i {
    transform: translateX(-4px);
}


/* pagination */

.cosmetics-homepage .cosmetics-random-pagination {
    position: absolute;

    bottom: 2px !important;
}


.cosmetics-homepage
.cosmetics-random-pagination
.swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    opacity: .3;

    background-color: var(--cosmetics-primary-dark);
}


.cosmetics-homepage
.cosmetics-random-pagination
.swiper-pagination-bullet-active {
    width: 20px;

    opacity: 1;

    border-radius: 999px;
}
/* =========================================================
   Random products slider - Responsive
========================================================= */

@media only screen and (max-width: 767px) {

    .cosmetics-homepage .cosmetics-random-showcase {
        padding: 4px 0 24px;
    }


    .cosmetics-homepage .cosmetics-random-showcase-box {
        padding: 15px;

        border-radius: 18px;
    }


    .cosmetics-homepage .cosmetics-random-showcase-header {
        align-items: center;

        margin-bottom: 15px;
    }


    .cosmetics-homepage .cosmetics-random-showcase-badge {
        display: none;
    }


    .cosmetics-homepage .cosmetics-random-showcase-heading h2 {
        font-size: 18px;
    }


    .cosmetics-homepage .cosmetics-random-showcase-heading p {
        display: -webkit-box;

        max-width: 240px;

        overflow: hidden;

        font-size: 10px;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }


    .cosmetics-homepage .cosmetics-random-prev,
    .cosmetics-homepage .cosmetics-random-next {
        width: 36px;
        height: 36px;
    }


    .cosmetics-homepage .cosmetics-random-product-media {
        height: 150px;

        padding: 10px;
    }


    .cosmetics-homepage .cosmetics-random-product-body {
        padding: 10px;
    }


    .cosmetics-homepage .cosmetics-random-product-title {
        min-height: 0;

        max-height: calc(1.7em * 2);

        font-size: 12px;
        line-height: 1.7;

        -webkit-line-clamp: 2;
    }

    .cosmetics-homepage .cosmetics-random-product-price {
        min-height: 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 1px;

        margin-top: 4px;
    }


    .cosmetics-homepage .cosmetics-random-product-price strong {
        font-size: 12px;
    }


    .cosmetics-homepage .cosmetics-random-product-action {
        font-size: 10px;
    }

}


/* =========================================================
   Timed Products - Tablet / Mobile
========================================================= */
/* =========================================================
   Cosmetics Home - Timed Offers
========================================================= */

.cosmetics-homepage .timed-products-column {
    min-width: 0;
}


.cosmetics-homepage .timed-products-swiper {
    width: 100%;
    height: 100%;

    overflow: hidden;
}


.cosmetics-homepage
.timed-products-swiper
.swiper-wrapper {
    align-items: stretch;
}


.cosmetics-homepage
.timed-products-swiper
.swiper-slide {
    height: auto;

    padding: 0 !important;
}


.cosmetics-homepage .timed-offer-link {
    display: block;

    height: 100%;

    color: inherit;

    text-decoration: none;
}


.cosmetics-homepage .timed-offer-card {
    position: relative;
    display: flex;

    height: 100%;
    min-width: 0;

    flex-direction: column;

    padding: 13px;

    overflow: hidden;

    border: 1px solid var(--cosmetics-border);
    border-radius: var(--cosmetics-radius-lg);

    background-color: var(--cosmetics-surface);

    box-shadow: var(--cosmetics-shadow-sm);
}
/* ========================
   auto slide timer
======================== */

.cosmetics-homepage .timed-slide-progress {
    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    overflow: hidden;

    background-color: var(--cosmetics-soft);

    pointer-events: none;
}


.cosmetics-homepage .timed-slide-progress span {
    display: block;

    width: var(--timed-autoplay-progress, 0%);
    height: 100%;

    margin-inline-start: 0;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--cosmetics-primary-dark),
        var(--main-color-one)
    );

    transition: width 0.1s linear;
}


/*
 * ردیف تخفیف + شمارنده رفتن به محصول بعدی
 */
.cosmetics-homepage .timed-offer-meta-row {
    display: flex;

    width: 100%;

    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


/*
 * باکس کوچک «بعدی»
 */
.cosmetics-homepage .timed-slide-switch {
    display: inline-flex;

    flex-shrink: 0;

    align-items: center;

    gap: 6px;

    color: var(--cosmetics-muted);
}


/*
 * حلقه شمارش معکوس
 */
.cosmetics-homepage .timed-slide-switch-ring {
    position: relative;

    display: inline-flex;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

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

    border-radius: 50%;

    background:
        conic-gradient(
            var(--cosmetics-primary-dark)
            var(--timed-autoplay-progress, 0%),

            var(--cosmetics-soft)
            var(--timed-autoplay-progress, 0%)
        );
}


/*
 * وسط سفید حلقه
 */
.cosmetics-homepage .timed-slide-switch-ring::before {
    content: "";

    position: absolute;

    inset: 4px;

    border: 1px solid var(--cosmetics-border);
    border-radius: 50%;

    background-color: var(--cosmetics-surface);
}


/*
 * عدد 5،4،3،2،1
 */
.cosmetics-homepage .timed-slide-switch-ring b {
    position: relative;

    z-index: 1;

    color: var(--cosmetics-primary-dark);

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}


/*
 * نوشته «بعدی»
 */
.cosmetics-homepage .timed-slide-switch-label {
    color: var(--cosmetics-muted);

    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
}

/* ========================
   timer
======================== */

.cosmetics-homepage .timed-offer-head {
    display: grid;

    gap: 9px;
}


.cosmetics-homepage .timed-offer-discount {
    display: inline-flex;

    width: fit-content;
    min-height: 28px;

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

    padding: 4px 9px;

    border-radius: 999px;

    background-color: var(--cosmetics-soft);

    color: var(--cosmetics-primary-dark);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;

    white-space: nowrap;
}


.cosmetics-homepage .timed-offer-countdown {
    display: grid;

    width: 100%;

    grid-template-columns: repeat(4, 38px);

    align-items: start;
    justify-content: center;

    column-gap: 5px;

    direction: ltr;
}


.cosmetics-homepage .timed-offer-time {
    display: grid;

    min-width: 0;

    gap: 4px;

    text-align: center;
}


.cosmetics-homepage .timed-offer-time b {
    display: flex;

    width: 38px;
    height: 38px;

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

    margin: 0 auto;
    padding: 0;

    border: 1px solid var(--cosmetics-border);
    border-radius: 10px;

    background-color: var(--cosmetics-surface-soft);

    color: var(--cosmetics-primary-dark);

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    aspect-ratio: 1 / 1;
}
.cosmetics-homepage .timed-offer-time {
    display: grid;

    min-width: 0;

    justify-items: center;

    gap: 4px;

    text-align: center;
}


/* ثانیه یاسی */
.cosmetics-homepage
.timed-offer-time.is-accent b {
    border-color: var(--cosmetics-primary-dark);

    background-color: var(--cosmetics-primary-dark);

    color: #fff;
}


.cosmetics-homepage .timed-offer-time small {
    overflow: hidden;

    color: var(--cosmetics-muted);

    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ========================
   image
======================== */

.cosmetics-homepage .timed-offer-media {
    display: flex;

    min-height: 118px;

    flex: 1 1 138px;

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

    margin: 8px 0;

    overflow: hidden;
}


.cosmetics-homepage .timed-offer-media img {
    display: block;

    width: 100%;
    height: 100%;
    max-height: 150px;

    object-fit: contain;
}


/* ========================
   title
======================== */

.cosmetics-homepage .timed-offer-title {
    display: -webkit-box;

    height: calc(1.8em * 2);
    min-height: calc(1.8em * 2);
    max-height: calc(1.8em * 2);

    margin: 0;

    overflow: hidden;

    color: var(--cosmetics-text);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;

    text-align: right;

    text-overflow: ellipsis;
    overflow-wrap: anywhere;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* ========================
   prices
======================== */

.cosmetics-homepage .timed-offer-prices {
    display: flex;

    min-width: 0;

    align-items: baseline;
    justify-content: space-between;

    gap: 7px;

    margin-top: 8px;
    padding-top: 8px;

    border-top: 1px solid var(--cosmetics-border);
}


.cosmetics-homepage .timed-offer-prices strong {
    color: var(--cosmetics-primary-dark);

    font-size: 13px;
    font-weight: 900;
    line-height: 1.6;

    white-space: nowrap;
}


.cosmetics-homepage
.timed-offer-prices strong small,
.cosmetics-homepage
.timed-offer-prices del small {
    font-size: 8px;
    font-weight: 700;
}


.cosmetics-homepage .timed-offer-prices del {
    overflow: hidden;

    color: var(--cosmetics-muted);

    font-size: 9px;
    line-height: 1.5;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.cosmetics-homepage
.timed-offer-link:focus-visible {
    outline: 3px solid var(--cosmetics-focus-ring);

    outline-offset: 3px;

    border-radius: var(--cosmetics-radius-lg);
}
/* =========================================
   Product Category Button
========================================= */

.cosmetics-header-category-trigger {
    color: #fff !important;
}

.cosmetics-header-category-trigger span {
    color: #fff !important;
}

.cosmetics-header-category-trigger i {
    color: #fff !important;
}

.cosmetics-header-category-trigger:hover,
.cosmetics-header-category-trigger:focus,
.cosmetics-header-category-trigger:active {
    color: #fff !important;
}

.cosmetics-header-category-trigger:hover span,
.cosmetics-header-category-trigger:focus span {
    color: #fff !important;
}

.cosmetics-header-category-trigger:hover i,
.cosmetics-header-category-trigger:focus i {
    color: #fff !important;
}

/* =========================================
   Homepage Categories - Premium Clean UI
========================================= */

body.cosmetics-homepage .cosmetics-category-section {
    padding: 30px 0 40px;
    background: linear-gradient(180deg, #fff8fc 0%, #fdf0f6 100%);
}

body.cosmetics-homepage .cosmetics-category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

body.cosmetics-homepage .cosmetics-category-heading-content {
    position: relative;
    min-width: 0;
}

body.cosmetics-homepage .cosmetics-category-heading .section-title-title {
    padding-right: 42px;
}

body.cosmetics-homepage .cosmetics-category-heading .Dottedsquare {
    right: 0;
    bottom: 4px;
    opacity: 0.45;
}

body.cosmetics-homepage .cosmetics-category-title {
    margin-bottom: 0;
    color: #2f2032;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 900;
    line-height: 1.5;
}

body.cosmetics-homepage .cosmetics-category-lead {
    margin: 6px 0 0;
    color: #8f7384;
    font-size: 13px;
    line-height: 1.8;
}

body.cosmetics-homepage .cosmetics-category-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #6f4a91;
    background: #6f4a91;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(111, 74, 145, 0.18);
    transition: all 0.25s ease;
}

body.cosmetics-homepage .cosmetics-category-view-all:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(111, 74, 145, 0.24);
}

body.cosmetics-homepage .cosmetics-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch;
}

body.cosmetics-homepage .cosmetics-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 180px;
    padding: 18px 16px;
    border: 1px solid #efd7e3;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: #2f2032;
    box-shadow: 0 10px 30px rgba(140, 88, 120, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

body.cosmetics-homepage .cosmetics-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(252, 238, 245, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

body.cosmetics-homepage .cosmetics-category-card:hover {
    transform: translateY(-5px);
    border-color: #e9a8c6;
    box-shadow: 0 18px 40px rgba(181, 92, 136, 0.14);
    color: #2f2032;
}

body.cosmetics-homepage .cosmetics-category-card:hover::before {
    opacity: 1;
}

body.cosmetics-homepage .cosmetics-category-card-media {
    position: relative;
    z-index: 1;
    width: 86px;
    height: 86px;
    min-width: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff8fb 0%, #fdf1f6 100%);
    border: 1px solid #f2dce6;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

body.cosmetics-homepage .cosmetics-category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.cosmetics-homepage .cosmetics-category-card-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 5px;
    width: 100%;
}

body.cosmetics-homepage .cosmetics-category-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: #251b2c;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: calc(1.65em * 2);
}

body.cosmetics-homepage .cosmetics-category-card-subtitle {
    color: #98788b;
    font-size: 12px;
    line-height: 1.8;
}

body.cosmetics-homepage .cosmetics-category-card-arrow {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fdf1f6;
    color: #c25087;
    font-size: 15px;
    transition: all 0.25s ease;
}

body.cosmetics-homepage .cosmetics-category-card:hover .cosmetics-category-card-arrow {
    background: #d95b97;
    color: #fff;
    transform: translateX(-4px);
}

body.cosmetics-homepage .cosmetics-category-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    padding: 20px;
    border: 1px dashed #e5b6cb;
    border-radius: 18px;
    background: #fff;
    color: #876e7f;
    font-size: 14px;
}

body.cosmetics-homepage .cosmetics-category-empty i {
    font-size: 20px;
}

/* ---------- Laptop / Tablet ---------- */
@media (max-width: 1199.98px) {
    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
    body.cosmetics-homepage .cosmetics-category-section {
        padding: 26px 0 32px;
    }

    body.cosmetics-homepage .cosmetics-category-heading {
        margin-bottom: 16px;
    }

    body.cosmetics-homepage .cosmetics-category-title {
        font-size: 24px;
    }

    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 170px;
        padding: 16px 12px;
        border-radius: 20px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 15px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
    body.cosmetics-homepage .cosmetics-category-section {
        padding: 22px 0 28px;
    }

    body.cosmetics-homepage .cosmetics-category-heading {
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }

    body.cosmetics-homepage .cosmetics-category-heading .section-title-title {
        padding-right: 30px;
    }

    body.cosmetics-homepage .cosmetics-category-heading .Dottedsquare {
        width: 26px;
        height: 26px;
        background-size: 8px 8px;
    }

    body.cosmetics-homepage .cosmetics-category-title {
        font-size: 20px;
    }

    body.cosmetics-homepage .cosmetics-category-lead {
        display: none;
    }

    body.cosmetics-homepage .cosmetics-category-view-all {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 12px;
        gap: 4px;
    }

    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 155px;
        padding: 14px 10px 12px;
        gap: 10px;
        border-radius: 18px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 72px;
        height: 72px;
        min-width: 72px;
        border-radius: 18px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 14px;
        min-height: calc(1.65em * 2);
    }

    body.cosmetics-homepage .cosmetics-category-card-subtitle {
        font-size: 11px;
    }

    body.cosmetics-homepage .cosmetics-category-card-arrow {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    body.cosmetics-homepage .cosmetics-back-to-top {
        bottom: 92px !important;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 420px) {
    body.cosmetics-homepage .cosmetics-category-grid {
        gap: 10px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 148px;
        padding: 12px 8px;
        border-radius: 16px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 64px;
        height: 64px;
        min-width: 64px;
        border-radius: 16px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 13px;
    }

    body.cosmetics-homepage .cosmetics-category-view-all {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 11px;
    }
}
/* =========================================
   Better Category Cards - Bigger Image
========================================= */

body.cosmetics-homepage .cosmetics-category-section {
    padding: 26px 0 34px;
    background: linear-gradient(180deg, #fff8fc 0%, #fdf0f6 100%);
}

body.cosmetics-homepage .cosmetics-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

body.cosmetics-homepage .cosmetics-category-title {
    margin-bottom: 0;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 900;
    line-height: 1.5;
    color: #2f2032;
}

body.cosmetics-homepage .cosmetics-category-lead {
    margin: 5px 0 0;
    color: #9b7b8f;
    font-size: 12px;
    line-height: 1.8;
}

body.cosmetics-homepage .cosmetics-category-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #6f4a91;
    border: 1px solid #6f4a91;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: 0.25s ease;
}

body.cosmetics-homepage .cosmetics-category-view-all:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

/* گرید */
body.cosmetics-homepage .cosmetics-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    align-items: stretch;
}

/* کارت */
body.cosmetics-homepage .cosmetics-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 155px;
    padding: 14px 12px;
    border: 1px solid #efd8e4;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: #2b1f2f;
    box-shadow: 0 8px 24px rgba(141, 93, 121, 0.08);
    transition: all 0.25s ease;
    overflow: hidden;
}

body.cosmetics-homepage .cosmetics-category-card:hover {
    transform: translateY(-4px);
    border-color: #e5a8c4;
    box-shadow: 0 14px 32px rgba(190, 104, 146, 0.14);
    color: #2b1f2f;
}

/* عکس بزرگ‌تر */
body.cosmetics-homepage .cosmetics-category-card-media {
    width: 112px;
    height: 112px;
    min-width: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff8fb 0%, #fdf1f6 100%);
    border: 1px solid #f2dce6;
}

body.cosmetics-homepage .cosmetics-category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* عنوان */
body.cosmetics-homepage .cosmetics-category-card-content {
    width: 100%;
}

body.cosmetics-homepage .cosmetics-category-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: #261b2c;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: calc(1.6em * 2);
}

/* متن فرعی اگر ماند، مخفی شود */
body.cosmetics-homepage .cosmetics-category-card-subtitle {
    display: none !important;
}

/* فلش */
body.cosmetics-homepage .cosmetics-category-card-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f9e8f1;
    color: #c4568b;
    font-size: 14px;
    transition: 0.25s ease;
}

body.cosmetics-homepage .cosmetics-category-card:hover .cosmetics-category-card-arrow {
    background: #d95b97;
    color: #fff;
    transform: translateX(-4px);
}

/* ---------- لپتاپ ---------- */
@media (max-width: 1199.98px) {
    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 150px;
        padding: 13px 10px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 104px;
        height: 104px;
        min-width: 104px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 17px;
    }
}

/* ---------- تبلت ---------- */
@media (max-width: 991.98px) {
    body.cosmetics-homepage .cosmetics-category-section {
        padding: 22px 0 30px;
    }

    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 145px;
        border-radius: 18px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 96px;
        height: 96px;
        min-width: 96px;
        border-radius: 18px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 15px;
    }
}

/* ---------- موبایل ---------- */
@media (max-width: 767.98px) {
    body.cosmetics-homepage .cosmetics-category-heading {
        margin-bottom: 14px;
    }

    body.cosmetics-homepage .cosmetics-category-title {
        font-size: 20px;
    }

    body.cosmetics-homepage .cosmetics-category-lead {
        display: none;
    }

    body.cosmetics-homepage .cosmetics-category-view-all {
        min-height: 36px;
        padding: 7px 12px;
        font-size: 12px;
    }

    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 138px;
        padding: 12px 8px;
        gap: 8px;
        border-radius: 16px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 86px;
        height: 86px;
        min-width: 86px;
        padding: 7px;
        border-radius: 16px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 14px;
        min-height: calc(1.6em * 2);
    }

    body.cosmetics-homepage .cosmetics-category-card-arrow {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}

/* ---------- گوشی خیلی کوچک ---------- */
@media (max-width: 420px) {
    body.cosmetics-homepage .cosmetics-category-grid {
        gap: 9px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 132px;
        padding: 10px 7px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 78px;
        height: 78px;
        min-width: 78px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 13px;
    }
}
/* =========================================
   Category cards - cleaner / shorter / premium
========================================= */

body.cosmetics-homepage .cosmetics-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    align-items: stretch;
}

body.cosmetics-homepage .cosmetics-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 210px;
    padding: 16px 14px 14px;
    border: 1px solid #edd5e2;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: #2b1f2f;
    box-shadow: 0 8px 24px rgba(141, 93, 121, 0.08);
    transition: all 0.25s ease;
    overflow: hidden;
}

body.cosmetics-homepage .cosmetics-category-card:hover {
    transform: translateY(-4px);
    border-color: #e3abc4;
    box-shadow: 0 16px 34px rgba(191, 109, 149, 0.14);
    color: #2b1f2f;
}

body.cosmetics-homepage .cosmetics-category-card-media {
    width: 108px;
    height: 108px;
    min-width: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff8fb 0%, #fdf1f6 100%);
    border: 1px solid #f1dae5;
}

body.cosmetics-homepage .cosmetics-category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.cosmetics-homepage .cosmetics-category-card-content {
    width: 100%;
}

body.cosmetics-homepage .cosmetics-category-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: #261b2c;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: calc(1.65em * 2);
    margin: 0;
}

body.cosmetics-homepage .cosmetics-category-card-subtitle {
    display: none !important;
}

/* فلش قبلی حذف شود */
body.cosmetics-homepage .cosmetics-category-card-arrow {
    display: none !important;
}

/* دکمه جدید */
body.cosmetics-homepage .cosmetics-category-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7dce8 0%, #f3c5d9 100%);
    color: #bf4d86;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(212, 100, 150, 0.14);
    transition: all 0.25s ease;
}

body.cosmetics-homepage .cosmetics-category-card-cta i {
    font-size: 16px;
    line-height: 1;
}

body.cosmetics-homepage .cosmetics-category-card:hover .cosmetics-category-card-cta {
    background: linear-gradient(135deg, #d86199 0%, #6f4a91 100%);
    color: #fff;
    box-shadow: 0 14px 26px rgba(145, 75, 126, 0.22);
    transform: translateY(-1px);
}

/* ---------- لپتاپ ---------- */
@media (max-width: 1199.98px) {
    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
        gap: 12px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 200px;
        padding: 15px 12px 13px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 17px;
    }
}

/* ---------- تبلت ---------- */
@media (max-width: 991.98px) {
    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 188px;
        padding: 14px 10px 12px;
        border-radius: 20px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 92px;
        height: 92px;
        min-width: 92px;
        border-radius: 18px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 15px;
    }

    body.cosmetics-homepage .cosmetics-category-card-cta {
        min-height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }
}

/* ---------- موبایل ---------- */
@media (max-width: 767.98px) {
    body.cosmetics-homepage .cosmetics-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 170px;
        padding: 12px 8px 10px;
        gap: 10px;
        border-radius: 18px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 84px;
        height: 84px;
        min-width: 84px;
        padding: 7px;
        border-radius: 16px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 14px;
    }

    body.cosmetics-homepage .cosmetics-category-card-cta {
        min-height: 32px;
        padding: 0 10px;
        font-size: 11px;
        gap: 3px;
    }

    body.cosmetics-homepage .cosmetics-category-card-cta i {
        font-size: 14px;
    }
}

/* ---------- گوشی خیلی کوچک ---------- */
@media (max-width: 420px) {
    body.cosmetics-homepage .cosmetics-category-card {
        min-height: 160px;
        padding: 11px 7px 10px;
    }

    body.cosmetics-homepage .cosmetics-category-card-media {
        width: 78px;
        height: 78px;
        min-width: 78px;
    }

    body.cosmetics-homepage .cosmetics-category-card-title {
        font-size: 13px;
    }

    body.cosmetics-homepage .cosmetics-category-card-cta {
        min-height: 30px;
        padding: 0 9px;
        font-size: 10px;
    }
}
body.cosmetics-homepage .cosmetics-category-view-all,
body.cosmetics-homepage .cosmetics-category-view-all span,
body.cosmetics-homepage .cosmetics-category-view-all i {
    color: #fff !important;
}

body.cosmetics-homepage .cosmetics-category-view-all:hover,
body.cosmetics-homepage .cosmetics-category-view-all:focus,
body.cosmetics-homepage .cosmetics-category-view-all:active {
    color: #fff !important;
}

body.cosmetics-homepage .cosmetics-category-view-all:hover span,
body.cosmetics-homepage .cosmetics-category-view-all:hover i,
body.cosmetics-homepage .cosmetics-category-view-all:focus span,
body.cosmetics-homepage .cosmetics-category-view-all:focus i {
    color: #fff !important;
}
/* =========================================
   Homepage Blog Cards
========================================= */

body.cosmetics-homepage .blog-item {
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

body.cosmetics-homepage .blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(120, 70, 100, 0.12);
}

body.cosmetics-homepage .blog-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}


/* تصویر */

body.cosmetics-homepage .blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

body.cosmetics-homepage .blog-card-image__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

body.cosmetics-homepage .blog-item:hover .blog-card-image__img {
    transform: scale(1.04);
}


/* بدنه */

body.cosmetics-homepage .blog-card-body {
    padding: 14px 14px 16px;
}


/* متا */

body.cosmetics-homepage .blog-card-meta {
    gap: 8px;
    margin-bottom: 12px;
}

body.cosmetics-homepage .blog-card-category,
body.cosmetics-homepage .blog-card-date {
    border-radius: 9px;
    white-space: nowrap;
}

body.cosmetics-homepage .blog-card-category span,
body.cosmetics-homepage .blog-card-date span {
    color: #fff !important;
}


/* عنوان */

body.cosmetics-homepage .blog-card-title {
    display: -webkit-box;

    margin: 0 0 8px;

    overflow: hidden;

    color: #2b1f2f;

    font-size: 16px;
    font-weight: 900;
    line-height: 1.8;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* توضیح دو خطی */

body.cosmetics-homepage .blog-card-excerpt {
    display: -webkit-box;

    margin: 0 0 14px;

    overflow: hidden;

    color: #8c7483;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.9;

    text-align: right;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* دکمه مطالعه */

body.cosmetics-homepage .blog-card-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #cf4e8c;

    font-size: 12px;
    font-weight: 800;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

body.cosmetics-homepage .blog-card-action i {
    font-size: 14px;
}

body.cosmetics-homepage .blog-item:hover .blog-card-action {
    gap: 9px;
    color: #6f4a91;
}


/* موبایل */

@media (max-width: 767.98px) {

    body.cosmetics-homepage .blog-card-image {
        height: 180px;
    }

    body.cosmetics-homepage .blog-card-body {
        padding: 12px;
    }

    body.cosmetics-homepage .blog-card-title {
        font-size: 14px;
    }

    body.cosmetics-homepage .blog-card-excerpt {
        font-size: 12px;
        line-height: 1.8;
    }

    body.cosmetics-homepage .blog-card-category,
    body.cosmetics-homepage .blog-card-date {
        padding: 5px 8px !important;
    }

    body.cosmetics-homepage .blog-card-category span,
    body.cosmetics-homepage .blog-card-date span {
        font-size: 10px !important;
    }

}

/* ==================================================
   SEARCH / CATEGORY PRODUCT IMAGE FIX
================================================== */

:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-card {
    height: 100%;
}

/* قاب تمام عکس‌های محصولات */
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-media {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 220px;
    min-height: 220px;
    flex: 0 0 220px;

    aspect-ratio: auto;

    padding: 20px;
    overflow: hidden;

    background: #fffafb;
}

/* خود عکس محصول */
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-media img {
    display: block;

    width: auto;
    height: auto;

    max-width: 82%;
    max-height: 180px;

    object-fit: contain;
    object-position: center;

    margin: auto;
}

/* فاصله مناسب متن از عکس */
:is(.cosmetics-category-page, .cosmetics-search-page) .cosmetics-product-body {
    padding-top: 12px;
}