/* ---------- Homepage ---------- */
.store-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}
 
.info-column { display: flex; flex-direction: column; gap: 1.5rem; }
 
.info-card {
    background-color: var(--cream);
    border: 1px solid var(--line);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
}
 
.info-card h2 {
    text-align: center;
    color: var(--brown);
    font-size: 1.4rem;
    margin: 0 0 1rem;
}
 
.price-rows { list-style: none; padding: 0; margin: 0; }
 
.price-rows li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}
 
.price-rows li:last-child { border-bottom: none; }
 
.price-rows .label { font-weight: 600; }
.price-rows .value { font-weight: 700; text-align: right; white-space: nowrap; }
 
.open-status {
    margin: 0 0 1rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--line);
}
 
.open-status[hidden] { display: none; }
.open-status.is-open { color: var(--open); }
.open-status.is-closed { color: var(--closed); }
 
.note { margin: 1rem 0 0; color: var(--muted); font-size: 0.9rem; text-align: center; }
 
/* ---------- Slideshow (sliding) ---------- */
.slideshow {
    position: sticky;
    top: 98px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--sand);
    height: calc(100vh - 130px);
    min-height: 420px;
    touch-action: pan-y;          /* let phones scroll up/down, we handle left/right */
    user-select: none;
}
 
.slideshow:focus-visible { outline-offset: 4px; }
 
.slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
}
 
.slides-track.no-anim { transition: none; }
 
.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
}
 
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 248, 238, 0.88);
    color: var(--brown);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
 
.slide-arrow:hover { background: var(--cream); }
.slide-arrow.prev { left: 12px; }
.slide-arrow.next { right: 12px; }
 
/* Phones and tablets: no arrows, people swipe instead */
@media (hover: none) and (pointer: coarse) {
    .slide-arrow { display: none; }
}
 
.image_select {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    z-index: 5;
    align-items: center;
}

.slide-pause {
    width: 28px;
    height: 28px;
    margin: -4px 2px -4px -4px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.slide-pause:hover,
.slide-pause:active { background: rgba(255, 255, 255, 0.2); }
.slide-pause .icon-play { display: none; }
.slideshow.is-paused .slide-pause .icon-pause { display: none; }
.slideshow.is-paused .slide-pause .icon-play { display: block; }
 
.dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: background-color 0.3s;
    -webkit-tap-highlight-color: transparent;
}
 
.dot.active { background-color: #fff; }
 
@media (max-width: 860px) {
    .store-layout { grid-template-columns: 1fr; padding: 1rem; gap: 1.25rem; }
    .slideshow {
        order: -1;
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}
 
@media (prefers-reduced-motion: reduce) {
    .slides-track { transition: none; }
}