/* Components: special offer section and promotional cards. */

/* Homepage store stories */
.home-stories-section {
    margin: 12px 10px 6px;
    min-width: 0;
}

.home-stories-section.hidden {
    display: none;
}

.route-hidden {
    display: none !important;
}

.home-stories-shell {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 12px 40px 10px;
}

.home-stories-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
}

.home-stories-row::-webkit-scrollbar {
    display: none;
}

.home-story-item {
    width: 76px;
    flex: 0 0 76px;
    border: 0;
    background: transparent;
    padding: 0;
    color: #334155;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
}

.home-story-avatar {
    width: 62px;
    height: 62px;
    margin: 0 auto 7px;
    border-radius: 50%;
    padding: 3px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 44%, #2563eb 100%);
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.14);
}

.home-story-avatar.is-seen {
    background: #cbd5e1;
    box-shadow: none;
}

.home-story-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.96);
}

.home-story-avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-story-avatar-fallback {
    color: #dc2626;
    font-size: 1.25rem;
}

.home-story-name {
    display: block;
    max-width: 76px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.76rem;
    line-height: 1.6;
    color: #334155;
}

.home-stories-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
    color: #475569;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    cursor: pointer;
}

.home-stories-shell.has-overflow .home-stories-arrow {
    display: inline-flex;
}

.home-stories-arrow-prev {
    right: 7px;
}

.home-stories-arrow-next {
    left: 7px;
}

.home-stories-arrow:hover,
.home-stories-arrow:focus-visible {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.24);
}

@media (max-width: 760px) {
    .home-stories-section {
        margin: 10px 0 6px;
        background: transparent;
        background-image: none;
        box-shadow: none;
        border: 0;
    }

    .home-stories-shell {
        border-radius: 0;
        border: 0;
        background: transparent;
        background-image: none;
        padding: 12px 10px 10px;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .home-stories-row {
        background: transparent;
        background-image: none;
        box-shadow: none;
        border: 0;
    }

    .home-stories-shell.has-overflow .home-stories-arrow {
        display: none;
    }
}

/* BazaarBashe discounts */
.bazaar-discounts-section {
    position: relative;
    isolation: isolate;
    margin: 18px 10px 16px;
    padding: 24px 14px 18px;
    overflow: hidden !important;
    border-radius: 24px !important;
    background-color: #bd173d !important;
    background-image: none !important;
    background-clip: padding-box;
    box-shadow: 0 18px 38px rgba(190, 24, 70, 0.24);
    color: #ffffff;
}

.bazaar-discounts-section::before,
.bazaar-discounts-section::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.bazaar-discounts-section.hidden {
    display: none;
}

.home-action-banners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.25vw, 20px);
    margin: 18px 10px 22px;
    min-width: 0;
}

.home-submit-store-banner {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    line-height: 0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.home-submit-store-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2048 / 738;
    object-fit: contain;
}

.home-submit-store-banner:focus-visible {
    outline: 3px solid #bd173d;
    outline-offset: 3px;
}

.home-category-image-banners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.25vw, 20px);
    margin: 18px 10px 22px;
    min-width: 0;
}

.home-category-image-banner {
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    line-height: 0;
    background: #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    touch-action: manipulation;
}

.home-category-image-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-category-image-banner:focus-visible {
    outline: 3px solid #bd173d;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .passagegardi-banner-track,
    .passagegardi-banner-dot {
        transition: none;
    }
}

.bazaar-discounts-header {
    position: relative;
    z-index: 3;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    margin-bottom: 18px;
    padding-right: 0;
}

.bazaar-discounts-header h2 {
    margin: 0;
    transform: translateX(-10px);
    font-size: 1.05rem;
    font-weight: 400;
    color: #ffffff;
}

.bazaar-discounts-more-btn,
.market-browse-more-btn {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(32, 32, 36, 0.68), rgba(18, 18, 22, 0.58));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 400;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bazaar-discounts-more-btn:hover,
.bazaar-discounts-more-btn:focus-visible,
.market-browse-more-btn:hover,
.market-browse-more-btn:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(42, 42, 48, 0.78), rgba(24, 24, 30, 0.68));
    border-color: rgba(255, 255, 255, 0.44);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    outline: none;
}

.bazaar-discounts-more-btn svg {
    width: 16px;
    height: 16px;
    display: block;
    flex: 0 0 auto;
}

.bazaar-discounts-carousel-wrap {
    position: relative;
    z-index: 3;
}

.bazaar-discounts-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
    padding-bottom: 2px;
}

.bazaar-discounts-carousel::-webkit-scrollbar {
    display: none;
}

.bazaar-discount-see-all-card,
.bazaar-discount-product-card {
    width: 142px;
    flex: 0 0 142px;
    min-height: 218px;
    border: 0;
    border-radius: 16px;
    font-family: inherit;
    text-align: right;
    cursor: pointer;
}

.bazaar-discount-see-all-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: #ffe4ed;
    color: #be123c;
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.16), 0 10px 22px rgba(136, 19, 47, 0.12);
}

.bazaar-discount-see-all-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.76);
    color: #e11d48;
    font-size: 1.45rem;
}

.bazaar-discount-see-all-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

.bazaar-discount-see-all-card span {
    font-size: 0.9rem;
    font-weight: 800;
}

.bazaar-discount-product-card {
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(136, 19, 47, 0.16);
    padding: 0;
}

.bazaar-discount-image {
    position: relative;
    display: block;
    width: calc(100% - 16px);
    height: 118px;
    margin: 8px auto 0;
    border-radius: 13px;
    overflow: hidden;
    background: #f8fafc;
}

.bazaar-discount-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bazaar-discount-no-image {
    height: 100%;
    display: grid;
    place-items: center;
    color: #cbd5e1;
    font-size: 1.4rem;
}

.bazaar-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 38px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(225, 29, 72, 0.24);
}

.bazaar-discounts-section .bazaar-discount-badge {
    font-weight: 400;
}

.bazaar-discount-favorite {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.9);
    color: #e11d48;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.bazaar-discount-info {
    display: block;
    padding: 9px 10px 11px;
}

.bazaar-discount-title {
    text-align: right;
    margin: 0 0 8px;
    min-height: 38px;
    font-size: 0.82rem;
    line-height: 1.65;
    color: #111827;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bazaar-discount-final-price {
    display: block;
    text-align: right;
    color: #e11d48;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.8;
}

.bazaar-discount-original-price {
    display: block;
    text-align: right;
    color: #94a3b8;
    font-size: 0.74rem;
    text-decoration: line-through;
}

.bazaar-discount-final-price.price-unavailable,
.market-product-card .bazaar-discount-final-price.price-unavailable {
    color: #dc2626;
}

.bazaar-discounts-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #d71945;
    box-shadow: 0 10px 20px rgba(136, 19, 47, 0.2);
    cursor: pointer;
}

.bazaar-discounts-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

.bazaar-discounts-section.has-overflow .bazaar-discounts-arrow {
    display: inline-flex;
}

.bazaar-discounts-arrow.is-hidden {
    display: none !important;
}

.bazaar-discounts-arrow-prev {
    right: -5px;
}

.bazaar-discounts-arrow-next {
    left: -5px;
}

.market-browse-sections {
    display: grid;
    gap: 14px;
    margin: 12px 10px 16px;
}

.market-browse-sections.hidden {
    display: none !important;
}

.summer-showcase {
    padding: 16px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.summer-showcase.hidden {
    display: none;
}

.summer-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.summer-showcase-header h2,
.summer-showcase-header p {
    margin: 0;
}

.summer-showcase-header h2 {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 700;
}

.summer-showcase-header p {
    margin-top: 4px;
    color: #64748b;
    font-size: 0.78rem;
}

.summer-showcase-more {
    text-decoration: none;
}

.summer-showcase-header .summer-showcase-more {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(32, 32, 36, 0.68), rgba(18, 18, 22, 0.58));
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.summer-showcase-header .summer-showcase-more:hover,
.summer-showcase-header .summer-showcase-more:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(42, 42, 48, 0.78), rgba(24, 24, 30, 0.68));
    border-color: rgba(255, 255, 255, 0.44);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    outline: none;
    transform: none;
}

.summer-showcase-body {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.78fr);
    grid-template-areas: "products campaign";
    gap: 16px;
    align-items: stretch;
    direction: ltr;
}

.summer-campaign-banner {
    grid-area: campaign;
    min-height: 360px;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
}

.summer-campaign-banner picture,
.summer-campaign-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 48%;
    transition: none;
}

.summer-campaign-banner:hover img,
.summer-campaign-banner:focus-visible img {
    transform: none;
}

.summer-campaign-banner:focus-visible {
    outline: 3px solid rgba(245, 54, 92, 0.35);
    outline-offset: 3px;
}

.summer-showcase-products {
    grid-area: products;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    direction: rtl;
}

/* Keep the regular desktop composition compact; wider screens reveal a
   fourth two-card row without another data request. */
.summer-showcase-products .summer-showcase-card:nth-child(n + 7) {
    display: none;
}

.summer-showcase-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 1px dashed rgba(245, 54, 92, 0.24);
    border-radius: 16px;
    color: #64748b;
    text-align: center;
    font-size: 0.82rem;
}

.summer-showcase-empty i {
    color: #f5365c;
    font-size: 1.4rem;
}

.summer-showcase-products .summer-showcase-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(132px, 44%) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    background: transparent;
    color: #111827;
    box-shadow: none;
    text-align: right;
    transition: none;
}

.summer-showcase-products .summer-showcase-card:hover,
.summer-showcase-products .summer-showcase-card:focus-visible {
    transform: none;
    border-color: rgba(15, 23, 42, 0.07);
    box-shadow: none;
}

.summer-showcase-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    border-radius: 13px;
    background: #f1f5f9;
}

.summer-showcase-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.summer-showcase-card-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.summer-showcase-card-title {
    width: 100%;
    color: #111827;
    font-size: 0.84rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.summer-showcase-card-price {
    color: #111827;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.summer-showcase-card-price.price-unavailable {
    color: #dc2626;
}

.summer-showcase-card-old-price {
    color: #94a3b8;
    font-size: 0.7rem;
    text-decoration: line-through;
}

@media (min-width: 1440px) {
    .summer-showcase-products .summer-showcase-card:nth-child(n + 7) {
        display: grid;
    }
}

body.theme-dark .summer-showcase {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.theme-dark .summer-showcase-header h2,
body.theme-dark .summer-showcase-card-title,
body.theme-dark .summer-showcase-card-price {
    color: #f8fafc;
}

body.theme-dark .summer-showcase-header p {
    color: #94a3b8;
}

body.theme-dark .summer-showcase-products .summer-showcase-card {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

.market-browse-section {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    padding: 13px 12px 14px;
    overflow: hidden;
}

.market-browse-section.is-wholesale-locked .market-browse-header,
.market-browse-section.is-wholesale-locked .market-browse-carousel-wrap {
    filter: blur(3.6px);
    pointer-events: none;
    user-select: none;
}

.wholesale-section-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    border: 0;
    border-radius: inherit;
    padding: 18px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #b91c1c;
    font: inherit;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

.wholesale-section-lock-overlay span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.market-browse-section.hidden {
    display: none;
}

.market-browse-header {
    position: relative;
    z-index: 1;
    transform: translateY(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.market-browse-header h2 {
    margin: 0;
    transform: translateX(-10px);
    color: #111827;
    font-size: 1rem;
    font-weight: 500;
}

.market-browse-more-btn svg {
    width: 15px;
    height: 15px;
    display: block;
}

.market-browse-carousel-wrap {
    position: relative;
}

.market-browse-carousel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    direction: rtl;
    padding: 1px 0 4px;
    cursor: grab;
    user-select: none;
}

.market-browse-carousel.is-dragging,
.bazaar-discounts-carousel.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.bazaar-discounts-carousel {
    cursor: grab;
    user-select: none;
}

.market-browse-carousel img,
.bazaar-discounts-carousel img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.market-browse-carousel::-webkit-scrollbar {
    display: none;
}

.market-product-card,
.market-see-all-card {
    width: clamp(210px, 22vw, 240px);
    flex: 0 0 clamp(210px, 22vw, 240px);
    min-height: 0;
    border: 0;
    border-radius: 18px;
    font-family: inherit;
    text-align: right;
    cursor: pointer;
    align-self: flex-start;
}

.market-product-card {
    background: transparent;
    color: #111827;
    text-decoration: none;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.market-product-card .bazaar-discount-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: 18px;
    background: #f4f6f8;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.market-product-card .bazaar-discount-info {
    padding: 8px 4px 0;
    min-height: 70px;
}

.market-product-card .bazaar-discount-title {
    min-height: 0;
    margin-bottom: 5px;
    font-size: 0.9rem;
    line-height: 1.35;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-product-card .bazaar-discount-final-price {
    color: #111827;
    font-size: 0.82rem;
    font-weight: 600;
}

.market-see-all-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    aspect-ratio: 1 / 1;
    align-self: flex-start;
    background: #fff1f4;
    color: #e11d48;
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.14), 0 10px 22px rgba(15, 23, 42, 0.06);
}

.market-see-all-card span:last-child {
    font-size: 0.9rem;
    font-weight: 800;
}

body.theme-dark .market-browse-section {
    background: rgba(17, 24, 39, 0.62);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

body.theme-dark .market-browse-header h2 {
    color: #f8fafc;
}

body.theme-dark .market-product-card {
    background: transparent;
    color: #f8fafc;
}

body.theme-dark .market-product-card .bazaar-discount-title,
body.theme-dark .market-product-card .bazaar-discount-final-price {
    color: #f8fafc;
}

body.theme-dark .market-product-card .bazaar-discount-final-price.price-unavailable {
    color: #dc2626;
}

body.theme-dark .market-see-all-card {
    background: rgba(31, 41, 55, 0.82);
    color: #f87171;
    box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.18), 0 12px 24px rgba(0, 0, 0, 0.22);
}

.market-browse-arrow {
    position: absolute;
    top: 46%;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #d71945;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
    cursor: pointer;
}

.market-browse-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

.market-browse-section.has-overflow .market-browse-arrow {
    display: inline-flex;
}

.market-browse-arrow.is-hidden {
    display: none !important;
}

.market-browse-arrow-prev {
    right: -5px;
}

.market-browse-arrow-next {
    left: -5px;
}

body.theme-dark .market-browse-arrow {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(148, 163, 184, 0.28);
    color: #f87171;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 760px) {
    .summer-showcase {
        padding: 12px 0;
        border-radius: 0;
    }

    .summer-showcase-header {
        margin-bottom: 12px;
    }

    .summer-showcase-header p {
        display: none;
    }

    .summer-showcase-body {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .summer-campaign-banner {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-radius: 15px;
    }

    .summer-showcase-products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding-bottom: 2px;
    }

    .summer-showcase-products::-webkit-scrollbar {
        display: none;
    }

    .summer-showcase-products .summer-showcase-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }

    .summer-showcase-products .summer-showcase-card:nth-child(n + 5) {
        display: none;
    }

    .summer-showcase-card-image {
        width: 100%;
        border-radius: 15px 15px 0 0;
    }

    .summer-showcase-card-info {
        width: 100%;
        gap: 2px;
        padding: 6px 7px 8px;
    }

    .summer-showcase-card-title {
        min-height: 0;
        line-height: 1.5;
    }

    .bazaar-discounts-section {
        margin: 16px 10px 14px;
        overflow: hidden !important;
        border-radius: 24px !important;
        background-color: #bd173d !important;
        background-image: none !important;
        padding: 20px 10px 16px;
    }

    .home-action-banners {
        margin: 14px 10px 18px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-submit-store-banner {
        border-radius: 16px;
    }

    .home-category-image-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 14px 10px 18px;
    }

    .home-category-image-banner {
        border-radius: 16px;
    }

    .home-category-image-banner--shoes {
        grid-column: 1 / -1;
    }

    .bazaar-discounts-header {
        padding-inline: 2px;
        padding-right: 2px;
        min-height: 48px;
        margin-bottom: 16px;
    }

    .bazaar-discounts-section.has-overflow .bazaar-discounts-arrow {
        display: none;
    }

    .bazaar-discount-see-all-card,
    .bazaar-discount-product-card {
        width: 136px;
        flex-basis: 136px;
    }

    .market-product-card,
    .market-see-all-card {
        width: calc((100vw - 42px) / 2);
        flex-basis: calc((100vw - 42px) / 2);
        max-width: 240px;
    }

    .market-product-card .bazaar-discount-image {
        border-radius: 14px;
    }

    .market-product-card .bazaar-discount-title {
        font-size: 0.78rem;
    }

    .market-product-card .bazaar-discount-final-price {
        font-size: 0.72rem;
    }
}

.notification {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 3001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.5s ease;
    text-align: center;
    font-size: 14px;
    max-width: 80%;
}

.notification.fade-out {
    opacity: 0;
}

.confirm-action-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.confirm-action-modal.hidden {
    display: none;
}

.confirm-action-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(2px);
}

.confirm-action-card {
    position: relative;
    width: min(420px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 20px 18px 16px;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
    text-align: center;
    animation: confirm-pop-in 0.18s ease-out;
}

.confirm-action-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.confirm-action-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: #0f172a;
}

.confirm-action-message {
    margin: 0 0 16px;
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.8;
}

.admin-chat-input {
    width: 100%;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.96rem;
    font-family: inherit;
    text-align: right;
    direction: rtl;
    outline: none;
    box-sizing: border-box;
}

.admin-chat-input:focus {
    border-color: #94a3b8;
}

.admin-chat-input-note {
    margin: 6px 0 10px;
    font-size: 0.82rem;
    color: #94a3b8;
    text-align: right;
}

.confirm-action-input-group {
    margin-bottom: 12px;
    text-align: right;
}

.confirm-admin-save-btn {
    width: 100%;
    border: 1px solid #22c55e;
    border-radius: 10px;
    background: #22c55e;
    color: #ffffff;
}

.confirm-admin-save-btn:hover,
.confirm-admin-save-btn:focus-visible {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.confirm-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.confirm-cancel-btn {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.confirm-approve-btn,
.confirm-approve-danger {
    background: #dc2626;
    border-color: #dc2626;
}

.confirm-approve-btn:hover,
.confirm-approve-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.confirm-approve-success {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.confirm-approve-success:hover {
    background: #15803d;
    border-color: #15803d;
}

@keyframes confirm-pop-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
