/* ============================================================================
   TIG HAIR CARE TEMPLATE - Modern, Natural, Conversion-Focused Design
   Premium hair care e-commerce template with organic green theme
   ============================================================================ */

/* Color Palette - Hair Care Theme */
:root {
    --hc-primary: #1b5e20;
    --hc-secondary: #2e7d32;
    --hc-accent: #f9a825;
    --hc-soft: #e8f5e9;
    --hc-dark: #0d3b15;
    --hc-light: #f8fbf9;
    --hc-text: #3e4b3e;
    --hc-border: #c5d4c5;
}

/* Base Styles */
body {
    font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--hc-text);
    background: var(--hc-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 600;
    color: var(--hc-dark);
}

/* Headings inside dark/light-text containers (e.g. card headers with
   bg-dark text-white) must keep the container's text color, otherwise
   the global dark heading color above makes them invisible */
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: inherit;
}

a {
    color: var(--hc-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hc-primary);
}

/* Buttons */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border-radius: 10px;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--hc-secondary);
    border-color: var(--hc-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,125,50,0.35);
}

.btn-outline-primary {
    color: var(--hc-primary);
    border-color: var(--hc-primary);
}

.btn-outline-primary:hover {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
}

.btn-accent {
    background: var(--hc-accent);
    border-color: var(--hc-accent);
    color: #fff;
}

.btn-accent:hover {
    background: #e6900a;
    border-color: #e6900a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,168,37,0.35);
}

/* ============================================
   HERO SLIDER - Hair Care Theme
   ============================================ */
.hero-slider {
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: 3px solid var(--hc-accent);
}

.hero-slider .carousel-item {
    position: relative;
    height: 550px;
    background: linear-gradient(135deg, var(--hc-primary) 0%, var(--hc-secondary) 100%);
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,59,21,0.85) 0%, rgba(13,59,21,0.4) 60%, rgba(13,59,21,0.1) 100%);
    z-index: 1;
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    bottom: auto;
    padding: 0;
}

.hero-slider .slide-content {
    max-width: 600px;
    padding: 40px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--hc-accent);
    border-radius: 0 16px 16px 0;
}

.hero-slider .slide-subtitle {
    color: var(--hc-accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.hero-slider .slide-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: 'Poppins', sans-serif;
}

.hero-slider .slide-description {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-slider .btn {
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 50px;
    background: var(--hc-accent);
    border: 2px solid var(--hc-accent);
    color: #fff;
    transition: all 0.3s ease;
}

.hero-slider .btn:hover {
    background: #fff;
    color: var(--hc-primary);
    border-color: #fff;
    transform: scale(1.05);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev { left: 30px; }
.hero-slider .carousel-control-next { right: 30px; }

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: var(--hc-accent);
    border-color: var(--hc-accent);
}

.hero-slider .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.hero-slider .carousel-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 4px;
    border: none;
    background: rgba(255,255,255,0.4);
    margin: 0 6px;
    transition: all 0.4s ease;
}

.hero-slider .carousel-indicators button.active {
    background: var(--hc-accent);
    width: 50px;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-slider .carousel-item { height: 450px; }
    .hero-slider .slide-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .hero-slider .carousel-item { height: 400px; }
    .hero-slider .slide-title { font-size: 2rem; }
    .hero-slider .slide-subtitle { font-size: 12px; letter-spacing: 2px; }
    .hero-slider .carousel-caption { text-align: center; }
    .hero-slider .slide-content {
        max-width: 100%;
        padding: 25px 20px;
        border-left: none;
        border-top: 3px solid var(--hc-accent);
        border-radius: 16px;
    }
    .hero-slider .btn { padding: 12px 30px; font-size: 0.9rem; }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item { height: 350px; }
    .hero-slider .slide-title { font-size: 1.7rem; }
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */

/* About / Brand Story Section */
.hc-about-section {
    background: linear-gradient(135deg, var(--hc-soft), #fff);
    padding: 60px 0;
    overflow: hidden;
}

.hc-about-section .about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.hc-about-section .about-image img {
    width: 100%;
    height: auto;
}

.hc-about-section .about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 20px;
}

.hc-about-section .about-content .about-tagline {
    color: var(--hc-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 10px;
}

.hc-about-section .about-content p {
    color: var(--hc-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.hc-about-section .about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.hc-about-section .about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--hc-dark);
}

.hc-about-section .about-feature i {
    color: var(--hc-secondary);
    font-size: 24px;
}

/* Benefits Section */
.hc-benefits-section {
    padding: 60px 0;
    background: #fff;
}

.hc-benefits-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 10px;
}

.hc-benefits-section .section-subtitle {
    text-align: center;
    color: var(--hc-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.hc-benefits-section .benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.hc-benefits-section .benefit-card:hover {
    background: var(--hc-soft);
    transform: translateY(-5px);
}

.hc-benefits-section .benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--hc-soft), #c8e6c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--hc-secondary);
}

.hc-benefits-section .benefit-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--hc-dark);
}

.hc-benefits-section .benefit-card p {
    color: var(--hc-text);
    font-size: 14px;
    margin: 0;
}

/* Promo Banner */
.hc-promo-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.hc-promo-banner img {
    width: 100%;
    height: auto;
}

.hc-promo-banner .promo-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 30px 50px;
    max-width: 500px;
}

.hc-promo-banner .promo-overlay h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hc-promo-banner .promo-overlay p {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.hc-promo-banner .promo-overlay .btn {
    background: var(--hc-accent);
    border-color: var(--hc-accent);
    color: #fff;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
}

.hc-promo-banner .promo-overlay .btn:hover {
    background: #fff;
    color: var(--hc-primary);
}

@media (max-width: 768px) {
    .hc-promo-banner .promo-overlay {
        padding: 20px;
        max-width: 100%;
    }
    .hc-promo-banner .promo-overlay h3 { font-size: 1.5rem; }
}

/* About Benefits List */
.hc-about-section .about-benefits-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}
.hc-about-section .about-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--hc-text);
    line-height: 1.6;
}
.hc-about-section .about-benefits-list li i {
    color: var(--hc-secondary);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Promo Badge & Stages */
.hc-promo-banner .promo-badge {
    display: inline-block;
    background: var(--hc-accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hc-promo-banner .promo-overlay h3 span {
    color: var(--hc-accent);
    font-size: 1.3rem;
    display: block;
    margin-top: 5px;
}
.hc-promo-banner .promo-stages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}
.hc-promo-banner .promo-stages span {
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hc-promo-banner .promo-stages i {
    color: var(--hc-accent);
    font-size: 24px;
}

/* Product Showcase Section */
.hc-product-showcase {
    padding: 60px 0;
    background: #fff;
}
.hc-product-showcase .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 10px;
}
.hc-product-showcase .section-subtitle {
    text-align: center;
    color: var(--hc-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}
.hc-product-showcase .showcase-card {
    display: block;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}
.hc-product-showcase .showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.hc-product-showcase .showcase-image {
    height: 280px;
    overflow: hidden;
    background: var(--hc-soft);
}
.hc-product-showcase .showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hc-product-showcase .showcase-info {
    padding: 20px;
    text-align: center;
}
.hc-product-showcase .showcase-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hc-dark);
    margin-bottom: 8px;
}
.hc-product-showcase .showcase-info p {
    color: var(--hc-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.hc-product-showcase .showcase-info .btn {
    background: var(--hc-primary);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}
.hc-product-showcase .showcase-info .btn:hover {
    background: var(--hc-secondary);
}

/* Ingredients Section */
.hc-ingredients-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--hc-soft), #fff);
}

.hc-ingredients-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 10px;
}

.hc-ingredients-section .section-subtitle {
    text-align: center;
    color: var(--hc-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.hc-ingredients-section .ingredient-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.hc-ingredients-section .ingredient-image img {
    width: 100%;
    height: auto;
}

.hc-ingredients-section .ingredient-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hc-ingredients-section .ingredient-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hc-ingredients-section .ingredient-item i {
    color: var(--hc-secondary);
    font-size: 24px;
    flex-shrink: 0;
}

.hc-ingredients-section .ingredient-item h6 {
    font-weight: 600;
    color: var(--hc-dark);
    margin-bottom: 4px;
    font-size: 15px;
}

.hc-ingredients-section .ingredient-item p {
    color: var(--hc-text);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .hc-ingredients-section .ingredient-list { grid-template-columns: 1fr; }
}

/* Newsletter Section */
.hc-newsletter-section {
    background: linear-gradient(135deg, var(--hc-primary), var(--hc-secondary));
    padding: 50px 0;
    text-align: center;
    color: #fff;
}

.hc-newsletter-section h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hc-newsletter-section p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.hc-newsletter-section .newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.hc-newsletter-section .newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
}

.hc-newsletter-section .newsletter-form button {
    padding: 12px 30px;
    background: var(--hc-accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.hc-newsletter-section .newsletter-form button:hover {
    background: #e6900a;
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .hc-newsletter-section .newsletter-form { flex-direction: column; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--hc-border);
}

.site-header .navbar-brand img {
    max-height: 50px;
}

.site-header .navbar-brand span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hc-primary);
}

.site-header .nav-link {
    font-weight: 500;
    padding: 0.8rem 1.1rem !important;
    color: var(--hc-text) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.site-header .nav-link:hover {
    color: var(--hc-primary) !important;
    background: var(--hc-soft);
}

/* Mega Menu */
.mega-menu-item { position: static; }

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-top: 3px solid var(--hc-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 30px 0;
    margin-top: 0;
    border-radius: 0;
    background: #fff;
}

.mega-menu .container { max-width: 1200px; }

.mega-menu-item-link a {
    color: var(--hc-text);
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
}

.mega-menu-item-link a:hover {
    color: var(--hc-primary);
    background: var(--hc-soft);
    border-left-color: var(--hc-accent);
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .mega-menu {
        position: relative;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 10px 0;
        background: var(--hc-soft);
    }
    .mega-menu .row { display: block; }
    .mega-menu .col-lg-3, .mega-menu .col-md-6 { width: 100%; margin-bottom: 0; }
    .mega-menu-item-link a { padding: 10px 20px; display: block; }
}

/* Search Bar */
.search-form { position: relative; }

.search-form input {
    padding-right: 45px;
    border-radius: 50px;
    border: 2px solid var(--hc-border);
    background: var(--hc-light);
    font-family: 'Nunito Sans', sans-serif;
}

.search-form input:focus {
    border-color: var(--hc-secondary);
    box-shadow: 0 0 0 0.2rem rgba(46,125,50,0.15);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--hc-secondary);
    padding: 5px;
}

/* Mini Cart */
.mini-cart { position: relative; }

.mini-cart .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--hc-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    border: 1px solid var(--hc-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 10px 35px rgba(27,94,32,0.15);
    transform: translateY(-5px);
    border-color: var(--hc-secondary);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: var(--hc-soft);
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card .product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-card .badge {
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.product-card .badge-sale {
    background: var(--hc-accent);
    color: #fff;
}

.product-card .badge-new {
    background: var(--hc-secondary);
    color: #fff;
}

.product-card .product-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.product-card:hover .product-actions { opacity: 1; }

.product-card .product-actions .btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.product-card .product-info {
    padding: 18px;
    background: #fff;
}

.product-card .product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: var(--hc-dark);
}

.product-card .product-name a {
    color: var(--hc-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.product-card .product-name a:hover { color: var(--hc-secondary); }

.product-card .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hc-primary);
    font-family: 'Poppins', sans-serif;
}

.product-card .product-price .old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.product-card .product-rating { margin-bottom: 8px; }

.product-card .product-rating .star {
    color: var(--hc-accent);
    font-size: 14px;
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 220px;
    border: 2px solid var(--hc-border);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--hc-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.category-card:hover img { transform: scale(1.1); }

.category-card .category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13,59,21,0.9));
    padding: 20px 15px 15px;
}

.category-card .category-name {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Features Section */
.features-section .feature-card {
    padding: 20px;
    border: 1px solid var(--hc-border);
    border-radius: 14px;
    height: 100%;
    transition: all 0.3s;
    background: #fff;
}

.features-section .feature-card:hover {
    border-color: var(--hc-secondary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.features-section .feature-card i {
    font-size: 2.5rem;
    color: var(--hc-secondary);
}

.features-section .feature-card h6 {
    margin-top: 12px;
    font-weight: 600;
    color: var(--hc-dark);
}

.features-section .feature-card small {
    color: var(--hc-text);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--hc-dark);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 25px;
    margin-top: 60px;
    border-top: 3px solid var(--hc-accent);
}

.site-footer p, .site-footer .text-muted {
    color: rgba(255,255,255,0.7) !important;
}

.site-footer h5, .site-footer h6 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 22px;
    color: var(--hc-accent);
    font-family: 'Poppins', sans-serif;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

.site-footer ul li svg { color: var(--hc-accent); }

.site-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.site-footer a:hover {
    color: var(--hc-accent);
    padding-left: 5px;
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
    padding-left: 0 !important;
}

.site-footer .social-links a:hover {
    background: var(--hc-accent);
    border-color: var(--hc-accent);
    color: #fff;
    transform: translateY(-3px);
}

.site-footer .newsletter .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50px;
}

.site-footer .newsletter .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.site-footer .newsletter .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--hc-accent);
    color: #fff;
}

.site-footer .newsletter .btn {
    background: var(--hc-accent);
    border-color: var(--hc-accent);
    color: #fff;
    border-radius: 50px;
}

.site-footer .newsletter .btn:hover {
    background: #e6900a;
    border-color: #e6900a;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    background: var(--hc-soft);
    padding: 18px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--hc-border);
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item {
    color: var(--hc-text);
    font-family: 'Nunito Sans', sans-serif;
}

.breadcrumb-item a {
    color: var(--hc-secondary);
    text-decoration: none;
}

.breadcrumb-item a:hover { color: var(--hc-primary); }

.breadcrumb-item.active { color: var(--hc-dark); }

/* ============================================
   FLASH MESSAGES
   ============================================ */
.alert-flash {
    position: fixed;
    top: 90px;
    right: 30px;
    z-index: 9999;
    min-width: 350px;
    animation: slideInRight 0.4s ease;
    border-radius: 12px;
    border-left: 4px solid;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.alert-success { border-left-color: var(--hc-secondary); }

@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 4px;
    border: 1px solid var(--hc-border);
    color: var(--hc-text);
    font-family: 'Poppins', sans-serif;
}

.pagination .page-link:hover {
    background: var(--hc-soft);
    border-color: var(--hc-secondary);
    color: var(--hc-primary);
}

.pagination .page-item.active .page-link {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--hc-soft);
    border-top: 3px solid var(--hc-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========================================   NEW SECTION STYLES   ======================================== */

/* Global section helpers */
.section-tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hc-accent);
    margin-bottom: 8px;
}

/* How It Works Section */
.hc-how-it-works {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--hc-light) 0%, var(--hc-soft) 100%);
}

.hc-how-it-works .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 8px;
}

.hc-how-it-works .section-subtitle {
    color: var(--hc-text);
    font-size: 1rem;
}

.how-it-works-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(27, 94, 32, 0.12);
}

.how-it-works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--hc-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 24px;
    background: var(--hc-border);
    transform: translateX(-50%);
}

.step-item:last-child .step-number::after { display: none; }

.step-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--hc-text);
    line-height: 1.6;
    margin: 0;
}

/* Lifestyle Banner Section */
.hc-lifestyle-banner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(27, 94, 32, 0.10);
}

.lifestyle-banner-inner {
    display: flex;
    background: var(--hc-dark);
    border-radius: 20px;
    overflow: hidden;
}

.lifestyle-image {
    flex: 1;
    min-height: 400px;
}

.lifestyle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lifestyle-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.lifestyle-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hc-accent);
    margin-bottom: 10px;
}

.lifestyle-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.lifestyle-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 20px;
}

.lifestyle-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.lifestyle-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.lifestyle-features i {
    color: var(--hc-accent);
    font-size: 1.1rem;
}

/* Hair Care Tips Section */
.hc-tips-section {
    padding: 70px 0;
    background: var(--hc-light);
}

.hc-tips-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 8px;
}

.hc-tips-section .section-subtitle {
    color: var(--hc-text);
}

.tips-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 8px 30px rgba(27, 94, 32, 0.10);
}

.tips-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tips-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(13, 59, 21, 0.9) 0%, transparent 100%);
    color: #fff;
}

.tips-image-overlay h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tips-image-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0;
}

.tips-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

.tip-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(27, 94, 32, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.12);
}

.tip-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--hc-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-icon i {
    font-size: 1.4rem;
    color: var(--hc-secondary);
}

.tip-item h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 4px;
}

.tip-item p {
    font-size: 0.9rem;
    color: var(--hc-text);
    line-height: 1.55;
    margin: 0;
}

/* Testimonials Section */
.hc-testimonials-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--hc-soft) 0%, var(--hc-light) 100%);
}

.hc-testimonials-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 8px;
}

.hc-testimonials-section .section-subtitle {
    color: var(--hc-text);
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(27, 94, 32, 0.14);
}

.testimonial-stars {
    color: var(--hc-accent);
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--hc-text);
    line-height: 1.7;
    flex-grow: 1;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--hc-border);
    padding-top: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hc-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--hc-secondary);
}

.testimonial-author h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin: 0;
}

.testimonial-author small {
    color: var(--hc-text);
    font-size: 0.8rem;
}

.trust-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.08);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin: 0;
}

.trust-stat p {
    font-size: 0.85rem;
    color: var(--hc-text);
    margin: 4px 0 0 0;
}

/* Trust badges bar: stack icon over label on mobile for even alignment */
@media (max-width: 767.98px) {
    .trust-badge { flex-direction: column; gap: 6px; height: 100%; }
    .trust-badge i { font-size: 1.6rem; }
    .trust-badge h6 { font-size: 0.82rem; line-height: 1.3; }
}

/* FAQ Section */
.hc-faq-section {
    padding: 70px 0;
    background: var(--hc-light);
}

.hc-faq-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 8px;
}

.hc-faq-section .section-subtitle {
    color: var(--hc-text);
}

.hc-faq-accordion .accordion-item {
    border: 1px solid var(--hc-border);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(27, 94, 32, 0.05);
}

.hc-faq-accordion .accordion-button {
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--hc-primary);
    background: #fff;
    border: none;
    box-shadow: none !important;
}

.hc-faq-accordion .accordion-button:not(.collapsed) {
    background: var(--hc-soft);
    color: var(--hc-dark);
}

.hc-faq-accordion .accordion-button::after {
    background-image: none;
    content: '\F4D6';
    font-family: 'bootstrap-icons';
    font-size: 1.2rem;
    color: var(--hc-secondary);
}

.hc-faq-accordion .accordion-button i {
    color: var(--hc-accent);
    font-size: 1.1rem;
}

.hc-faq-accordion .accordion-body {
    padding: 8px 24px 20px 24px;
    font-size: 0.95rem;
    color: var(--hc-text);
    line-height: 1.7;
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card .product-actions { opacity: 1; }
    .site-header .navbar-collapse {
        background: #fff;
        padding: 15px;
        margin-top: 10px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .lifestyle-banner-inner { flex-direction: column; }
    .lifestyle-image { min-height: 250px; }
    .lifestyle-content { padding: 30px; }
    .lifestyle-content h3 { font-size: 1.5rem; }
    .step-item { gap: 14px; }
    .step-number { width: 44px; height: 44px; font-size: 1rem; }
    .step-content h4 { font-size: 1rem; }
    .step-content p { font-size: 0.9rem; }
    .tips-image-card { min-height: 300px; }
    .tip-item { padding: 12px; gap: 12px; }
    .tip-icon { width: 40px; height: 40px; }
    .tip-icon i { font-size: 1.1rem; }
    .tip-item h5 { font-size: 0.95rem; }
    .tip-item p { font-size: 0.85rem; }
    .trust-stats { gap: 20px; padding: 20px; }
    .trust-stat h3 { font-size: 1.5rem; }
    .testimonial-card { padding: 20px; }
    .hc-faq-accordion .accordion-button { padding: 14px 16px; font-size: 0.9rem; }
    .hc-faq-accordion .accordion-body { padding: 8px 16px 16px 16px; font-size: 0.88rem; }
}

@media (max-width: 576px) {
    .hc-how-it-works,
    .hc-tips-section,
    .hc-testimonials-section,
    .hc-faq-section { padding: 40px 0; }
    .lifestyle-content { padding: 20px; }
    .lifestyle-content h3 { font-size: 1.3rem; }
    .trust-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
    .trust-stat h3 { font-size: 1.6rem; }
    .trust-stat p { font-size: 0.8rem; }
}
