/* =====================================================
   Fabulous Flowers - Main Stylesheet
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary:       #9B2335;
    --primary-light: #C4526A;
    --primary-dark:  #6D1826;
    --secondary:     #2C5F2E;
    --secondary-light:#4A8C4D;
    --accent:        #D4AF37;
    --cream:         #FFF8F2;
    --light-pink:    #FDF0F4;
    --dark:          #1C1C1E;
    --text:          #3A3A3A;
    --text-muted:    #767676;
    --border:        #E8D5DA;
    --white:         #FFFFFF;
    --shadow:        0 4px 20px rgba(155,35,53,0.12);
    --shadow-lg:     0 10px 40px rgba(155,35,53,0.18);
    --radius:        12px;
    --radius-sm:     6px;
    --transition:    all 0.3s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.25;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ---------- Utility ---------- */
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }
.bg-cream { background: var(--cream); }
.bg-light-pink { background: var(--light-pink); }

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}
.section-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0.75rem auto 1.5rem;
}
.section-divider.left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(155,35,53,0.3);
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155,35,53,0.4);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #B8962E);
    color: var(--dark);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-accent:hover {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.5);
}

.btn-green {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}
.btn-green:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44,95,46,0.35);
}

/* ---------- Topbar ---------- */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    padding: 7px 0;
    font-size: 0.82rem;
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: var(--accent); }
.topbar .topbar-icon { margin-right: 5px; color: var(--accent); }

/* ---------- Navbar ---------- */
.navbar-main {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.brand-logo {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(155,35,53,0.3);
}
.brand-text .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    line-height: 1.1;
}
.brand-text .brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.nav-link-main {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 28px 14px !important;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.2px;
}
.nav-link-main::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}
.nav-link-main:hover,
.nav-link-main.active { color: var(--primary) !important; }
.nav-link-main:hover::after,
.nav-link-main.active::after { transform: scaleX(1); }

.nav-cart-btn {
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    padding: 8px 18px !important;
    font-weight: 600;
    font-size: 0.88rem;
    margin-left: 10px;
    position: relative;
}
.nav-cart-btn:hover { background: var(--primary-dark); color: white !important; }
.nav-cart-btn::after { display: none !important; }
.cart-badge {
    position: absolute; top: 2px; right: 4px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=1920&q=80') center/cover no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(109,24,38,0.82) 0%,
        rgba(44,95,46,0.55) 60%,
        rgba(0,0,0,0.3) 100%);
}
.hero-content { position: relative; z-index: 2; color: white; }
.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: white;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-title span { color: var(--accent); }
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 2rem;
}
.hero-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    backdrop-filter: blur(4px);
}
.hero-scroll {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 1.4rem;
    animation: bounce 2s infinite;
    z-index: 2;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Services Strip ---------- */
.services-strip {
    background: var(--primary-dark);
    padding: 25px 0;
}
.service-item {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.9);
}
.service-item i {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}
.service-item-text { font-size: 0.88rem; line-height: 1.3; }
.service-item-text strong { display: block; color: white; font-size: 0.92rem; }

/* ---------- Occasions Section ---------- */
.occasion-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.occasion-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.occasion-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.occasion-card:hover img { transform: scale(1.07); }
.occasion-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 55%);
}
.occasion-content {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    color: white;
}
.occasion-content h5 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.occasion-content p { font-size: 0.78rem; opacity: 0.85; margin: 0; }

/* ---------- Product Cards ---------- */
.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    transition: var(--transition);
    height: 100%;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.product-badge.discount { background: var(--secondary); }
.product-actions {
    position: absolute; top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(10px);
    transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
    width: 36px; height: 36px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.product-action-btn:hover { background: var(--primary); color: white; }
.product-body {
    padding: 16px;
    flex: 1;
    display: flex; flex-direction: column;
}
.product-category {
    font-size: 0.72rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}
.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.35;
}
.product-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex: 1;
    line-height: 1.55;
}
.product-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 10px;
}
.product-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}
.product-price .old-price {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 4px;
}
.btn-add-cart {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-add-cart:hover { background: var(--primary-dark); transform: scale(1.03); }

/* ---------- Stats Section ---------- */
.stat-item { text-align: center; padding: 20px; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- About Snippet ---------- */
.about-img-stack { position: relative; }
.about-img-main {
    border-radius: var(--radius);
    width: 100%;
    height: 450px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.about-img-accent {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 200px; height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 5px solid white;
    box-shadow: var(--shadow);
}
.about-badge-float {
    position: absolute;
    top: 20px; left: -20px;
    background: var(--primary);
    color: white;
    padding: 14px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.about-badge-float .num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}
.about-badge-float .lbl { font-size: 0.72rem; opacity: 0.9; }

/* ---------- Testimonial Slider ---------- */
.tslider-wrap {
    position: relative;
    padding: 0 44px;
}
.tslider-viewport {
    overflow: hidden;
}
.tslider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: stretch;
}
.tslider-slide {
    flex: 0 0 33.3333%;
    padding: 8px 12px;
    box-sizing: border-box;
}
@media (max-width: 991px) {
    .tslider-slide { flex: 0 0 50%; }
}
@media (max-width: 639px) {
    .tslider-wrap { padding: 0 36px; }
    .tslider-slide { flex: 0 0 100%; }
}
.tslider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.tslider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.tslider-prev { left: 0; }
.tslider-next { right: 0; }
.tslider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.tslider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tslider-dot.active {
    background: var(--primary);
    width: 26px;
    border-radius: 4px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute; top: 16px; right: 22px;
    font-size: 4rem;
    color: var(--light-pink);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 12px; }
.testimonial-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 18px;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.testimonial-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    display: block;
}
.testimonial-author-event {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 500;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1522412218835-0952b72bf2c3?w=1920&q=60') center/cover;
    opacity: 0.1;
}
.cta-content { position: relative; z-index: 2; }

/* ---------- Gallery Grid ---------- */
.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(155,35,53,0.75);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: white; font-size: 2rem; }

/* ---------- Contact ---------- */
.contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}
.contact-icon {
    width: 52px; height: 52px;
    background: var(--light-pink);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.form-control-custom {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 15px;
    font-size: 0.9rem;
    width: 100%;
    transition: var(--transition);
    background: white;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
}
.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(155,35,53,0.1);
}
.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    display: block;
}

/* ---------- Team Cards ---------- */
.team-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-img-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;
}
.team-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.06); }
.team-body { padding: 20px; }
.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
}
.team-role {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}
.team-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Timeline ---------- */
.timeline-wrap { position: relative; padding: 20px 0; }
.timeline-wrap::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 40px;
    position: relative;
}
.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}
.timeline-dot {
    position: absolute;
    left: 50%; top: 20px;
    transform: translateX(-50%);
    width: 16px; height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
    z-index: 1;
}
.timeline-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    max-width: 380px;
    border-left: 4px solid var(--primary);
}
.timeline-year {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.timeline-title { font-size: 1rem; color: var(--dark); margin-bottom: 6px; }
.timeline-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- Breadcrumb ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1487530811015-780780869b97?w=1920&q=40') center/cover;
    opacity: 0.08;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
.breadcrumb-custom { list-style: none; display: flex; gap: 6px; align-items: center; padding: 0; margin: 0; }
.breadcrumb-custom li { font-size: 0.83rem; color: rgba(255,255,255,0.7); }
.breadcrumb-custom li a { color: rgba(255,255,255,0.85); }
.breadcrumb-custom li a:hover { color: var(--accent); }
.breadcrumb-custom li + li::before { content: '/'; margin-right: 6px; }

/* ---------- Shop Sidebar ---------- */
.shop-sidebar {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}
.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.category-filter-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text);
    transition: var(--transition);
}
.category-filter-item:hover,
.category-filter-item.active { color: var(--primary); }
.category-count {
    background: var(--light-pink);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
}

/* ---------- Cart ---------- */
.cart-table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 12px 16px;
    background: var(--light-pink);
    border: none;
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product-img {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.qty-control {
    display: flex; align-items: center; gap: 8px;
}
.qty-btn {
    width: 28px; height: 28px;
    border: 1.5px solid var(--border);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.qty-input {
    width: 40px;
    text-align: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
    font-size: 0.9rem;
}
.cart-summary {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}
.summary-row {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

/* ---------- FAQ ---------- */
.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary); background: var(--light-pink); }
.faq-question.active { color: var(--primary); background: var(--light-pink); }
.faq-question i { transition: transform 0.3s; font-size: 0.8rem; color: var(--primary); }
.faq-question.active i { transform: rotate(45deg); }
.faq-answer {
    padding: 0 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
}
.faq-answer.open { max-height: 300px; padding: 0 20px 18px; }

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding-top: 70px;
}
.footer-logo { margin-bottom: 16px; }
.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: white;
}
.footer-desc { font-size: 0.85rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    transition: var(--transition);
    font-size: 0.85rem;
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.footer-heading {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.08);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact-item {
    display: flex; gap: 10px; align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    margin-top: 50px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- Toast / Alert ---------- */
.toast-container-custom {
    position: fixed;
    top: 80px; right: 20px;
    z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
}
.toast-custom {
    background: white;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 12px;
    font-size: 0.88rem;
    min-width: 280px;
    border-left: 4px solid var(--primary);
    animation: slideIn 0.3s ease;
}
.toast-custom.success { border-color: var(--secondary); }
.toast-custom.error   { border-color: #dc3545; }
@keyframes slideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ---------- Map Container ---------- */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-container iframe { display: block; }

/* ---------- Page Alert ---------- */
.alert-custom {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 16px;
    border: 1px solid;
}
.alert-success { background: #d4edda; border-color: #28a745; color: #155724; }
.alert-error   { background: #f8d7da; border-color: #dc3545; color: #721c24; }
.alert-info    { background: #cce5ff; border-color: #004085; color: #004085; }

/* ---------- Checkout Steps ---------- */
.checkout-steps {
    display: flex; justify-content: center;
    gap: 0; margin-bottom: 40px;
}
.step {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--text-muted);
}
.step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700;
}
.step.active .step-num { background: var(--primary); color: white; }
.step.active { color: var(--primary); }
.step.done .step-num { background: var(--secondary); color: white; }
.step-divider { width: 60px; height: 2px; background: var(--border); margin: 0 8px; }

/* ---------- Price Range Slider ---------- */
input[type=range] {
    -webkit-appearance: none;
    width: 100%; height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px; height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .timeline-wrap::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding: 0 0 0 55px;
        justify-content: flex-start;
    }
    .timeline-dot { left: 20px; }
    .timeline-card { max-width: 100%; }
    .about-img-accent { width: 140px; height: 140px; right: -10px; }
    .about-badge-float { left: -10px; }
}

@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
    .hero { min-height: 70vh; }
    .hero-desc { font-size: 0.95rem; }
    .services-strip .row > div + div { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 12px; padding-top: 12px; }
    .nav-link-main { padding: 12px 0 !important; }
    .nav-link-main::after { display: none; }
}

/* =====================================================
   MOBILE-FIRST RESPONSIVE IMPROVEMENTS
   ===================================================== */

/* ---------- Touch Targets ---------- */
.btn-primary-custom,
.btn-outline-custom,
.btn-accent,
.btn-add-cart,
.product-action-btn {
    min-height: 44px;
    min-width: 44px;
}

/* ---------- Navbar Mobile ---------- */
@media (max-width: 991px) {
    .navbar-main {
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 12px rgba(155,35,53,0.1);
    }
    #mobileNav {
        background: white;
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 0 4px 8px;
    }
    #mobileNav .nav-link-main {
        border-radius: var(--radius-sm);
        padding: 11px 14px !important;
        margin-bottom: 2px;
        font-size: 0.95rem;
    }
    #mobileNav .nav-link-main:hover,
    #mobileNav .nav-link-main.active {
        background: var(--light-pink);
        color: var(--primary);
    }
    .topbar { display: none !important; }
}

/* ---------- Hero Mobile ---------- */
@media (max-width: 575px) {
    .hero { min-height: 85vh; padding-top: 30px; }
    .hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem) !important; }
    .hero-desc { font-size: 0.88rem; }
    .hero-badges { gap: 6px; }
    .hero-badge { font-size: 0.72rem; padding: 5px 10px; }
    .hero-content { padding: 20px 0; }
}

/* ---------- Section Spacing Mobile ---------- */
@media (max-width: 575px) {
    .section-padding    { padding: 48px 0; }
    .section-padding-sm { padding: 36px 0; }
    .section-title      { font-size: clamp(1.4rem, 6vw, 1.9rem); }
}

/* ---------- Product Cards Mobile ---------- */
@media (max-width: 575px) {
    .product-card { margin-bottom: 4px; }
    .product-img-wrap img { height: 200px; }
    .product-body { padding: 14px; }
    .product-name { font-size: 0.95rem; }
    .product-price { font-size: 1.05rem; }
    .btn-add-cart { padding: 8px 12px; font-size: 0.78rem; }
}

/* ---------- Shop Sidebar Mobile ---------- */
.shop-sidebar-toggle {
    display: none;
    width: 100%;
    background: var(--light-pink);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    text-align: left;
    margin-bottom: 12px;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 991px) {
    .shop-sidebar-toggle { display: flex; }
    .shop-sidebar-body { display: none; }
    .shop-sidebar-body.open { display: block; }
    .shop-sidebar {
        border: 1.5px solid var(--border);
        border-radius: var(--radius);
        padding: 14px;
        margin-bottom: 20px;
    }
}

/* ---------- Cart / Checkout Mobile ---------- */
@media (max-width: 991px) {
    .cart-summary {
        position: static !important;
        margin-top: 20px;
    }
}
@media (max-width: 575px) {
    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) { display: none; }
    .checkout-steps { gap: 4px; }
    .step-divider { width: 24px; }
}

/* ---------- Gallery Mobile ---------- */
@media (max-width: 575px) {
    .gallery-item img { height: 180px; }
}

/* ---------- Contact Cards Mobile ---------- */
@media (max-width: 575px) {
    .contact-card { padding: 20px 16px; }
}

/* ---------- Footer Mobile ---------- */
@media (max-width: 767px) {
    .footer { padding-top: 48px; }
    .footer .row > div { margin-bottom: 24px; }
    .footer-social { margin-top: 14px; }
    .footer-bottom .row { text-align: center; }
    .footer-bottom .col-md-6:last-child { text-align: center !important; margin-top: 8px; }
}
@media (max-width: 575px) {
    .footer-links li { margin-bottom: 6px; }
    .footer-contact-item { font-size: 0.83rem; }
}

/* ---------- Page Hero Mobile ---------- */
@media (max-width: 575px) {
    .page-hero { padding: 36px 0 28px; }
    .page-hero-title { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* ---------- Occasion Cards Mobile ---------- */
@media (max-width: 575px) {
    .occasion-card { height: 150px; }
    .occasion-card img { height: 150px; }
    .occasion-content h5 { font-size: 0.9rem; }
    .occasion-content p { display: none; }
}

/* ---------- About Stack Mobile ---------- */
@media (max-width: 767px) {
    .about-img-main { height: 280px !important; }
    .about-img-accent { width: 100px; height: 100px; bottom: -10px; right: -5px; }
    .about-badge-float { left: 0; bottom: -15px; }
}

/* ---------- Team Cards Mobile ---------- */
@media (max-width: 575px) {
    .team-img-wrap { height: 200px; }
}

/* ---------- Testimonial Cards Mobile ---------- */
@media (max-width: 575px) {
    .testimonial-card { padding: 20px 18px; }
    .testimonial-text { font-size: 0.85rem; }
}

/* ---------- Topbar Mobile (hide on small) ---------- */
@media (max-width: 767px) {
    .topbar { display: none !important; }
}

/* ---------- Breadcrumb Mobile ---------- */
@media (max-width: 575px) {
    .breadcrumb-custom { font-size: 0.75rem; flex-wrap: wrap; }
    .breadcrumb-custom li + li::before { margin: 0 4px; }
}

/* ---------- Stat Numbers Mobile ---------- */
@media (max-width: 575px) {
    .stat-number { font-size: clamp(2rem, 8vw, 3rem) !important; }
}

/* ---------- Forms Mobile ---------- */
@media (max-width: 575px) {
    .form-control-custom { padding: 10px 12px; font-size: 0.88rem; }
    .form-label-custom   { font-size: 0.8rem; }
}

/* ---------- Quantity Control Mobile ---------- */
@media (max-width: 575px) {
    .qty-control { width: 100%; justify-content: center; }
    .qty-btn { width: 40px; height: 40px; }
}

/* ---------- General Image Responsiveness ---------- */
img { max-width: 100%; height: auto; }

/* ---------- Overflow Safety ---------- */
.container { overflow-x: clip; }
section, div { max-width: 100vw; }

