{%- import '../../css/variable/_variables.css' -%}

{# =============================================
   Product Section — RoamGuard Theme
   Node: 15702-2935
   Mobile-first: base → mobilept → md → lg → xl
   ============================================= #}

{# ── Annotation-driven padding utilities ── #}
.py-lg-130   { padding-top: 80px; padding-bottom: 80px; }
.py-md-80    { padding-top: 80px; padding-bottom: 80px; }
.mobilemy-60 { padding-top: 60px; padding-bottom: 60px; }
.pt-10  { padding-top: 10px; }
.pt-15  { padding-top: 15px; }
.pt-25  { padding-top: 25px; }
.pt-30  { padding-top: 30px; }
.pt-35  { padding-top: 35px; }


{# ══════════════════════════════════════════════
   SECTION HEADING + INTRO
   ══════════════════════════════════════════════ #}
.product-section__heading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
}

.product-section__heading {
  width: 100%;
}

.product-section__heading h2 {
  color: ;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.product-section__intro {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.product-section__intro p {
  color: #616161;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}


{# ══════════════════════════════════════════════
   CARDS ROW + COLUMN GRID
   ══════════════════════════════════════════════ #}
.product-section__cards-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
}

.product-section__card-col {
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}


{# ══════════════════════════════════════════════
   SINGLE PRODUCT CARD
   White, bordered, rounded-24px
   ══════════════════════════════════════════════ #}
.product-section__card {
  background-color: #ffffff;
  border: 1px solid rgba(211, 212, 217, 0.4);
  border-radius: 24px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}

{# ── Decorative floating vector (top-left quadrant) ── #}
.product-section__card-vector {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 322px;
  height: 316px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at 0% 0%,
    rgba(255, 102, 49, 0.06) 0%,
    rgba(255, 102, 49, 0.02) 50%,
    transparent 70%
  );
  border-radius: 24px 0 0 0;
}


{# ══════════════════════════════════════════════
   CARD TOP — icon + name + image
   ══════════════════════════════════════════════ #}
.product-section__card-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

{# Icon badge + product name row #}
.product-section__card-name-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

{# Double-ring icon badge — outer: rgba(255,102,49,0.1), inner: #FF6631 #}
.product-section__icon-badge {
  flex-shrink: 0;
}

.product-section__icon-outer {
  background-color: rgba(255, 102, 49, 0.1);
  border-radius: 999px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-section__icon-inner {
  background-color: ;
  border-radius: 999px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  box-sizing: border-box;
  overflow: hidden;
}

.product-section__icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.product-section__icon-placeholder {
  display: block;
  width: 24px;
  height: 24px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
}

{# Product name (H4) #}
.product-section__product-name-wrap {
  flex: 1;
}

.product-section__product-name {
  color: ;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

{# Product image — rounded-20px #}
.product-section__card-img-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  height: 229px;
}

.product-section__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


{# ══════════════════════════════════════════════
   CARD BODY — description, capabilities, tags, CTA
   ══════════════════════════════════════════════ #}
.product-section__card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  position: relative;
  z-index: 1;
  width: 100%;
}

.product-section__card-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

{# Description subtitle (H6) #}
.product-section__desc-subtitle {
  color: ;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.product-section__desc-body p {
  color: #616161;
  font-size: 16px;
  line-height: 1.4;
  margin: 8px 0 0;
}

{# Horizontal rule divider #}
.product-section__divider {
  width: 100%;
  height: 1px;
  background-color: #D3D4D9;
}

{# Core Capabilities heading + list #}
.product-section__capabilities-heading,
.product-section__best-for-heading {
  color: ;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.product-section__capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-section__capability-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-section__capability-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 23px;
}

.product-section__capability-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

{# Fallback dot bullet when no icon uploaded #}
.product-section__capability-icon-dot {
  display: block;
  width: 6px;
  height: 6px;
  background-color: ;
  border-radius: 50%;
  margin-top: 8px;
}

.product-section__capability-text {
  color: #616161;
  font-size: 16px;
  line-height: 22px;
  flex: 1;
}

{# Best For tags — frosted glass pill chips #}
.product-section__tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-section__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(211, 212, 217, 0.2);
  border: 1px solid rgba(211, 212, 217, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: #616161;
  white-space: nowrap;
  backdrop-filter: blur(2.5px);
}

{# CTA button — orange pill #}
.product-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: ;
  color: #ffffff;
  border-radius: 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  padding: 8px 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.product-section__cta:hover {
  opacity: 0.88;
  color: #ffffff;
}


{# ═══════════════════════════════════════════════
   MOBILE  (max-width: 767px)
   ═══════════════════════════════════════════════ #}
@media (max-width: 767px) {
  .product-section__heading h2 {
    font-size: 26px;
  }

  .product-section__cards-row {
    margin-left: 0;
    margin-right: 0;
  }

  .product-section__card-col {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .product-section__card {
    border-radius: 16px;
  }

  .product-section__product-name {
    font-size: 22px;
  }

  .product-section__card-img-wrap {
    height: 180px;
  }
}


{# ═══════════════════════════════════════════════
   TABLET  (min-width: 768px)
   ═══════════════════════════════════════════════ #}
@media (min-width: 768px) {
  .product-section__heading h2 {
    font-size: 36px;
  }

  .product-section__intro p {
    font-size: 17px;
  }

  .product-section__card-col {
    width: 50%;
  }
}


{# ═══════════════════════════════════════════════
   LG  (min-width: 992px)
   ═══════════════════════════════════════════════ #}
@media (min-width: 992px) {
  .py-lg-130 { padding-top: 130px; padding-bottom: 130px; }

  .product-section__heading h2 {
    font-size: 42px;
    line-height: 50px;
  }

  .product-section__intro p {
    font-size: 18px;
    line-height: 25px;
  }

  .product-section__card-col {
    width: 33.333%;
  }

  .product-section__card {
    border-radius: 24px;
  }

  .product-section__product-name {
    font-size: 26px;
  }
}


{# ═══════════════════════════════════════════════
   XL  (min-width: 1200px)
   ═══════════════════════════════════════════════ #}
@media (min-width: 1200px) {
  .product-section__card-img-wrap {
    height: 229px;
  }
}
