/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

/* ==========================================
   GLOBAL TYPOGRAPHY & COLORS
   ========================================== */
.lux-product-section {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #493a33;
    background-color: #ffffff;
    padding: 4em 0;
}

/* ==========================================
   MAIN LAYOUT (Top Alignment Fix)
   ========================================== */
.product-top-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    /* CHANGED to flex-start: Aligns text inline with the top of the image */
    align-items: flex-start; 
}

.product-carousel-col {
    flex: 1 1 50%;
    max-width: 550px;
    margin: 0; /* Removed auto margin to ensure it aligns perfectly left */
    position: sticky;
    top: 20px; /* Optional: Makes the image stick when scrolling down long details */
}

.product-info-col {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    /* Removed center justification to let it naturally start at the top */
}

/* ==========================================
   RIGHT COLUMN TYPOGRAPHY & BUTTON
   ========================================== */
.product-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 42px;
    font-weight: 300; 
    color: #000000;
    margin-top: -5px; /* Fine-tunes the text line-height with the exact top of image */
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.price-tag {
    display: block;
    font-size: 28px;
    font-weight: 400;
    color: #493a33;
    margin-bottom: 30px;
}

.action-buttons {
    margin-bottom: 40px; /* Space between the buy button and the tabs */
}

.btn-lux {
    display: inline-block;
    background-color: #493a33;
    color: #ffffff;
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: 1px solid #493a33;
    transition: all 0.4s ease;
    text-align: center;
    width: 100%;
    max-width: 350px;
}

.btn-lux:hover {
    background-color: #ffba00;
    border-color: #ffba00;
    color: #000000;
    text-decoration: none;
}

/* ==========================================
   CAROUSEL
   ========================================== */
.custom-carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #e2d2c3; 
    overflow: hidden;
}

.custom-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.custom-slide.active {
    display: block;
    animation: fadeEffect 0.8s ease-in-out;
}

.custom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.carousel-dots .dot {
    height: 10px;
    width: 10px;
    margin: 0 8px;
    background-color: transparent;
    border: 1px solid #493a33;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: #ffba00; 
    border-color: #ffba00;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* ==========================================
   LUXURY SIDE TABS (Adjusted for Right Column)
   ========================================== */
.lux-side-tabs {
    width: 100%;
    max-width: 500px;
}

.fh5co-tabs .fh5co-tab-nav {
    display: flex;
    justify-content: flex-start; /* Aligns tabs to the left instead of center */
    gap: 30px; /* Space between tab words */
    margin: 0 0 2em 0;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid #e2d2c3; 
}

.fh5co-tabs .fh5co-tab-nav li {
    margin: 0;
}

.fh5co-tabs .fh5co-tab-nav li a {
    display: block;
    padding: 10px 0;
    color: #493a33;
    font-weight: 600; /* Slightly bolder for visibility */
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px; 
}

.fh5co-tabs .fh5co-tab-nav li.active a,
.fh5co-tabs .fh5co-tab-nav li a:hover {
    opacity: 1;
    color: #000000;
    border-bottom: 2px solid #ffba00; 
}

.custom-tab-content {
    display: none;
    padding: 10px 0;
    text-align: left; /* Switched to Left-Align for column layout */
}

.custom-tab-content.active {
    display: block;
    animation: fadeEffect 0.6s;
}

/* Tab Inner Content Styling */
.lux-details-wrapper {
    max-width: 100%;
}

.main-description {
    font-size: 15px;
    line-height: 1.8;
    color: #493a33;
    margin-bottom: 30px;
}

.lux-subtitle {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

#scent_profile {
    font-size: 15px;
    color: #493a33;
    font-style: italic;
}

.lux-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lux-specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e2d2c3;
    font-size: 14px;
    color: #493a33;
}

.lux-specs-list li:last-child {
    border-bottom: none;
}

.lux-feedback-block blockquote p {
    font-size: 16px;
    font-style: italic;
    color: #493a33;
    line-height: 1.8;
}

.customer-name {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
}

.lux-rate i {
    color: #ffba00; 
    font-size: 14px;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .product-top-layout {
        flex-direction: column;
        gap: 30px;
    }
    .product-carousel-col, .product-info-col {
        max-width: 100%;
        flex: 1 1 100%;
        text-align: center;
    }
    .btn-lux {
        margin: 0 auto;
    }
    .fh5co-tabs .fh5co-tab-nav {
        justify-content: center;
        gap: 15px;
    }
    .custom-tab-content {
        text-align: center;
    }
}