.lightio-product-map {
position: relative;
max-width: 100%;
margin: 0 auto;
font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.lightio-product-map-note {
padding: 1rem;
border: 1px dashed #ccc;
color: #666;
} .lightio-product-map-slider {
position: relative;
max-width: 900px;
margin: 0 auto;
} .lightio-product-map-track {
position: relative;
}
.lightio-product-map-cell {
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 14px;
opacity: 1;
pointer-events: auto;
transition: opacity 0.6s ease;
}
.lightio-product-map-cell.is-inactive {
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.lightio-product-map-stage {
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
background: #fff; flex: 1 1 auto;
min-width: 0; } .lightio-product-map-img {
display: block;
width: 100%;
height: auto;
-webkit-user-select: none;
user-select: none;
pointer-events: none; } .lightio-product-map-region {
position: absolute;
box-sizing: border-box;
cursor: pointer;
outline: none;
border-radius: 4px;
touch-action: manipulation;
} .lightio-product-map-region.is-tapping {
background: rgba(245, 166, 35, 0.22);
box-shadow: 0 0 0 2px var(--lpm-accent, #f5a623) inset;
border-radius: 4px;
}
.lightio-product-map-region:focus-visible {
outline: 2px solid var(--lpm-accent, #f5a623);
outline-offset: 2px;
} .lightio-product-map-region.is-highlighted {
background: rgba(245, 166, 35, 0.16);
box-shadow: 0 0 0 2px var(--lpm-accent, #f5a623) inset;
border-radius: 4px;
} .lightio-product-map-hl {
position: absolute;
display: none;
box-sizing: border-box;
border-radius: 4px;
background: rgba(255, 255, 255, 0.06);
box-shadow: 0 0 0 2px var(--lpm-accent, #f5a623) inset;
transition: opacity 0.15s ease;
} .lightio-product-map-hot {
position: absolute;
display: none;
box-sizing: border-box;
border-radius: 6px;
box-shadow: 0 0 0 3px var(--lpm-accent, #f5a623) inset,
0 0 24px 4px var(--lpm-accent, #f5a623);
animation: lpm-pulse 1.6s ease-in-out infinite;
}
@keyframes lpm-pulse {
0%, 100% { opacity: 0.85; }
50%      { opacity: 0.45; }
} .lightio-product-map-rail {
flex: 0 0 auto;
width: 120px;
display: flex;
flex-direction: column;
gap: 10px;
}
.lightio-product-map-rail-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
padding: 7px 8px;
background: #fff;
border: 2px solid transparent;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
cursor: pointer;
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
font-family: inherit;
color: #333;
text-align: center;
}
.lightio-product-map-rail-item:hover {
transform: translateY(-1px);
}
.lightio-product-map-rail-item.is-active {
border-color: var(--lpm-accent, #f5a623);
box-shadow: 0 0 0 1px var(--lpm-accent, #f5a623) inset,
0 4px 14px rgba(0, 0, 0, 0.14);
}
.lightio-product-map-rail-thumb {
display: block;
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 6px;
background: #f2f2f2;
}
.lightio-product-map-rail-item img.lightio-product-map-rail-thumb {
margin: 0;
}
.lightio-product-map-rail-name {
font-size: 11px;
font-weight: 600;
line-height: 1.3;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} .lightio-product-map-tooltip {
position: absolute;
pointer-events: none;
z-index: 5;
background: rgba(20, 20, 20, 0.92);
color: #fff;
font-size: 12px;
font-weight: 600;
padding: 5px 12px;
border-radius: 999px;
white-space: nowrap;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
max-width: min(240px, 80vw);
overflow: hidden;
text-overflow: ellipsis;
} .lightio-product-map-viewport {
position: absolute;
overflow: hidden;
display: none;
border-radius: 6px;
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9),
0 14px 40px rgba(0, 0, 0, 0.4);
transform: scale(0.8);
opacity: 0;
transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2),
opacity 0.25s ease;
will-change: transform, opacity;
z-index: 4;
}
.lightio-product-map-viewport.lightio-product-map-open {
transform: scale(1);
opacity: 1;
}
.lightio-product-map-big {
position: absolute;
top: 0;
left: 0;
max-width: none; pointer-events: none;
} .lightio-product-map-modal-layer {
position: fixed;
inset: 0;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.45);
animation: lpm-fade 0.2s ease;
}
@keyframes lpm-fade {
from { opacity: 0; }
to   { opacity: 1; }
}
.lightio-product-map-modal {
position: relative;
max-width: 90vw;
width: 360px;
background: #fff;
border-radius: 12px;
padding: 26px 28px 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
animation: lpm-pop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
@keyframes lpm-pop {
from { transform: scale(0.9); opacity: 0; }
to   { transform: scale(1);   opacity: 1; }
}
.lightio-product-map-modal-title {
font-size: 22px;
font-weight: 700;
color: #111;
margin: 0 0 8px;
}
.lightio-product-map-modal-body {
font-size: 14px;
color: #555;
line-height: 1.6;
margin: 0 0 16px;
}
.lightio-product-map-modal-thumb {
display: block;
width: 100%;
max-height: 170px;
object-fit: contain;
border-radius: 8px;
background: #f7f7f7;
margin: 0 0 16px;
}
.lightio-product-map-modal-cta {
display: inline-block;
background: var(--lpm-accent, #f5a623);
color: #111;
font-weight: 600;
text-decoration: none;
padding: 12px 24px; border-radius: 8px;
transition: filter 0.15s ease, transform 0.1s ease;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.lightio-product-map-modal-cta:hover {
filter: brightness(1.05);
transform: translateY(-1px);
}
.lightio-product-map-modal-close {
position: absolute;
top: 10px;
right: 10px;
min-width: 44px;
min-height: 44px;
border: none;
background: #f2f2f2;
color: #333;
font-size: 13px;
font-weight: 600;
padding: 6px 12px;
border-radius: 6px;
cursor: pointer;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.lightio-product-map-modal-close:hover {
background: #e5e5e5;
} .lightio-product-map-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 8;
width: 48px;
height: 48px;
border: none;
border-radius: 50%;
background: rgba(245, 166, 35, 0.9);
color: #111;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
transition: background 0.15s ease, transform 0.1s ease;
touch-action: manipulation;
}
.lightio-product-map-arrow:hover:not(:disabled) {
background: rgba(245, 166, 35, 1);
transform: translateY(-50%) scale(1.06);
}
.lightio-product-map-arrow:active:not(:disabled) {
transform: translateY(-50%) scale(0.96);
}
.lightio-product-map-arrow:disabled {
opacity: 0.4;
cursor: default;
}
.lightio-product-map-arrow.is-prev {
left: -58px;
}
.lightio-product-map-arrow.is-next {
right: -58px;
}
.lightio-product-map-arrow .lpm-arrow-glyph {
font-size: 18px;
line-height: 1;
} .lightio-product-map-arrow {
-webkit-tap-highlight-color: transparent;
}
.lightio-product-map-dots {
display: flex;
flex-wrap: wrap; justify-content: center;
align-items: center;
gap: 6px;
margin-top: 14px;
padding: 4px 0;
} .lightio-product-map-dot {
position: relative;
flex: 0 0 auto; width: 34px;
height: 34px;
padding: 0;
border: none;
border-radius: 50%;
background: transparent;
cursor: pointer;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.lightio-product-map-dot::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 12px;
height: 12px;
border-radius: 50%;
background: #cfcfcf;
transition: background 0.15s ease, transform 0.1s ease;
}
.lightio-product-map-dot:hover::after {
background: #a8a8a8;
}
.lightio-product-map-dot.is-active::after {
background: var(--lpm-accent, #f5a623);
transform: translate(-50%, -50%) scale(1.2);
}
.lightio-product-map-caption {
text-align: center;
margin-top: 10px;
font-size: 15px;
font-weight: 600;
color: #333;
padding: 2px 16px; }
@media (max-width: 1024px) {
.lightio-product-map-slider {
max-width: 720px;
}
.lightio-product-map-arrow.is-prev {
left: 6px;
}
.lightio-product-map-arrow.is-next {
right: 6px;
}
}
@media (max-width: 600px) {
.lightio-product-map-arrow {
width: 44px;
height: 44px;
} .lightio-product-map-dot {
width: 30px;
height: 30px;
}
.lightio-product-map-caption {
font-size: 14px;
padding: 2px 10px;
}
.lightio-product-map-viewport {
border-radius: 4px;
} .lightio-product-map-cell {
flex-direction: column;
gap: 10px;
}
.lightio-product-map-rail {
flex-direction: row;
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
padding-bottom: 4px;
}
.lightio-product-map-rail-item {
flex: 0 0 86px;
width: 86px;
}
}