.trmt-sp { width: 100%; font-family: inherit; }

.trmt-sp__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Image column */
.trmt-sp__image-col {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
}

/* Thumbnail strip */
.trmt-sp__thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 72px;
}

.trmt-sp__thumb {
    width: 72px;
    height: 72px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb;
    cursor: pointer;
    padding: 0;
    transition: border-color .2s;
    flex-shrink: 0;
}

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

.trmt-sp__thumb--active,
.trmt-sp__thumb:hover {
    border-color: #1a1a2e;
}

/* Main image wrap */
.trmt-sp__main-image-wrap {
    flex: 1;
    border-radius: 16px;
    overflow: visible;
    background: #f9fafb;
    position: relative;
    aspect-ratio: 1 / 1;
}

.trmt-sp__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: opacity .2s;
    cursor: crosshair;
}

.trmt-sp__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    min-height: 400px;
}

/* Zoom lens */
.trmt-sp__zoom-lens {
    display: none;
    position: absolute;
    border: 2px solid #1a1a2e;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.3);
    cursor: crosshair;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
}

/* Zoom result box */
.trmt-sp__zoom-result {
    display: none;
    position: absolute;
    left: calc(100% + 16px);
    top: 0;
    width: 400px;
    height: 400px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-repeat: no-repeat;
    background-color: #f9fafb;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    overflow: hidden;
}

/* Info column */
.trmt-sp__info-col {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}

.trmt-sp__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.trmt-sp__tag {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid;
}

.trmt-sp__title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #111827;
}

.trmt-sp__desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 12px;
}

.trmt-sp__asin {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 4px;
}

.trmt-sp__asin code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.trmt-sp__divider {
    height: 1px;
    background: #f3f4f6;
    margin: 20px 0;
}

.trmt-sp__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    width: 100%;
    box-sizing: border-box;
}

.trmt-sp__btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff;
}

/* Tablet */
@media (max-width: 900px) {
    .trmt-sp__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .trmt-sp__zoom-result {
        display: none !important; /* hide zoom on tablet/mobile */
    }
}

/* Mobile */
@media (max-width: 600px) {
    .trmt-sp__thumbs { width: 56px; }
    .trmt-sp__thumb  { width: 56px; height: 56px; }
    .trmt-sp__title  { font-size: 22px; }
}
