.product-single-container {
    display: flex;
    gap: 3rem;
    margin: 2.5rem auto;
    padding: 0 2.5rem;
    color: #000;
}

.product-images-layout {
    display: flex;
    flex: 1.2;
    gap: 1.25rem;
}

.product-thumbnails__vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 5rem; 
    flex-shrink: 0;
}

.thumb-item {
    cursor: pointer;
    border: 0.0625rem solid transparent;
    transition: opacity 0.2s;
    background: #fff;
}

.thumb-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.thumb-item.is-active {
    border: 0.0625rem solid #000;
}

.product-main-image {
    flex: 1;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info-layout {
    flex: 1;
    padding-left: 0.625rem;
}

.product-breadcrumbs {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.product-breadcrumbs a {
    color: #000;
    text-decoration: none;
}

.product-breadcrumbs span {
    margin: 0 0.375rem;
    color: #bbb;
}

.product-title-custom {
    font-size: 1.625rem;
    font-weight: 400;
    margin: 0 0 0.875rem 0;
    letter-spacing: 0.01875rem;
}

.product-price-custom {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.product-simple-attributes {
    margin-bottom: 1.25rem;
}

.attribute-simple-row {
    margin-bottom: 1.5rem;
}

.attribute-simple-label {
    font-size: 0.875rem;
    color: #000;
    display: block;
    margin-bottom: 0.75rem;
}

.attribute-title-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.attribute-title-container .attribute-simple-label {
    margin-bottom: 0;
}

.size-chart-link {
    font-size: 0.8125rem;
    color: #000;
    text-decoration: none;
}

.attribute-simple-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.simple-color-badge {
    display: inline-block;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    border: 0.0625rem solid #e0e0e0;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.15s ease;
}

.simple-color-badge.is-active {
    border-color: #000000 !important;
    box-shadow: 0 0 0 0.125rem #ffffff inset, 0 0 0 0.0625rem #000000 !important;
}

.size-native-select {
    width: 100%;
    height: 3.125rem;
    padding: 0 1rem;
    font-size: 0.8125rem;
    color: #000000;
    background-color: #ffffff;
    border: 0.0625rem solid #e5e5e5; 
    border-radius: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.125rem center;
    background-size: 0.75rem;
    cursor: pointer;
    box-sizing: border-box;
}

.size-native-select:focus {
    outline: none;
    border-color: #000000;
}

.product-action-buttons {
    display: flex;
    gap: 0.75rem;
    margin: 1.875rem 0;
}

.btn-add-to-cart, .btn-buy-now {
    flex: 1;
    height: 3.25rem;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0 !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.style-white-btn.btn-add-to-cart {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 0.0625rem solid #000000 !important;
}

.style-white-btn.btn-add-to-cart:hover {
    background-color: #f7f7f7 !important;
}

.style-black-btn.btn-buy-now {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 0.0625rem solid #000000 !important;
}

.style-black-btn.btn-buy-now:hover {
    background-color: #222222 !important;
}

.store-availability-notice {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #000;
    margin-bottom: 1.875rem;
}

.icon-check {
    color: #27ae60;
    font-weight: bold;
}

.notice-text-block span {
    display: block;
    margin-bottom: 0.125rem;
}

.store-availability-notice small {
    display: block;
    color: #777;
    font-size: 0.75rem;
}

.store-link {
    font-size: 0.75rem;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 0.125rem;
    display: inline-block;
    margin-top: 0.25rem;
}

.product-accordion-wrapper {
    border-top: 0.0625rem solid #e5e5e5;
}

.accordion-item {
    border-bottom: 0.0625rem solid #e5e5e5;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.125rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.0625rem;
    cursor: pointer;
}

.accordion-icon {
    position: relative;
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion-icon::before {
    width: 0.75rem;
    height: 0.0625rem;
}

.accordion-icon::after {
    width: 0.0625rem;
    height: 0.75rem;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.open .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.accordion-wrapper-inner {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.accordion-item.open .accordion-wrapper-inner {
    grid-template-rows: 1fr;
}

.accordion-content {
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #444;
}

.accordion-item .accordion-content p {
    margin: 0;
    padding-bottom: 2.125rem;
}

.size-chart-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: opacity .25s ease, visibility .25s ease;
}

.size-chart-popup.is-active {
    opacity: 1;
    visibility: visible;
}

.size-chart-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.2);
}
.size-chart-popup__inner {
    position: relative;
    background: #f5f5f5;
    width: 95%;
    max-width: 780px;
    padding: 50px 55px;
    box-sizing: border-box;
    box-shadow: none;
}

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.size-guide-table th,
.size-guide-table td {
    border: none;
    text-align: center;
    padding: 18px 8px;
    font-size: 15px;
    font-weight: 400;
    color: #222;
}

.size-guide-table .label-col {
    width: 250px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    color: #111;
}

.size-guide-table thead th {
    padding-bottom: 45px;
}

.size-guide-table thead th:not(.label-col) span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 28px;

    background: #000;
    color: #fff;

    font-size: 16px;
    font-weight: 600;
    padding: 0 8px;
}

.size-guide-table tbody tr:not(:last-child) td {
    padding-bottom: 28px;
}

.size-guide-brand {
    text-align: center;
    margin-top: 55px;

    font-size: 22px;
    letter-spacing: .04em;
    color: #555;
    font-weight: 300;
}

.size-chart-popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
/*gallery*/
.gallery-modal{
    position:fixed;
    inset:0;
    z-index:99999;

    background:#fff;

    opacity:0;
    visibility:hidden;

    transition:.25s;

    display:flex;
    flex-direction:column;
}

.gallery-modal.open{
    opacity:1;
    visibility:visible;
}

.gallery-modal__header{
    height:88px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 42px;

    flex-shrink:0;
}

.gallery-modal__title{
    font-size:18px;
    font-weight:400;
    margin:0;
}

.gallery-modal__close{
    width:56px;
    height:56px;

    border:1px solid #eee;
    background:#fff;

    cursor:pointer;

    font-size:32px;
    line-height:1;
}

.gallery-modal__body{
    flex:1;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
}

.gallery-modal__body img{
    max-width:480px;
    max-height:75vh;

    width:auto;
    height:auto;

    object-fit:contain;
}

.gallery-nav{
    position:absolute;
    top:50%;

    transform:translateY(-50%);

    width:54px;
    height:54px;

    border:none;
    background:#fff;

    cursor:pointer;

    font-size:40px;
    color:#333;

    z-index:3;
}

.gallery-prev{
    left:42px;
}

.gallery-next{
    right:42px;
}

.gallery-modal__thumbs{
    display:flex;
    justify-content:center;
    gap:20px;

    padding:28px 40px;

    overflow-x:auto;

    flex-shrink:0;
}

.gallery-thumb{
    width:90px;
    height:90px;

    border-radius:50%;

    overflow:hidden;

    cursor:pointer;

    opacity:.7;

    transition:.2s;
}

.gallery-thumb.active{
    opacity:1;
}

.gallery-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}
@media(max-width:768px){

.gallery-modal__header{
    height:72px;
    padding:0 20px;
}

.gallery-modal__title{
    font-size:16px;
}

.gallery-modal__close{
    width:48px;
    height:48px;
    font-size:28px;
}

.gallery-modal__body img{
    width:100%;
    max-width:none;
    max-height:none;
    padding:0 20px;
}

.gallery-prev{
    left:12px;
}

.gallery-next{
    right:12px;
}

.gallery-nav{
    width:64px;
    height:64px;
    font-size:34px;
}

.gallery-modal__thumbs{
    justify-content:flex-start;
    gap:14px;
    padding:18px 12px;

    overflow-x:auto;
}

.gallery-thumb{
    width:64px;
    height:64px;

    flex-shrink:0;
}
}
@media (max-width: 768px) {
    .product-single-container {
        flex-direction: column;
        padding: 0 1.25rem;
    }
    .product-images-layout {
        flex-direction: column-reverse;
    }
    .product-thumbnails__vertical {
        flex-direction: row;
        width: 100%;
    }
    .thumb-item {
        width: 4.375rem;
    }
    .product-action-buttons {
        flex-direction: column;
    }
    .btn-add-to-cart, .btn-buy-now {
        flex: none;
    }

    .size-chart-popup__inner {
        padding: 40px 20px;
        overflow-x: auto;
    }

    .size-guide-table {
        min-width: 650px;
    }

    .size-guide-table .label-col {
        width: 220px;
    }

}