
:root {
    --green: #145638;
    --dark-green: #0b3523;
    --gold: #d9b746;
    --light-green: #eaf4e9;
    --bg: #f8faf6;
    --text: #26352c;
    --muted: #78847b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    text-decoration: none;
}

/* TOPBAR */

.topbar {
    padding: 9px 0;
    background: var(--dark-green);
    color: #fff;
    font-size: 11px;
}

/* HEADER */

.main-header {
    padding: 14px 0;
    background: #fff;
    border-bottom: 1px solid #edf0e9;
}

.brand-logo {
    width: 235px;
    max-height: 75px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
}

.header-action {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
}

.header-action > i {
    margin-bottom: 3px;
    font-size: 22px;
}

.header-action:hover,
.header-action.active-action {
    color: #a88919;
}

.count {
    position: absolute;
    top: -7px;
    right: -8px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark-green);
    font-size: 10px;
    font-weight: 700;
}

/* SEARCH */

.search-box {
    display: flex;
    overflow: hidden;
    border: 1px solid #dce5d8;
    border-radius: 8px;
    background: #f9fbf7;
}

.search-box input {
    flex: 1;
    min-width: 0;
    padding: 11px 13px;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
}

.search-box button {
    padding: 0 17px;
    border: 0;
    background: var(--green);
    color: #fff;
    transition: 0.2s;
}

.search-box button:hover {
    background: var(--dark-green);
}

/* NAVIGATION */

.navbar-custom {
    background: var(--green);
}

.navbar-custom .nav-link {
    padding: 14px 15px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    transition: 0.2s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background: var(--gold);
    color: var(--dark-green);
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-custom .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* PAGE BANNER */

.page-banner {
    padding: 48px 0;
    background:
        linear-gradient(90deg, rgba(9, 47, 32, 0.94),
        rgba(20, 86, 56, 0.82)),
        url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1500&q=80')
        center/cover no-repeat;
    color: #fff;
}

.banner-label {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 30px;
    background: var(--gold);
    color: var(--dark-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.page-banner h1 {
    margin: 15px 0 10px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
}

.page-banner h1 span {
    color: var(--gold);
}

.page-banner p {
    margin: 0;
    color: #d8e5db;
    font-size: 12px;
    line-height: 1.9;
}

/* BREADCRUMB */

.breadcrumb-area {
    padding: 13px 0;
    border-bottom: 1px solid #e9eee6;
    background: #fff;
    font-size: 11px;
}

.breadcrumb-area a {
    color: var(--green);
}

.breadcrumb-area span {
    color: var(--muted);
}

/* WISHLIST SECTION */

.wishlist-section {
    padding: 42px 0 55px;
}

.wishlist-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 27px;
}

.section-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.wishlist-heading h2 {
    margin: 9px 0;
    color: var(--dark-green);
    font-size: 25px;
    font-weight: 800;
}

.wishlist-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.wishlist-badge {
    display: inline-block;
    min-width: 27px;
    padding: 5px 8px;
    border-radius: 30px;
    background: var(--gold);
    color: var(--dark-green);
    font-size: 11px;
    text-align: center;
    vertical-align: middle;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sort-wrapper label {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 11px;
}

.sort-wrapper .form-select {
    width: 180px;
    padding: 10px 30px 10px 12px;
    border-color: #dce5d8;
    border-radius: 7px;
    font-size: 11px;
    box-shadow: none;
}

.sort-wrapper .form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(20, 86, 56, 0.08);
}

/* PRODUCT CARD */

.wishlist-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e7ece4;
    border-radius: 12px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wishlist-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 12px 28px rgba(21, 61, 37, 0.09);
}

.product-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wishlist-card:hover .product-image img {
    transform: scale(1.05);
}

.product-category-label {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: calc(100% - 60px);
    padding: 5px 8px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--gold);
    color: var(--dark-green);
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-btn {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #c0392b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    font-size: 15px;
    transition: 0.2s;
}

.remove-btn:hover {
    background: #c0392b;
    color: #fff;
}

.product-info {
    padding: 15px;
}

.product-category {
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
}

.product-name {
    min-height: 43px;
    margin: 8px 0 12px;
    color: var(--dark-green);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.product-price {
    color: var(--green);
    font-size: 17px;
    font-weight: 800;
}

.old-price {
    color: #999;
    font-size: 11px;
    text-decoration: line-through;
}

.stock-status {
    margin-top: 10px;
    color: var(--green);
    font-size: 10px;
}

.add-cart-btn {
    width: 100%;
    margin-top: 13px;
    padding: 10px 7px;
    border: 1px solid var(--green);
    border-radius: 7px;
    background: var(--green);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    transition: 0.2s;
}

.add-cart-btn:hover {
    border-color: var(--dark-green);
    background: var(--dark-green);
    color: #fff;
}

/* BUTTONS */

.btn-green {
    padding: 12px 20px;
    border: 1px solid var(--green);
    border-radius: 7px;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.btn-green:hover {
    background: var(--dark-green);
    color: #fff;
}

.btn-gold {
    padding: 12px 20px;
    border: 1px solid var(--gold);
    border-radius: 7px;
    background: var(--gold);
    color: var(--dark-green);
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-gold:hover {
    border-color: #c5a22d;
    background: #efda83;
    color: var(--dark-green);
}

/* WISHLIST ACTIONS */

.wishlist-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.wishlist-actions .btn-outline-danger {
    padding: 10px 15px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
}

/* EMPTY STATE */

.empty-state {
    padding: 55px 20px;
    border: 1px solid #e8eee5;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 95px;
    height: 95px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--light-green);
    color: var(--green);
    font-size: 40px;
}

.empty-state h3 {
    color: var(--dark-green);
    font-size: 23px;
    font-weight: 800;
}

.empty-state p {
    max-width: 440px;
    margin: 12px auto 23px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

/* FOOTER */

.main-footer {
    padding: 45px 0 0;
    background: #092d1e;
    color: #fff;
}

.footer-logo {
    width: 225px;
    max-height: 85px;
    object-fit: contain;
}

.footer-about {
    max-width: 350px;
    margin-top: 16px;
    color: #c0d1c5;
    font-size: 11px;
    line-height: 1.9;
}

.footer-title {
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact {
    color: #c0d1c5;
    font-size: 11px;
    line-height: 1.9;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact i {
    margin-right: 7px;
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    color: #fff;
    transition: 0.2s;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark-green);
}

.footer-bottom {
    margin-top: 30px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #c0d1c5;
    font-size: 10px;
}

/* TABLET */

@media (max-width: 991px) {
    .brand-logo {
        width: 200px;
    }

    .header-actions {
        gap: 17px;
    }

    .navbar-custom .nav-link {
        padding: 12px 10px;
    }

    .product-image {
        height: 175px;
    }

    .product-info {
        padding: 12px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .topbar {
        font-size: 9px;
    }

    .main-header {
        padding: 12px 0;
    }

    .brand-logo {
        width: 175px;
        max-height: 60px;
    }

    .header-actions {
        gap: 13px;
    }

    .header-action {
        font-size: 9px;
    }

    .header-action > i {
        font-size: 20px;
    }

    .search-row {
        margin-top: 4px;
    }

    .navbar-custom .nav-link {
        padding: 11px 12px;
        border-radius: 5px;
    }

    .page-banner {
        padding: 35px 0;
    }

    .wishlist-section {
        padding: 30px 0 40px;
    }

    .wishlist-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-bottom: 20px;
    }

    .wishlist-heading h2 {
        font-size: 21px;
    }

    .sort-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .sort-wrapper .form-select {
        width: 180px;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 11px;
    }

    .product-name {
        min-height: 40px;
        margin: 7px 0 10px;
        font-size: 11px;
    }

    .product-price {
        font-size: 14px;
    }

    .old-price {
        font-size: 9px;
    }

    .add-cart-btn {
        padding: 9px 4px;
        font-size: 10px;
    }

    .wishlist-actions {
        margin-top: 23px;
    }

    .empty-state {
        padding: 38px 15px;
    }

    .empty-state h3 {
        font-size: 20px;
    }

    .main-footer {
        padding-top: 32px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .brand-logo {
        width: 145px;
    }

    .header-actions {
        gap: 10px;
    }

    .header-action {
        font-size: 8px;
    }

    .header-action > i {
        font-size: 18px;
    }

    .product-image {
        height: 125px;
    }

    .product-info {
        padding: 9px;
    }

    .product-price {
        font-size: 12px;
    }

    .old-price {
        font-size: 8px;
    }

    .product-category-label {
        top: 6px;
        left: 6px;
        font-size: 8px;
    }

    .remove-btn {
        top: 6px;
        right: 6px;
        width: 29px;
        height: 29px;
        font-size: 12px;
    }

    .add-cart-btn {
        font-size: 9px;
    }

    .sort-wrapper .form-select {
        width: 150px;
        font-size: 10px;
    }

    .empty-icon {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }
}
