/* ============================================
   MODERN HOMEPAGE STYLES - PESAN PINTU
   ============================================ */

:root {
    --primary-color: #488a99;
    --secondary-color: #DBAE58;
    --dark-color: #000000;
    --light-color: #FFFFFF;
    --gray-light: #f8f9fa;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow: 0 2px 8px rgba(72, 138, 153, 0.12);
    --box-shadow-lg: 0 10px 30px rgba(72, 138, 153, 0.2);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    color: var(--dark-color);
    background-color: #f5f6f8;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   HEADER ENHANCEMENT
   ============================================ */

.pre-header {
    display: none !important;
}

.header {
    background: var(--light-color);
    box-shadow: var(--box-shadow);
    border-bottom: 1px solid #e0e0e0;
    border-top: none !important;
}

.header::before,
.header::after {
    display: none !important;
    border: none !important;
    background: none !important;
    height: 0 !important;
}

.header-top {
    background: var(--light-color) !important;
}

.header-top::before,
.header-top::after {
    display: none !important;
}

.header-middle {
    padding: 15px 0;
    transition: var(--transition);
    background: var(--light-color) !important;
    border-top: 1px solid #e0e0e0;
}

.header-middle.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow-lg);
}

.logo img {
    max-width: 150px;
    height: auto;
}

.header-icon {
    color: var(--primary-color);
    font-size: 20px;
    margin: 0 10px;
    transition: var(--transition);
    text-decoration: none !important;
}

.header-icon:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Search bar */
.header-search-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--light-color);
}

.header-search-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(72, 138, 153, 0.1);
}

.header-search-wrapper input {
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    flex: 1;
}

.header-search-wrapper button {
    background: var(--primary-color);
    border: none;
    color: var(--light-color);
    font-size: 18px;
    cursor: pointer;
    padding: 0 15px;
    transition: var(--transition);
}

.header-search-wrapper button:hover {
    background: var(--secondary-color);
}

/* ============================================
   BANNER SECTION
   ============================================ */

.home-slider {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    margin-bottom: 40px;
    position: relative;
}

.home-slider img {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.home-slider:hover img {
    transform: scale(1.02);
}

/* Banner Pagination Dots */
.home-slider .slider-dots {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10;
}

.home-slider .slider-dot {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.home-slider .slider-dot:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.2);
}

.home-slider .slider-dot.active {
    background: #FFFFFF !important;
    width: 32px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hide owl dots on desktop, show on mobile */
@media (min-width: 768px) {
    .home-slider .slider-dots {
        display: none !important;
    }
}

/* ============================================
   CATEGORY BANNER CONTAINER SECTION
   ============================================ */

.banner-container-wrapper {
    background: linear-gradient(135deg, #488a99 0%, #3a6f7f 100%);
    padding: 60px 0;
    margin: 40px 0;
    position: relative;
}

.banner-container-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.banner-container {
    width: 100%;
}

.banner-container .row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
}

.banner-container .col-md-3,
.banner-container .col-sm-6,
.banner-container .col-6 {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
}

@media (max-width: 1200px) {
    .banner-container .col-md-3 {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .banner-container .col-sm-6 {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 576px) {
    .banner-container .col-6 {
        flex: 0 0 calc(50% - 12px);
    }
}

.banner-container .banner {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    width: 100%;
    background: linear-gradient(135deg, rgba(72, 138, 153, 0.3), rgba(219, 174, 88, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-container .banner:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.banner-container .banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(219, 174, 88, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.banner-container .banner-image {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-container .banner-image img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.banner-container .banner:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* ============================================
   CATEGORY SHOWCASE SECTION
   ============================================ */

.category-showcase {
    padding: 50px 20px;
    background: linear-gradient(135deg, #0d4d5f 0%, #1a3a47 100%);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.category-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.category-showcase::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--light-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

/* Swiper Container Styling */
.swiper.categorySwiper {
    position: relative;
    padding: 0 60px;
    z-index: 1;
}

.swiper-slide {
    height: auto;
}

/* Category Card */
.category-card {
    background: var(--light-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.category-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a9fb8 100%);
    flex-shrink: 0;
}

.category-card-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.category-card:hover .category-img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(0.9);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 77, 95, 0.4) 0%, rgba(10, 159, 184, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #0a9fb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(13, 77, 95, 0.3);
    transition: all 0.4s ease;
}

.category-card:hover .category-badge {
    transform: scale(1.15) rotate(-15deg);
    box-shadow: 0 6px 24px rgba(13, 77, 95, 0.4);
}

/* Category Content */
.category-card-content {
    padding: 24px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-link {
    text-decoration: none;
    display: block;
    flex-grow: 1;
}

.category-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.category-card:hover .category-card-title {
    color: var(--primary-color);
}

.category-card-meta {
    margin-bottom: 16px;
}

.category-card-count {
    font-size: 14px;
    color: #888;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.category-card-count i {
    font-size: 12px;
    color: var(--primary-color);
}

/* Explore Button */
.btn-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), #0a9fb8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-explore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-explore:hover::before {
    left: 100%;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 77, 95, 0.3);
}

.btn-explore i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.btn-explore:hover i {
    transform: translateX(4px);
}

/* Navigation Buttons */
.category-button-prev,
.category-button-next {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #0a9fb8);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(13, 77, 95, 0.2);
}

.category-button-prev {
    left: 0;
}

.category-button-next {
    right: 0;
}

.category-button-prev:hover,
.category-button-next:hover {
    background: linear-gradient(135deg, #0a9fb8, #0d7f95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(13, 77, 95, 0.3);
}

/* Pagination Dots */
.category-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px !important;
}

.category-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-pagination .swiper-pagination-bullet-active {
    background: white;
    width: 32px;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 1399px) {
    .swiper.categorySwiper {
        padding: 0 50px;
    }
}

@media (max-width: 1199px) {
    .swiper.categorySwiper {
        padding: 0 45px;
    }
}

@media (max-width: 991px) {
    .category-showcase {
        padding: 40px 15px;
    }

    .swiper.categorySwiper {
        padding: 0 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .category-button-prev,
    .category-button-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .category-showcase {
        padding: 30px 10px;
        margin: 30px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .swiper.categorySwiper {
        padding: 0 10px;
    }

    .category-card-image {
        height: 160px;
    }

    .category-card-content {
        padding: 16px 12px;
    }

    .category-card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .category-card-count {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .btn-explore {
        padding: 8px 16px;
        font-size: 12px;
    }

    .category-badge {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }

    .category-button-prev,
    .category-button-next {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .category-showcase {
        padding: 25px 5px;
        margin: 25px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .swiper.categorySwiper {
        padding: 0 5px;
    }

    .category-card {
        border-radius: 12px;
    }

    .category-card-image {
        height: 140px;
    }

    .category-card-content {
        padding: 12px 10px;
    }

    .category-card-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .category-card-count {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .btn-explore {
        padding: 6px 12px;
        font-size: 10px;
        letter-spacing: 0;
    }

    .category-badge {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .category-button-prev,
    .category-button-next {
        display: none;
    }

    .category-pagination {
        margin-top: 20px !important;
    }

    .category-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .category-pagination .swiper-pagination-bullet-active {
        width: 24px;
    }
}

/* ============================================
   HERO/BANNER SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5a6a 100%);
    color: var(--light-color);
    padding: 60px 20px;
    border-radius: 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(219, 174, 88, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(219, 174, 88, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.hero-cta-buttons .btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.hero-cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(219, 174, 88, 0.3);
}

.hero-cta-buttons .btn-outline-light {
    color: var(--light-color);
    border: 2px solid var(--light-color);
    background: transparent;
}

.hero-cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-search-box {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.hero-search-box input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 15px;
    outline: none;
}

.hero-search-box button {
    background: var(--primary-color);
    border: none;
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.hero-search-box button:hover {
    background: var(--secondary-color);
}

/* ============================================
   FEATURED PRODUCTS SECTION
   ============================================ */

.featured-section {
    padding: 50px 0;
    background-color: #f5f6f8;
}

.featured-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.featured-section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

.featured-product-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin: 15px;
    height: 100%;
}

.featured-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.featured-product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--gray-light);
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-product-card:hover .featured-product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--light-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.product-badge.new {
    background: var(--primary-color);
}

.product-badge.discount {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.featured-product-details {
    padding: 20px;
}

.featured-product-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.featured-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 38px;
}

.featured-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-star {
    color: var(--secondary-color);
    font-size: 12px;
    margin-right: 3px;
}

.rating-count {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.featured-product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.featured-product-action {
    display: flex;
    gap: 10px;
}

.featured-product-action .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-decoration: none;
}

.featured-product-action .btn-primary {
    background: var(--primary-color);
    color: var(--light-color);
}

.featured-product-action .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.featured-product-action .btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.featured-product-action .btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* ============================================
   ALL PRODUCTS SECTION
   ============================================ */

.all-products-section {
    padding: 40px 0;
    background-color: #f5f6f8;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.heading-spacer {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 30px;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card-wrapper {
    height: 100%;
}

.product-default {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.product-default:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.product-default figure {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--gray-light);
    margin: 0;
    flex-shrink: 0;
}

.product-default figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-default:hover figure img {
    transform: scale(1.08);
}

.btn-icon-group {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    gap: 10px;
    padding: 15px;
    opacity: 0;
    transition: var(--transition);
    justify-content: center;
}

.product-default:hover .btn-icon-group {
    opacity: 1;
}

.btn-add-cart {
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.btn-add-cart:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.product-category:hover {
    color: var(--secondary-color);
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 10px 0;
    line-height: 1.4;
    min-height: 38px;
    flex-grow: 1;
}

.product-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.ratings-container {
    margin: 10px 0;
}

.product-ratings {
    position: relative;
    height: 14px;
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.rating-star {
    color: var(--secondary-color);
    font-size: 12px;
}

.price-box {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 12px;
}

.product-price {
    color: var(--primary-color);
}

/* ============================================
   LOAD MORE BUTTON
   ============================================ */

.btn-load-more {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 30px;
}

.btn-load-more:hover {
    background: var(--secondary-color);
    color: #1a2a34;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    background: linear-gradient(135deg, #3BB77E 0%, #2a7a5a 100%);
    color: var(--light-color);
    padding: 60px 20px;
    border-radius: var(--border-radius);
    margin: 60px 0;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

.testimonial-carousel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: none;
}

.testimonial-item {
    text-align: center;
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-buttons .btn {
        width: 100%;
    }

    .hero-search-box {
        flex-direction: column;
    }

    .hero-search-box button {
        width: 100%;
        margin-top: 10px;
    }

    .featured-section-title,
    .section-title {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .featured-section-title,
    .section-title {
        font-size: 20px;
    }

    .category-showcase h2 {
        font-size: 24px;
    }

    .header-icon {
        font-size: 18px;
        margin: 0 5px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .heading-spacer {
        width: 50px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.appear-animate {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Bottom Section - Dark Aqua Background */
.header-bottom {
    background: #488a99 !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-bottom .main-nav {
    padding: 0;
}

.header-bottom .menu li a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: var(--transition);
    border-bottom-color: transparent !important;
    border-bottom: none !important;
    position: relative;
}

.header-bottom .menu li a::before,
.header-bottom .menu li a::after {
    display: none !important;
}

.header-bottom .menu li a:hover {
    color: #DBAE58 !important;
    border-bottom: none !important;
    border-bottom-color: transparent !important;
}

.header-bottom .menu li a:hover::before,
.header-bottom .menu li a:hover::after {
    display: none !important;
    border: none !important;
    background: none !important;
}

/* Navigation Active States - Gold Color */
.header-bottom .menu li.active a,
.header-bottom .menu li.active > a,
.header-bottom .menu > li.active > a {
    color: #DBAE58 !important;
    border-bottom: 3px solid #DBAE58 !important;
    background: transparent !important;
}

.header-bottom .menu li.active a::before,
.header-bottom .menu li.active a::after,
.header-bottom .menu > li.active > a::before,
.header-bottom .menu > li.active > a::after {
    display: none !important;
    border: none !important;
}

.header-bottom .menu > li.active > a:before,
.header-bottom .menu > li.show > a:before {
    border-bottom-color: #DBAE58 !important;
}

.header-bottom .menu li a:before {
    border-bottom-color: transparent !important;
}

.header-bottom .menu li::before,
.header-bottom .menu li::after {
    display: none !important;
}

/* Buttons with red - change to gold */
.btn-primary,
.btn-secondary.active,
a.active {
    background-color: var(--secondary-color) !important;
    color: #000 !important;
    border-color: var(--secondary-color) !important;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--light-color);
}

.text-dark {
    color: var(--dark-color);
}

.text-muted {
    color: #999;
}

.mt-5 {
    margin-top: 40px;
}

.mb-5 {
    margin-bottom: 40px;
}

.py-5 {
    padding: 40px 0;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    color: var(--dark-color);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   HEADER ENHANCEMENT
   ============================================ */

.header {
    background: #fff;
    box-shadow: var(--box-shadow);
}

.header-middle {
    padding: 15px 0;
    transition: var(--transition);
}

.header-middle.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow-lg);
}

.header-middle.scroll-up {
    padding: 10px 0;
}

.logo img {
    max-width: 150px;
    height: auto;
    transition: var(--transition);
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
}

/* Header icons styling */
.header-icon {
    color: var(--dark-color);
    font-size: 20px;
    margin: 0 10px;
    transition: var(--transition);
    text-decoration: none !important;
}

.header-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Search bar enhancement */
.header-search-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.header-search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 50, 47, 0.1);
}

.header-search-wrapper input {
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    flex: 1;
}

.header-search-wrapper input::placeholder {
    color: #999;
}

.header-search-wrapper button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    padding: 0 15px;
    transition: var(--transition);
}

.header-search-wrapper button:hover {
    color: #d63d3a;
}

/* ============================================
   HERO/BANNER SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.hero-cta-buttons .btn-primary {
    background: white;
    color: #667eea;
}

.hero-cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta-buttons .btn-outline-light {
    color: white;
    border: 2px solid white;
}

.hero-cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-search-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.hero-search-box input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 15px;
    outline: none;
}

.hero-search-box input::placeholder {
    color: #ccc;
}

.hero-search-box button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.hero-search-box button:hover {
    background: #d63d3a;
}

/* Banner carousel styles */
.home-slider {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.home-slider img {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.home-slider:hover img {
    transform: scale(1.02);
}

/* ============================================
   CATEGORY SHOWCASE SECTION
   ============================================ */

.category-showcase {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 40px 0;
    border-radius: var(--border-radius);
}

.category-showcase h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.category-card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-card-image img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.category-card-content {
    padding: 20px;
    text-align: center;
}

.category-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.category-card-count {
    font-size: 13px;
    color: #999;
}

/* ============================================
   FEATURED PRODUCTS CAROUSEL
   ============================================ */

.featured-section {
    padding: 50px 0;
}

.featured-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.featured-section-subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 40px;
    font-size: 15px;
}

.owl-carousel.featured-carousel {
    margin: 0 -15px;
}

.featured-product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin: 15px;
    height: 100%;
}

.featured-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.featured-product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f5f5f5;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-product-card:hover .featured-product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.product-badge.new {
    background: #4CAF50;
}

.product-badge.discount {
    background: #FF9800;
}

.featured-product-details {
    padding: 20px;
}

.featured-product-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.featured-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 38px;
}

.featured-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-star {
    color: #ffc107;
    font-size: 12px;
    margin-right: 3px;
}

.rating-count {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

.featured-product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.featured-product-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.featured-product-action {
    display: flex;
    gap: 10px;
}

.featured-product-action .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.featured-product-action .btn-primary {
    background: var(--primary-color);
    color: white;
}

.featured-product-action .btn-primary:hover {
    background: #d63d3a;
}

.featured-product-action .btn-outline {
    border: 2px solid #e0e0e0;
    color: var(--dark-color);
    background: transparent;
}

.featured-product-action .btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================
   PRODUCTS GRID SECTION
   ============================================ */

.feature-container {
    padding: 40px 0;
}

.subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.heading-spacer {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 30px;
    border-radius: 2px;
}

.list_product {
    margin: 0 -15px;
}

.product-default {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin: 15px;
}

.product-default:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.product-default figure {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f5f5f5;
    margin: 0;
}

.product-default figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-default:hover figure img {
    transform: scale(1.08);
}

.btn-icon-group {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    gap: 10px;
    padding: 15px;
    opacity: 0;
    transition: var(--transition);
    justify-content: center;
}

.product-default:hover .btn-icon-group {
    opacity: 1;
    bottom: 0;
}

.btn-add-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
}

.btn-add-cart:hover {
    background: #d63d3a;
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
}

.category-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.product-category:hover {
    color: #d63d3a;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 10px 0;
    line-height: 1.4;
    min-height: 38px;
}

.product-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.ratings-container {
    margin: 10px 0;
}

.product-ratings {
    position: relative;
    height: 14px;
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.product-ratings .rating-star {
    color: #e0e0e0;
    font-size: 12px;
}

.product-ratings .rating-star.filled {
    color: #ffc107;
}

.price-box {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 12px;
}

.product-price {
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

/* ============================================
   LOAD MORE BUTTON
   ============================================ */

#load_more {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 30px;
}

#load_more:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    /* UPDATED BACKGROUND TO GREEN BRAND COLOR */
    background: linear-gradient(135deg, #3BB77E 0%, #2a7a5a 100%);
    color: white;
    padding: 60px 20px;
    border-radius: var(--border-radius);
    margin: 60px 0;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

.testimonial-carousel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: none;
}

.testimonial-item {
    text-align: center;
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-buttons .btn {
        width: 100%;
    }

    .hero-search-box {
        flex-direction: column;
    }

    .hero-search-box button {
        width: 100%;
        margin-top: 10px;
    }

    .featured-section-title,
    .subtitle {
        font-size: 24px;
    }

    .list_product {
        margin: 0;
    }

    .product-default {
        margin: 10px 0;
    }

    .featured-product-card {
        margin: 10px 0;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .featured-section-title,
    .subtitle {
        font-size: 20px;
    }

    .category-showcase h2 {
        font-size: 24px;
    }

    .header-icon {
        font-size: 18px;
        margin: 0 5px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .heading-spacer {
        width: 50px;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

.appear-animate {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-overlay {
    display: none;
}

.loading-overlay.active {
    display: flex;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-dark {
    color: var(--dark-color);
}

.text-muted {
    color: #999;
}

.mt-3 { margin-top: 20px; }
.mt-5 { margin-top: 40px; }
.mb-3 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 40px; }
.py-5 { padding: 40px 0; }

.container-fluid-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
