/* =========================================================
   VARIABLES
========================================================= */

:root {
    --green: #003f35;
    --green-dark: #002d27;
    --gold: #c9913d;
    --gold-light: #d9aa64;
    --cream: #f8f4ee;
    --cream-dark: #f1ebe2;
    --white: #ffffff;
    --text: #171918;
    --muted: #686965;
    --border: rgba(0, 63, 53, .10);
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--cream);
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* ================= NAVBAR ================= */
.site-header {
  background: var(--green-dark);
  position: relative;
  z-index: 1000;
}

.navbar {
  min-height: 62px;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.navbar-brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand-mark {
  width: 34px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  border-left: 3px solid var(--gold);
  transform: skew(-8deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  letter-spacing: .08em;
  font-weight: 600;
}

.brand-copy small {
  color: var(--gold);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .13em;
  margin-top: 3px;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.92);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 23px 0 20px !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold-light);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  width: 25px;
  height: 2px;
  background: var(--gold);
  margin: auto;
}

.icon-btn {
  width: 28px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  position: relative;
  font-size: 18px;
}

.count-btn span {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

.login-btn {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  padding: 9px 12px;
  color: #fff;
  font-size: 10px;
}

.btn {
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 11px 17px;
}

.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--green-deep);
}

.btn-outline-gold {
  color: #fff;
  border: 1px solid var(--gold);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--green-deep);
}

.btn-dark-green {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
}

.btn-dark-green:hover {
  background: var(--green-soft);
  color: #fff;
}

.btn-outline-gold-dark {
  border: 1px solid var(--gold);
  color: var(--green);
  background: transparent;
}

.btn-outline-gold-dark:hover {
  background: var(--gold);
  color: #fff;
}


/* =========================================================
   PAGE HERO
========================================================= */

.products-hero {
    background:
        linear-gradient(
            rgba(248,244,238,.93),
            rgba(248,244,238,.93)
        ),
        url("../assets/beauty.jpg") center/cover;

    padding: 30px 0 70px;
}

.breadcrumb-wrap {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 50px;
}

.breadcrumb-wrap a {
    color: var(--green);
    font-weight: 600;
}

.products-hero-content {
    max-width: 760px;
}

.eyebrow {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    margin-bottom: 12px;
}

.products-hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    margin: 0 0 22px;
}

.products-hero h1 span {
    color: var(--gold);
}

.products-hero p {
    max-width: 620px;
    color: #60635f;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    padding: 80px 0 90px;
    background: #fff;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px;
}

.section-top h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
    margin: 0;
}

.section-top h2 span {
    color: var(--gold);
}

.product-count {
    font-size: 12px;
    color: var(--muted);
}

.product-count span {
    color: var(--green);
    font-weight: 700;
}


/* =========================================================
   FILTER
========================================================= */

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0,63,53,.18);
    color: var(--green);
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 30px;
    transition: .25s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    transition: .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.product-image {
    height: 265px;
    background: #f8f5ef;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}


/* Wishlist */

.wishlist {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 3;

    width: 34px;
    height: 34px;

    border-radius: 50%;
    border: 1px solid rgba(0,63,53,.15);

    background: rgba(255,255,255,.94);

    color: var(--green);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;

    transition: .25s;
}

.wishlist:hover {
    background: var(--green);
    color: #fff;
}


/* Product info */

.product-info {
    padding: 20px 17px 17px;
}

.product-info small {
    display: block;
    color: #96938c;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 7px;
}

.product-info h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    min-height: 43px;
    margin: 0 0 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 9px;
}

.rating i {
    color: var(--gold);
    font-size: 10px;
}

.rating span {
    margin-left: 5px;
    color: #999;
    font-size: 10px;
}

.product-info strong {
    display: block;
    color: var(--green);
    font-size: 15px;
    margin-bottom: 14px;
}


/* Add cart */

.add-cart {
    width: 100%;
    border: 0;
    background: var(--green);
    color: #fff;

    padding: 11px 13px;

    border-radius: 30px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: .25s;
}

.add-cart:hover {
    background: var(--gold);
}

.add-cart i {
    font-size: 15px;
}


/* =========================================================
   CTA
========================================================= */

.products-cta {
    padding: 0 0 80px;
    background: #fff;
}

.cta-box {
    background: var(--green-dark);
    border-radius: 12px;
    padding: 55px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.cta-box h2 {
    color: #fff;
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 12px;
}

.cta-box h2 span {
    color: var(--gold);
}

.cta-box p {
    color: rgba(255,255,255,.7);
    max-width: 620px;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.cta-btn {
    flex-shrink: 0;

    background: var(--gold);
    color: #fff;

    padding: 13px 20px;

    border-radius: 30px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

.cta-btn:hover {
    background: #fff;
    color: var(--green);
}


/* ================= FOOTER ================= */
.site-footer {
  background: var(--green-dark);
  color: #fff;
  padding: 65px 0 0;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 32px;
  font-size: 28px;
}

.footer-brand .brand-copy strong {
  font-size: 23px;
}

.footer-about {
  max-width: 280px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  line-height: 1.55;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 13px;
}

.socials a {
  color: #fff;
  font-size: 14px;
}

.socials a:hover {
  color: var(--gold);
}

.site-footer h4 {
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 4px 0 12px;
}

.site-footer .col-lg-2 > a {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  margin-bottom: 8px;
}

.site-footer .col-lg-2 > a:hover {
  color: var(--gold);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.contact-line a {
  color: rgba(255,255,255,.72);
}
.contact-line i {
  color: var(--gold);
  flex: 0 0 auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 24px;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

.footer-bottom span:last-child {
  display: flex;
  gap: 9px;
}

.footer-bottom b {
  font-weight: 400;
  color: rgba(255,255,255,.2);
}

.footer-bottom a {
  color: rgba(255,255,255,.45);
}

.footer-bottom a:hover {
  color: var(--gold);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .navbar-nav {
        gap: 0;
        padding: 15px 0;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-actions {
        padding-bottom: 20px;
        flex-wrap: wrap;
    }

    .section-top {
        align-items: start;
        flex-direction: column;
        gap: 15px;
    }

    .cta-box {
        padding: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 575px) {

    .products-hero {
        padding: 25px 0 50px;
    }

    .breadcrumb-wrap {
        margin-bottom: 35px;
    }

    .products-section {
        padding: 55px 0 60px;
    }

    .category-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 15px;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .product-image {
        height: 190px;
    }

    .product-info {
        padding: 15px 12px 12px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box h2 {
        font-size: 32px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 15px;
    }

}