/* ----------------------------------- */
/* GENERAL STYLES & RESETS */
/* ----------------------------------- */

/* Ensure the rest of the page uses your font sizes */
body, p, h1, h2, h3, .sales-blurb {
    font-size: inherit;
}

/* ----------------------------------- */
/* PAGE TITLE SECTION */
/* ----------------------------------- */
.page-title-container {
    text-align: center;
    max-width: 1800px;
    width: 95%;
    margin: 8rem auto 2rem;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: #d14b00;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #d14b00;
    border-radius: 3px;
}

.page-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #5c534a;
    max-width: 680px;
    margin: 1.5rem auto 0;
    line-height: 1.5;
    min-height: 1.8rem;
    width: 100%;
    font-style: italic;
    position: relative;
}

#rotating-subtitle::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 5px;
    color: #d14b00;
}

/* ----------------------------------- */
/* FIRESTARTER SALES SECTION */
/* ----------------------------------- */
.firestarter-sales {
    display: flex;
    gap: 5rem;
    max-width: 1200px;
    margin: 5rem auto 2rem;
    padding: 0 2rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.firestarter-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
    max-height: 80vh;
    width: 100%;
    max-width: 400px;
}

/* Swiper Carousel Styles */
.firestarter-swiper {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.firestarter-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    width: 100%;
    aspect-ratio: 3/4;
}

.firestarter-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Navigation Buttons */
.firestarter-swiper .swiper-button-next,
.firestarter-swiper .swiper-button-prev {
    color: #d14b00;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
}

.firestarter-swiper .swiper-button-next {
    right: 10px;
}

.firestarter-swiper .swiper-button-prev {
    left: 10px;
}

.firestarter-swiper .swiper-button-next:after,
.firestarter-swiper .swiper-button-prev:after {
    font-size: 20px;
}

.firestarter-swiper .swiper-button-next:hover,
.firestarter-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    color: #e74c3c;
}

/* Thumbnails */
.firestarter-thumbs {
    width: 100%;
    height: 80px;
    margin-top: 1rem;
}

.firestarter-thumbs .swiper-slide {
    width: 60px;
    height: 80px;
    opacity: 0.4;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    aspect-ratio: 3/4;
}

.firestarter-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #d14b00;
}

.firestarter-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.firestarter-swiper .swiper-pagination {
    position: relative;
    margin-top: 1rem;
    z-index: 3;
}

.firestarter-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d14b00;
    opacity: 0.5;
}

.firestarter-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #d14b00;
}

.sales-blurb-column {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.sales-blurb {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: 'Lora', serif;
}

/* Price Tag Styling */
.price-tag-container {
    margin: 2rem 0 1.5rem;
    text-align: center;
}

.price-tag {
    font-size: 3.5rem;
    font-weight: bold;
    color: #e74c3c;
    display: inline-block;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.price-tag::before {
    content: "$";
    font-size: 2rem;
    position: relative;
    top: -0.8rem;
    left: -0.3rem;
}

.price-tag-label {
    display: block;
    font-style: italic;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #555;
    font-family: 'Lora', serif;
}

/* Buy Button Container */
.buy-button-container {
    margin: 1rem 0 2rem;
    text-align: center;
    animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.buy-button-wrapper {
    display: inline-block;
    transition: all 0.3s ease;
}

.buy-button-wrapper:hover {
    transform: scale(1.05);
}

/* Override Shopify Button Styles */
.shopify-buy__btn {
    font-size: 1.3rem !important;
    padding: 15px 30px !important;
    background-color: #e74c3c !important;
    border-radius: 30px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.shopify-buy__btn:hover {
    background-color: #c0392b !important;
    box-shadow: 0 7px 20px rgba(231, 76, 60, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* FAQ Section */
.buy-faq {
    max-width: 1000px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.buy-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    color: #333;
}

.faq-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'Lora', serif;
}

.faq-item ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.faq-item li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
    font-family: 'Lora', serif;
}

.faq-item li::before {
    content: "•";
    color: #e74c3c;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Responsive styles */
@media (max-width: 991px) {
    .firestarter-sales {
        flex-direction: column;
        gap: 2rem;
    }
    
    .firestarter-left {
        position: relative;
        top: 0;
        align-self: center;
        margin-bottom: 1.5rem;
    }
    
    .firestarter-left img {
        max-width: 70%;
    }
    
    .sales-blurb-column {
        max-width: 100%;
        padding-top: 0;
    }
    
    .buy-button-container {
        display: flex;
        justify-content: center;
        margin: 1.5rem auto;
    }

    .price-tag-container {
        margin: 2rem auto 1rem;
    }
}

@media (max-width: 576px) {
    .firestarter-sales {
        padding: 0 1rem;
    }
    
    .firestarter-left img {
        max-width: 100%;
    }
    
    .sales-blurb {
        font-size: 1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.3rem;
    }
    
    .price-tag {
        font-size: 3rem;
    }
    
    .price-tag-label {
        font-size: 1rem;
    }
}

/* ----------------------------------- */
/* RESPONSIVE LAYOUTS */
/* ----------------------------------- */

/* Large Desktops */
@media (max-width: 1200px) {
    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .firestarter-sales {
        gap: 4rem;
        margin-top: 4rem;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-title-container {
        margin: 7rem auto 2rem;
    }
    
    .firestarter-sales {
        padding: 3rem 2rem;
        gap: 3rem;
        margin-top: 3.5rem;
    }
    
    .firestarter-left, .firestarter-carousel {
        flex: 0 0 35%;
        max-width: 280px;
    }
    
    .sales-blurb-column {
        flex: 0 0 60%;
    }
    
    .sales-blurb {
        font-size: 1rem;
    }
    
    .cta-button, .firestarter-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .buy-faq {
        padding: 2rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .page-title-container {
        margin: 6rem auto 1rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-title::after {
        width: 60px;
        height: 2px;
    }
    
    .page-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .firestarter-sales {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .firestarter-left {
        position: relative;
        top: 0;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .firestarter-swiper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .firestarter-swiper .swiper-slide {
        aspect-ratio: 3/4;
    }
    
    .firestarter-swiper .swiper-slide img {
        object-fit: contain;
    }
    
    .firestarter-thumbs {
        max-width: 400px;
        margin: 1rem auto 0;
    }
    
    .sales-blurb-column {
        margin-top: 0;
        align-items: center;
    }
    
    .sales-blurb {
        text-align: center;
    }
    
    .buy-button-wrapper {
        margin: 20px auto;
    }
    
    .sales-blurb-column .buy-button-container {
        align-self: center;
    }
    
    .buy-faq {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .faq-item p {
        font-size: 1rem;
    }
    
    .price-tag-container {
        justify-content: center;
        margin: 1.5rem auto;
    }
    
    .shopify-buy__btn {
        padding: 15px 28px !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .cta-button, .firestarter-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .firestarter-carousel img, .firestarter-left img {
        max-width: 220px;
        display: block;
        margin: 0 auto;
    }
    
    .firestarter-carousel p {
        font-size: 1.3rem;
    }
    
    .buy-faq {
        padding: 1.25rem;
    }
    
    .faq-item h3 {
        padding-left: 1.2rem;
    }
    
    .faq-item p {
        padding-left: 1.2rem;
    }
    
    .faq-item ul {
        padding-left: 2rem;
    }
}

/* ----------------------------------- */
/* ANIMATIONS */
/* ----------------------------------- */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}