/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Manrope:wght@400;500;600&display=swap');

:root {
    --primary: #1db954;
    --white: #fff;
    --light-gray: #f5f5f5;
    --gray: #666;
    --black: #111;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* GLOBAL RESET */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Manrope', sans-serif; /* Default = subheading font */
}

body {
    background-color: #fafafa;
    color: var(--black);
}

/* ================= HEADER ================= */
.header { 
    background: var(--white); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid var(--light-gray); 
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: 60px;
    position: relative;
}

/* LOGO CENTER */
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.logo { 
    height: 80px; 
    width: auto;
    object-fit: contain;
}

.back-icon { 
    color: var(--black); 
    font-size: 20px;
    text-decoration: none;
    z-index: 10;
}

/* ================= MENU ================= */
.menu-container { 
    position: relative; 
    z-index: 10;
}

.menu-icon { 
    font-size: 22px; 
    cursor: pointer; 
    padding: 5px; 
}

.side-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.side-menu.active { 
    display: flex; 
}

.side-menu a {
    padding: 14px 20px;
    text-decoration: none;
    color: var(--black);
    font-size: 14px;
}

.side-menu a:hover { 
    background: var(--light-gray); 
}

/* ================= FILTER BAR ================= */
.filter-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 15px;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { 
    display: none;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 25px;
    border: 1px solid #ddd;
    background: var(--white);
    cursor: pointer;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
}

.filter-btn.active { 
    background: var(--primary); 
    color: white; 
    border-color: var(--primary); 
}

/* ================= HERO ================= */
.hero-text { 
    padding: 25px 15px; 
}

.hero-text h1 { 
    font-size: 22px; 
    font-weight: 700;
    font-family: 'Sora', sans-serif; /* MAIN HEADING */
    margin-bottom: 5px; 
}

.hero-text span { 
    color: var(--primary); 
}

.sub { 
    font-size: 14px; 
    color: var(--gray); 
    font-family: 'Manrope', sans-serif; /* SUBHEADING */
}

/* ================= SALON FEED ================= */
.salon-feed { 
    padding: 0 15px 80px; 
}

.card-container {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid var(--light-gray);
}

/* IMAGE */
.image-section { 
    position: relative; 
    height: 220px; 
    width: 100%;
}

.image-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 100%;
    scrollbar-width: none;
}

.image-slider::-webkit-scrollbar {
    display: none;
}

.image-slider img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BADGES */
.badge-top-left {
    position: absolute; 
    top: 12px; 
    left: 12px;
    background: rgba(255, 255, 255, 0.9); 
    padding: 5px 10px;
    font-size: 11px; 
    font-weight: 700; 
    border-radius: 6px;
}

.rating-badge {
    position: absolute; 
    bottom: 12px; 
    left: 12px;
    background: rgba(255, 255, 255, 0.9); 
    padding: 5px 10px; 
    border-radius: 6px;
    font-size: 12px; 
    font-weight: 700;
}

.fav-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    font-size: 20px;
}

/* ================= CARD INFO ================= */
.card-info { 
    padding: 16px; 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
}

.details h3 { 
    font-size: 18px; 
    margin-bottom: 4px; 
    font-family: 'Sora', sans-serif; /* HEADING */
}

.details p { 
    font-size: 13px; 
    color: var(--gray); 
    margin-bottom: 8px;
    font-family: 'Manrope', sans-serif; /* SUBTEXT */
}

.urgency-text {
    font-size: 11px;
    color: #d32f2f;
    font-weight: 600;
    margin-bottom: 8px;
}

/* PRICE */
.price-row { 
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price { 
    font-weight: 800; 
    font-size: 18px; 
}

.original-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 13px;
}

.discount-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

/* BUTTON */
.book-btn {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
}

/* FOOTER */
.bottom-info { 
    padding: 40px 20px; 
    text-align: center; 
    color: var(--gray); 
    font-size: 13px; 
    font-family: 'Manrope', sans-serif;
}