/* Azerfashion premium UI refresh */

.top-discount-banner {
    min-height: 36px;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
}

.top-discount-banner p {
    color: #fff;
    font-family: var(--montserrat-family);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-align: center;
}

.top-discount-banner a {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding-bottom: 2px;
}

.menu-item.text-danger,
.azf-sale-menu {
    color: #111 !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.azf-sale-menu::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 4px;
    background: #111;
}

#search img {
    filter: grayscale(1) brightness(0);
}

#home-slider {
    position: relative;
    height: calc(100vh - 36px);
    min-height: 680px;
    max-height: 960px;
    background: #111;
}

.home-slider-container {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    overflow: hidden;
}

.home-slider-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 900ms ease, transform 1200ms ease;
    padding: clamp(26px, 5vw, 78px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: default;
}

.home-slider-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.13) 48%, rgba(0, 0, 0, 0.34) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.56) 100%);
}

.home-slider-item.center {
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.home-slider-item.left,
.home-slider-item.right,
.home-slider-item.hidden {
    opacity: 0;
    pointer-events: none;
}

.home-slider-item .slider-title {
    max-width: 580px;
    margin: 0;
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(52px, 7.5vw, 116px);
    font-weight: 300;
    line-height: 0.94;
    letter-spacing: 0;
    text-align: left;
    text-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
    opacity: 1;
    visibility: visible;
}

.azf-hero-copy {
    position: relative;
    z-index: 3;
    width: min(620px, 100%);
    margin-top: auto;
    margin-right: auto;
    color: #fff;
}

.azf-hero-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-family: var(--montserrat-family);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.azf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.azf-hero-btn {
    min-width: 154px;
    min-height: 46px;
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    color: #fff;
    font-family: var(--montserrat-family);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    transition: var(--transition);
}

.azf-hero-btn-primary {
    background: #fff;
    color: #111;
}

.azf-hero-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.azf-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(17, 17, 17, 0.22);
    color: #fff;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.azf-hero-arrow:hover {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.azf-hero-prev {
    left: clamp(18px, 3vw, 48px);
}

.azf-hero-next {
    right: clamp(18px, 3vw, 48px);
}

.azf-hero-counter {
    position: absolute;
    right: clamp(24px, 5vw, 78px);
    bottom: clamp(24px, 5vw, 72px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: var(--montserrat-family);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.azf-hero-counter span:nth-child(2) {
    width: 64px;
    height: 1px;
    background: rgba(255, 255, 255, 0.65);
}

#home-slider .icon-container {
    position: absolute;
    right: clamp(24px, 5vw, 78px);
    top: clamp(94px, 14vh, 160px);
    z-index: 4;
}

#useful {
    padding: 30px 0 42px;
}

#trend {
    padding-top: 72px;
}

.trend-container .nav-pills {
    gap: 10px;
    margin-bottom: 48px;
}

.trend-container .nav-pills .nav-link {
    margin-right: 0;
    min-height: 34px;
    padding: 7px 20px;
    background: #fff;
}

.switch-container {
    top: 4%;
}

.switch {
    width: 54px;
    height: 30px;
}

.slider:before {
    width: 22px;
    height: 22px;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

#home-categories {
    padding: 82px 0 58px;
}

.home-categories-container .nav-pills {
    margin-bottom: 52px;
}

.home-categories-container .nav-pills .nav-link {
    font-family: var(--montserrat-family);
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: 0.01em;
}

.card-item {
    position: relative;
}

.card-item-img,
.product-content-body .card-item-img,
.product-content-body .card-item-img-item,
.single-product-slider .card-item-img,
.last-views .card-item-img {
    aspect-ratio: 3 / 4;
    height: auto;
    min-height: 0;
    background: #f7f6f4;
    overflow: hidden;
}

.card-item-img img,
.card-item-img-item img,
.single-product-slider .card-item-img img,
.last-views .card-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.card-item-body {
    min-height: 118px;
    padding-top: 16px;
}

.card-item-body-title,
.card-item-body-category {
    display: block;
    text-align: center;
}

.card-item-body-title {
    min-height: 20px;
}

.card-item-body-category {
    min-height: 42px;
    line-height: 1.45;
}

.quick-add-btn {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 132px;
    z-index: 8;
    min-height: 42px;
    background: rgba(0, 0, 0, 0.88);
    color: #fff;
    font-family: var(--montserrat-family);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.card-item:hover .quick-add-btn,
.quick-add-btn:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.quick-add-btn[disabled] {
    background: rgba(0, 0, 0, 0.35);
    cursor: not-allowed;
}

.product-content-header {
    align-items: flex-start;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid #efeeec;
    border-bottom: 1px solid #efeeec;
}

.product-content-header-items {
    gap: 8px;
}

.product-content-header-item {
    margin-right: 0;
    min-height: 34px;
    margin-bottom: 0 !important;
    padding: 0 10px;
    border: 1px solid #e7e5e2;
    background: #fff;
}

.product-content-header-item select,
.product-content-header-item button,
.product-content-header-item label {
    min-height: 32px;
    padding: 0;
    color: #242424;
    font-size: 12px;
}

.product-content-header-item select {
    max-width: 138px;
    text-overflow: ellipsis;
}

.product-result-count {
    margin-bottom: 0;
    color: #555;
    font-size: 13px;
    line-height: 34px;
}

.azf-filter-toggle,
.azf-filter-drawer-header {
    display: none;
}

.product-sidebar h3 {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-sidebar-link {
    width: 100%;
    min-height: 36px;
    border-radius: 0;
    margin-bottom: 6px;
    border: 1px solid transparent;
}

.product-sidebar-link.active {
    border-radius: 0;
}

.product-sidebar-child-list {
    margin: -2px 0 10px 16px;
    padding-left: 10px;
    border-left: 1px solid #e9e6e2;
}

.product-sidebar-child-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 10px;
    color: #6f6b67;
    font-family: var(--montserrat-family);
    font-size: 12px;
}

.product-sidebar-child-link.active,
.product-sidebar-child-link:hover {
    color: #111;
    background: #f4f2ef;
}

.price-div {
    border: 1px solid #e8e5e1;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.product-sidebar-link {
    border-radius: 999px;
}

.product-sidebar-link.active {
    border-radius: 999px;
}

.blog-home-title {
    font-family: var(--montserrat-family);
}

.blog-home-title a {
    color: inherit;
}

.blog-home-item-body-title {
    font-family: var(--montserrat-family);
    font-size: 15px;
    line-height: 1.45;
}

.footer-container {
    padding: 64px 0 48px;
}

.footer-top-link,
.footer-icon-item,
.footer-bottom-left-item {
    transition: var(--transition);
}

.footer-top-link:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-icon-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.footer-icon-item:hover {
    background: #fff;
    border-color: #fff;
}

.footer-icon-item:hover i {
    color: #111;
}

.footer-bottom-left-item:hover {
    transform: translateY(-2px);
}

.footer-bottom-right {
    display: none;
}

.copy-right-container img {
    width: 168px;
    height: auto;
}

.empty-state {
    width: min(680px, 100%);
    margin: 34px auto 80px;
    padding: 72px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid #f0eeeb;
}

.empty-state h1,
.empty-state h2 {
    font-family: var(--montserrat-family);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.empty-state p {
    max-width: 440px;
    margin: 0 auto 26px;
    color: #7e7b77;
    font-family: var(--montserrat-family);
    font-size: 14px;
}

.empty-state .read-more {
    background: #111;
    color: #fff;
    border-color: #111;
}

.azf-toast {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 10000;
    width: min(340px, calc(100vw - 32px));
    padding: 16px 18px;
    background: #111;
    color: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.azf-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.azf-toast-title {
    font-family: var(--montserrat-family);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.azf-toast-text {
    font-family: var(--montserrat-family);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.azf-newsletter-modal .modal-content {
    border: 0;
    border-radius: 0;
    overflow: hidden;
    padding: 0;
}

.azf-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    min-height: 430px;
}

.azf-newsletter-media {
    background: #e9e4dd;
}

.azf-newsletter-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.azf-newsletter-body {
    padding: 54px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.azf-newsletter-eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9d1f2d;
    margin-bottom: 16px;
}

.azf-newsletter-body h2 {
    font-family: var(--montserrat-family);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 14px;
}

.azf-newsletter-body p {
    color: #6e6a66;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.azf-newsletter-form {
    display: flex;
    border-bottom: 1px solid #111;
}

.azf-newsletter-form input {
    flex: 1;
    border: 0;
    min-height: 44px;
    font-size: 13px;
}

.azf-newsletter-form button {
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0 0 0 16px;
}

.azf-newsletter-close {
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 2;
    background: transparent;
    font-size: 26px;
    line-height: 1;
}

.js-product-lightbox {
    cursor: zoom-in;
}

.product-image-modal {
    position: relative;
    padding: 42px;
    border: 0;
    border-radius: 0;
    background: #f7f6f4;
}

.product-image-modal .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.product-image-modal img {
    display: block;
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.complete-look-heading {
    margin-top: 90px;
    margin-bottom: 34px;
    text-align: center;
}

.complete-look-heading span {
    display: block;
    margin-bottom: 9px;
    color: #9d1f2d;
    font-family: var(--montserrat-family);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.complete-look-heading h3 {
    font-family: var(--montserrat-family);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    letter-spacing: 0.02em;
}

#looks {
    padding-top: 64px;
}

.looks-categories {
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.look-category-item {
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #e8e4df;
    background: #fff;
}

.look-category-item label,
.look-category-item select {
    color: #4f4b47;
    font-family: var(--montserrat-family);
    font-size: 13px;
}

.look-category-item select {
    max-width: 190px;
    text-align: left;
    background: transparent;
}

.look-slider-item {
    width: min(460px, 100%);
    height: auto;
    aspect-ratio: 4 / 5;
    background: #f7f6f4;
}

.look-slider-item img {
    object-fit: cover;
}

.look-details {
    padding-top: 10px;
}

.look-detail-item {
    gap: 16px;
}

.look-detail-item-img {
    flex: 0 0 64px;
    margin-right: 0;
    overflow: hidden;
}

.look-detail-item-body {
    min-width: 0;
}

.look-detail-item-body-info {
    display: block;
    overflow-wrap: anywhere;
}

.look-info-item {
    min-height: 100%;
}

@media only screen and (max-width: 991px) {
    #home-slider,
    .home-slider-item.center {
        height: 78vh;
        min-height: 600px;
    }

    .home-slider-item.center {
        width: 100%;
    }

    .home-slider-item {
        padding: 34px;
    }

    .azf-hero-copy {
        margin-bottom: 48px;
    }

    .azf-hero-arrow {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .azf-hero-counter {
        right: 50%;
        bottom: 48px;
        transform: translateX(50%);
    }

    .product-content-header {
        align-items: center;
    }

    .product-content-header-items {
        justify-content: center;
    }

    .azf-newsletter {
        grid-template-columns: 1fr;
    }

    .azf-newsletter-media {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    #home-slider,
    .home-slider-item.center {
        height: 76vh;
        min-height: 560px;
    }

    .home-slider-item .slider-title {
        font-size: clamp(44px, 13vw, 64px);
        line-height: 1;
    }

    .azf-hero-copy {
        width: min(520px, 100%);
    }

    .azf-hero-actions {
        margin-top: 22px;
    }

    .azf-hero-btn {
        min-width: 138px;
        min-height: 42px;
        padding: 11px 18px;
    }

    #trend {
        padding-top: 44px;
    }

    .trend-container .nav-pills {
        gap: 9px;
        margin-bottom: 34px;
    }

    .trend-container .nav-pills .nav-link {
        padding: 7px 17px;
        font-size: 12px;
    }

    .product-content-body .row > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    .product-content-body .card-item {
        width: 100%;
    }

    .quick-add-btn {
        opacity: 1;
        transform: none;
        left: 10px;
        right: 10px;
        bottom: 118px;
        min-height: 38px;
        font-size: 11px;
    }

    .card-item-body {
        min-height: 112px;
    }

    .product-content-header-item select {
        max-width: 145px;
    }

    .looks-categories {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 32px;
    }

    .look-category-item {
        width: 100%;
        justify-content: space-between;
    }

    .look-category-item select {
        width: 58%;
        max-width: none;
    }

    #looks .row {
        row-gap: 28px;
    }

    .look-slider-item {
        width: 100%;
        aspect-ratio: 3 / 4;
    }
}

@media only screen and (max-width: 576px) {
    .top-discount-banner p {
        font-size: 11px;
    }

    #home-slider,
    .home-slider-item.center {
        height: 74vh;
        min-height: 520px;
    }

    .home-slider-item {
        padding: 24px 18px 92px;
        background-position: center top;
    }

    .home-slider-item .slider-title {
        font-size: clamp(38px, 14vw, 54px);
    }

    .azf-hero-eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .azf-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        width: min(260px, 100%);
    }

    .azf-hero-btn {
        width: 100%;
    }

    .azf-hero-arrow {
        width: 42px;
        height: 42px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        background: rgba(17, 17, 17, 0.42);
    }

    .azf-hero-prev {
        left: 18px;
    }

    .azf-hero-next {
        right: 18px;
    }

    .azf-hero-counter {
        bottom: 36px;
        gap: 8px;
    }

    .azf-hero-counter span:nth-child(2) {
        width: 34px;
    }

    #home-categories {
        padding-top: 36px;
    }

    .home-categories-container .nav-pills {
        flex-direction: column;
        gap: 4px;
    }

    .home-categories-container .nav-pills .nav-link {
        font-size: 32px;
        line-height: 1.35;
        text-align: left;
    }

    .product-sidebar ul {
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .product-sidebar-link {
        width: auto;
        white-space: nowrap;
        margin-bottom: 0;
        border: 1px solid #e3e0dc;
    }

    .product-sidebar-link p {
        white-space: nowrap;
    }

    .product-content-header-items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .product-content-header-item,
    .product-content-header-item select,
    .product-content-header-item label,
    .product-content-header-item button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .azf-newsletter-body {
        padding: 46px 26px 34px;
    }

    .azf-toast {
        right: 16px;
        bottom: 18px;
    }

    .look-category-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 12px 14px;
    }

    .look-category-item select {
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .azf-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 38px;
        margin: 0 auto 18px;
        padding: 0 16px;
        border: 1px solid #111;
        background: #111;
        color: #fff;
        font-family: var(--montserrat-family);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .azf-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 9997;
        background: rgba(0, 0, 0, 0.42);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .azf-filter-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    body.azf-filter-lock {
        overflow: hidden;
    }

    .product-content-header.filter-form {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        width: min(390px, 88vw);
        padding: 22px;
        background: #fff;
        border: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 320ms ease;
        display: block;
    }

    .product-content-header.filter-form.is-open {
        transform: translateX(0);
    }

    .azf-filter-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
        padding-bottom: 14px;
        border-bottom: 1px solid #efeeec;
        font-family: var(--montserrat-family);
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .azf-filter-close {
        width: 34px;
        height: 34px;
        background: #111;
        color: #fff;
    }

    .product-content-header-items,
    .product-content-header-items.flex-wrap {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .product-content-header-item {
        width: 100%;
        justify-content: space-between;
        padding: 0 12px;
    }

    .product-content-header-item select {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .azf-price-filter {
        display: flex;
        align-items: center;
        padding: 10px 12px;
    }

    .azf-price-filter #selectedPrice {
        margin: 0;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .price-div {
        position: static;
        display: none;
        width: 100%;
        margin-top: 10px;
        transform: none;
        box-shadow: none;
    }
}
