/**
 * Price List Component
 * Reusable service pricing block for Luxury Lashes
 *
 * Usage: Copy HTML template into Elementor HTML widget
 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&family=Libre+Caslon+Display&family=Montserrat:wght@300;400;500&display=swap');

/* Container */
.ll-price-list {
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
}

/* Header - positioned on top of border */
.ll-price-list__header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px; /* Adjust to sit on top border */
    left: 0;
    right: 0;
    z-index: 1;
}

.ll-price-list__title {
    font-family: 'EB Garamond', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5d4e37;
    margin: 0;
    padding: 0 20px;
    white-space: nowrap;
    background-color: #f0ecea; /* Match page background to hide border */
}

/* Content box with full border */
.ll-price-list__content {
    border: 1px solid #5d4e37;
    padding: 50px 40px 30px 40px; /* Extra top padding for title */
    background-color: transparent;
    margin-top: 12px; /* Space for title above */
}

/* Services list */
.ll-price-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ll-price-list__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    gap: 20px;
}

/* Service name with bullet */
.ll-price-list__service {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #5d4e37;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.ll-price-list__service::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #5d4e37;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    top: -2px;
}

/* Price */
.ll-price-list__price {
    font-family: 'Libre Caslon Display', 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 500;
    font-style: italic;
    color: #5d4e37;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Dotted line between service and price (optional variant) */
.ll-price-list--dotted .ll-price-list__item {
    position: relative;
}

.ll-price-list--dotted .ll-price-list__service {
    background-color: #f5f0eb;
    padding-right: 10px;
    position: relative;
    z-index: 1;
}

.ll-price-list--dotted .ll-price-list__price {
    background-color: #f5f0eb;
    padding-left: 10px;
    position: relative;
    z-index: 1;
}

.ll-price-list--dotted .ll-price-list__item::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    border-bottom: 1px dotted #5d4e37;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .ll-price-list {
        padding: 15px 0;
    }

    .ll-price-list__title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .ll-price-list__content {
        padding: 40px 25px 20px 25px;
    }

    .ll-price-list__service {
        font-size: 16px;
    }

    .ll-price-list__price {
        font-size: 18px;
    }

    .ll-price-list__item {
        padding: 10px 0;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .ll-price-list__title {
        font-size: 16px;
        letter-spacing: 1px;
        padding: 0 15px;
    }

    .ll-price-list__content {
        padding: 35px 15px 15px 15px;
    }

    .ll-price-list__service {
        font-size: 14px;
    }

    .ll-price-list__price {
        font-size: 16px;
    }

    .ll-price-list__item {
        flex-wrap: wrap;
        gap: 5px;
    }

    /* On very small screens, price goes below */
    .ll-price-list__service {
        flex: 1 1 100%;
    }

    .ll-price-list__price {
        margin-left: 18px;
    }
}
