/**
 * ApexCart Product Detail Page (PDP) Stylesheet
 * Authentic Amazon Pro UX & Micro-Interactions
 */

.amazon-pdp-container {
    background: #FFFFFF;
    border: 1px solid #D5D9D9;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Thumbnail Gallery Strip + Main Stage */
.amazon-gallery-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.amazon-thumbs-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 480px;
    overflow-y: auto;
}

.amazon-thumb-card {
    width: 62px;
    height: 62px;
    border: 1.5px solid #D5D9D9;
    border-radius: 8px;
    cursor: pointer;
    padding: 4px;
    background: #FFFFFF;
    object-fit: contain;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.amazon-thumb-card:hover, .amazon-thumb-card.active {
    border-color: #E67A00;
    box-shadow: 0 0 0 2px rgba(230, 122, 0, 0.3);
    transform: scale(1.04);
}

/* Simple Clean Product Showcase Stage Box */
.amazon-stage-card {
    flex: 1;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    cursor: zoom-in;
}

.amazon-main-img {
    max-height: 390px;
    width: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.06));
    position: relative;
    z-index: 2;
}

/* Optical Magnifying Glass Lens Overlay */
.magnifier-lens {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 2.5px solid #E67A00;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.7);
    pointer-events: none;
    display: none;
    z-index: 10;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
}

/* Amazon Badges */
.badge-amazon-choice {
    background: #232F3E;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px 12px 12px 4px;
    border-left: 3px solid #FF9900;
}

.badge-bestseller-tag {
    background: #E67A00;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Amazon Color Swatches & Option Pills */
.amazon-color-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.amazon-color-swatch:hover, .amazon-color-swatch.active {
    transform: scale(1.15);
    border-color: #E67A00;
    box-shadow: 0 0 0 3px rgba(230, 122, 0, 0.35);
}

.amazon-option-btn {
    border: 1px solid #D5D9D9;
    background: #F7F7F7;
    color: #0F1111;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.amazon-option-btn:hover, .amazon-option-btn.active {
    border-color: #E67A00;
    background: #FDF8F2;
    color: #B45309;
    box-shadow: 0 0 0 1px #E67A00;
}

/* Thinking Callout Speech Bubble Tooltip Right Above Button */
.option-select-callout-bubble {
    position: absolute;
    bottom: 108%;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFBEB;
    border: 2px solid #F59E0B;
    color: #92400E;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    white-space: nowrap;
    z-index: 999;
    text-align: center;
    animation: speechBubblePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.option-select-callout-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 9px 9px 0 9px;
    border-style: solid;
    border-color: #F59E0B transparent transparent transparent;
}

@keyframes speechBubblePop {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.85); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* Amazon Sticky Buy Box */
.amazon-buy-box {
    background: #FFFFFF;
    border: 1px solid #D5D9D9;
    border-radius: 12px;
    padding: 1.35rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 90px;
}

.amazon-btn-cart {
    background: #FFD814;
    border: 1px solid #FCD200;
    color: #0F1111;
    font-weight: 800;
    border-radius: 25px;
    padding: 0.7rem 1.25rem;
    box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
    transition: all 0.2s ease;
}

.amazon-btn-cart:hover {
    background: #F7CA00;
    border-color: #F2C200;
    color: #0F1111;
}

.amazon-btn-buynow {
    background: #FFA41C;
    border: 1px solid #FF8F00;
    color: #0F1111;
    font-weight: 800;
    border-radius: 25px;
    padding: 0.7rem 1.25rem;
    box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
    transition: all 0.2s ease;
}

.amazon-btn-buynow:hover {
    background: #FA8900;
    border-color: #E27C00;
    color: #0F1111;
}

/* Guided Tour Dot Indicators */
.tour-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.tour-dot.active {
    width: 18px;
    border-radius: 10px;
    background: #F59E0B;
}
