* {
    font-family: 'Outfit';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B9D83;
    --secondary-color: #99BC76;
    --hero-bg: #E0EBE3;
    --text-dark: #4A5568;
    --text-light: #6B7F71;
    --bg-light: #F8FAF6;
    --white: #FFFFFF;
    --border-color: #E5EDE0;
    --max-width: 1320px;
    --container-padding: 20px;

    /* Standardized variables */
    --primary-pr1: #E0EBE3;
    --primary-pr4: #659A71;
    --primary-pr5: #507C5B;
    --primary-pr7: #283E2D;
    --neutral-nt2: #E1E2EA;
    --neutral-nt4: #9BA0C5;
    --neutral-nt6: #696F96;
    --neutral-nt8: #3F425A;
    --neutral-white: #FFFFFF;
    --smooth-white: #F2F3F7;
    --warning-wr5: #E59C4D;
}

body {
    font-family: 'Outfit';
    overflow-x: hidden;
    background: #F2F3F7;
}

.container-1320,
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-collection {
    background: linear-gradient(90deg, rgba(224, 235, 227, 0.08) 0%, rgba(224, 235, 227, 0.538) 19.61%, #E0EBE3 57.62%, #E0EBE3 66.66%, rgba(224, 235, 227, 0.08) 100%);
    padding: 60px 0 0 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.hero-decoration-left {
    position: absolute;
    width: 436px;
    height: 462px;
    left: -60px;
    top: -2px;
    z-index: 1;
}

.hero-decoration-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-decoration-left-top {
    position: absolute;
    width: 195px;
    height: 167px;
    left: -88px;
    top: -56px;
    z-index: 2;
    transform: rotate(154.66deg);
}

.hero-decoration-left-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.hero-collection .container {
    position: relative;
    z-index: 3;
    padding-top: 30px;
}

/* Breadcrumb */
.hero-breadcrumb {
    margin-bottom: 15px;
}

.hero-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #696F96;
}

.hero-breadcrumb .breadcrumb-item i {
    font-size: 14px;
    color: #507C5B;
}

.hero-breadcrumb .breadcrumb-item a {
    color: #659A71;
    text-decoration: none;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: #507C5B;
    font-weight: 600;
}

/* Hero Title */
.hero-collection h1 {
    font-size: 48px;
    font-weight: 600;
    color: #3F425A;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-collection .subtitle {
    font-size: 16px;
    color: #696F96;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 600px;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-person-img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

/* Button Progress */
.btn-progress {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    gap: 12px;
    background: #659A71;
    color: white;
    border: none;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
}

.btn-progress:hover {
    background: #507C5B;
    transform: translateY(-2px);
}

.btn-progress i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-progress:hover i {
    transform: rotate(-45deg);
}

/* ========================================
   FEATURES SECTION - BANNER HIJAU
   ======================================== */
.features-section {
    padding: 30px 0;
    background: #99BC76;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: white;
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-icon svg path,
.feature-icon svg circle,
.feature-icon svg line {
    stroke: white !important;
    fill: white !important;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.feature-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 3px;
    color: white;
    opacity: 0.95;
}

.feature-content small {
    font-size: 12px;
    color: white;
    opacity: 0.8;
    display: block;
}

/* ========================================
   FILTER SECTION
   ======================================== */
.filter-section {
    padding: 40px 0;
    background: #F2F3F7;
}

/* Filter Header */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid #E1E2EA;
    background: #F2F3F7;
    margin-bottom: 0;
}

.filter-header h4 {
    font-size: 24px;
    font-weight: 600;
    color: #3F425A;
    margin: 0;
}

.btn-reset-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #507C5B;
    color: #507C5B;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filter:hover {
    background: #507C5B;
    color: white;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #F2F3F7;
    padding: 20px;
    border: 1px solid #E1E2EA;
    border-top: none;
}

/* Search Filter */
.search-filter {
    position: relative;
    margin-bottom: 25px;
}

.search-filter input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid #E1E2EA;
    font-size: 15px;
    background: #F2F3F7;
    color: #3F425A;
}

.search-filter input::placeholder {
    color: #9BA0C5;
}

.search-filter i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9BA0C5;
    font-size: 18px;
}

/* Filter Group */
.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #E1E2EA;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h5 {
    font-size: 18px;
    font-weight: 600;
    color: #3F425A;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Filter Options */
.filter-options {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.filter-options::-webkit-scrollbar {
    width: 5px;
}

.filter-options::-webkit-scrollbar-track {
    background: #E1E2EA;
}

.filter-options::-webkit-scrollbar-thumb {
    background: #507C5B;
}

/* Custom Checkbox */
.form-check {
    display: flex;
    align-items: center;
    padding: 8px 0;
    gap: 12px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    border: none;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='19' height='19' stroke='%239BA0C5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.form-check-input:checked {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='19' height='19' fill='%23507C5B' stroke='%23507C5B'/%3E%3Cpath d='M6 10L9 13L14 7' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E");
}

.form-check-label {
    font-size: 15px;
    color: #3F425A;
    cursor: pointer;
    flex: 1;
}

/* Price Range */
.price-range {
    padding: 10px 0;
}

.price-display {
    font-size: 15px;
    color: #3F425A;
    margin-bottom: 15px;
}

.price-slider-wrapper {
    position: relative;
    height: 30px;
}

.price-slider-min,
.price-slider-max {
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    top: 0;
}

.price-slider-min::-webkit-slider-thumb,
.price-slider-max::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #507C5B;
    cursor: pointer;
    border: 2px solid white;
    border-radius: 4px;
    pointer-events: auto;
    margin-top: -7px;
}

.price-slider-min::-webkit-slider-runnable-track,
.price-slider-max::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #E1E2EA;
}

/* Active Filters */
.active-filters-container {
    background: #F2F3F7;
    border: 1px solid #E1E2EA;
    padding: 20px;
    margin-bottom: 20px;
}

.active-filters-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    gap: 10px;
    background: #ECF3EE;
    border: 1px solid #83AF8E;
    font-size: 14px;
    color: #507C5B;
}

.filter-tag i {
    cursor: pointer;
    font-size: 14px;
}

.btn-clear-all {
    background: none;
    border: none;
    color: #507C5B;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

/* ========================================
   CATEGORY TABS
   ======================================== */
.category-menu {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #E1E2EA;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 0 15px 0;
    background: transparent;
    color: #9BA0C5;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.category-tab.active {
    color: #3F425A;
    border-bottom-color: #507C5B;
}

.category-tab:hover {
    color: #3F425A;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    padding: 40px 0 60px;
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 30px;
}

.products-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sort-by {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sort-by label {
    font-size: 15px;
    color: #696F96;
    margin: 0;
}

.sort-by select {
    padding: 10px 35px 10px 15px;
    border: 1px solid #E1E2EA;
    font-size: 14px;
    background: transparent;
    color: #3F425A;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23696F96' d='M7 10.5L2 5.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 5px;
    background: white;
    border: 1px solid #E1E2EA;
    padding: 5px;
}

.view-toggle button {
    background: none;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    color: #696F96;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-toggle button.active {
    background: #659A71;
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Product Card */
.product-card {
    background: white;
    border: 1px solid #E1E2EA;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

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

.product-card-body {
    padding: 20px 15px;
    background: #F2F3F7;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #3F425A;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #3F425A;
    margin-bottom: 10px;
}

.product-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: #696F96;
    margin-top: auto;
}

.product-location i {
    color: #507C5B;
    font-size: 12px;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #E1E2EA;
    background: #F2F3F7;
    color: #696F96;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #E0EBE3;
    border-color: #659A71;
    color: #507C5B;
}

.page-item.active .page-link {
    background: #507C5B;
    border-color: #507C5B;
    color: white;
}

.page-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    border: 1px solid #E1E2EA;
    background: #F2F3F7;
    color: #696F96;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link-arrow:hover {
    background: #659A71;
    color: white;
    border-color: #659A71;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-results i {
    font-size: 70px;
    color: #E1E2EA;
    margin-bottom: 20px;
}

.no-results h4 {
    font-size: 22px;
    color: #3F425A;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 16px;
    color: #696F96;
}

/* ========================================
   TABLET RESPONSIVE (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --container-padding: 30px;
    }

    .hero-collection h1 {
        font-size: 42px;
    }

    .hero-image-wrapper {
        height: 400px;
    }

    .hero-person-img {
        max-height: 400px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-card {
        gap: 12px;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
    }

    .feature-content h3 {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ========================================
   MOBILE RESPONSIVE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    /* Hero Section Mobile */
    .hero-collection {
        padding: 40px 0 0 0;
        text-align: center;
    }

    .hero-decoration-left,
    .hero-decoration-left-top {
        display: none;
    }

    .hero-breadcrumb {
        justify-content: center;
    }

    .hero-breadcrumb .breadcrumb {
        justify-content: center;
    }

    .hero-collection h1 {
        font-size: 36px;
        text-align: center;
    }

    .hero-collection .subtitle {
        font-size: 15px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-progress {
        display: inline-flex;
        margin-bottom: 30px;
    }

    .hero-image-wrapper {
        height: 350px;
    }

    .hero-person-img {
        max-height: 350px;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 25px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-icon {
        margin-bottom: 5px;
    }

    /* Filter Section Mobile */
    .filter-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .btn-reset-filter {
        width: 100%;
        justify-content: center;
    }

    .filter-sidebar {
        padding: 15px;
    }

    /* Category Tabs Mobile */
    .category-menu {
        gap: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .category-menu::-webkit-scrollbar {
        height: 3px;
    }

    .category-tab {
        white-space: nowrap;
        font-size: 15px;
    }

    /* Products Header Mobile */
    .products-header {
        justify-content: center;
    }

    .products-controls {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .sort-by {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sort-by select {
        width: 100%;
    }

    .view-toggle {
        width: 100%;
        justify-content: center;
    }

    .view-toggle button {
        flex: 1;
        text-align: center;
    }

    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card-body {
        padding: 15px 10px;
    }

    .product-card-title {
        font-size: 14px;
        min-height: 40px;
    }

    .product-card-price {
        font-size: 16px;
    }

    .product-location {
        font-size: 12px;
    }

    /* Pagination Mobile */
    .page-link,
    .page-link-arrow {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* ========================================
   SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-collection h1 {
        font-size: 32px;
    }

    .hero-collection .subtitle {
        font-size: 14px;
    }

    .btn-progress {
        width: 100%;
        padding: 14px 20px;
    }

    .hero-image-wrapper {
        height: 300px;
    }

    .hero-person-img {
        max-height: 300px;
    }

    .features-grid {
        gap: 15px;
    }

    .feature-content h3 {
        font-size: 15px;
    }

    .feature-content p {
        font-size: 13px;
    }

    .feature-content small {
        font-size: 11px;
    }

    .filter-header h4 {
        font-size: 22px;
    }

    .products-grid {
        gap: 12px;
    }

    .product-card-body {
        padding: 12px 8px;
    }

    .product-card-title {
        font-size: 13px;
        min-height: 36px;
    }

    .product-card-price {
        font-size: 15px;
    }

    .pagination {
        gap: 5px;
    }

    .page-link,
    .page-link-arrow {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

/* ========================================
   EXTRA SMALL MOBILE (max-width: 360px)
   ======================================== */
@media (max-width: 360px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        flex-direction: row;
        text-align: left;
    }

    .pagination .page-item:nth-child(n+5):nth-last-child(n+4) {
        display: none;
    }
}
