.product-gallery {

}
.product-gallery .container,
.box-breadcrumb .container{
    max-width: 1170px;
}

.gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 6s ease-out;
    will-change: transform;
}

.gallery-main .swiper-slide-active img {
    transform: scale(1.08);
}
.gallery-main .swiper-slide { overflow: hidden; }

.gallery-main .swiper-slide:not(.swiper-slide-active) img {
    transform: scale(1);
    transition: transform 0s;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    margin-bottom: 10px;
}
.gallery-main .swiper-wrapper { align-items: stretch; }
.gallery-main__slide {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.gallery-main__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav arrows */
.gallery-main__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.92);
    color: var(--c-accent-dark);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.15);
    font-size: 14px;
    transition: all .25s ease;
}
.gallery-main__nav:hover {
    background: var(--c-accent);
    color: #fff;
}
.gallery-main__nav:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.gallery-main__nav--prev { left: 0; }
.gallery-main__nav--next { right: 0; }

/* Counter */
.gallery-main__counter {
    position: absolute;
    bottom: 16px;
    right: 20px;
    z-index: 5;
    background: rgba(43,42,38,.78);
    color: #fff;
    padding: 6px 14px;
    font-family: var(--ff-display);
    font-size: 15px;
    letter-spacing: .08em;
    backdrop-filter: blur(6px);
}
.gallery-main__counter-current {
    color: var(--c-gold-soft);
    font-weight: 600;
}
.gallery-main__counter-sep { margin: 0 6px; opacity: .55; }

.gallery-thumbs-wrap {
    position: relative;
    margin-top: 12px;
    padding: 0 44px;
}
.gallery-thumbs {
    overflow: hidden;
}
.gallery-thumbs .swiper-wrapper {
    align-items: stretch;
}
.gallery-thumbs .swiper-slide {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    cursor: pointer;
    opacity: .5;
    transition: opacity .25s;
    position: relative;
}
.gallery-thumbs .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: border-color .25s;
    pointer-events: none;
}
.gallery-thumbs .swiper-slide:hover { opacity: .85; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; }
.gallery-thumbs .swiper-slide-thumb-active::after {
    border-color: var(--c-accent);
}
.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbs.swiper-grab-cursor { cursor: grab; }
.gallery-thumbs.swiper-grabbing-cursor { cursor: grabbing; }

/* Thumb nav arrows */
.gallery-thumbs__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 34px;
    height: 34px;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    color: var(--c-accent-dark);
    display: grid;
    place-items: center;
    font-size: 11px;
    transition: all .2s;
}
.gallery-thumbs__nav:hover:not(:disabled) {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}
.gallery-thumbs__nav:disabled {
    opacity: .3;
    cursor: not-allowed;
}
.gallery-thumbs__nav--prev { left: 0; }
.gallery-thumbs__nav--next { right: 0; }

.gallery-thumbs-wrap::before,
.gallery-thumbs-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    pointer-events: none;
    z-index: 3;
}
.gallery-thumbs-wrap::before {
    left: 44px;
    background: linear-gradient(to right, var(--c-bg), transparent);
}
.gallery-thumbs-wrap::after {
    right: 44px;
    background: linear-gradient(to left, var(--c-bg), transparent);
}

.product-info {
    padding: 20px 0;
}
.product-info .container {
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    padding: 36px 40px 40px;
    box-shadow: 0 2px 10px rgba(60,60,40,.04);
}

.product-info__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 10px;
    padding-bottom: 0;
    margin-bottom: 15px;
}
.product-info__title {
    margin: 0;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--c-accent-dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}
.product-info__title-bracket {
    color: #ebb923;
    font-weight: 400;
    font-size: 0.85em;
    transform: translateY(-2px);
}
.product-info__tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
}
.product-info__tab {
    color: var(--c-ink-soft);
    padding: 6px 4px;
    font-family: var(--ff-heading);
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    transition: color .2s;
    font-size: 14px;
}
.product-info__tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 2px;
    background: #ebb923;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.product-info__tab:hover { color: var(--c-accent); }
.product-info__tab.is-active {
    color: #ebb923;
    font-weight: 600;
}
.product-info__tab.is-active::after { transform: scaleX(1); }
.product-info__tab-sep {color: #ebb923;user-select: none;}

.product-info__panel { display: none; }
.product-info__panel.is-active {
    display: block;
    animation: fadeUp .35s ease both;
    padding: 15px;
    text-align: justify;
    border: 1px solid #858383;
    background: #fff;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.design-article {
    padding: 15px;
    text-align: justify;
    border: 1px solid #858383;
    background: #fff;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
    .product-info .container { padding: 26px 22px 30px; }
    .product-info__head { flex-direction: column; align-items: flex-start; }
    .product-info__title { font-size: 26px; }

    .gallery-main__nav { width: 38px; height: 38px; }

    .gallery-thumbs-wrap { padding: 0 36px; }
    .gallery-thumbs-wrap::before { left: 36px; }
    .gallery-thumbs-wrap::after  { right: 36px; }
    .gallery-thumbs__nav { width: 30px; height: 30px; }
}

@media (max-width: 560px) {
    .gallery-main__slide { aspect-ratio: 4 / 3; }
    .gallery-main__counter { font-size: 13px; padding: 5px 10px; }
    .product-info__tabs { font-size: 12px; gap: 4px; }
    .product-info__tab { padding: 6px 2px; }
}
