.hc-gallery {
    --gap: 16px;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(0, 0, 0, .08);

    position: sticky;
    top: 100px;
}

.hc-gallery-mobile-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    width: max-content;
}

.hc-gallery-mobile-favorite .hcf-btn,
.hc-gallery-mobile-favorite .hcpc-btn,
.hc-gallery-mobile-favorite .hcpc-remove-inline,
.hc-gallery-mobile-favorite .hcpc-view-link {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 1px solid #dedede;
    box-shadow: 0 3px 6px #0000001A;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #1f1f1f;
}

.hc-gallery-mobile-favorite .hcf-btn svg,
.hc-gallery-mobile-favorite .hcpc-btn svg,
.hc-gallery-mobile-favorite .hcpc-remove-inline svg,
.hc-gallery-mobile-favorite .hcpc-view-link svg {
    width: 22px;
    height: 22px;
}

.hc-gallery-mobile-favorite .hcf-btn span,
.hc-gallery-mobile-favorite .hcpc-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.hc-gallery-mobile-favorite .hcf-btn.hcf-btn--added{
    background-color: #FFC207;
}
.hc-gallery-mobile-favorite .hcf-btn.hcf-btn--added svg{
    fill: white;
}
.hc-gallery-mobile-favorite .hcpc-compare-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hc-gallery-mobile-favorite .hcpc-inline-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.hc-gallery-mobile-favorite .hcpc-inline-actions .hcpc-view-link::before {
    display: none;
}

.hc-gallery-mobile-favorite .hcpc-inline-actions .hcpc-view-link {
    text-decoration: none;
}
.product-page-wrapper .product-content-summary-wrapper .product-left-col{
    position: relative;
}
.hc-gallery-main {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    position: relative;
    border: 1px solid #DBDBDB;
       /* max-height: 50vh; */
}

.hc-gallery-main .swiper-slide {
    display: grid;
    place-items: center;
}

.hc-gallery-lightbox-trigger{
    width: 100%;
}

.hc-gallery-main img,
.hc-gallery-main video {
    /* max-width: 460px; */
    width: 100%;
    height: 100%;
    /* max-height: 100%; */
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
}

.hc-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 12px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    font-size: 12px;
}

.hc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    /* box-shadow: var(--shadow); */
    cursor: pointer;

    border: 1px solid #DBDBDB;
    padding: 0px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hc-prev {
    left: 12px;
}

.hc-next {
    right: 12px;
}

.hc-nav::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    position: relative;
    top: 0px;
   
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(225deg);
    transition: all 0.2s;
}

.hc-nav.hc-next::before {
    transform: rotate(45deg);
    right: 2px;
}
.hc-nav.hc-prev::before {
  left: 2px;
}
.hc-gallery-thumbs {
    margin-top: var(--gap);
}
.hc-gallery .swiper-button-disabled{
    opacity: 0.5;
}
.hc-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hc-thumb img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hc-thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #f1f1f1;
}

.hc-thumb-placeholder--video {
    background: linear-gradient(180deg, #f3f3f3 0%, #e8e8e8 100%);
}

.hc-thumb-img--video {
    filter: saturate(0.95);
}

.hc-thumb-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFC207;
    pointer-events: none;
}

.hc-thumb-badge svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

@media (max-width:640px) {
    .hc-thumb img {
        width: 100%;
        aspect-ratio: 1/1;
        /* height: 86px; */
    }
}

@media (max-width: 768px) {
    .hc-gallery-mobile-favorite {
        display: flex;
    }
}

.hc-lightbox::backdrop {
    background: rgba(0, 0, 0, .75);
}

.hc-lightbox {
    border: none;
    padding: 0;
    width: 90vw;
    max-width: 1100px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.hc-lightbox img {
    display: block;
    width: 100%;
    height: auto;
}

.hc-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 44px;
    border: none;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #DBDBDB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hc-lightbox-prev {
    left: 12px;
}

.hc-lightbox-next {
    right: 12px;
}

.hc-lightbox-nav::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    display: block;
}

.hc-lightbox-prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.hc-lightbox-next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.hc-lightbox-nav.is-hidden {
    display: none;
}

.hc-lightbox-close {
     position: absolute;
    right: 8px;
    top: 8px;
    width: 36px !important;
    height: 36px !important;
    border-radius: 36px;
    border: none;
    background: rgba(255, 255, 255, .9);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex
;
    justify-content: center;
    align-items: center;
    padding: 0px;
    outline: none !important;
}

.hc-gallery .swiper-button-lock{
    display: none !important;
}

.swiper-button-disabled{

}

/* Shared image/video gallery and expanded media viewer. */
.hc-gallery .hc-thumb,
.hc-lightbox .hc-thumb {
    width: 100%;
    padding: 0;
    color: inherit;
}
.hc-gallery .hc-thumb[aria-pressed="true"],
.hc-lightbox .hc-thumb[aria-pressed="true"] {
    border: 2px solid #FFC207;
}
.hc-gallery-expand {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 6;
    width: 40px;
    height: 40px;
    border: 1px solid #DBDBDB;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: #333;
    padding: 0;
    font-size: 24px;
    cursor: pointer;
}
.hc-gallery-caption { pointer-events: none; }
.hc-gallery-video ~ .hc-gallery-caption { bottom: 48px; }
.hc-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 7;
    background: #FFC207;
    color: #111;
    border: none;
    border-radius: 6px;
    padding: 12px 18px;
    cursor: pointer;
}
.hc-video-play[hidden] { display: none; }
.hc-lightbox { max-height: 94vh; max-height: 94dvh; }
.hc-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: min(72vh, 760px);
    height: min(72dvh, 760px);
    min-height: 160px;
    padding: 40px 56px 0;
    box-sizing: border-box;
}
.hc-lightbox-stage img,
.hc-lightbox-stage video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hc-lightbox-counter {
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 8px;
}
.hc-lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 12px 12px;
    position: relative;
}
.hc-lightbox-thumbs .hc-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 6px;
}
.hc-lightbox button:focus-visible,
.hc-gallery button:focus-visible,
.hc-gallery-lightbox-trigger:focus-visible {
    outline: 3px solid #FFC207;
    outline-offset: 2px;
}
@media (max-width: 640px) {
    .hc-lightbox { width: 96vw; }
    .hc-lightbox-stage { padding: 40px 8px 0; height: 65vh; height: 65dvh; }
    .hc-lightbox-nav { width: 36px; height: 36px; top: 42%; }
    .hc-lightbox-prev { left: 6px; }
    .hc-lightbox-next { right: 6px; }
    .hc-lightbox-thumbs .hc-thumb { flex-basis: 54px; width: 54px; height: 54px; }
}
