/* =========================================================
   JSTAROMA PRODUCTS PAGE
========================================================= */


/* PRODUCTS HERO */

.products-page-hero {
  position: relative;
  overflow: hidden;

  padding:
    150px
    24px
    90px;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(37, 99, 235, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 55%,
      rgba(14, 165, 233, 0.10),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      #07111f 0%,
      #091625 100%
    );
}


.products-page-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: 0.18;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );

  background-size:
    45px 45px;
}


.products-page-hero .section-container {
  position: relative;
  z-index: 2;
}


.products-page-hero .section-label {
  display: inline-flex;

  margin-bottom: 20px;

  color: #60a5fa;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}


.products-page-hero h1 {
  max-width: 850px;

  margin:
    0
    0
    24px;

  color: #ffffff;

  font-size:
    clamp(
      42px,
      7vw,
      74px
    );

  line-height: 1.03;

  letter-spacing: -2.5px;
}


.products-page-hero h1 span {
  color: #60a5fa;
}


.products-page-hero p {
  max-width: 720px;

  margin: 0;

  color: #9dafc3;

  font-size: 17px;

  line-height: 1.8;
}


/* PRODUCTS SECTION */

.products-section {
  position: relative;

  overflow: hidden;

  padding:
    95px
    24px;

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(37, 99, 235, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 70%,
      rgba(14, 165, 233, 0.06),
      transparent 30%
    ),
    #08131f;
}


.products-section .section-container {
  position: relative;
  z-index: 2;
}


.products-section .section-heading {
  max-width: 750px;

  margin-bottom: 35px;
}


.products-section .section-heading h2 {
  margin:
    10px
    0
    15px;

  color: #ffffff;

  font-size:
    clamp(
      32px,
      5vw,
      48px
    );

  line-height: 1.1;
}


.products-section .section-heading p {
  color: #91a3b8;

  line-height: 1.75;
}


/* CONTROLS */

.products-section
.jstaroma-product-controls {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 14px;

  margin-top: 30px;
  margin-bottom: 34px;

  padding: 12px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 16px;

  background:
    rgba(8, 18, 32, 0.82);

  box-shadow:
    0 10px 35px
    rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);
}


/* SEARCH */

.products-section
.jstaroma-product-search {
  flex: 1;

  display: flex;
  align-items: center;

  gap: 11px;

  min-height: 48px;

  padding:
    0
    15px;

  border:
    1px solid
    transparent;

  border-radius: 11px;

  background:
    rgba(255, 255, 255, 0.035);
}


.products-section
.jstaroma-product-search:focus-within {
  border-color:
    rgba(96, 165, 250, 0.40);

  background:
    rgba(96, 165, 250, 0.055);
}


.products-section
.jstaroma-product-search i {
  color: #6f89a8;

  font-size: 14px;
}


.products-section
.jstaroma-product-search input {
  width: 100%;

  min-width: 0;

  padding:
    12px
    0;

  border: none;
  outline: none;

  color: #ffffff;

  background: transparent;

  font-family: inherit;
  font-size: 14px;
}


.products-section
.jstaroma-product-search input::placeholder {
  color: #687b92;
}


/* FILTER */

.products-section
.jstaroma-product-filter {
  min-width: 190px;
  min-height: 48px;

  padding:
    0
    40px
    0
    15px;

  border:
    1px solid
    rgba(255, 255, 255, 0.06);

  outline: none;

  border-radius: 11px;

  color: #ffffff;

  background-color: #101e31;

  font-family: inherit;
  font-size: 14px;

  cursor: pointer;
}


.products-section
.jstaroma-product-filter:focus {
  border-color:
    rgba(96, 165, 250, 0.40);
}


/* STATUS */

.products-section
.products-status {
  width: 100%;

  padding:
    38px
    20px;

  text-align: center;

  color: #8193a9;

  font-size: 14px;
}


/* GRID */

.products-section
.jstaroma-products-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 28px;
}


/* CARD */

.products-section
.dynamic-product-card {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(350px, 0.85fr);

  min-height: 400px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      #0d1b2d,
      #08111d
    );

  box-shadow:
    0 22px 70px
    rgba(0, 0, 0, 0.22);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


.products-section
.dynamic-product-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 2px;

  z-index: 3;

  background:
    linear-gradient(
      90deg,
      transparent,
      #2f80ff,
      #70b4ff,
      transparent
    );
}


.products-section
.dynamic-product-card:hover {
  transform:
    translateY(-5px);

  border-color:
    rgba(96, 165, 250, 0.24);

  box-shadow:
    0 30px 85px
    rgba(0, 0, 0, 0.28);
}


/* CONTENT */

.products-section
.dynamic-product-card
.product-content {
  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding:
    44px
    46px;
}


/* TOP */

.products-section
.dynamic-product-card
.product-card-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 28px;
}


/* LOGO */

.products-section
.dynamic-product-card
.product-logo {
  width: 58px;
  height: 58px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border:
    1px solid
    rgba(96, 165, 250, 0.20);

  border-radius: 16px;

  color: #ffffff;

  font-size: 18px;
  font-weight: 800;

  background:
    linear-gradient(
      135deg,
      #2277e9,
      #0b3c7e
    );

  box-shadow:
    0 12px 34px
    rgba(30, 109, 224, 0.25);
}


/* STATUS */

.products-section
.dynamic-product-card
.product-status {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 29px;

  padding:
    0
    11px;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1px;

  white-space: nowrap;
}


.products-section
.dynamic-product-card
.product-status.available {
  color: #62e29c;

  background:
    rgba(46, 204, 113, 0.09);

  border:
    1px solid
    rgba(46, 204, 113, 0.18);
}


.products-section
.dynamic-product-card
.product-status.coming-soon {
  color: #f4c15e;

  background:
    rgba(243, 190, 89, 0.08);

  border:
    1px solid
    rgba(243, 190, 89, 0.17);
}


/* TYPE */

.products-section
.dynamic-product-card
.product-type {
  display: block;

  margin-bottom: 11px;

  color: #65a9ff;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.7px;

  text-transform: uppercase;
}


/* TITLE */

.products-section
.dynamic-product-card
.product-content h3 {
  max-width: 650px;

  margin:
    0
    0
    15px;

  color: #ffffff;

  font-size:
    clamp(
      30px,
      4vw,
      46px
    );

  line-height: 1.08;

  letter-spacing: -1px;
}


/* DESCRIPTION */

.products-section
.dynamic-product-card
.product-description {
  max-width: 650px;

  margin: 0;

  color: #9aabc0;

  font-size: 15px;

  line-height: 1.75;
}


/* TAGS */

.products-section
.dynamic-product-card
.product-features {
  display: flex;

  flex-wrap: wrap;

  gap: 9px;

  margin-top: 24px;
}


.products-section
.dynamic-product-card
.product-features span {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding:
    8px
    11px;

  border:
    1px solid
    rgba(255, 255, 255, 0.06);

  border-radius: 999px;

  color: #abc0d8;

  background:
    rgba(255, 255, 255, 0.04);

  font-size: 11px;

  font-weight: 600;
}


.products-section
.dynamic-product-card
.product-features i {
  color: #5fa7ff;
}


/* META */

.products-section
.public-product-meta {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 28px;

  padding-top: 22px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);
}


.products-section
.public-product-price {
  color: #ffffff;

  font-size: 21px;

  font-weight: 800;
}


.products-section
.public-product-stock {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 30px;

  padding:
    0
    11px;

  border-radius: 999px;

  font-size: 11px;

  font-weight: 700;
}


.products-section
.public-product-stock.available {
  color: #5adb95;

  background:
    rgba(46, 204, 113, 0.08);
}


.products-section
.public-product-stock.unavailable {
  color: #eeb850;

  background:
    rgba(238, 184, 80, 0.08);
}


/* ACTION */

.products-section
.dynamic-product-card
.product-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 11px;

  margin-top: 27px;
}


.products-section
.dynamic-product-card
.product-primary-btn {
  min-height: 46px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  padding:
    0
    19px;

  border-radius: 12px;

  color: #ffffff;

  text-decoration: none;

  font-size: 13px;

  font-weight: 700;

  background:
    linear-gradient(
      135deg,
      #2d7cf0,
      #1559bf
    );

  box-shadow:
    0 10px 25px
    rgba(45, 124, 240, 0.15);
}


.products-section
.dynamic-product-card
.product-primary-btn:hover {
  transform:
    translateY(-2px);

  filter:
    brightness(1.08);
}


/* VISUAL */

.products-section
.dynamic-product-visual {
  position: relative;

  display: flex;

  min-height: 370px;

  margin: 14px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.05);

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      #122239,
      #091522
    );
}


/* IMAGE */

.products-section
.dynamic-product-image {
  width: 100%;

  height: 100%;

  min-height: 370px;

  display: block;

  object-fit: cover;

  border-radius: inherit;

  transition:
    transform 0.45s ease;
}


.products-section
.dynamic-product-card:hover
.dynamic-product-image {
  transform:
    scale(1.035);
}


/* PLACEHOLDER */

.products-section
.dynamic-product-placeholder {
  position: relative;

  width: 100%;

  min-height: 370px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 17px;

  overflow: hidden;

  border-radius: inherit;

  background:
    radial-gradient(
      circle at center,
      rgba(46, 125, 235, 0.24),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #132943,
      #0a1625
    );
}


.products-section
.dynamic-product-placeholder::before {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  border:
    1px solid
    rgba(96, 165, 250, 0.12);

  border-radius: 50%;
}


.products-section
.dynamic-product-placeholder::after {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  border:
    1px solid
    rgba(96, 165, 250, 0.07);

  border-radius: 50%;
}


.products-section
.dynamic-product-placeholder i {
  position: relative;

  z-index: 2;

  color: #69a9f5;

  font-size: 68px;
}


.products-section
.dynamic-product-placeholder span {
  position: relative;

  z-index: 2;

  color: #8ea9c8;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1.6px;

  text-transform: uppercase;
}


/* CTA */

.products-cta-section {
  padding:
    30px
    24px
    100px;

  background: #08131f;
}


.products-cta {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 35px;

  padding:
    42px
    45px;

  border:
    1px solid
    rgba(96, 165, 250, 0.14);

  border-radius: 22px;

  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(37, 99, 235, 0.15),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #0d1d31,
      #0a1523
    );
}


.products-cta h2 {
  margin:
    8px
    0
    12px;

  color: #ffffff;

  font-size:
    clamp(
      27px,
      4vw,
      38px
    );
}


.products-cta p {
  max-width: 650px;

  margin: 0;

  color: #91a3b8;

  line-height: 1.7;
}


.products-cta .btn {
  flex-shrink: 0;
}


/* TABLET */

@media (max-width: 950px) {

  .products-page-hero {
    padding:
      130px
      24px
      75px;
  }


  .products-section {
    padding:
      75px
      24px;
  }


  .products-section
  .dynamic-product-card {
    grid-template-columns: 1fr;
  }


  .products-section
  .dynamic-product-card
  .product-content {
    padding:
      38px
      32px;
  }


  .products-section
  .dynamic-product-visual {
    min-height: 320px;

    margin:
      0
      14px
      14px;
  }


  .products-section
  .dynamic-product-image,
  .products-section
  .dynamic-product-placeholder {
    min-height: 320px;
  }


  .products-cta {
    align-items: flex-start;

    flex-direction: column;
  }

}


/* MOBILE */

@media (max-width: 650px) {

  .products-page-hero {
    padding:
      110px
      18px
      60px;
  }


  .products-page-hero h1 {
    font-size:
      clamp(
        37px,
        12vw,
        52px
      );
  }


  .products-section {
    padding:
      65px
      18px;
  }


  .products-section
  .jstaroma-product-controls {
    flex-direction: column;

    align-items: stretch;

    padding: 10px;
  }


  .products-section
  .jstaroma-product-filter {
    width: 100%;

    min-width: 0;
  }


  .products-section
  .dynamic-product-card {
    min-height: auto;

    border-radius: 18px;
  }


  .products-section
  .dynamic-product-card
  .product-content {
    padding:
      28px
      22px;
  }


  .products-section
  .dynamic-product-card
  .product-logo {
    width: 48px;
    height: 48px;

    font-size: 15px;
  }


  .products-section
  .dynamic-product-card
  .product-content h3 {
    font-size: 29px;
  }


  .products-section
  .public-product-meta {
    align-items: flex-start;

    flex-direction: column;
  }


  .products-section
  .dynamic-product-card
  .product-primary-btn {
    width: 100%;
  }


  .products-section
  .dynamic-product-visual {
    min-height: 245px;

    margin:
      0
      12px
      12px;
  }


  .products-section
  .dynamic-product-image,
  .products-section
  .dynamic-product-placeholder {
    min-height: 245px;
  }


  .products-cta-section {
    padding:
      15px
      18px
      70px;
  }


  .products-cta {
    padding:
      30px
      23px;
  }


  .products-cta .btn {
    width: 100%;

    justify-content: center;
  }

}