/* Orbitron font loaded via <link> in index.html for better performance */

/* Book Product Section */
.book-product-section {
    padding: 1rem 0;
    background: #e8e8e8;
}

.product-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.product-image {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: #e8e8e8;
}

.product-gallery {
    position: relative;
    width: 100%;
    max-width: 950px;
}

.product-gallery .gallery-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.product-gallery .gallery-img.active {
    display: block;
}

@media (hover: hover) {
    .product-gallery:hover .gallery-img.active {
        transform: scale(1.02);
    }
}

.gallery-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dot.active {
    background: #3d2817;
}

.gallery-dot:hover {
    background: #73563d;
}

.product-badge {
    position: absolute;
    top: 6rem;
    right: calc(50% - 250px - 2rem);
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-details {
    background: #e8e8e8;
    padding: 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-subtitle {
    font-size: 1rem;
    color: #4a4a4a;
    font-style: normal;
    font-weight: 400;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b6b;
}

.price-original {
    font-size: 1.3rem;
    color: #888;
    text-decoration: line-through;
}

.product-description {
    margin-bottom: 2rem;
}

.product-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2a2a2a;
}

/* Product Type Toggle */
.product-type-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.type-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: transparent;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.type-btn.selected {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.type-btn:hover:not(.selected) {
    border-color: #999;
    color: #333;
}

.bulk-order-note {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-top: 0.5rem;
}

.bulk-order-note a {
    color: #ff6b6b;
    text-decoration: none;
}

.bulk-order-note a:hover {
    text-decoration: underline;
}

.product-actions {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    flex-direction: column;
}

.quantity-selector {
    display: none;
}

.pre-order-btn,
.pre-order-btn:visited {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-decoration: none;
}

@media (hover: hover) {
    .pre-order-btn:hover {
        background: #ff5252;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
        text-decoration: none;
        color: white;
    }
}

.cart-icon {
    width: 20px;
    height: 20px;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    border-top: none;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #2a2a2a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.badge::before {
    content: '☑';
    color: #5b9bd5;
    font-size: 1.2rem;
}

/* Remove emoji from badge text and add checkmark instead */
.badge {
    font-size: 0.85rem;
}

/* Name Notice */
.name-notice {
    font-size: 0.85rem;
    color: #cc0000;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .product-image {
        padding: 3rem 2rem;
    }

    .product-gallery {
        max-width: 450px;
    }

    .product-badge {
        top: 4rem;
        right: 3rem;
    }

    .product-details {
        padding: 3rem 2rem;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .price-current {
        font-size: 2rem;
    }
}

/* Countdown Timer - Digital Style */

.countdown-wrapper {
    background: #e8e8e8;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding: 0;
}

.time-value {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 700;
    color: #cc0000;
    line-height: 1;
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.5);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}

.time-unit {
    font-size: 0.7rem;
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}

.time-separator {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    color: #cc0000;
    margin: 0 0.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .countdown-wrapper {
        padding: 1.5rem 1rem;
    }

    .countdown-label {
        font-size: 0.75rem;
        text-align: center;
    }

    .time-value {
        font-size: 2.5rem;
    }

    .time-separator {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .time-unit {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .time-value {
        font-size: 1.75rem;
    }

    .time-separator {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .product-image {
        padding: 2rem 1rem;
    }

    .product-details {
        padding: 2rem 1rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-current {
        font-size: 1.75rem;
    }

    .product-badge {
        top: 3rem;
        right: 1rem;
    }

    .pre-order-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}