﻿.product-page {
    padding:16px 0 64px
}

.product-page .breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
    color: #9a918a;
    font-size: 12px;
    line-height: 1.5
}

.product-page .breadcrumbs a {
    color: #7d746c;
    text-decoration: none;
    transition: color .18s ease
}

.product-page .breadcrumbs a:hover {
    color: #403831
}

.product-page .breadcrumbs span:last-child {
    color: #403831
}

/*
.product-detail {
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr);
    align-items: start;
    gap: clamp(24px,3vw,74px);
    padding-bottom: 64px;
}
*/
.product-gallery {
    display: grid;
    /*     grid-template-columns: 68px minmax(0,1fr); */
	grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
}

.product-thumbs {
    display: flex;
	display:none;
	
    flex-direction: column;
    gap:8px
}

.product-main-image,.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.product-thumb {
	display:none;
    width: 68px;
    height: 88px;
    padding: 4px;
    border: 1px solid #e0d9d3;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease
}

.product-thumb:hover {
    border-color: #b9aca2
}

.product-thumb.active {
    border-color: #8b7e74;
    box-shadow: 0 0 0 1px rgba(139,126,116,.18)
}

.product-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px
}

.product-main-image {
    position: relative;
    min-height:320px;
    border-radius:8px;
    background: #f5f1ed
}

.product-main-image>img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: cover;
    object-position: center;
    transition: opacity .16s ease,transform .25s ease;
}

.product-main-image:hover>img {
    transform: scale(1.012)
}
.product-badges{
	display: flex;
    gap: 0 8px;
	margin-bottom:8px
}

.product-zoom {
	display:none;
    position: absolute;
    opacity: .5;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    width: 36px;
    height: 36px;
    line-height: 1.2;
    border: 1px solid #e2dcd6;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #403831;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .18s ease,border-color .18s ease,transform .18s ease;
}
.product-zoom:hover {
    border-color: #8b7e74;
    background: #fff;
    transform: scale(1.05)
}

.product-info {
    min-width: 0;
    padding-top: 3px
}

.product-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin:8px 0 12px;
}

.product-category {
    color: #8b7e74;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.product-wish {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 33px;
    height: 33px;
    padding:0px 0 0;
	margin-left:auto;
    border: 1px solid var(--tx-light);
    border-radius: 50%;
    color: #403831;
    cursor: pointer;
    transition: border-color .18s ease,background-color .18s ease,transform .18s ease;
}

.product-wish:hover {
    border-color: #8b7e74;
    color: #8b7e74;
    /*background: #EFEAE4;*/
    transform: translateY(-1px)
}

.product-wish .icon {
    width:25px;
    height:25px;
    fill: none;
    stroke: currentColor;
/*    stroke-width: 1.6;*/
/*    stroke-linecap: round;*/
/*    stroke-linejoin: round*/
}
.product-wish.is-active {    background: #fff;

    /* border-color: #8B7E74; */
    /* color: #8B7E74; */
}
/*
.product-wish.is-active .icon {
    fill: rgb(219 43 120);
    stroke: rgb(219 43 120);
}
*/
.product-info h1 {
    max-width: 620px;
    margin:4px 0;
    color: #403831;
    font-size: clamp(15px,2.25vw,27px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -.025em
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 16px;
    padding: 8px 0;
    border-bottom: 1px solid #e5dfd9;
    color: var(--tx-mdark);
    font-size: 12px;
    align-items: center;
}

.product-meta b {
    color: #625950;
    font-weight: 500
}

.product-meta a {
    color: #625950;
    text-decoration: none;
    transition: color .18s ease
}

.product-meta a:hover {
    color: #8b7e74
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin:8px 0;
	color:var(--tx-mdark);
}

.product-price strong {
    font-size: clamp(22px,2.4vw,32px);
    line-height: 1
}
.product-price em, .product-price small {font-size:80%}
.price-detail {font-style:oblique;color:var(--tx-mdark);}
/*
.product-price span {
    color: #978d85;
    font-size: 12px
}
*/
.bdg0 {background: #FFB74D}
	.bdg0:before{content:"не в наявності";color: var(--tx-acent)}

.base-prop {
    display: flex;
    gap: 0 1em;
/*    align-items: center;*/
    padding:0;
	border-top: 1px solid #e5dfd9;
	border-bottom: 1px solid #e5dfd9
}
.product-option {
    padding: 16px 0;
    white-space: nowrap;
}
.product-option-title {
    display: flex;
    align-items: center;
    gap:8px;
    color: var(--tx-mdark);
    /*font-size: 13px*/
}

.product-option-title strong,.product-price strong {
    color:var(--tx-acent);
/*    font-weight: 600*/
}

.product-colors {
    display: flex;
    flex-wrap: wrap;
align-items: center;
    /* margin-top: 16px; */
    gap: 0 4px;
/*    justify-content: space-between;*/
/*    width: 100%;*/
}

.color-option {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    padding:1.5px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: 0 0;
    cursor: pointer;
    transition: border .18s ease, background-color .18s ease;
    user-select: none;
}

/*
a.color-option {
    height: 100%;
    width: 100%;
    display: block;
}
*/
.product-colors a.manycolor>span,
.color-option:not(.manycolor)::before {
    content: "";
    display: block;
	line-height:0;
    width:100%;
    height:100%;
/*    border: 1px solid rgba(64,56,49,.15);*/
    border-radius: 50%;
    background: var(--color);
}

.product-colors a.manycolor>span {
    display:inline-flex;
    justify-content: space-between;
	overflow:hidden
}
.product-colors a.manycolor>span i {
    flex-basis: 50%;
    width: 33%;
}

.color-option:hover {
    /*transform: scale(1.05)*/
	border-width:1.5px
}

.color-option.active {
    border: 2px solid var(--bg-mark);
    background: #FFF;
    outline: 1px solid var(--bg-mark);
/*    margin-right: auto; */
}

.color-option:focus-visible {
    outline: 2px solid rgba(139,126,116,.4);
    outline-offset: 2px
}

.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.size-option {
    min-width: 92px;
    height: 39px;
    padding: 0 14px;
    border: 1px solid #d8d0c8;
    border-radius: 5px;
    background: #fff;
    color: #5f5650;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color .18s ease,border-color .18s ease,background-color .18s ease
}

.size-option:hover {
    border-color: #9d9188;
    color: #403831
}

.size-option.active {
    border-color: #8b7e74;
    background: #8b7e74;
    color: #fff
}

.product-buy {
    display: flex;
    /* grid-template-columns: 118px minmax(180px,1fr); */
    gap: 10px;
    margin-top: 24px;
}

.product-quantity {
    display: grid;
    grid-template-columns: 35px minmax(35px,1fr) 35px;
    align-items: center;
    height: 48px;
    width: 128px;
    overflow: hidden;
    border: 1px solid #d8d0c8;
    border-radius: 6px;
    background: #fff;
}

.product-quantity button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 46px;
    padding: 0;
    border: 0;
    background: 0 0;
    color: #625950;
    font-size: 19px;
    cursor: pointer;
    transition: background-color .18s ease,color .18s ease
}

.product-quantity button:hover {
    background: #f2ede8;
    color: #403831
}

.product-quantity input {
    width: 100%;
    height: 46px;
    padding: 0;
    border: 0;
    outline: 0;
    background: 0 0;
    color: #403831;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    appearance: textfield;
    pointer-events: none;
}

.product-quantity input::-webkit-inner-spin-button,.product-quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none
}

.product-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
	min-width:200px;
    padding: 10px 22px;
    border: 1px solid #403831;
    border-radius: 6px;
    background: #403830;
    color: #fff;
  /*  */  font-size: 12px;
    font-weight: 600;
    letter-spacing: .024em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease,border-color .2s ease,transform .18s ease
}
.product-cart .product-cart-text{flex:1}
.product-cart:hover {
    border-color: #8b7e74;
    background: #8b7e74;
    transform: translateY(-1px)
}

.product-cart:active {
    transform: translateY(0)
}

.product-cart .icon {
    width:25px;
    height:25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.product-cart.is-added {
    border-color: #8b7e74;
    background: #8b7e74
}

.product-note {
    margin-top: 13px;
    color: #958b84;
    font-size: 11px
}

.product-note strong {
    color: #625950;
    font-weight: 600
}

.product-tabs {
    margin-top: 4px;
    border-top: 1px solid #ddd6d0;
    border-bottom: 1px solid #ddd6d0
}

.tabs-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    overflow-x: auto;
    border-bottom: 1px solid #e5dfd9;
    scrollbar-width: thin;
}

.tab-button {
    position: relative;
    flex: 0 0 auto;
    min-height: 56px;
    padding: 16px 20px;
    border: 0;
    background: 0 0;
    color: #817770;
    font-size: 1em;
    font-weight:600;
    cursor: pointer;
    transition: color .18s ease;
}

.tab-button::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: -1px;
    left: 22px;
    height: 2px;
    background: #8b7e74;
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .18s ease,transform .18s ease
}

.tab-button.active, .tab-button:hover {
    /* font-weight: 600; */
    color: #403831;
}
.tab-button.active::after {
    opacity: 1;
    transform: scaleX(1)
}

.tab-panel {
    display: none;
    max-width: 850px;
    padding: 28px 22px 34px;
    color: #655c55;
    font-size: 14px;
    line-height: 1.75
}

.tab-panel.active {
    display: block
}

.tab-panel p {
    margin: 0
}

.product-specs {
    display: grid;
    gap: 0;
    margin: 0
}

.product-specs>div {
    display: grid;
    grid-template-columns: minmax(150px,230px) 1fr;
    gap: 25px;
    padding: 11px 0;
    border-bottom: 1px solid #eee9e5
}

.product-specs>div:last-child {
    border-bottom: 0
}

.product-specs dt {
    color: #9a918a;
    font-size: 12px
}

.product-specs dd {
    margin: 0;
    color: #403831;
    font-size: 13px;
    font-weight: 500
}

.related-products {
    padding-top: 60px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px
}

.section-heading h2 {
    margin: 0;
    color: #403831;
    font-size: clamp(22px,2.2vw,31px);
    font-weight: 500;
    letter-spacing: -.02em
}

.section-heading a {
    color: #756b63;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid #cfc5bd;
    transition: color .18s ease,border-color .18s ease
}

.section-heading a:hover {
    color: #403831;
    border-color: #403831
}

@media (max-width:1050px) {
    .product-detail {
        grid-template-columns: minmax(0,1fr) minmax(320px,.85fr);
        gap: 32px
    }

    .product-main-image {
        min-height:260px
    }

    .product-gallery {
       /* grid-template-columns: 64px minmax(0,1fr)*/
    }

    .product-thumb {
        width: 64px;
        height: 78px
    }
}

@media (min-width:761px) {
	.product-gallery {
    position: sticky;
    top:74px;}
}
@media (max-width:760px) {
    .product-page {
        padding-top: 14px;
        padding-bottom: 45px
    }

    .product-page .breadcrumbs {
        margin-bottom: 17px;
        font-size: 11px
    }

    .product-detail {
        display: block;
        padding-bottom: 36px
    }

.product-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    margin-bottom:8px;
}

.product-main-image {
    min-height: 0;
    min-width: 100%;
    aspect-ratio: 1/1.12;
    border-radius: 7px;
}

    .product-main-image>img {
        max-height: none
    }

    .product-thumbs {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        width: 100%;
        gap: 7px
    }

    .product-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        padding: 3px
    }

    .badge {
        top: 10px;
        left: 10px;
        padding: 5px 8px;
        font-size: 9px
    }

    .product-zoom {
        right: 10px;
        bottom: 10px;
        width: 35px;
        height: 35px
    }

    .product-info {
        padding-top: 0
    }

    .product-info h1 {
        font-size: 24px
    }

/*
    .product-meta {
        padding-bottom: 16px;
        gap: 8px 15px
    }
*/
    .product-price {
        margin:16px 0
    }

    .product-price strong {
        font-size: 30px
    }

    .product-option {
        padding: 16px 0
    }

    .product-buy {
        grid-template-columns: 105px minmax(0,1fr);
        gap: 8px;
        margin-top: 20px
    }

    .product-cart .icon {
      /*  width: 17px;*/
      /*  height: 17px*/
    }

    .tabs-nav {
        margin-right: -2vw;
        margin-left: -2vw;
        padding: 0 8px
    }

    .tab-button {
        min-height:48px;
        padding:16px 12px;
    }

    .tab-button::after {
        right: 12px;
        left: 12px
    }

    .tab-panel {
        padding: 22px 0 28px;
        font-size: 12px
    }

    .product-specs>div {
        grid-template-columns: minmax(110px,42%) 1fr;
        gap: 15px
    }

    .related-products {
        padding-top: 42px
    }
}

@media (max-width:480px) {
    .product-info-top {
        margin-bottom:8px
    }
	.badges {
    margin-left: auto;
	}
/*    .product-wish {
        width: 35px;
        height: 35px
    }
*/
    .product-buy {
      /*  grid-template-columns: 1fr */
    }

    .product-quantity {
        width: 118px
    }
	.base-prop{flex-direction: column}
	.product-colors {padding: 0 0 16px 52px}

.product-cart {
    min-height: 46px;
    font-size: 12px;
}
    .section-heading {
        align-items: flex-end
    }

    .section-heading h2 {
        font-size: 22px
    }
}