/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    padding-bottom: 160px;
    position: relative;
    background-color: #faf7f2;
    color: #2c2c2c;
}

/* Announcement Banner */
.announcement-banner {
    position: sticky;
    top: 0;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #fff;
    padding: 12px 0;
    z-index: 1000;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.2);
    white-space: nowrap;
}

.marquee {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Gallery */
.gallery {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin-bottom: 10px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 20px;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.thumbnail {
    width: 70px;
    height: 70px;
    min-width: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thumbnail:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.thumbnail.active {
    opacity: 1;
    border: 3px solid #ff6b6b;
    transform: translateY(-4px);
}

/* Product Info */
.product-title {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.product-price {
    font-size: 28px;
    font-weight: 500;
    margin: 0 auto 25px;
    color: #ff6b6b;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
}

.product-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-description {
    margin-bottom: 30px;
    text-align: left;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
}

.product-description p {
    margin-bottom: 20px;
}

/* Reviews Section */
.reviews {
    margin-top: 50px;
    margin-bottom: 20px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 0, 0, 0.06);
}

.reviews h2 {
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.review {
    background: white;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.review:hover {
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 17px;
}

.review-rating {
    color: #ffba08;
    font-size: 18px;
}

.review-text {
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 15px;
}

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.options {
    display: flex;
    gap: 10px;
}

select {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #2c2c2c;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:hover {
    border-color: rgba(255, 107, 107, 0.5);
}

select:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.checkout-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.checkout-button:active {
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 24px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.4s ease forwards;
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 600;
}

.modal-content p {
    margin-bottom: 25px;
    font-size: 18px;
    color: #4a4a4a;
}

.modal-content strong {
    color: #ff6b6b;
    font-size: 24px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
}

.close-modal {
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* Media Queries for larger screens */
@media (min-width: 768px) {
    .sticky-footer {
        flex-direction: row;
        align-items: center;
        padding: 15px 40px;
    }

    .options {
        flex: 1;
    }

    .checkout-button {
        width: auto;
        padding: 12px 40px;
    }
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.order-details {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-top: 30px;
}

.order-info {
    margin: 25px 0;
    text-align: left;
}

.order-info p {
    margin: 15px 0;
    font-size: 18px;
    color: #4a4a4a;
}

.order-info strong {
    color: #1a1a1a;
    min-width: 120px;
    display: inline-block;
}

.confirmation-message {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    text-align: left;
}

.confirmation-message p {
    margin: 10px 0;
    color: #4a4a4a;
}

.confirmation-message a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.confirmation-message a:hover {
    text-decoration: underline;
}
