@view-transition {
  navigation: auto;
}

main {
  padding-inline: 20px;
}

.mainoffset {
  margin-top: 70px;
}

main .ym-wrapper {
  max-width: 70em;
  padding-block: 32px;
}

.slick-dotted.slick-slider {
  overflow: hidden;
  width: 100%;
}

thead th {
  border-bottom: 1px #000 solid;
}

/* ---------- Landing Page Product -------sing the below --- */
.lproduct-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

.lproduct-img {
  flex: 0 0 300px;
  text-align: center;
}

.lproduct-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  height: auto;
}

.lproduct-content {
  flex: 1;
  min-width: 250px;
}

.lproduct-content h1 {
  margin: 0 0 10px 0;
  color: #2e5387ff;
}

.p-btn-group {
  margin-top: 10px;
}

.p-btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.p-btn-group a:hover,
.p-btn-group a:focus {
  background-color: #0f3260;
  color: #fff;
}

.buy-button {
  background: #2e5387ff;
  color: white;
  margin-right: 8px;
}

.request-button {
  background: #e6e6e6;
  color: #222;
}

.p-btn-group .request-button:hover,
.p-btn-group .request-button:focus {
  background: #c8c8c8;
  color: #fff;
}

.product-description {
    display: grid;
}

.sect1:has(h2#_faq) {
    order: 2;
}


/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 768px) {
  .lproduct-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lproduct-img {
    flex: 0 0 auto;
  }

  .lproduct-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .p-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .p-btn {
    margin: 5px 0;
    width: 200px;
  }
}

.floating-icon {
  z-index: 3;
}


.package-item a:hover,
.package-item a:focus {
  background: #b22222;
  color: #fff;
}

/* Tabs Layout – Desktop */
.download-tabs {
  display: flex;
  border-bottom: 2px solid #e6e6e6;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.tabs-container {
  margin-block-end: 32px;
}

.tabs-container .tab-content.active {
  visibility: hidden;
}

.tabs-container .tab-content {
  position: relative;
  height: auto;
  display: none;
}

.tab {
  background: #f8f8f8;
  color: #2e5387;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  border-top: 3px solid transparent;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  top: 2px;
  z-index: 1;
}

.tab.active {
  background: #fff;
  color: #b22222;
  border-top: 3px solid #b22222;
  border-right: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  border-bottom: 2px solid #fff;
  z-index: 2;
}

/* Tab Content */
.tab-content {
  visibility: hidden;
  opacity: 0;
  transition: all 200ms ease-in-out;
  background: #fff;
  position: relative;
  top: -2px;
  height: 0;
}

@media(min-width: 768px) {
  .download-tabs {
    position: relative;
  }

  .tab-content {
    opacity: 0;
    transition: all 200ms ease-in-out;
    background: #fff;
    position: absolute;
    top: -2px;
    height: 0;
    top: 47px;
    left: 0;
    width: calc(100% - 40px);
  }

  .tabs-container .tab-content {
    display: block;
  }
}

.tab-content.active {
  visibility: visible;
  opacity: 1;
  border: 1px solid #e6e6e6;
  padding: 20px;
  height: fit-content;
}

/* Package Item */
.package-item {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-block-end: 10px;
}

.package-item:last-child {
  margin-block-end: 0;
}

.package-item p {
  flex: 1;
  margin: 0;
  line-height: 1.6;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6e6e6;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  padding: 8px 14px;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px;
}

.download-btn:hover {
  background: #b22222;
  color: #fff;
  border-color: #b22222;
}

table,
tbody td {
  border: none;
}

tr {
  border-bottom: 1px solid #ccc;
}

tr:first-child {
  border-top: 1px solid #ccc;
}

td p {
  margin-block-end: 0;
}

details {
  padding: 0;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

details summary {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  padding: 16px;
  justify-content: space-between;
  align-items: center;
  color: #2e5387;
}

details::details-content,
details:not([open])::details-content {
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 300ms ease-in-out;
}

details[open]::details-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

details summary::after {
  --fa-family-classic: "Font Awesome 7 Free";
  --fa: "\f078";
  --fa-family: var(--fa-family-classic);
  --fa-style: 900;
  --_fa-family: var(--fa-family,var(--fa-style-family,"Font Awesome 7 Free"));
  content: var(--fa)/"";
  font-family: var(--_fa-family);
  font-feature-settings: normal;
  font-style: normal;
  font-synthesis: none;
  font-variant: normal;
  font-weight: var(--fa-style,900);
  line-height: 1;
  text-align: center;
  text-rendering: auto;
  width: 21px;
  height: 21px;
  transition: all 300ms ease-in-out;
}

details p {
  margin-block: 0 16px;
  padding-inline: 16px;
}

/* ===== Mobile View (≤768px) ===== */
@media (max-width: 768px) {
  .download-tabs {
    display: block;
    border: none;
  }

  .tab {
    display: block;
    width: 100%;
    text-align: left;
    background: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-bottom: none;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .tab.active {
    background: #fff;
    color: #b22222;
  }

  /* Move content directly below its active tab */
  .tab-content {
    border: 1px solid #e6e6e6;
    border-top: none;
    padding: 0;
    margin-top: -1px;
  }

  .tab-content.active {
    padding: 16px;
  }

  .package-item {
    margin-block-end: 10px;
  }

  .package-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .download-btn {
    font-size: 0.85rem;
    padding: 7px 12px;
    margin-top: 10px;
    align-self: center;
  }
}
