.tsws-sp {
display: flex;
align-items: flex-start;
gap: 48px;
flex-wrap: wrap;
} .tsws-sp__gallery {
--tsws-thumb-w: 72px;
--tsws-thumb-h: 90px;
--tsws-thumb-gap: 12px;
--tsws-thumbs-visible: 4;
width: 55%;
display: flex;
gap: 20px;
}
.tsws-sp__gallery--thumbs-bottom {
flex-direction: column;
} .tsws-sp__gallery--thumbs-left {
flex-direction: row;
align-items: flex-start;
} .tsws-sp__thumbs-wrap {
position: relative;
flex-shrink: 0;
min-width: 0;
}
.tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs-wrap {
order: 2;
max-width: 100%;
}
.tsws-sp__thumbs {
display: flex;
flex-direction: column;
gap: var(--tsws-thumb-gap);
overflow-x: hidden;
overflow-y: auto;
max-height: calc( var(--tsws-thumbs-visible) * var(--tsws-thumb-h) + ( var(--tsws-thumbs-visible) - 1 ) * var(--tsws-thumb-gap) );
overscroll-behavior: contain;
scrollbar-width: thin;
scrollbar-color: #c4c4c4 transparent;
-webkit-overflow-scrolling: touch;
}
.tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs {
flex-direction: row;
overflow-x: auto;
overflow-y: hidden;
max-height: none;
max-width: min( 100%, calc( var(--tsws-thumbs-visible) * var(--tsws-thumb-w) + ( var(--tsws-thumbs-visible) - 1 ) * var(--tsws-thumb-gap) ) );
}
.tsws-sp__thumbs::-webkit-scrollbar { width: 4px; height: 4px; }
.tsws-sp__thumbs::-webkit-scrollbar-thumb { background: #c4c4c4; border-radius: 4px; }
.tsws-sp__thumbs::-webkit-scrollbar-track { background: transparent; } .tsws-sp__thumbs-wrap.has-arrows .tsws-sp__thumbs { scrollbar-width: none; }
.tsws-sp__thumbs-wrap.has-arrows .tsws-sp__thumbs::-webkit-scrollbar { display: none; }
.tsws-sp__thumbs-wrap .tsws-sp__thumbs-arrow {
position: absolute;
z-index: 3;
display: none;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
min-height: 0;
padding: 0;
margin: 0;
border: 1px solid #d5d5d5;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.92);
color: #1a1a1a;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
cursor: pointer;
line-height: 1;
transition: opacity 0.15s ease;
}
.tsws-sp__thumbs-wrap .tsws-sp__thumbs-arrow:hover,
.tsws-sp__thumbs-wrap .tsws-sp__thumbs-arrow:focus {
opacity: 0.85;
outline: none;
}
.tsws-sp__thumbs-wrap .tsws-sp__thumbs-arrow svg {
width: 14px;
height: 14px;
display: block;
transition: none;
}
.tsws-sp__thumbs-wrap.can-prev .tsws-sp__thumbs-arrow--prev,
.tsws-sp__thumbs-wrap.can-next .tsws-sp__thumbs-arrow--next {
display: flex;
} .tsws-sp__gallery--thumbs-left .tsws-sp__thumbs-arrow {
left: 50%;
transform: translateX(-50%);
}
.tsws-sp__gallery--thumbs-left .tsws-sp__thumbs-arrow--prev { top: 4px; }
.tsws-sp__gallery--thumbs-left .tsws-sp__thumbs-arrow--next { bottom: 4px; }
.tsws-sp__gallery--thumbs-left .tsws-sp__thumbs-arrow--next svg { transform: rotate(180deg); } .tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs-arrow {
top: 50%;
transform: translateY(-50%);
}
.tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs-arrow--prev { left: 4px; }
.tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs-arrow--next { right: 4px; }
.tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs-arrow--prev svg { transform: rotate(-90deg); }
.tsws-sp__gallery--thumbs-bottom .tsws-sp__thumbs-arrow--next svg { transform: rotate(90deg); }
.tsws-sp__thumb {
width: var(--tsws-thumb-w);
height: var(--tsws-thumb-h);
flex: 0 0 auto;
box-sizing: border-box;
padding: 0;
border: 1px solid transparent;
background: #f2f2f2;
cursor: pointer;
overflow: hidden;
}
.tsws-sp__thumb.is-active {
border-color: #1a1a1a;
}
.tsws-sp__thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.tsws-sp__main-image {
flex: 1;
background: #f2f2f2;
min-width: 0;
overflow: hidden;
}
.tsws-sp__main-image-el,
.tsws-sp__main-image img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
} .tsws-sp__info {
width: calc(45% - 48px);
min-width: 280px;
flex: 1;
}
.tsws-sp__info-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
}
.tsws-sp__title {
font-size: 34px;
font-weight: 400;
color: #1a1a1a;
margin: 0 0 12px;
line-height: 1.2;
}
.tsws-sp .tsws-wishlist {
position: static;
flex-shrink: 0;
}
.tsws-sp__rating-row {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 16px;
}
.tsws-sp__review-count {
font-size: 13px;
color: #8a8a8a;
}
.tsws-sp .tsws-rating {
display: inline-flex;
gap: 2px;
line-height: 1;
}
.tsws-sp .tsws-star {
font-size: 14px;
color: #d5d5d5;
}
.tsws-sp .tsws-star.is-filled {
color: #1a1a1a;
}
.tsws-sp .tsws-rating--interactive .tsws-star {
cursor: pointer;
background: none;
border: none;
padding: 0;
}
.tsws-sp .tsws-rating--interactive.is-selected .tsws-star.is-filled {
color: #b8860b;
}
.tsws-sp__short-description {
font-size: 14px;
line-height: 1.7;
color: #6b6b6b;
margin-bottom: 20px;
}
.tsws-sp__short-description p:last-child {
margin-bottom: 0;
}
.tsws-sp__brand {
font-size: 13px;
letter-spacing: 0.5px;
text-transform: uppercase;
margin-bottom: 16px;
color: #1a1a1a;
}
.tsws-sp__brand-label {
margin-right: 6px;
font-weight: 700;
}
.tsws-sp__brand a {
color: #1a1a1a;
text-decoration: underline;
}
.tsws-sp__price {
font-size: 22px;
color: #1a1a1a;
margin-bottom: 24px;
}
.tsws-sp__price del {
opacity: 0.5;
margin-right: 8px;
}
.tsws-sp__price ins {
text-decoration: none;
} .tsws-sp__attr-block {
margin-bottom: 18px;
}
.tsws-sp__attr-label {
font-size: 12px;
font-weight: 700;
letter-spacing: 0.5px;
text-transform: uppercase;
color: #1a1a1a;
margin-bottom: 10px;
}
.tsws-sp__attr-swatches {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.tsws-sp .tsws-swatch {
appearance: none;
cursor: pointer;
border: 1px solid #dddddd;
background: #fff;
padding: 0;
width: 30px;
height: 30px;
transition: border-color 0.15s ease;
}
.tsws-sp .tsws-swatch--color {
border-radius: 50%;
background-color: var(--tsws-swatch-color, #ccc);
}
.tsws-sp .tsws-swatch--text {
min-width: 30px;
padding: 0 8px;
border-radius: 50%;
font-size: 12px;
font-weight: 600;
color: #1a1a1a;
}
.tsws-sp .tsws-swatch.is-active {
border-color: #1a1a1a;
border-width: 2px;
}
.tsws-sp__attr-select {
display: block;
width: 200px;
height: 42px;
padding: 0 12px;
border: 1px solid #d5d5d5;
background: #fff;
color: #1a1a1a;
font-size: 14px;
cursor: pointer;
} .tsws-sp__attr-select-wrap--color {
display: flex;
align-items: center;
gap: 10px;
}
.tsws-sp__attr-select-wrap--color .tsws-sp__attr-select {
display: block;
max-width: 100%;
}
.tsws-sp__color-dot {
flex: 0 0 auto;
width: 26px;
height: 26px;
border-radius: 50%;
border: 1px solid #dddddd;
background: repeating-linear-gradient( 45deg, #f2f2f2, #f2f2f2 3px, #ffffff 3px, #ffffff 6px );
transition: background-color 0.15s ease;
}
.tsws-sp__color-dot.has-color {
background: var(--tsws-swatch-color, #ccc);
} .tsws-sp__cart-row {
display: flex;
align-items: stretch;
gap: 12px;
margin: 24px 0 8px;
}
.tsws-sp__cart-message {
font-size: 13px;
min-height: 18px;
padding-bottom: 24px;
border-bottom: 1px solid #e2e2e2;
margin-bottom: 24px;
}
.tsws-sp__cart-message:empty {
padding-bottom: 24px;
}
.tsws-sp__cart-message.is-success {
color: #2e7d32;
}
.tsws-sp__cart-message.is-error {
color: #c0392b;
}
.tsws-sp__qty {
display: flex;
align-items: center;
border: 1px solid #d5d5d5;
}
.tsws-sp__qty .tsws-sp__qty-btn {
background-color: transparent;
border: none;
width: 36px;
height: 100%;
font-size: 16px;
cursor: pointer;
color: #1a1a1a;
transition: color 0.15s ease, background-color 0.15s ease;
box-shadow: none;
}
.tsws-sp__qty .tsws-sp__qty-btn:hover,
.tsws-sp__qty .tsws-sp__qty-btn:focus {
background-color: transparent !important;
color: #6b6b6b;
box-shadow: none !important;
}
.tsws-sp__qty-input {
width: 40px;
text-align: center;
border: none;
border-left: 1px solid #d5d5d5;
border-right: 1px solid #d5d5d5;
font-size: 15px;
-moz-appearance: textfield;
}
.tsws-sp__qty-input::-webkit-outer-spin-button,
.tsws-sp__qty-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.tsws-sp__add-to-cart {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
background: #1a1a1a;
color: #ffffff;
border: none;
padding: 0 24px;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.5px;
text-transform: uppercase;
cursor: pointer;
transition: background-color 0.15s ease;
}
.tsws-sp__cart-icon {
width: 18px;
height: 18px;
}
.tsws-sp__share {
display: flex;
gap: 16px;
margin-bottom: 24px;
}
.tsws-sp__share a {
color: #1a1a1a;
display: inline-flex;
}
.tsws-sp__share svg {
width: 18px;
height: 18px;
} .tsws-sp__accordion-item {
border-top: 1px solid #e2e2e2;
}
.tsws-sp__accordion-item:last-child {
border-bottom: 1px solid #e2e2e2;
}
.tsws-sp__accordion-title {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
background: transparent;
border: none;
text-align: left;
padding: 18px 12px;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.5px;
text-transform: uppercase;
color: #1a1a1a;
cursor: pointer;
transition: background-color 0.15s ease;
} .tsws-sp__accordions--icon-right .tsws-sp__accordion-title {
justify-content: space-between;
}
.tsws-sp__accordions--icon-right .tsws-sp__accordion-title-text {
order: 1;
}
.tsws-sp__accordions--icon-right .tsws-sp__accordion-icon {
order: 2;
} .tsws-sp__accordions--icon-left .tsws-sp__accordion-title-text {
order: 2;
}
.tsws-sp__accordions--icon-left .tsws-sp__accordion-icon {
order: 1;
}
.tsws-sp__accordion-icon {
display: none;
align-items: center;
justify-content: center;
width: 12px;
font-size: 12px;
color: #1a1a1a;
line-height: 1;
}
.tsws-sp__accordion-icon svg {
width: 1em;
height: 1em;
fill: currentColor;
} .tsws-sp__accordion-item:not(.is-open) .tsws-sp__accordion-icon--closed {
display: inline-flex;
}
.tsws-sp__accordion-item.is-open .tsws-sp__accordion-icon--open {
display: inline-flex;
}
.tsws-sp__accordion-body {
display: none;
padding: 0 12px 20px;
font-size: 14px;
line-height: 1.7;
color: #6b6b6b;
}
.tsws-sp__accordion-item.is-open .tsws-sp__accordion-body {
display: block;
} .tsws-sp__review-list {
margin-bottom: 24px;
display: flex;
flex-direction: column;
gap: 16px;
}
.tsws-sp__review-item {
padding-bottom: 16px;
border-bottom: 1px solid #ececec;
}
.tsws-sp__review-item-head {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 6px;
}
.tsws-sp__review-item-content {
margin: 0;
font-size: 14px;
color: #6b6b6b;
}
.tsws-sp__review-form {
display: flex;
flex-direction: column;
gap: 10px;
max-width: 420px;
}
.tsws-sp__review-form-title {
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #1a1a1a;
margin-bottom: 4px;
}
.tsws-sp__review-form .tsws-star {
font-size: 20px;
}
.tsws-sp__review-name,
.tsws-sp__review-email,
.tsws-sp__review-comment {
font-size: 14px;
padding: 10px 12px;
border: 1px solid #d5d5d5;
font-family: inherit;
}
.tsws-sp__review-comment {
min-height: 90px;
resize: vertical;
}
.tsws-sp__review-submit {
align-self: flex-start;
background: #1a1a1a;
color: #ffffff;
border: none;
padding: 12px 24px;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.5px;
text-transform: uppercase;
cursor: pointer;
}
.tsws-sp__review-submit:disabled {
opacity: 0.6;
cursor: default;
}
.tsws-sp__review-message {
font-size: 13px;
}
.tsws-sp__review-message.is-success {
color: #2e7d32;
}
.tsws-sp__review-message.is-error {
color: #c0392b;
}
@media (max-width: 900px) {
.tsws-sp__gallery,
.tsws-sp__info {
width: 100% !important;
}
}