/* =====================================================
   OKI DUCKY — product.css
   ===================================================== */

.od-product-gallery { position: relative; }

.od-gallery-main {
    background: var(--od-secondary);
    border-radius: var(--od-radius-card);
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.od-gallery-main img { width: 100%; display: block; }

/* Hover Zoom — desktop + mobile */
.od-zoom-wrap {
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    border-radius: inherit;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}
.od-zoom-wrap img {
    transition: transform 0.18s ease-out;
    transform-origin: center center;
    will-change: transform;
    display: block;
    width: 100%;
}
.od-zoom-wrap.is-zoomed { cursor: zoom-out; }
.od-zoom-wrap.is-zoomed img { transform: scale(2.2); }

.od-zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(26,26,26,0.85);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    z-index: 1;
}
.od-zoom-wrap.is-zoomed .od-zoom-hint { opacity: 0; }

.od-zoom-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(26,26,26,0.9);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}
.od-zoom-wrap.is-zoomed ~ .od-zoom-close { display: flex; }
@media (hover: hover) and (pointer: fine) {
    .od-zoom-wrap:hover .od-zoom-hint { opacity: 0; }
    .od-zoom-close { display: none !important; }
}

/* Lightbox — móvil fullscreen */
.od-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(248,246,241,0.98);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 60px;
}
.od-lightbox.is-open { display: flex; }
.od-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    touch-action: pan-x pan-y pinch-zoom;
}
.od-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #1A1A1A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.od-lightbox-nav { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
.od-lightbox-nav button {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(26,26,26,0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.od-lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.od-wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--od-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--od-shadow-sm);
    z-index: 2;
}

.od-wishlist-btn:hover { color: var(--od-accent); }

.od-gallery-thumbs {
    display: flex;
    gap: 8px;
}

.od-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--od-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--od-transition);
}

.od-thumb.active { border-color: var(--od-primary); }
.od-thumb img { width: 100%; height: 100%; object-fit: cover; }

.od-product-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.od-product-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.od-product-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.od-product-trust {
    border-top: 1px solid var(--od-border-light);
    padding-top: 16px;
}

.od-product-trust small { font-size: 0.82rem; }

@media (max-width: 768px) {
    .od-gallery-thumbs { overflow-x: auto; }
    .od-thumb { min-width: 56px; }
}
