/* Services Display Styles - SkinClub Brand */

.slyde-services-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Search and Filter Section */
.slyde-services-filters {
    background: transparent;
    padding: 25px;
    border: 1px solid #000000;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.slyde-search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.slyde-search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.slyde-search-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.slyde-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.slyde-location-filter {
    min-width: 200px;
}

.slyde-location-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 16px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.slyde-filter-actions {
    display: flex;
    gap: 10px;
}

.slyde-filter-actions button {
    padding: 12px 24px;
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slyde-filter-actions button:hover {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
}

/* Accordion Styles - SkinClub Brand */
.slyde-services-accordion {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.slyde-category-section {
    border: 2px solid #000000;
    margin-bottom: 20px;
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: transparent;
}

/* Remove bottom margin when category is collapsed */
.slyde-category-section:not(.active) {
    margin-bottom: 0;
}

/* Add margin back to next sibling when collapsed */
.slyde-category-section:not(.active) + .slyde-category-section {
    margin-top: 20px;
}

.slyde-category-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slyde-category-header {
    background: transparent;
    color: #000000;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 2px solid #000000;
}

.slyde-category-header:hover {
    background: #f8f8f8;
}

.slyde-category-header.active {
    background: #000000;
    color: #ffffff;
    border-bottom-color: #000000;
}

.slyde-category-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slyde-category-count {
    font-size: 14px;
    opacity: 0.8;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}

.slyde-category-toggle {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 0;
    transition: all 0.3s ease;
}

.slyde-category-header.active .slyde-category-toggle {
    background: #ffffff;
    border-color: #000000;
}

.slyde-category-header:hover .slyde-category-toggle {
    background: #f8f8f8;
}

.toggle-icon {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 100%;
    /* Compensate for minus sign sitting low */
    transform: translateY(-2px);
}

.slyde-category-header.active .toggle-icon {
    color: #000000;
}

.slyde-category-content {
    display: none;
    padding: 0;
    background: transparent;
    animation: slideDown 0.3s ease;
    border-top: none;
}

/* Add default padding to the grid inside content */
.slyde-category-content .slyde-services-grid {
    padding: 30px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid */
.slyde-services-grid {
    display: grid;
    gap: 20px;
}

.slyde-services-container[data-columns="1"] .slyde-services-grid {
    grid-template-columns: 1fr;
}

.slyde-services-container[data-columns="2"] .slyde-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.slyde-services-container[data-columns="3"] .slyde-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Service Item - SkinClub Brand */
.slyde-service-item {
    background: transparent;
    padding: 25px;
    border-radius: 0;
    border: 1px solid #000000;
    transition: all 0.3s ease;
    position: relative;
}

.slyde-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    border-width: 2px;
    margin: -1px;
}

.slyde-service-item.hidden {
    display: none !important;
}

.slyde-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.slyde-service-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slyde-service-duration {
    background: #000000;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slyde-service-description {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* Pricing - SkinClub Brand */
.slyde-service-pricing {
    margin: 20px 0;
    padding: 20px;
    background: transparent;
    border: 1px solid #000000;
    border-radius: 0;
}

.slyde-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.slyde-price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 13px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.price-amount {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.slyde-price-member .price-amount {
    color: #000000;
}

.slyde-price-vip .price-amount {
    color: #000000;
    font-size: 20px;
}

.price-savings {
    background: #000000;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 0;
    font-size: 11px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Locations - SkinClub Brand */
.slyde-service-locations {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-size: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Removed multiple-locations specific styling - all locations styled the same */

.slyde-service-locations .locations-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.slyde-service-locations .location-tag {
    background: #000000;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.slyde-service-locations .location-tag:hover {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
    text-decoration: none;
}

.slyde-service-locations .location-icon {
    font-size: 14px;
}

/* No Results - SkinClub Brand */
.slyde-services-no-results {
    text-align: center;
    padding: 60px 40px;
    color: #000000;
    border: 2px solid #000000;
    background: #ffffff;
}

.slyde-services-no-results p {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slyde-services-filters {
        flex-direction: column;
    }
    
    .slyde-search-box,
    .slyde-location-filter {
        width: 100%;
    }
    
    .slyde-filter-actions {
        width: 100%;
        justify-content: center;
    }
    
    .slyde-services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .slyde-service-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .slyde-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Loading State - SkinClub Brand */
.slyde-services-loading {
    text-align: center;
    padding: 40px;
}

.slyde-services-loading:after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Highlight Search Results - SkinClub Brand */
.slyde-service-item.search-highlight .slyde-service-title {
    background: #000000;
    color: #ffffff;
    padding: 4px 8px;
}

.slyde-service-item.highlight {
    border: 3px solid #000000;
    margin: -2px;
}

/* WP Grid Builder Compatibility */
.wpgb-card.slyde-service-item {
    height: 100%;
}

.wpgb-card-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slyde-service-pricing {
    margin-top: auto;
}

/* Dropdown Styles - SkinClub Brand */
.slyde-services-dropdown-container {
    max-width: 100%;
    margin: 20px 0;
}

.slyde-dropdown-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    color: #000000;
}

.slyde-dropdown-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.slyde-service-dropdown {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #000000;
    border-radius: 0;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
    transition: all 0.3s ease;
}

.slyde-service-dropdown:hover {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.slyde-service-dropdown:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.slyde-dropdown-details {
    background: #ffffff;
    border: 2px solid #000000;
    padding: 25px;
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

.slyde-dropdown-prices {
    margin-bottom: 25px;
}

.slyde-dropdown-prices .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.slyde-dropdown-prices .price-row:last-child {
    border-bottom: none;
}

.slyde-dropdown-prices .price-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #000000;
}

.slyde-dropdown-prices .price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
}

.slyde-dropdown-prices .price-savings {
    background: #000000;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 0;
    font-size: 11px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.slyde-dropdown-locations {
    padding-top: 20px;
    border-top: 2px solid #000000;
}

.slyde-dropdown-locations .location-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000;
}

.slyde-dropdown-locations .location-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.slyde-dropdown-locations .location-button {
    display: inline-block;
    padding: 12px 24px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #000000;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.slyde-dropdown-locations .location-button:hover {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
    text-decoration: none;
}

/* Responsive styles for dropdown */
@media (max-width: 768px) {
    .slyde-dropdown-locations .location-buttons {
        flex-direction: column;
    }
    
    .slyde-dropdown-locations .location-button {
        width: 100%;
        text-align: center;
    }
}