  @font-face {
    font-family: 'Arshid';
    src: url('../fonts/Arshid.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.sar{
    font-family: 'Arshid', sans-serif;
}

/* RTL fixes for custom-file input component */
[dir="rtl"] .custom-file-label {
    text-align: right;
}

[dir="rtl"] .custom-file-label::after {
    right: auto;
    left: 0;
    border-radius: 0.25rem 0 0 0.25rem;
}

[dir="rtl"] .custom-file-name {
    direction: ltr;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding-left: 6rem;
}

/* Custom Sections Global Styles */
.custom-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 10px;
}

html[dir="rtl"] .custom-section-title::after {
    right: 0;
    left: auto;
}

.custom-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color, #4A90E2), #8E2DE2);
    border-radius: 3px;
}

/* Slider Nav */
.custom-slider-nav {
    gap: 10px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark, #1A1A24);
}

.slider-btn:hover {
    background: var(--primary-color, #4A90E2);
    color: #FFF;
    border-color: var(--primary-color, #4A90E2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Product Card - Modern Look */
.custom-product-card {
    background: #FFF;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    margin: 10px;
    position: relative;
}

.custom-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect ratio */
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.custom-product-card:hover .product-img {
    transform: scale(1.08);
}

/* Badges */
.product-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    color: #FFF;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 65, 108, 0.3);
}

html[dir="rtl"] .product-discount-badge {
    left: auto;
    right: 15px;
}

.product-wholesale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #10B981;
    color: #FFF;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

html[dir="rtl"] .product-wholesale-badge {
    right: auto;
    left: 15px;
}

/* Hover Actions */
.product-hover-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 3;
}

.custom-product-card:hover .product-hover-actions {
    bottom: 0;
    opacity: 1;
}

.action-btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFF;
    color: var(--text-dark, #1A1A24);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 18px;
}

.action-btn-circle:hover, .action-btn-circle.active {
    background: var(--primary-color, #4A90E2);
    color: #FFF;
    transform: translateY(-3px);
}

/* Product Info */
.product-info-wrapper {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 42px; /* 2 lines max */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--text-dark, #1A1A24);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-color, #4A90E2);
}

.product-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color, #4A90E2);
}

.old-price {
    font-size: 14px;
    color: var(--text-muted, #6B7280);
}

.product-rating {
    color: #FFC107;
    font-size: 14px;
}

.product-rating .las.la-star:not(.active) {
    color: #E5E7EB;
}

/* Category Card */
.custom-category-card {
    background: #FFF;
    border-radius: 16px;
    padding: 25px 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    margin: 10px;
    text-decoration: none;
    display: block;
}

.custom-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: var(--primary-color, #4A90E2);
}

.category-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.custom-category-card:hover .category-img {
    transform: scale(1.1);
}

.category-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark, #1A1A24);
    transition: color 0.3s ease;
}

.custom-category-card:hover .category-title {
    color: var(--primary-color, #4A90E2);
}

/* Custom Image / Banner Section */
.custom-banner-card {
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    transition: all 0.4s ease;
    border: none;
}

.custom-banner-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    transform: translateY(-5px);
}

.banner-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

.custom-banner-card:hover .banner-img {
    transform: scale(1.05);
}

.banner-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--text-dark, #1A1A24);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.custom-img-slider-section:hover .banner-slider-btn {
    opacity: 1;
}

.banner-slider-btn.prev-btn {
    left: 20px;
}

html[dir="rtl"] .banner-slider-btn.prev-btn {
    left: auto;
    right: 20px;
}

.banner-slider-btn.next-btn {
    right: 20px;
}

html[dir="rtl"] .banner-slider-btn.next-btn {
    right: auto;
    left: 20px;
}

.banner-slider-btn:hover {
    background: var(--primary-color, #4A90E2);
    color: #FFF;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive banner height */
@media (max-width: 991px) {
    .banner-img {
        height: 300px;
    }
}
@media (max-width: 575px) {
    .banner-img {
        height: 200px;
    }
    .banner-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
        opacity: 1;
    }
}

/* Custom Banner Slick Dots */
.custom-img-slider-section .slick-dots {
    bottom: 20px;
    position: absolute;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
}
.custom-img-slider-section .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}
.custom-img-slider-section .slick-dots li button {
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: transparent;
    border: 0;
    outline: none;
    padding: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}
.custom-img-slider-section .slick-dots li button:before {
    display: none; /* Hide default slick dots character */
}
.custom-img-slider-section .slick-dots li.slick-active button {
    background-color: var(--primary-color, #4A90E2);
    transform: scale(1.3);
}
/* Custom Image Style 2 - 3D Ring Slider */
/* Custom Image Style 2 - 3D Ring Slider */
.custom-img-3d-ring-section {
    --ring-radius: 430px;
    --ring-panel-width: 220px;
    --ring-panel-height: 320px;
    color: #ffffff;
    min-height: 720px;
    display: flex;
    align-items: center;
    user-select: none;
    touch-action: pan-y;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.custom-img-3d-ring-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: clamp(18px, 4vw, 70px);
    padding-right: clamp(18px, 4vw, 70px);
    box-sizing: border-box;
}

.custom-img-3d-ring-head {
    max-width: 760px;
    margin-bottom: 44px;
}

.custom-img-3d-ring-head.text-left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.custom-img-3d-ring-head.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.custom-img-3d-ring-head.text-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.custom-img-3d-ring-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.custom-img-3d-ring-title {
    position: relative;
    color: var(--ring-accent, #3db8ff);
    font-size: 54px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 0 24px rgba(61, 184, 255, 0.22);
}



.custom-img-3d-ring-subtitle {
    color: rgba(255,255,255,0.82);
    font-size: 19px;
    line-height: 1.7;
    margin: 10px 0 0;
}

.custom-img-3d-ring-stage {
    position: relative;
    width: 100%;
    min-height: 470px;
    padding-top: 45px;
    padding-bottom: 55px;
    perspective: 1500px;
    perspective-origin: 50% 45%;
    cursor: grab;
    box-sizing: border-box;
}

.custom-img-3d-ring-stage.is-dragging {
    cursor: grabbing;
}

.custom-img-3d-ring-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--ring-panel-width);
    height: var(--ring-panel-height);
    transform-style: preserve-3d;
    transform:
        translate(-50%, -50%)
        rotateX(-7deg)
        rotateY(calc(var(--ring-rotate-y, 0deg) + var(--ring-drag-x, 0deg)));
    transition: transform 900ms cubic-bezier(.22,.61,.36,1);
}

.custom-img-3d-ring-stage.is-dragging .custom-img-3d-ring-ring {
    transition: none;
}

.custom-img-3d-ring-item {
    position: absolute;
    inset: 0;
    transform:
        rotateY(calc(var(--item-index) * var(--item-angle)))
        translateZ(var(--ring-radius));
    transform-style: preserve-3d;
    transition:
        opacity 450ms ease,
        filter 450ms ease,
        box-shadow 450ms ease;
}

.custom-img-3d-ring-card,
.custom-img-3d-ring-card-static {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #111827;
    color: inherit;
    text-decoration: none;
    box-shadow:
        0 28px 60px rgba(0,0,0,0.42),
        0 0 0 1px rgba(255,255,255,0.08);
    position: relative;
    transform: translateZ(0);
    -webkit-user-drag: none;
}

.custom-img-3d-ring-card::after,
.custom-img-3d-ring-card-static::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), transparent 26%),
        linear-gradient(0deg, rgba(0,0,0,0.28), transparent 42%);
    opacity: 0.7;
    transition: opacity 300ms ease;
}

.custom-img-3d-ring-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 450ms ease, filter 450ms ease;
    pointer-events: none;
    -webkit-user-drag: none;
}

.custom-img-3d-ring-link-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    color: #111827;
    font-size: 18px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 300ms ease, transform 300ms ease;
    pointer-events: none;
}

html[dir="rtl"] .custom-img-3d-ring-link-icon {
    right: auto;
    left: 14px;
}

.custom-img-3d-ring-item.is-active .custom-img-3d-ring-card,
.custom-img-3d-ring-item.is-active .custom-img-3d-ring-card-static {
    box-shadow:
        0 36px 80px rgba(0,0,0,0.58),
        0 0 0 2px rgba(61,184,255,0.35),
        0 0 32px rgba(61,184,255,0.22);
}

.custom-img-3d-ring-item.is-active .custom-img-3d-ring-img {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04);
}

.custom-img-3d-ring-item.is-active .custom-img-3d-ring-link-icon {
    opacity: 1;
    transform: translateY(0);
}

.custom-img-3d-ring-shadow {
    position: absolute;
    left: 50%;
    bottom: 36px;
    width: min(620px, 80%);
    height: 58px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(61,184,255,0.22), rgba(0,0,0,0) 68%);
    filter: blur(12px);
    pointer-events: none;
}

.custom-img-3d-ring-empty {
    padding: 42px 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 1199px) {
    .custom-img-3d-ring-section {
        --ring-radius: 360px;
        --ring-panel-width: 200px;
        --ring-panel-height: 290px;
        min-height: 660px;
    }

    .custom-img-3d-ring-stage {
        min-height: 430px;
        padding-top: 40px;
        padding-bottom: 50px;
    }
}

@media (max-width: 991px) {
    .custom-img-3d-ring-section {
        --ring-radius: 300px;
        --ring-panel-width: 180px;
        --ring-panel-height: 255px;
        min-height: 600px;
    }

    .custom-img-3d-ring-title {
        font-size: 42px;
    }

    .custom-img-3d-ring-stage {
        min-height: 380px;
        padding-top: 35px;
        padding-bottom: 45px;
        perspective: 1200px;
    }
}

@media (max-width: 575px) {
    .custom-img-3d-ring-section {
        --ring-radius: 205px;
        --ring-panel-width: 125px;
        --ring-panel-height: 185px;
        min-height: 520px;
        align-items: flex-start;
    }

    .custom-img-3d-ring-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .custom-img-3d-ring-title {
        font-size: 28px;
    }

    .custom-img-3d-ring-title::before {
        height: 44px;
        margin-right: 12px;
    }

    html[dir="rtl"] .custom-img-3d-ring-title::before {
        margin-right: 0;
        margin-left: 12px;
    }

    .custom-img-3d-ring-subtitle {
        font-size: 14px;
    }

    .custom-img-3d-ring-head {
        margin-bottom: 28px;
    }

    .custom-img-3d-ring-stage {
        min-height: 295px;
        padding-top: 30px;
        padding-bottom: 40px;
        perspective: 950px;
    }

    .custom-img-3d-ring-shadow {
        bottom: 28px;
    }
}

@media (max-width: 390px) {
    .custom-img-3d-ring-section {
        --ring-radius: 175px;
        --ring-panel-width: 112px;
        --ring-panel-height: 168px;
        min-height: 490px;
    }

    .custom-img-3d-ring-stage {
        min-height: 270px;
        padding-top: 25px;
        padding-bottom: 36px;
    }
}
/* Custom Image Style 3 - Coverflow Slider */
.custom-img-coverflow-section {
    min-height: 620px;
    display: flex;
    align-items: center;
    color: #ffffff;
    user-select: none;
    touch-action: pan-y;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.custom-img-coverflow-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.custom-img-coverflow-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.custom-img-coverflow-head.text-left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.custom-img-coverflow-head.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.custom-img-coverflow-head.text-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.custom-img-coverflow-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coverflow-accent, #ffffff);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.custom-img-coverflow-title {
    margin: 0;
    color: var(--coverflow-accent, #ffffff);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 900;
}



.custom-img-coverflow-subtitle {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.7;
}

.custom-img-coverflow-stage {
    position: relative;
    min-height: 460px;
    perspective: 1300px;
    cursor: grab;
    overflow: visible;
}

.custom-img-coverflow-stage.is-dragging {
    cursor: grabbing;
}

.custom-img-coverflow-track {
    position: relative;
    width: 100%;
    height: 440px;
    transform-style: preserve-3d;
    overflow: visible;
}

.custom-img-coverflow-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 320px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    transform:
        translate(-50%, -50%)
        translateX(var(--coverflow-x, 0px))
        translateZ(var(--coverflow-z, 0px))
        rotateY(var(--coverflow-rotate, 0deg))
        scale(var(--coverflow-scale, 1));
    opacity: var(--coverflow-opacity, 1);
    z-index: var(--coverflow-z-index, 1);
    pointer-events: none;
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.24);
    transition:
        transform 650ms cubic-bezier(.22,.61,.36,1),
        opacity 450ms ease,
        box-shadow 450ms ease;
}

.custom-img-coverflow-stage.is-dragging .custom-img-coverflow-item {
    transition: none;
}

.custom-img-coverflow-item.is-visible {
    pointer-events: auto;
}

.custom-img-coverflow-item.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.custom-img-coverflow-item.is-active {
    box-shadow:
        0 36px 85px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.18);
}

.custom-img-coverflow-card,
.custom-img-coverflow-card-static {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    position: relative;
    -webkit-user-drag: none;
}

.custom-img-coverflow-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 450ms ease, filter 450ms ease;
    pointer-events: none;
    -webkit-user-drag: none;
}

.custom-img-coverflow-item.is-active .custom-img-coverflow-img {
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.03);
}

.custom-img-coverflow-link-icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 300ms ease, transform 300ms ease;
    pointer-events: none;
}

html[dir="rtl"] .custom-img-coverflow-link-icon {
    right: auto;
    left: 16px;
}

.custom-img-coverflow-item.is-active .custom-img-coverflow-link-icon {
    opacity: 1;
    transform: translateY(0);
}

.custom-img-coverflow-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.custom-img-coverflow-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background 250ms ease, transform 250ms ease, border-color 250ms ease;
}

.custom-img-coverflow-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.custom-img-coverflow-empty {
    padding: 42px 24px;
    border-radius: 20px;
    color: rgba(255,255,255,0.8);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.16);
}

@media (max-width: 991px) {
    .custom-img-coverflow-section {
        min-height: 600px;
    }

    .custom-img-coverflow-head {
        margin-bottom: 34px;
    }

    .custom-img-coverflow-title {
        font-size: 34px;
    }

    .custom-img-coverflow-subtitle {
        font-size: 15px;
    }

    .custom-img-coverflow-stage {
        min-height: 380px;
    }

    .custom-img-coverflow-track {
        height: 360px;
    }

    .custom-img-coverflow-item {
        width: 250px;
        height: 320px;
        border-radius: 24px;
    }
}

@media (max-width: 575px) {
    .custom-img-coverflow-section {
        min-height: 560px;
        align-items: flex-start;
    }

    .custom-img-coverflow-head {
        margin-bottom: 28px;
    }

    .custom-img-coverflow-title {
        font-size: 26px;
    }



    .custom-img-coverflow-subtitle {
        font-size: 14px;
        margin-top: 12px;
    }

    .custom-img-coverflow-stage {
        min-height: 315px;
        perspective: 850px;
    }

    .custom-img-coverflow-track {
        height: 290px;
    }

    .custom-img-coverflow-item {
        width: 185px;
        height: 250px;
        border-radius: 20px;
    }

    .custom-img-coverflow-controls {
        margin-top: 0;
    }

    .custom-img-coverflow-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 390px) {
    .custom-img-coverflow-section {
        min-height: 535px;
    }

    .custom-img-coverflow-head {
        margin-bottom: 22px;
    }

    .custom-img-coverflow-title {
        font-size: 23px;
    }

    .custom-img-coverflow-item {
        width: 165px;
        height: 230px;
    }

    .custom-img-coverflow-stage {
        min-height: 290px;
    }

    .custom-img-coverflow-track {
        height: 270px;
    }
}
/* Custom Image Style 4 - Simple Full Image Carousel */
.custom-img-simple-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-img-simple-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.custom-img-simple-carousel-title-wrap {
    position: absolute;
    top: clamp(18px, 4vw, 52px);
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    padding-left: clamp(18px, 5vw, 80px);
    padding-right: clamp(18px, 5vw, 80px);
    box-sizing: border-box;
    pointer-events: none;
}

.custom-img-simple-carousel-title {
    font-weight: 900;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.custom-img-simple-carousel-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    transition: height 250ms ease;
    touch-action: pan-y;
}

.custom-img-simple-carousel-viewport.is-dragging {
    cursor: grabbing;
}

.custom-img-simple-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition:
        transform 750ms cubic-bezier(.22,.61,.36,1),
        opacity 750ms ease;
    pointer-events: none;
    will-change: transform;
}

.custom-img-simple-carousel-slide.is-active {
    position: relative;
    z-index: 4;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.custom-img-simple-carousel-slide.is-enter-right {
    z-index: 5;
    opacity: 1;
    transform: translateX(100%);
}

.custom-img-simple-carousel-slide.is-enter-left {
    z-index: 5;
    opacity: 1;
    transform: translateX(-100%);
}

.custom-img-simple-carousel-slide.is-exit-left {
    z-index: 3;
    opacity: 1;
    transform: translateX(-100%);
}

.custom-img-simple-carousel-slide.is-exit-right {
    z-index: 3;
    opacity: 1;
    transform: translateX(100%);
}

.custom-img-simple-carousel-slide.is-drag-preview {
    z-index: 5;
    opacity: 1;
    pointer-events: none;
}

.custom-img-simple-carousel-viewport.is-dragging .custom-img-simple-carousel-slide {
    transition: none !important;
}

.custom-img-simple-carousel-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    -webkit-user-drag: none;
}

.custom-img-simple-carousel-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.custom-img-simple-carousel-empty {
    padding: 42px 24px;
    text-align: center;
    color: #6b7280;
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 575px) {
    .custom-img-simple-carousel-title-wrap {
        top: 18px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .custom-img-simple-carousel-title {
        max-width: 100%;
    }
}
/* Custom Image Style 5 - Dual Image Carousel */
.custom-img-dual-carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-img-dual-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.custom-img-dual-carousel-title-wrap {
    position: absolute;
    top: clamp(18px, 4vw, 52px);
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    padding-left: clamp(18px, 5vw, 80px);
    padding-right: clamp(18px, 5vw, 80px);
    box-sizing: border-box;
    pointer-events: none;
}

.custom-img-dual-carousel-title {
    font-weight: 900;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.custom-img-dual-carousel-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    transition: height 250ms ease;
    touch-action: pan-y;
}

.custom-img-dual-carousel-viewport.is-dragging {
    cursor: grabbing;
}

.custom-img-dual-carousel-group {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    opacity: 0;
    transform: translateX(100%);
    transition:
        transform 750ms cubic-bezier(.22,.61,.36,1),
        opacity 750ms ease;
    pointer-events: none;
    will-change: transform;
}

.custom-img-dual-carousel-group.is-active {
    position: relative;
    z-index: 4;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.custom-img-dual-carousel-group.is-enter-right {
    z-index: 5;
    opacity: 1;
    transform: translateX(100%);
}

.custom-img-dual-carousel-group.is-enter-left {
    z-index: 5;
    opacity: 1;
    transform: translateX(-100%);
}

.custom-img-dual-carousel-group.is-exit-left {
    z-index: 3;
    opacity: 1;
    transform: translateX(-100%);
}

.custom-img-dual-carousel-group.is-exit-right {
    z-index: 3;
    opacity: 1;
    transform: translateX(100%);
}

.custom-img-dual-carousel-group.is-drag-preview {
    z-index: 5;
    opacity: 1;
    pointer-events: none;
}

.custom-img-dual-carousel-viewport.is-dragging .custom-img-dual-carousel-group {
    transition: none !important;
}

.custom-img-dual-carousel-item {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.custom-img-dual-carousel-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    -webkit-user-drag: none;
}

.custom-img-dual-carousel-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.custom-img-dual-carousel-empty {
    padding: 42px 24px;
    text-align: center;
    color: #6b7280;
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 575px) {
    .custom-img-dual-carousel-title-wrap {
        top: 18px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .custom-img-dual-carousel-title {
        max-width: 100%;
    }
}
/* Custom Category Style 1 - Cover Image Carousel */
.custom-category-carousel-section {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-category-carousel-header {
    margin-bottom: 28px;
}

.custom-category-carousel-title {
    font-weight: 800;
}

.custom-category-carousel-subtitle {
    margin-top: 10px;
    color: rgba(31, 41, 55, 0.72);
    font-size: 15px;
    line-height: 1.7;
}

.custom-category-carousel-wrap {
    position: relative;
}

.custom-category-carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: grab;
    touch-action: pan-y;
}

.custom-category-carousel-viewport.is-dragging {
    cursor: grabbing;
}

.custom-category-carousel-track {
    display: flex;
    align-items: stretch;
    direction: ltr;
    will-change: transform;
    transition: transform 650ms cubic-bezier(.22,.61,.36,1);
}

.custom-category-carousel-viewport.is-dragging .custom-category-carousel-track {
    transition: none;
}

.custom-category-carousel-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

.custom-category-carousel-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 300ms ease, box-shadow 300ms ease;
    -webkit-user-drag: none;
}

.custom-category-carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.custom-category-carousel-img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.04);
}

.custom-category-carousel-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.custom-category-carousel-card:hover .custom-category-carousel-img {
    transform: scale(1.06);
}

.custom-category-carousel-name {
    padding: 16px 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
}

.custom-category-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transform: translateY(-50%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 250ms ease, opacity 250ms ease, background 250ms ease;
}

.custom-category-carousel-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.custom-category-carousel-prev {
    left: -16px;
}

.custom-category-carousel-next {
    right: -16px;
}

.custom-category-carousel-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

html[dir="rtl"] .custom-category-carousel-prev {
    left: auto;
    right: -16px;
}

html[dir="rtl"] .custom-category-carousel-next {
    right: auto;
    left: -16px;
}

@media (max-width: 991px) {
    .custom-category-carousel-item {
        flex-basis: 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .custom-category-carousel-item {
        flex-basis: 50%;
        max-width: 50%;
        padding: 0 8px;
    }

    .custom-category-carousel-prev {
        left: 4px;
    }

    .custom-category-carousel-next {
        right: 4px;
    }

    html[dir="rtl"] .custom-category-carousel-prev {
        left: auto;
        right: 4px;
    }

    html[dir="rtl"] .custom-category-carousel-next {
        right: auto;
        left: 4px;
    }
}

@media (max-width: 480px) {
    .custom-category-carousel-item {
        flex-basis: 80%;
        max-width: 80%;
    }

    .custom-category-carousel-name {
        font-size: 14px;
        padding: 14px 12px;
    }
}
