/*your custom css goes here*/

.aiz-card-box .product-thumb {
    aspect-ratio: 3 / 4;
    width: 100%;
    background-color: #fff;
    border-radius: 0;
    position: relative;
}

@media (min-width: 768px) {
    .aiz-card-box .product-thumb {
        aspect-ratio: 4 / 5;
    }
}

.aiz-card-box .product-thumb > a,
.aiz-card-box .product-thumb img {
    width: 100%;
    height: 100%;
    display: block;
}

.aiz-card-box .product-thumb img {
    object-fit: cover;
    transition: transform .35s ease;
}

.aiz-card-box.hov-scale-img:hover .product-thumb img {
    transform: scale(1.04);
}

@supports not (aspect-ratio: 1 / 1) {
    .aiz-card-box .product-thumb::before {
        content: '';
        display: block;
        padding-bottom: 135%;
    }
    .aiz-card-box .product-thumb > a,
    .aiz-card-box .product-thumb img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* Product card image box */
.aiz-card-box .product-image-box {
    width: 100%;
    overflow: hidden;
}

.aiz-card-box .product-image-box .image-hover-effect {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
}

.aiz-card-box .product-main-image,
.aiz-card-box .product-hover-image {
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.aiz-card-box .product-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media (max-width: 576px) {
    .aiz-card-box .product-main-image,
    .aiz-card-box .product-hover-image {
        object-position: center center;
    }
}

/* Hero adjustments */
@media (max-width: 767.98px) {
    .hero-frame {
        aspect-ratio: 4 / 5;
    }
    @supports not (aspect-ratio: 1 / 1) {
        .hero-frame {
            height: clamp(360px, 70vw, 520px);
        }
    }
    .hero-safe {
        top: clamp(28px, 10vw, 64px);
        bottom: clamp(32px, 12vw, 72px);
        right: var(--hero-safe-x);
    }
    .hero-title {
        font-size: clamp(24px, 7vw, 34px);
    }
    .hero-sub {
        font-size: clamp(15px, 4vw, 18px);
    }
    .hero-cta {
        gap: 12px;
    }
}

#hero-geo {
    font-size: 0.875rem;
    gap: 6px;
    line-height: 1.2;
}

.home-occasion-strip__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-occasion-strip__scroller {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1 1 auto;
    padding: 0.25rem 0;
    cursor: grab;
    touch-action: pan-x;
}

.home-occasion-strip__scroller::-webkit-scrollbar {
    display: none;
}

.home-occasion-strip__scroller.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.home-occasion-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.45rem 1rem 0.45rem 0.5rem;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.home-occasion-pill:hover {
    transform: translateY(-1px);
}

.home-occasion-pill__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fcf8f7;
    overflow: hidden;
    flex: 0 0 auto;
}

.home-occasion-pill__img,
.home-occasion-pill__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    object-fit: contain;
}

.home-occasion-pill__label {
    position: relative;
    top: 2px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.2;
}

.home-occasion-strip__arrow,
.popular-cities-strip__arrow {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0 5px 0;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-occasion-strip__arrow:hover:not(:disabled),
.popular-cities-strip__arrow:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.home-occasion-strip__arrow:disabled,
.popular-cities-strip__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 767.98px) {
    .home-occasion-strip__inner {
        gap: 0.5rem;
    }

    .home-occasion-strip__scroller {
        gap: 0.5rem;
    }

    .home-occasion-pill {
        min-height: 3rem;
        padding-right: 0.875rem;
    }

    .home-occasion-pill__label {
        font-size: 0.875rem;
    }

    .home-occasion-strip__arrow,
    .popular-cities-strip__arrow {
        display: none;
    }
}

.popular-cities-strip__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.popular-cities-strip__controls {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    align-self: center;
}

.popular-cities-strip__inner.is-scrollable .popular-cities-strip__controls {
    display: flex;
}

.popular-cities-strip__scroller {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1 1 auto;
    padding: 0.25rem 0;
    cursor: grab;
    touch-action: pan-x;
}

.popular-cities-strip__scroller::-webkit-scrollbar {
    display: none;
}

.popular-cities-strip__scroller.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.popular-city-card {
    flex: 0 0 auto;
    width: 160px;
    height: 150px;
    border-radius: 14px;
    background: #f5f5f5;
    overflow: hidden;
}

.popular-city-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transform: scale(1);
    opacity: 0.92;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.popular-city-overlay {
    position: absolute;
    inset: 0;
    height: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 100%);
    border-radius: 14px;
    pointer-events: none;
    opacity: 0.72;
    transition: opacity 0.35s ease;
}

.popular-city-name {
    left: 14px;
    right: 14px;
    bottom: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    pointer-events: none;
    opacity: 0.88;
    transform: translateY(4px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (hover: hover) {
    .popular-city-card:hover .popular-city-img {
        transform: scale(1.08);
        opacity: 1;
    }

    .popular-city-card:hover .popular-city-overlay {
        opacity: 1;
    }

    .popular-city-card:hover .popular-city-name {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .popular-cities-strip__inner {
        gap: 0;
    }

    .popular-cities-strip__controls {
        display: none !important;
    }

    .popular-cities-strip__scroller {
        gap: 10px;
    }

    .popular-city-card {
        width: 140px;
        height: 132px;
    }
}

.listing-full-width {
    position: relative;
}

.listing-full-width__inner {
    display: block;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
}

/* ========== Right offcanvas (cart / variant panel) ========== */
#rightOffcanvas,
#leftOffcanvas {
    top: 0;
    right: 0;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s ease;
    box-shadow: -8px 0 30px rgba(15, 23, 42, 0.12);
}

#rightOffcanvas.active,
#leftOffcanvas.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

#rightOffcanvasOverlay,
#leftOffcanvasOverlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1040;
    background-color: rgba(17, 21, 29, 0.45);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#rightOffcanvasOverlay.active,
#leftOffcanvasOverlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.right-offcanvas-md {
    width: min(420px, 100vw);
}

.right-offcanvas-lg {
    width: min(600px, 100vw);
}

.right-offcanvas-body {
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}

body.body-no-scroll {
    overflow: hidden !important;
}

[dir="rtl"] #rightOffcanvas,
[dir="rtl"] #leftOffcanvas {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

[dir="rtl"] #rightOffcanvas.active,
[dir="rtl"] #leftOffcanvas.active {
    transform: translateX(0);
}

/* ========== Stack newsletter popup ========== */
#stack-popup-main-wrapper.modal.website-popup {
    position: fixed;
    inset: 0;
    z-index: 1055;
    padding: 1rem;
    overflow: hidden;
}

#stack-popup-main-wrapper.modal.website-popup:not(.is-active),
#stack-popup-main-wrapper.modal.website-popup.d-none {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#stack-popup-main-wrapper.modal.website-popup.is-active {
    display: block !important;
    pointer-events: auto;
}

#stack-popup-main-wrapper .absolute-full {
    z-index: 0;
}

#stack-popup-main-wrapper .stack-container {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    min-height: 320px;
    margin: 10vh auto 0;
}

#stack-popup-main-wrapper .card-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

#stack-popup-main-wrapper .card-wrapper.card-pos-0 {
    z-index: 3;
    transform: translateY(0) scale(1);
}

#stack-popup-main-wrapper .card-wrapper.card-pos-1 {
    z-index: 2;
    transform: translateY(14px) scale(0.96);
    opacity: 0.88;
    pointer-events: none;
}

#stack-popup-main-wrapper .card-wrapper.card-pos-2 {
    z-index: 1;
    transform: translateY(28px) scale(0.92);
    opacity: 0.75;
    pointer-events: none;
}

#stack-popup-main-wrapper .card-wrapper.card-pos-3,
#stack-popup-main-wrapper .card-wrapper.card-pos-4,
#stack-popup-main-wrapper .card-wrapper.card-pos-5 {
    z-index: 0;
    transform: translateY(40px) scale(0.88);
    opacity: 0;
    pointer-events: none;
}

#stack-popup-main-wrapper .mirror-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

#stack-popup-main-wrapper .mirror-card .card-img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 220px;
}

#stack-popup-main-wrapper .btn-close-stack {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#stack-popup-main-wrapper .loader-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(15, 23, 42, 0.08);
}

#stack-popup-main-wrapper .loader-fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--primary, #ff385c);
}

#stack-popup-main-wrapper .vote-btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: var(--primary, #ff385c);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

#stack-popup-main-wrapper .card-wrapper.exit-now {
    transform: translateY(-120%) scale(0.9) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 575.98px) {
    #stack-popup-main-wrapper .stack-container {
        margin-top: 6vh;
    }
}

/* ========== Home Occasions Section (classic) ========== */
.home-occasions-section {
    --occasion-accent: #e8a4b8;
    --occasion-accent-soft: #fdf4f7;
    --occasion-text: #3d2c33;
}

.home-occasions-panel {
    background: linear-gradient(180deg, var(--occasion-accent-soft) 0%, #fff 100%);
    border: 1px solid rgba(232, 164, 184, 0.25);
    padding-bottom: 0.25rem;
}

.home-occasions-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--occasion-accent);
    margin: 0;
}

.home-occasions-view-all {
    white-space: nowrap;
}

.home-occasions-grid {
    gap: 0.75rem;
}

.occasion-card {
    background: #fff;
    border: 1px solid rgba(232, 164, 184, 0.2);
    border-radius: 1rem;
    box-shadow: 0 4px 14px rgba(61, 44, 51, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.occasion-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 164, 184, 0.45);
    box-shadow: 0 10px 24px rgba(61, 44, 51, 0.08);
}

.occasion-card-link {
    color: inherit;
    text-decoration: none;
}

.occasion-card-icon {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    background: var(--occasion-accent-soft);
    border: 1px solid rgba(232, 164, 184, 0.25);
    overflow: hidden;
}

.occasion-card-img {
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
}

.occasion-card-icon svg {
    width: 3.25rem;
    height: 3.25rem;
    display: block;
}

.occasion-list-icon svg {
    width: 3.25rem;
    height: 3.25rem;
    display: block;
}

.occasion-card-label {
    color: var(--occasion-text);
    line-height: 1.3;
}

.home-occasions-slider .occasion-card {
    margin: 0 0.35rem;
}

@media (max-width: 767.98px) {
    .home-occasions-panel {
        border-radius: 1rem !important;
    }

    .occasion-card-icon {
        width: 4.75rem;
        height: 4.75rem;
    }

    .occasion-card-img {
        width: 2.75rem;
        height: 2.75rem;
    }

    .occasion-card-icon svg {
        width: 2.75rem;
        height: 2.75rem;
    }
}
/* ========== Home Occasions Section End ========== */
