/* ========================================
   SHOP HERO
======================================== */

.shop-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
}


/* ========================================
   BACKGROUND
======================================== */

.shop-hero-bg {
    position: absolute;

    inset: 0;

    background-image:
        url("../assets/images/shop/shop-hero.jpg");

    background-size: cover;
    background-position: center;

    transform: scale(1.05);

    animation: shopHeroZoom 18s ease-in-out infinite alternate;
}


@keyframes shopHeroZoom {

    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }

}


/* ========================================
   OVERLAY
======================================== */

.shop-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(43, 23, 32, 0.92) 0%,
            rgba(43, 23, 32, 0.75) 45%,
            rgba(43, 23, 32, 0.35) 100%
        );
}


/* ========================================
   CONTENT
======================================== */

.shop-hero .container {
    position: relative;

    z-index: 2;

    width: 100%;
}


.shop-hero-content {
    max-width: 760px;

    padding-top: 30px;
}


/* ========================================
   EYEBROW
======================================== */

.shop-eyebrow {
    margin-bottom: 24px;

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 0.22em;
    text-transform: uppercase;

    color: #f7cee0;
}


/* ========================================
   TITLE
======================================== */

.shop-hero h1 {
    margin-bottom: 28px;

    font-family: var(--font-heading);

    font-size: clamp(3.5rem, 7vw, 8rem);

    font-weight: 300;

    line-height: 0.85;

    letter-spacing: -0.05em;
}

.shop-hero h1 span {
    display: block;

    font-style: italic;

    color: #f7cee0;
}


/* ========================================
   DESCRIPTION
======================================== */

.shop-hero-description {
    max-width: 580px;

    margin-bottom: 45px;

    font-size: 1rem;

    line-height: 1.9;

    color: rgba(255, 255, 255, 0.75);
}


/* ========================================
   HERO META
======================================== */

.shop-hero-meta {
    display: flex;

    align-items: center;

    gap: 30px;
}


.shop-meta-item {
    display: flex;
    flex-direction: column;

    gap: 6px;
}


.meta-number {
    font-family: var(--font-heading);

    font-size: 2.4rem;

    font-style: italic;

    color: #f7cee0;
}


.meta-label {
    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.55);
}


.shop-meta-line {
    width: 1px;

    height: 45px;

    background: rgba(255, 255, 255, 0.25);
}


/* ========================================
   SCROLL INDICATOR
======================================== */

.shop-scroll-indicator {
    position: absolute;

    z-index: 3;

    left: 50%;
    bottom: 35px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 10px;

    color: var(--white);

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    transition: 0.3s ease;
}


.shop-scroll-indicator i {
    font-size: 1rem;

    animation: scrollBounce 2s infinite;
}


@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

}


.shop-scroll-indicator:hover {
    color: #f7cee0;
}


/* ========================================
   SHOP PRODUCTS
======================================== */

.shop-products {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background-image:
         linear-gradient(
            rgba(255, 249, 251, 0.82),
            rgba(255, 249, 251, 0.86)
        ),
         url("../assets/images/shop/shop-hero.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;
}


/* ========================================
   SHOP HEADER
======================================== */

.shop-products-header {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 70px;
}


/* ========================================
   SECTION EYEBROW
======================================== */

.section-eyebrow {
    margin-bottom: 18px;

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: var(--primary);
}


/* ========================================
   SECTION HEADING
======================================== */

.shop-heading h2 {
    margin: 0;

    font-family: var(--font-heading);

    font-size: clamp(3.5rem, 6vw, 6.5rem);

    font-weight: 500;

    line-height: 0.9;

    letter-spacing: -0.045em;

    color: var(--primary);
}

.shop-heading h2 span {
    display: block;

    font-style: italic;

    color: #c46b91;
}


/* ========================================
   SHOP INTRO
======================================== */

.shop-intro {
    max-width: 430px;

    padding-bottom: 8px;
}

.shop-intro p {
    margin-bottom: 25px;

    font-size: 0.95rem;

    line-height: 1.9;

    color: rgba(43, 23, 32, 0.65);
}


/* ========================================
   PRODUCT COUNT
======================================== */

.shop-product-count {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: rgba(43, 23, 32, 0.55);
}

.shop-product-count strong {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: #f7cee0;

    font-size: 0.65rem;
}


/* ========================================
   SHOP FILTERS
======================================== */

.shop-filters {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 25px;

    margin-bottom: 55px;

    border-bottom: 1px solid rgba(43, 23, 32, 0.12);

    overflow-x: auto;

    scrollbar-width: none;
}

.shop-filters::-webkit-scrollbar {
    display: none;
}


/* ========================================
   FILTER BUTTON
======================================== */

.filter-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    background: transparent;

    border: 1px solid rgba(43, 23, 32, 0.15);

    border-radius: 50px;

    color: rgba(43, 23, 32, 0.65);

    cursor: pointer;

    white-space: nowrap;

    font-family: inherit;

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    transition: all 0.35s ease;
}

.filter-btn small {
    width: 22px;
    height: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(43, 23, 32, 0.08);

    font-size: 0.55rem;

    transition: 0.35s ease;
}


/* Hover */

.filter-btn:hover {
    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-2px);
}


/* Active */

.filter-btn.active {
    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);

    box-shadow: 0 10px 25px rgba(43, 23, 32, 0.15);
}

.filter-btn.active small {
    background: #f7cee0;

    color: var(--primary);
}


/* ========================================
   PRODUCTS GRID
======================================== */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}

/* ========================================
   PRODUCT CARDS
======================================== */

.product-card {
    position: relative;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.6);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(43, 23, 32, 0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);

    box-shadow:
        0 25px 60px rgba(43, 23, 32, 0.18);
}


/* ========================================
   PRODUCT IMAGE
======================================== */

.product-image {
  position: relative;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  background: rgba(43, 23, 32, 0.08);
}

.product-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}


/* ========================================
   PRODUCT CATEGORY
======================================== */

.product-category {
  position: absolute;

  top: 18px;
  left: 18px;

  padding: 8px 12px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(10px);

  color: var(--primary);

  font-size: 0.55rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


/* ========================================
   PRODUCT OVERLAY
======================================== */

.product-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: flex-end;

  justify-content: center;

  padding: 22px;

  background: linear-gradient(
    to top,
    rgba(43, 23, 32, 0.75),
    transparent 55%
  );

  opacity: 0;

  transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}


/* ========================================
   ENQUIRY BUTTON
======================================== */

.product-enquiry {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 15px 20px;

  border-radius: 50px;

  background: #f7cee0;

  color: var(--primary);

  font-size: 0.6rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  transform: translateY(20px);

  transition: transform 0.4s ease;
}

.product-card:hover .product-enquiry {
  transform: translateY(0);
}


/* ========================================
   PRODUCT INFORMATION
======================================== */

.product-info {
  padding: 22px;
}

.product-info h3 {
  margin: 0 0 8px;

  font-family: var(--font-heading);

  font-size: 1.7rem;

  font-weight: 500;

  color: var(--primary);
}

.product-info span {
  font-size: 0.58rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  color: rgba(43, 23, 32, 0.5);
}


/* ========================================
   MOBILE PRODUCT CARDS
======================================== */

@media (max-width: 600px) {
  .product-card {
    border-radius: 14px;
  }

  .product-info {
    padding: 18px;
  }

  .product-info h3 {
    font-size: 1.45rem;
  }

  /* Always show the enquiry button on touch devices */

  .product-overlay {
    opacity: 1;

    background: linear-gradient(
      to top,
      rgba(43, 23, 32, 0.65),
      transparent 50%
    );
  }

  .product-enquiry {
    transform: translateY(0);
  }
}