/* ===== PRODUCT SLIDER ===== */
.main-slider-section {
    padding: 80px 0;
    background: var(--light);
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 30px;
}

.slide {
    min-width: 100%;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.slide:hover {
    transform: scale(1.02);
}

.slide-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: var(--light);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    padding: 20px;
}

.slide-info {
    text-align: center;
}

.slide-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.slide-info p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.slide-price {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.05);
}

.slider-prev,
.slider-next {
    background: var(--secondary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* Auto-slide Timer */
.auto-slide-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timer-bar {
    flex: 1;
    height: 6px;
    background: var(--light);
    border-radius: 3px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background: var(--secondary);
    width: 0%;
    transition: width 0.1s linear;
}

#pauseTimer {
    background: transparent;
    border: none;
    color: var(--secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

#pauseTimer:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* ===== PRODUCT DETAILS VIEW ===== */
.product-details-section {
    padding: 80px 0;
    display: none;
}

.product-details-section.active {
    display: block;
}

.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    min-height: 500px;
}

.product-image-full {
    background: var(--light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-image-full img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-info-full {
    padding: 30px;
}

.product-info-full h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.product-price {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 30px;
    color: var(--gray);
    line-height: 1.8;
}

.product-specs {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
}

.spec-label {
    color: var(--primary);
    font-weight: 500;
}

.spec-value {
    color: var(--gray);
}

.order-actions {
    display: flex;
    gap: 20px;
}

/* ===== PRODUCT MODAL ===== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.product-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    margin: 5vh auto;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.modal-image {
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-details {
    padding: 50px;
    overflow-y: auto;
}

.modal-details h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.modal-price {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 30px;
}

/* Queue Display */
.queue-display {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    max-width: 200px;
}

.queue-display h4 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin-bottom: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.queue-item:hover {
    background: rgba(255,255,255,0.2);
}

.queue-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

.queue-item.active {
    background: var(--secondary);
}