.product-gallery-shell {
    height: 500px;
}

.product-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.product-gallery-kicker {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fa3a4d;
}

.product-gallery-title {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #101828;
}

.product-gallery-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-gallery-count {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.product-gallery-expand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #111827 0%, #344054 100%);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-expand:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.2);
}

.product-gallery-shell #unitegallery {
    overflow: hidden;
    border-radius: 24px;
    height: 100%;
}

.product-gallery-shell #unitegallery #gallery {
    height: 500px !important;
}

.product-gallery-shell .ug-gallery-wrapper,
.product-gallery-shell .ug-slider-wrapper,
.product-gallery-shell .ug-slider-inner,
.product-gallery-shell .ug-slider-preloader {
    background: radial-gradient(circle at top, #1f2937 0%, #020617 100%) !important;
}

.product-gallery-shell .ug-slider-wrapper {
    border-radius: 24px;
}

.product-gallery-shell .ug-item-wrapper img,
.product-gallery-shell .ug-slide-wrapper img {
    border-radius: 18px;
}

.product-gallery-shell .ug-thumb-wrapper {
    border-radius: 14px !important;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-shell .ug-thumb-wrapper:hover,
.product-gallery-shell .ug-thumb-wrapper.ug-thumb-selected {
    border-color: rgba(250, 58, 77, 0.8);
    box-shadow: 0 10px 25px rgba(250, 58, 77, 0.16);
    transform: translateY(-1px);
}

.product-gallery-shell .ug-strip-panel {
    background: transparent !important;
}

.product-gallery-shell .ug-slider-control,
.product-gallery-shell .ug-arrow-left,
.product-gallery-shell .ug-arrow-right {
    opacity: 1 !important;
}

.product-gallery-shell .ug-slider-control {
    position: relative;
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px;
    background-color: rgba(15, 23, 42, 0.58) !important;
    backdrop-filter: blur(8px);
    background-image: none !important;
}

.product-gallery-shell .ug-arrow-left,
.product-gallery-shell .ug-arrow-right {
    position: absolute;
    width: 56px !important;
    height: 56px !important;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    background-image: none !important;
}

.product-gallery-shell .ug-arrow-left::before,
.product-gallery-shell .ug-arrow-right::before,
.product-gallery-shell .ug-button-play::before,
.product-gallery-shell .ug-button-fullscreen::before,
.product-gallery-shell .ug-button-zoomin::before,
.product-gallery-shell .ug-button-zoomout::before,
.product-gallery-shell .ug-button-zoomback::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-family: "FontAwesome";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-gallery-shell .ug-arrow-left::before {
    content: "\f104";
}

.product-gallery-shell .ug-arrow-right::before {
    content: "\f105";
}

.product-gallery-shell .ug-button-play::before {
    content: "\f04b";
    font-size: 16px;
    margin-left: 1px;
}

.product-gallery-shell .ug-button-fullscreen::before {
    content: "\f065";
    font-size: 16px;
}

.product-gallery-shell .ug-button-zoomin::before {
    content: "\f067";
}

.product-gallery-shell .ug-button-zoomout::before {
    content: "\f068";
}

.product-gallery-shell .ug-button-zoomback::before {
    content: "\f066";
    font-size: 16px;
}

.product-gallery-shell .ug-button-play,
.product-gallery-shell .ug-button-fullscreen,
.product-gallery-shell .ug-button-zoomin,
.product-gallery-shell .ug-button-zoomout,
.product-gallery-shell .ug-button-zoomback {
    background-position: center !important;
}

.product-gallery-shell .ug-arrow-left.ug-arrow-hover,
.product-gallery-shell .ug-arrow-right.ug-arrow-hover,
.product-gallery-shell .ug-slider-control:hover {
    background-color: rgba(15, 23, 42, 0.72) !important;
}

.product-gallery-shell .ug-arrow-disabled,
.product-gallery-shell .ug-button-disabled {
    opacity: 0.45 !important;
}

.product-gallery-shell .ug-textpanel,
.product-gallery-shell .ug-slider-preloader,
.product-gallery-shell .ug-loading-icon {
    background-color: transparent !important;
}

.product-gallery-footnote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    color: #475467;
    font-size: 13px;
    line-height: 18px;
}

.product-gallery-footnote span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #eaecf0;
}

.packed-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.packed-actions .promo-action-btn {
    border-radius: 30px;
    background: #F8F8F8;
    padding: 8px 16px;
    border: 1px solid #F0F0F0;
    font-size: 14px;
    line-height: 20px;
    color: #0A0D14;
    font-weight: 500;
    border-radius: 30px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.packed-actions .promo-action-btn:hover {
    background: #FFFFFF;
    border-color: #E4E7EC;
    color: #0A0D14;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
}

.packed-actions .promo-action-btn img{
    height: 20px;
    transition: transform 0.2s ease;
}

.packed-actions .promo-action-btn:hover img {
    transform: scale(1.04);
}

.packed-actions .add-to-favorites {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: #FFFFFF;
    border:1px solid #F0F0F0 ;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.packed-actions .add-to-favorites:hover {
    background: #FFF5F6;
    border-color: #FBCDD2;
    box-shadow: 0 8px 18px rgba(250, 58, 77, 0.12);
    transform: translateY(-1px);
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 30px;
    background: #F4F8FB;
    border: 1px solid #DCE7EF;
    color: #1E4F6F;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.map-btn:hover {
    background: #FFFFFF;
    border-color: #BFD3E1;
    color: #1E4F6F;
    box-shadow: 0 8px 18px rgba(30, 79, 111, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.map-btn__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DCECF7;
    color: #2C6A90;
    flex: 0 0 22px;
}

.map-btn__icon i {
    font-size: 11px;
}

.similar-products-section {
    position: relative;
    z-index: 2;
    clear: both;
    display: block;
    width: 100%;
    margin-top: 28px;
    padding-top: 8px;
}

.similar-products-section .section-title h4 {
    margin-bottom: 6px;
}

@media (max-width: 991px) {
    .product-gallery-shell {
        padding: 18px;
    }

    .product-gallery-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-gallery-actions {
        justify-content: flex-start;
    }

    .packed-actions {
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .product-gallery-shell {
        padding: 14px;
        border-radius: 22px;
    }

    .product-gallery-title {
        font-size: 20px;
        line-height: 28px;
    }

    .product-gallery-actions,
    .product-gallery-footnote {
        width: 100%;
    }

    .product-gallery-count,
    .product-gallery-expand {
        width: 100%;
        justify-content: center;
    }
}