/*
 * Gram Teknik Premium Catalog UI
 * Category description + Product detail visual layer
 * Scoped for OpenCart 3 / Journal3 and default fallback theme.
 */

:root {
  --gt-navy: #0b2742;
  --gt-blue: #12588a;
  --gt-blue-2: #267bb2;
  --gt-sky: #eef7fc;
  --gt-gold: #c89b4b;
  --gt-ink: #142235;
  --gt-muted: #687789;
  --gt-line: #dce8f0;
  --gt-white: #ffffff;
  --gt-shadow: 0 22px 55px rgba(15, 55, 86, .12);
  --gt-shadow-soft: 0 12px 32px rgba(15, 55, 86, .09);
  --gt-radius-xl: 26px;
  --gt-radius-lg: 20px;
  --gt-radius-md: 14px;
}

/* ---------- CATEGORY INTRO ---------- */
.route-product-category .gt-category-intro,
#product-category .gt-category-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 4px 0 30px;
  border: 1px solid rgba(24, 91, 137, .14);
  border-radius: var(--gt-radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(38, 123, 178, .16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6fbfe 55%, #edf6fb 100%);
  box-shadow: var(--gt-shadow);
}

.route-product-category .gt-category-intro::before,
#product-category .gt-category-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  right: -105px;
  bottom: -115px;
  border: 34px solid rgba(200, 155, 75, .09);
  border-radius: 50%;
}

.gt-category-intro__grid {
  display: grid;
  grid-template-columns: minmax(230px, 34%) minmax(0, 1fr);
  min-height: 320px;
}

.gt-category-intro__grid.gt-no-media {
  grid-template-columns: 1fr;
  min-height: auto;
}

.gt-category-intro__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 28px;
  margin: 0;
  background:
    linear-gradient(145deg, rgba(11, 39, 66, .98), rgba(18, 88, 138, .92)),
    #0b2742;
}

.gt-category-intro__media::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  pointer-events: none;
}

.gt-category-intro__media img,
.gt-category-intro img.category-image {
  position: relative;
  z-index: 1;
  display: block;
  float: none;
  width: 100%;
  max-width: 420px;
  height: 260px;
  object-fit: contain;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 50px rgba(0,0,0,.23);
  transition: transform .35s ease, box-shadow .35s ease;
}

.gt-category-intro:hover .gt-category-intro__media img,
.gt-category-intro:hover img.category-image {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 28px 60px rgba(0,0,0,.28);
}

.gt-category-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 4vw, 54px);
}

.gt-section-kicker,
.gt-product-eyebrow,
.gt-gallery-label__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--gt-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gt-section-kicker::before,
.gt-product-eyebrow::before,
.gt-gallery-label__title::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gt-gold), #e6c381);
}

.gt-category-intro__title {
  margin: 0 0 18px;
  color: var(--gt-navy);
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -.025em;
}

.gt-category-intro .gt-rich-text,
.gt-category-intro .category-text {
  color: var(--gt-muted);
  font-size: 15px;
  line-height: 1.82;
}

.gt-category-intro .gt-rich-text > :first-child,
.gt-category-intro .category-text > :first-child {
  margin-top: 0;
}

.gt-category-intro .gt-rich-text h2,
.gt-category-intro .gt-rich-text h3,
.gt-category-intro .gt-rich-text h4,
.gt-category-intro .category-text h2,
.gt-category-intro .category-text h3,
.gt-category-intro .category-text h4 {
  color: var(--gt-ink);
  font-weight: 750;
  line-height: 1.35;
}

.gt-category-intro .gt-rich-text ul,
.gt-category-intro .gt-rich-text ol,
.gt-category-intro .category-text ul,
.gt-category-intro .category-text ol {
  padding-left: 20px;
}

.gt-category-intro .gt-rich-text li,
.gt-category-intro .category-text li {
  margin: 7px 0;
}

.gt-category-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.gt-category-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: #31516a;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #d8e7f0;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 5px 14px rgba(23, 77, 112, .06);
}

.gt-category-benefits i {
  color: #2e8a62;
}

/* Refine category cards inherit the premium language */
.route-product-category .refine-categories {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius-lg);
  background: #fff;
  box-shadow: var(--gt-shadow-soft);
}

.route-product-category .refine-item a {
  overflow: hidden;
  border: 1px solid #e3edf3;
  border-radius: 15px;
  background: linear-gradient(180deg, #fff, #f8fbfd);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.route-product-category .refine-item a:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 88, 138, .34);
  box-shadow: 0 13px 28px rgba(15, 55, 86, .11);
}

.route-product-category .products-filter {
  padding: 13px 15px;
  border: 1px solid var(--gt-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,55,86,.06);
}

/* ---------- PRODUCT SHOWCASE ---------- */
.route-product-product .gt-product-showcase,
#product-product .gt-product-showcase {
  gap: 26px;
  align-items: flex-start;
  margin-top: 8px;
}

.route-product-product .gt-product-media-card,
.route-product-product .gt-product-summary-card,
#product-product .gt-product-media-card,
#product-product .gt-product-summary-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius-xl);
  background: #fff;
  box-shadow: var(--gt-shadow);
}

.route-product-product .gt-product-media-card,
#product-product .gt-product-media-card {
  padding: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(38,123,178,.08), transparent 35%),
    #fff;
}

.route-product-product .gt-product-summary-card,
#product-product .gt-product-summary-card {
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 100% 0, rgba(38,123,178,.10), transparent 36%),
    linear-gradient(180deg, #fff, #fbfdff);
}

.gt-gallery-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 16px;
}

.gt-gallery-label__title {
  margin: 0;
}

.gt-gallery-label__count {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  color: #49677d;
  font-size: 11px;
  font-weight: 750;
  border: 1px solid #dae7ef;
  border-radius: 999px;
  background: #f7fbfd;
}

.route-product-product .gt-product-media-card .product-image,
#product-product .gt-product-media-card .product-image {
  position: relative;
}

.route-product-product .gt-product-media-card .main-image,
#product-product .gt-product-media-card .main-image {
  overflow: hidden;
  border: 1px solid #e0ebf2;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(241,248,252,.9), rgba(255,255,255,.98));
}

.route-product-product .gt-product-media-card .main-image::after,
#product-product .gt-product-media-card .main-image::after {
  content: "\f00e";
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-family: FontAwesome;
  font-size: 16px;
  border-radius: 50%;
  background: rgba(11,39,66,.88);
  box-shadow: 0 10px 24px rgba(11,39,66,.25);
  pointer-events: none;
}

.route-product-product .gt-product-media-card .main-image img,
#product-product .gt-product-media-card .main-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 390px;
  max-height: 570px;
  object-fit: contain;
  padding: clamp(14px, 3vw, 28px);
  transition: transform .35s ease;
}

.route-product-product .gt-product-media-card .main-image:hover img,
#product-product .gt-product-media-card .main-image:hover img {
  transform: scale(1.025);
}

.route-product-product .gt-product-media-card .additional-images,
#product-product .gt-product-media-card .additional-images {
  margin-top: 14px;
}

.route-product-product .gt-product-media-card .additional-image,
#product-product .gt-product-media-card .additional-image {
  overflow: hidden;
  padding: 4px;
  border: 1px solid #dce8ef;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.route-product-product .gt-product-media-card .additional-image:hover,
.route-product-product .gt-product-media-card .additional-image.swiper-slide-thumb-active,
#product-product .gt-product-media-card .additional-image:hover,
#product-product .gt-product-media-card .additional-image.swiper-slide-thumb-active {
  transform: translateY(-2px);
  border-color: var(--gt-blue-2);
  box-shadow: 0 9px 18px rgba(18,88,138,.15);
}

.route-product-product .gt-product-media-card .additional-image img,
#product-product .gt-product-media-card .additional-image img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fbfd;
}

.route-product-product .gt-product-summary-card .page-title,
#product-product .gt-product-summary-card .page-title {
  margin: 0 0 18px;
  color: var(--gt-navy);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.gt-product-eyebrow {
  margin-bottom: 13px;
}

.route-product-product .gt-product-summary-card .product-stats ul,
#product-product .gt-product-summary-card .product-stats ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 19px;
}

.route-product-product .gt-product-summary-card .product-stats li,
#product-product .gt-product-summary-card .product-stats li {
  margin: 0;
  padding: 8px 11px;
  color: #49657a;
  font-size: 12px;
  border: 1px solid #dce8ef;
  border-radius: 999px;
  background: #f8fbfd;
}

.route-product-product .gt-product-summary-card .product-stock.in-stock,
#product-product .gt-product-summary-card .product-stock.in-stock {
  color: #22704e;
  border-color: #cce8db;
  background: #f0faf5;
}

.route-product-product .gt-product-summary-card .product-price-group,
#product-product .gt-product-summary-card .product-price-group {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #dce8ef;
  border-radius: 17px;
  background: linear-gradient(135deg, #f4fafe, #fff);
}

.route-product-product .gt-product-summary-card .product-price,
.route-product-product .gt-product-summary-card .product-price-new,
#product-product .gt-product-summary-card .product-price,
#product-product .gt-product-summary-card .product-price-new {
  color: var(--gt-navy);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.1;
}

.route-product-product .gt-product-summary-card .form-control,
#product-product .gt-product-summary-card .form-control {
  min-height: 46px;
  border-color: #d6e4ec;
  border-radius: 11px;
  box-shadow: none;
}

.route-product-product .gt-product-summary-card .btn-cart,
.route-product-product .gt-product-summary-card .btn-primary,
#product-product .gt-product-summary-card .btn-cart,
#product-product .gt-product-summary-card .btn-primary {
  min-height: 50px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gt-blue), var(--gt-blue-2));
  box-shadow: 0 12px 24px rgba(18,88,138,.23);
  transition: transform .22s ease, box-shadow .22s ease;
}

.route-product-product .gt-product-summary-card .btn-cart:hover,
.route-product-product .gt-product-summary-card .btn-primary:hover,
#product-product .gt-product-summary-card .btn-cart:hover,
#product-product .gt-product-summary-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18,88,138,.30);
}

/* ---------- PRODUCT DESCRIPTION / TABS ---------- */
.gt-product-content-panel {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(38,123,178,.09), transparent 30%),
    #fff;
  box-shadow: var(--gt-shadow);
}

.gt-product-content-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gt-navy), var(--gt-blue-2), var(--gt-gold));
}

.gt-product-content-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2ecf2;
}

.gt-product-content-heading__copy span {
  display: block;
  margin-bottom: 7px;
  color: var(--gt-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.gt-product-content-heading__copy h2 {
  margin: 0;
  color: var(--gt-navy);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}

.gt-product-content-heading__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--gt-navy), var(--gt-blue-2));
  box-shadow: 0 12px 24px rgba(18,88,138,.20);
}

.gt-product-content-panel .tabs-container,
.gt-product-content-panel .panel-group,
.gt-product-content-panel .product-blocks,
.gt-product-content-panel .blocks-default {
  margin: 0;
}

.gt-product-content-panel .nav-tabs,
#product-product .gt-default-product-content .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px;
  border: 1px solid #dce8ef;
  border-radius: 15px;
  background: #f4f9fc;
}

.gt-product-content-panel .nav-tabs > li,
#product-product .gt-default-product-content .nav-tabs > li {
  float: none;
  margin: 0;
}

.gt-product-content-panel .nav-tabs > li > a,
#product-product .gt-default-product-content .nav-tabs > li > a {
  margin: 0;
  padding: 11px 16px;
  color: #49677d;
  font-weight: 750;
  border: 0 !important;
  border-radius: 10px;
  background: transparent;
}

.gt-product-content-panel .nav-tabs > li.active > a,
.gt-product-content-panel .nav-tabs > li > a:hover,
#product-product .gt-default-product-content .nav-tabs > li.active > a,
#product-product .gt-default-product-content .nav-tabs > li > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--gt-navy), var(--gt-blue));
  box-shadow: 0 8px 18px rgba(11,39,66,.18);
}

.gt-product-content-panel .tab-content,
.gt-product-content-panel .block-body,
.gt-product-content-panel .panel-body,
#product-product .gt-default-product-content .tab-content {
  color: #4d6072;
  font-size: 15px;
  line-height: 1.85;
  border: 1px solid #e1ebf1;
  border-radius: 16px;
  background: #fff;
}

.gt-product-content-panel .tab-content,
#product-product .gt-default-product-content .tab-content {
  padding: clamp(20px, 3vw, 32px);
}

.gt-product-content-panel .block-body,
.gt-product-content-panel .panel-body {
  padding: clamp(18px, 2.5vw, 28px);
}

.gt-product-content-panel .tab-content h2,
.gt-product-content-panel .tab-content h3,
.gt-product-content-panel .tab-content h4,
.gt-product-content-panel .block-content h2,
.gt-product-content-panel .block-content h3,
.gt-product-content-panel .block-content h4,
#product-product .gt-default-product-content .tab-content h2,
#product-product .gt-default-product-content .tab-content h3,
#product-product .gt-default-product-content .tab-content h4 {
  color: var(--gt-ink);
  font-weight: 780;
  line-height: 1.35;
}

.gt-product-content-panel .block-content img,
.gt-product-content-panel .tab-content img,
#product-product .gt-default-product-content .tab-content img {
  max-width: 100%;
  height: auto !important;
  margin: 12px auto;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(15,55,86,.10);
}

.gt-product-content-panel table,
#product-product .gt-default-product-content table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #dce7ee;
  border-radius: 13px;
}

.gt-product-content-panel table th,
.gt-product-content-panel table td,
#product-product .gt-default-product-content table th,
#product-product .gt-default-product-content table td {
  padding: 12px 14px;
  border-color: #e4edf2;
}

.gt-product-content-panel table tr:nth-child(even),
#product-product .gt-default-product-content table tr:nth-child(even) {
  background: #f7fafc;
}

/* ---------- DEFAULT THEME FALLBACK ---------- */
#product-category .gt-category-intro {
  margin-bottom: 28px;
}

#product-product .gt-default-product-layout > [class*="col-sm-"] {
  margin-bottom: 24px;
}

#product-product .gt-default-gallery-card,
#product-product .gt-default-summary-card,
#product-product .gt-default-product-content {
  padding: 20px;
  border: 1px solid var(--gt-line);
  border-radius: var(--gt-radius-xl);
  background: #fff;
  box-shadow: var(--gt-shadow-soft);
}

#product-product .gt-default-summary-card h1 {
  color: var(--gt-navy);
  font-weight: 800;
  line-height: 1.2;
}

#product-product .gt-default-gallery-card .thumbnails {
  margin: 0;
}

#product-product .gt-default-gallery-card .thumbnail {
  overflow: hidden;
  border-color: #dce8ef;
  border-radius: 14px;
  background: #f9fcfe;
}

#product-product .gt-default-product-content {
  margin-top: 22px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .gt-category-intro__grid {
    grid-template-columns: minmax(190px, 38%) minmax(0, 1fr);
  }

  .gt-category-intro__media {
    min-height: 280px;
    padding: 22px;
  }

  .gt-category-intro__media img,
  .gt-category-intro img.category-image {
    height: 220px;
  }

  .route-product-product .gt-product-media-card .main-image img,
  #product-product .gt-product-media-card .main-image img {
    min-height: 330px;
  }
}

@media (max-width: 767px) {
  .route-product-category .gt-category-intro,
  #product-category .gt-category-intro,
  .route-product-product .gt-product-media-card,
  .route-product-product .gt-product-summary-card,
  #product-product .gt-product-media-card,
  #product-product .gt-product-summary-card,
  .gt-product-content-panel {
    border-radius: 19px;
  }

  .gt-category-intro__grid {
    display: block;
    min-height: 0;
  }

  .gt-category-intro__media {
    min-height: 230px;
    padding: 22px;
  }

  .gt-category-intro__media img,
  .gt-category-intro img.category-image {
    height: 200px;
    max-width: 340px;
  }

  .gt-category-intro__content {
    padding: 25px 21px 27px;
  }

  .gt-category-intro__title {
    font-size: 26px;
  }

  .gt-category-benefits {
    gap: 7px;
  }

  .gt-category-benefits span {
    width: 100%;
    justify-content: flex-start;
  }

  .route-product-product .gt-product-media-card,
  #product-product .gt-product-media-card {
    padding: 14px;
  }

  .route-product-product .gt-product-summary-card,
  #product-product .gt-product-summary-card {
    padding: 22px 18px;
  }

  .route-product-product .gt-product-media-card .main-image img,
  #product-product .gt-product-media-card .main-image img {
    min-height: 285px;
    max-height: 430px;
    padding: 12px;
  }

  .route-product-product .gt-product-media-card .main-image::after,
  #product-product .gt-product-media-card .main-image::after {
    width: 38px;
    height: 38px;
  }

  .gt-product-content-panel {
    margin-top: 24px;
    padding: 17px;
  }

  .gt-product-content-heading {
    align-items: center;
    margin-bottom: 17px;
    padding-bottom: 16px;
  }

  .gt-product-content-heading__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .gt-product-content-panel .nav-tabs,
  #product-product .gt-default-product-content .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gt-product-content-panel .nav-tabs > li,
  #product-product .gt-default-product-content .nav-tabs > li {
    flex: 0 0 auto;
  }

  .gt-product-content-panel .tab-content,
  .gt-product-content-panel .block-body,
  .gt-product-content-panel .panel-body,
  #product-product .gt-default-product-content .tab-content {
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gt-category-intro *,
  .gt-product-showcase *,
  .gt-product-content-panel * {
    transition: none !important;
  }
}


/* =========================================================
   V2 VISUAL UNITY — balanced category + product composition
   ========================================================= */

/* CATEGORY: larger visual mass + content that always fills its column */
.route-product-category .gt-category-intro,
#product-category .gt-category-intro {
  background: #fff;
  border-color: rgba(18, 88, 138, .16);
}

.gt-category-intro__grid {
  grid-template-columns: minmax(330px, 43%) minmax(0, 57%);
  min-height: 510px;
}

.gt-category-intro__media {
  min-height: 510px;
  padding: 54px 42px 38px;
  flex-direction: column;
  gap: 22px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.18), transparent 25%),
    radial-gradient(circle at 95% 92%, rgba(200,155,75,.20), transparent 30%),
    linear-gradient(150deg, #08223b 0%, #0d4169 52%, #126b9f 100%);
}

.gt-category-intro__media::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.gt-category-intro__media::after {
  inset: 22px;
  border-radius: 22px;
}

.gt-category-visual-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
}

.gt-category-visual-badge i { color: #efca7d; }

.gt-category-intro__media img,
.gt-category-intro img.category-image {
  flex: 1 1 auto;
  width: min(100%, 500px);
  max-width: 500px;
  height: 315px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #f3f8fb);
  box-shadow: 0 28px 70px rgba(0,0,0,.30);
}

.gt-category-visual-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 18px 20px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 17px;
  background: rgba(5,25,44,.32);
  backdrop-filter: blur(10px);
}

.gt-category-visual-caption strong,
.gt-category-visual-caption span { display: block; }
.gt-category-visual-caption strong { margin-bottom: 5px; font-size: 17px; }
.gt-category-visual-caption span { color: rgba(255,255,255,.72); font-size: 12px; }

.gt-category-intro__content {
  justify-content: flex-start;
  gap: 24px;
  min-height: 510px;
  padding: clamp(36px, 4vw, 58px);
  background:
    radial-gradient(circle at 100% 0, rgba(38,123,178,.10), transparent 31%),
    linear-gradient(180deg, #fff, #f8fbfd);
}

.gt-category-copy { flex: 1 1 auto; }

.gt-category-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gt-category-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 15px;
  border: 1px solid #deebf2;
  border-radius: 16px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 9px 22px rgba(15,55,86,.06);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.gt-category-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(18,88,138,.30);
  box-shadow: 0 14px 28px rgba(15,55,86,.11);
}
.gt-category-feature__icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 16px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--gt-navy), var(--gt-blue-2));
  box-shadow: 0 9px 18px rgba(18,88,138,.20);
}
.gt-category-feature strong,
.gt-category-feature small { display: block; }
.gt-category-feature strong { margin-bottom: 3px; color: var(--gt-ink); font-size: 13px; }
.gt-category-feature small { color: #708091; font-size: 11px; line-height: 1.45; }

.gt-category-support-band {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  color: #fff;
  border-radius: 17px;
  background: linear-gradient(135deg, #0a2946, #125f91);
  box-shadow: 0 15px 30px rgba(11,39,66,.20);
}
.gt-category-support-band__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #153f5f;
  font-size: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #dceef8);
}
.gt-category-support-band__copy strong,
.gt-category-support-band__copy span { display: block; }
.gt-category-support-band__copy strong { margin-bottom: 4px; font-size: 14px; }
.gt-category-support-band__copy span { color: rgba(255,255,255,.70); font-size: 11px; }
.gt-category-support-band__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #153f5f !important;
  font-size: 12px;
  font-weight: 800;
  border-radius: 11px;
  background: #fff;
  white-space: nowrap;
}

/* PRODUCT: equal-height columns and a visually complete right rail */
.route-product-product .gt-product-showcase,
#product-product .gt-product-showcase {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: 28px;
  align-items: stretch;
}
.route-product-product .gt-product-media-card,
.route-product-product .gt-product-summary-card,
#product-product .gt-product-media-card,
#product-product .gt-product-summary-card {
  width: auto !important;
  max-width: none !important;
  min-height: 100%;
}
.route-product-product .gt-product-summary-card,
#product-product .gt-product-summary-card {
  display: flex;
  flex-direction: column;
}
.route-product-product .gt-product-summary-card #product,
#product-product .gt-product-summary-card #product {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.gt-product-media-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.gt-product-media-features > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid #deebf2;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7fbfd);
}
.gt-product-media-features i {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--gt-blue);
  border-radius: 11px;
  background: #eaf5fb;
}
.gt-product-media-features span,
.gt-product-media-features b,
.gt-product-media-features small { display: block; }
.gt-product-media-features b { color: var(--gt-ink); font-size: 12px; }
.gt-product-media-features small { margin-top: 2px; color: #718092; font-size: 10px; }

.gt-product-assurance {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #e1ebf1;
}
.gt-product-assurance__heading span,
.gt-product-assurance__heading strong { display: block; }
.gt-product-assurance__heading span {
  margin-bottom: 4px;
  color: var(--gt-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.gt-product-assurance__heading strong { color: var(--gt-navy); font-size: 16px; }
.gt-product-assurance__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}
.gt-product-assurance__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 11px;
  border: 1px solid #deebf2;
  border-radius: 14px;
  background: #f8fbfd;
}
.gt-product-assurance__item > i {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: #fff;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--gt-navy), var(--gt-blue-2));
}
.gt-product-assurance__item span,
.gt-product-assurance__item b,
.gt-product-assurance__item small { display: block; }
.gt-product-assurance__item b { color: var(--gt-ink); font-size: 11px; }
.gt-product-assurance__item small { margin-top: 2px; color: #718092; font-size: 9.5px; }

.gt-product-advice {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 28px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  color: #fff !important;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a2946, #126b9f);
  box-shadow: 0 14px 28px rgba(11,39,66,.18);
}
.gt-product-advice__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #123d5e;
  font-size: 17px;
  border-radius: 13px;
  background: #fff;
}
.gt-product-advice__copy b,
.gt-product-advice__copy small { display: block; }
.gt-product-advice__copy b { font-size: 13px; }
.gt-product-advice__copy small { margin-top: 3px; color: rgba(255,255,255,.69); font-size: 10.5px; }
.gt-product-advice__arrow { justify-self: center; }

/* Product details: strong left visual rail + flexible content */
.gt-product-content-layout {
  display: grid;
  grid-template-columns: minmax(220px, 27%) minmax(0, 73%);
  gap: 22px;
  align-items: start;
}
.gt-product-content-aside {
  position: sticky;
  top: 18px;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(150deg, #092640, #126b9f);
  box-shadow: 0 18px 36px rgba(11,39,66,.20);
}
.gt-product-content-aside__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  color: #153f5f;
  font-size: 20px;
  border-radius: 15px;
  background: #fff;
}
.gt-product-content-aside strong { display: block; font-size: 18px; line-height: 1.3; }
.gt-product-content-aside p { margin: 9px 0 20px; color: rgba(255,255,255,.70); font-size: 12px; line-height: 1.6; }
.gt-product-content-aside ul { margin: 0; padding: 0; list-style: none; }
.gt-product-content-aside li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.gt-product-content-aside li i { color: #efca7d; }
.gt-product-content-main { min-width: 0; }

@media (max-width: 1100px) {
  .gt-category-intro__grid { grid-template-columns: 40% 60%; }
  .route-product-product .gt-product-showcase,
  #product-product .gt-product-showcase { grid-template-columns: minmax(0,1fr) minmax(340px,.88fr); }
  .gt-product-media-features { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .gt-category-intro__grid,
  .route-product-product .gt-product-showcase,
  #product-product .gt-product-showcase,
  .gt-product-content-layout { grid-template-columns: 1fr; }
  .gt-category-intro__media,
  .gt-category-intro__content { min-height: auto; }
  .gt-category-intro__media { padding: 42px 28px 28px; }
  .gt-category-intro__media img,
  .gt-category-intro img.category-image { height: 280px; }
  .gt-product-content-aside { position: relative; top: auto; }
}

@media (max-width: 560px) {
  .gt-category-feature-grid,
  .gt-product-assurance__grid { grid-template-columns: 1fr; }
  .gt-category-support-band { grid-template-columns: 42px minmax(0,1fr); }
  .gt-category-support-band__link { grid-column: 1 / -1; justify-content: center; }
  .gt-product-media-features { grid-template-columns: 1fr; }
  .gt-category-intro__content { padding: 26px 20px; }
}
