/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f1c40f;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
.header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.header-icons .btn-link {
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 0.5rem;
}

.header-icons .btn-link:hover {
    color: var(--secondary-color);
}

/* Product Card Styles */
.product-card {
    position: relative;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-card .card-img-top {
    height: 300px;
    object-fit: cover;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
}

.product-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-card .price {
    margin-bottom: 1rem;
}

.product-card .sale-price {
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-card .original-price {
    text-decoration: line-through;
    color: var(--text-color);
    opacity: 0.7;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

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

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}

/* Cart Badge */
.cart-count {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Product Detail Page */
.product-gallery {
    position: relative;
    margin-bottom: 2rem;
}

.product-gallery .main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.product-gallery .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-gallery .thumbnail:hover,
.product-gallery .thumbnail.active {
    border-color: var(--primary-color);
}

.product-meta {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.product-meta p {
    margin-bottom: 0.5rem;
}

.product-meta i {
    color: var(--primary-color);
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

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

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

/* Quantity Input Styles */
.input-group .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-color);
}

.input-group .btn-outline-secondary:hover {
    background-color: var(--light-gray);
    border-color: var(--border-color);
    color: var(--primary-color);
}

.input-group .form-control {
    border-color: var(--border-color);
    text-align: center;
}

.input-group .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Related Products Section */
.related-products {
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.related-products h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Hero Section */
.hero-section {
    margin-top: -1.5rem;
}

.hero-section .carousel-item {
    height: 600px;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
}

.hero-section .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-section .carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Category Cards */
.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    color: inherit;
}

.category-card .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.category-card:hover .card {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Badges */
.new-badge,
.best-seller-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
}

.new-badge {
    background-color: var(--accent-color);
    color: white;
}

.best-seller-badge {
    background-color: var(--primary-color);
    color: white;
}

/* Blog Cards */
.blog-card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blog-card .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0;
}

.blog-card .btn-link:hover {
    text-decoration: underline;
}

/* Features Section */
.features-section i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-section h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.features-section p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--light-gray);
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem;
    font-size: 1rem;
}

.newsletter-form .btn {
    padding: 1rem 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section .carousel-item {
        height: 400px;
    }

    .hero-section .carousel-caption h1 {
        font-size: 2rem;
    }

    .category-card .card-img-top,
    .product-card .card-img-top {
        height: 200px;
    }

    .features-section .col-md-3 {
        margin-bottom: 2rem;
    }

    .product-gallery .main-image {
        height: 300px;
    }

    .product-gallery .thumbnail {
        width: 60px;
        height: 60px;
    }

    .product-card .card-img-top {
        height: 200px;
    }
}

/* === SNS NAVBAR CUSTOM STYLES (Scents N Stories style) === */
.sns-navbar {
    background: #131313;
    color: #fff;
    width: 100%;
    box-shadow: none;
    border: none;
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
    z-index: 100;
}
.sns-navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    min-height: 72px;
    position: relative;
}
.sns-navbar-logo {
    flex: 0 0 200px;
    text-align: center;
    z-index: 2;
}
.sns-navbar-logo img {
    max-height: 48px;
    filter: none;
    margin: 0 auto;
    display: block;
}
.sns-navbar-search {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    max-width: 420px;
}
.sns-search-form {
    display: flex;
    align-items: center;
    background: #181818;
    border-radius: 32px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 2px 18px;
    position: relative;
}
.sns-search-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 0 10px 0;
    outline: none;
    box-shadow: none;
    width: 100%;
}
.sns-search-input::placeholder {
    color: #bdbdbd;
    font-weight: 400;
}
.sns-search-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    margin-left: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.sns-search-btn:hover {
    color: #f5c16c;
}
.sns-search-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7rem;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.sns-navbar-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}
.sns-icon-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.08em;
}
.sns-icon-link:hover {
    color: #f5c16c;
}
.sns-icon-label {
    margin-left: 7px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: #fff;
}
.sns-cart-count {
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2em 0.5em;
    border-radius: 1em;
    position: absolute;
    top: -8px;
    right: -16px;
    z-index: 2;
}
.sns-navbar-menu {
    background: #181818;
    border-top: 1px solid #232323;
    padding: 0.5rem 0 0.5rem 0;
    margin-top: 0;
    width: 100%;
}
.sns-navbar-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sns-navbar-menu li {
    display: inline-block;
}
.sns-navbar-menu a {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    transition: color 0.2s;
    border: none;
    background: none;
    text-decoration: none;
    position: relative;
}
.sns-navbar-menu a:hover,
.sns-navbar-menu a.active {
    color: #f5c16c;
    text-decoration: none;
}

@media (max-width: 991px) {
    .sns-navbar-top {
        flex-direction: column;
        align-items: stretch;
        min-height: unset;
        padding: 0 10px;
    }
    .sns-navbar-logo {
        margin: 12px 0;
    }
    .sns-navbar-search {
        margin: 0 0 12px 0;
        max-width: 100%;
    }
    .sns-navbar-icons {
        margin-bottom: 12px;
        justify-content: flex-end;
    }
    .sns-navbar-menu ul {
        gap: 1.2rem;
    }
}

/* Premium Hero Overlay */
.premium-hero {
    position: relative;
    overflow: hidden;
}
.premium-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(44,62,80,0.7) 0%, rgba(231,76,60,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}
.premium-hero .carousel-caption {
    position: absolute;
    z-index: 2;
}
.premium-caption h1, .premium-caption p, .premium-caption .btn {
    position: relative;
    z-index: 2;
}

/* Brand Bar */
.brand-bar-section {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}
.brand-bar-title {
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-right: 2rem;
    font-size: 1.1rem;
}
.brand-bar-img {
    height: 36px;
    vertical-align: middle;
    opacity: 0.8;
    filter: grayscale(1) contrast(1.2);
}

/* Premium Card Styles */
.premium-card {
    border-radius: 18px !important;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10), 0 1.5px 6px rgba(44,62,80,0.08);
    transition: transform 0.35s cubic-bezier(.4,2,.3,1), box-shadow 0.35s cubic-bezier(.4,2,.3,1);
    background: #fff;
}
.premium-card:hover {
    transform: translateY(-10px) scale(1.03) rotate(-0.5deg);
    box-shadow: 0 16px 48px rgba(44,62,80,0.16), 0 3px 12px rgba(44,62,80,0.10);
    z-index: 2;
}
.premium-card .card-title {
    font-family: 'Poppins', serif;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}
.premium-card .card-text {
    font-size: 0.98rem;
}
.premium-btn {
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.premium-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 18px rgba(44,62,80,0.18);
}
.premium-link {
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s;
}
.premium-link:hover {
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-family: 'Poppins', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}
.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(120deg, #f8f9fa 60%, #fff 100%);
}
.testimonial-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(44,62,80,0.10);
    transition: box-shadow 0.3s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(44,62,80,0.16);
}
.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}
.testimonial-text {
    font-size: 1.08rem;
    color: #555;
    font-style: italic;
}
.testimonial-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* Animate Fade In Up */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.4,2,.3,1), transform 0.8s cubic-bezier(.4,2,.3,1);
}
.animate-fade-in-up.visible {
    opacity: 1;
    transform: none;
}
/* Animate Fade In (for hero) */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(.4,2,.3,1), transform 0.7s cubic-bezier(.4,2,.3,1);
}
.animate-fade-in.visible {
    opacity: 1;
    transform: none;
}
.animate-fade-in.delay-1 { transition-delay: 0.2s; }
.animate-fade-in.delay-2 { transition-delay: 0.4s; }

/* Responsive Premium Styles */
@media (max-width: 991px) {
    .premium-card { border-radius: 12px !important; }
    .testimonial-card { border-radius: 12px; }
    .section-title { font-size: 1.5rem; }
    .brand-bar-img { height: 24px; }
}
@media (max-width: 767px) {
    .premium-hero .carousel-caption { padding: 1rem; }
    .brand-bar-title { font-size: 0.95rem; margin-right: 1rem; }
    .testimonial-avatar { width: 50px; height: 50px; }
} 