/* === Variables === */
:root {
  --max-width: 1200px;
}

/*********************** FONTS ***********************/

@font-face {
  font-family: "DMSerifDisplay-Regular";
  src: url("/app/assets/pages/home-warranty-comparison-v2/fonts/DMSerifDisplay-Regular.ttf");
}

@font-face {
  font-family: 'Poppins';
  src: url('/app/assets/pages/home-warranty-comparison-v2/fonts/Poppins-Bold.ttf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: PoppinsEB;
  src: url("/app/assets/pages/home-warranty-comparison-v2/fonts/Poppins-ExtraBold.ttf");
}

@font-face {
  font-family: PoppinsSB;
  src: url("/app/assets/pages/home-warranty-comparison-v2/fonts/Poppins-SemiBold.ttf");
}ב

@font-face {
  font-family: PoppinsR;
  src: url("/app/assets/pages/home-warranty-comparison-v2/fonts/Poppins-Regular.ttf");
}

/* === Base Styles === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
}

h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 20px 50px 20px;
}

.heading {
  text-align: center;
  padding-block: 50px 35px;
}

.no-link {
  cursor: auto;
}

.divider{
    background: #d3d3d36e;
    width: 100%;
    height: .5px;
    margin-block: .5rem;
}
/* === Hero Section === */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #e3f9f6, #ffffff);
}

.hero h1 {
  font-size: 2.8em;
  font-weight: 700;
  background: linear-gradient(90deg, #132323, #005f5f, #3f6060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #444;
}

/* === Search Box === */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  /* overflow: hidden; */
  max-width: 600px;
  margin: 0 auto;
}

.search-box input {
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  flex: 1;
  min-width: 0;
  border-radius: 30px 0 0 30px;
}

.search-box button {
  background: #009a9a;
  color: white;
  border: none;
  padding: 14px 25px;
  margin: 0.5rem;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  cursor: pointer;
}

.search-box button i {
  font-size: 14px;
}

.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 10px 10px;
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Suggestions Dropdown === */

#suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 10px;
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
  display: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-top: .5rem;
}

#suggestions a {
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: start;
  text-decoration: none;
  color: black;
}

#suggestions a:hover {
  background-color: #f5f5f5;
}

#suggestions li:last-child {
  border-bottom: none;
}


#suggestions li:hover {
  background-color: #f5f5f5;
}

#suggestions li div:first-child {
  flex: 0 0 30%;
  /* First div takes up 30% of the space */
}

#suggestions li div:not(:first-child) {
  flex: 1;
}

#suggestions li div {
  /* The rest of the divs take up the remaining space equally */
  max-height: 3em;
  /* Allow 2 lines of text (assuming line-height is 1.5em) */
  overflow: hidden;
  /* Hide the overflowed text */
  text-overflow: ellipsis;
  /* Add the ellipsis (...) */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Limit to 2 lines */
  -webkit-box-orient: vertical;
}

/* === Categories Section === */
.categories-header {
  position: relative;
  z-index: -1;
}

.categories {
  text-align: center;
}

.categories-header p {
  color: #555;
}

/* === Card Grid === */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-inline: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
 
.categories a {
    text-decoration: none;
}

.categories .card {
    position: relative;
    transition: 1s ease;
    width: 100%;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    background: #e7fbeb87;
    overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.categories .main-icon {
    height: 59px;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        aspect-ratio: 1 / 1;
    transition: transform 0.5s ease;
    color: white;
    background: linear-gradient(24deg, rgb(86 132 86) 0%, rgba(79, 152, 79, 1) 50%, rgb(100 188 84) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    align-self: center;
}

.categories .card:hover .main-icon {
    transform: rotate(3deg) scale(1.1);
}

.categories .card:hover .card-image {
  transform: scale(1.1);
}

.categories .card:hover h3 {
    color: #3c883c;
}

.categories .card p {
    margin: 0;
    color: #6e8b6c;
    font-size: .9rem;
    text-align: start;
}

.categories .card .overlay {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    color: black;
}

.categories .card .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.categories .card button {
    transition: 1s ease;
    cursor: pointer;
    background: white;
    border: none;
    padding: .8rem .9rem;
    color: gray;
    font-size: 1rem;
    border-radius: 9px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.categories .card:hover button {
    background: #4f984f;
    color: #dfdfdf;
}

.categories button i {
    transition: 1s ease;
}

.categories .card:hover button i {
    transform: translateX(5px);
}

.categories .bottom-line {
    position: absolute;
    height: 3px;
    background: green;
    width: 100%;
    bottom: 0;
    left: 100%;
    transition: .5s ease;
}

.categories .card:hover .bottom-line {
    /* border-bottom: 3px solid green; */
    left: 0px;
}

/* === Products  === */

.products-container {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 20px 0 20px;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    max-width: var(--max-width);
    padding-inline: 1rem;
    margin: 0 auto 1rem auto;
}

button.toggle-view {
    font-size: 1.3rem;
    background: none;
    padding: .5rem .5rem .3rem .5rem;
    border-radius: 10px;
    cursor: pointer;
    border: none;
}

button.toggle-view:hover,
button.toggle-view.active {
    background: #e7fbeb;
}

/* === Product Card  === */

.product-description-wrapper {
  position: relative;
}

.product-description.clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.read-more-toggle {
  font-weight: bold;
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-size: 0.85rem;
  text-decoration: underline;
}

.read-more-toggle .arrow i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.read-more-toggle.expanded .arrow i {
  transform: rotate(180deg);
}

.rating {
  font-size: 1.3rem;
  font-weight: 600;
}

.stars {
  background: #edffe3b5;
  width: 100%;
  padding-block: .5rem;
  border-radius: 1rem;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.star-rating-wrapper {
  display: inline-block;
  position: relative;
  font-size: 1.2rem;
}

.back-stars {
  color: #ccc;
  position: relative;
  display: inline-block;
}

.front-stars {
  color: #f5a623;
  /* gold/orange */
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  pointer-events: none;
}

/* === Product Card Design 1 === */

.design_1.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding: 1rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.product-card.design_1 .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(to right, #facc15, #f59e0b);
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.product-card.design_1 .position-number {
  position: absolute;
  top: -10px;
  left: -10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #047857;
}

.product-card.design_1 .product-content {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}

.product-card.design_1 .product-image {
  aspect-ratio: 1 / 1;
  max-width: 30%;
  overflow: hidden;
}

.product-card.design_1 .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}

.product-card.design_1 .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card.design_1 .tags {
  display: flex;
  gap: 0.5rem;
}

.product-card.design_1 .tag {
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 9999px;
  background-color: rgb(240 240 240);
  color: black;
  border: 1px solid lightgray;
}

.product-card.design_1 .product-title {
  font-size: 1rem;
  font-weight: bold;
}

.product-card.design_1 .product-description {
  font-size: 0.85rem;
  color: #4b5563;
  margin: 0;
}

.product-card.design_1 .meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.product-card.design_1 .meta span {
  margin-right: 1rem;
}

.product-card.design_1 .buying-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-card.design_1 .option {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.7rem;
}

.product-card.design_1 .option:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #21c55d;
  font-weight: 700;
}

.product-card.design_1 .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.product-card.design_1 .prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card.design_1 .special-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #059669;
}

.product-card.design_1 .price {
  text-decoration: line-through;
  padding-inline-end: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.product-card.design_1 .price.no-special-price {
  font-size: 1.3rem;
  font-weight: bold;
  /* emerald-600 */
  text-decoration: none;
  padding-inline-start: 0;
}

.product-card.design_1 .view-deal {
  background: #009a9a;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 300ms;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
}

.product-card.design_1 .view-deal .fa-external-link {
  font-size: 0.8rem;
}

.product-card.design_1 .view-deal:hover {
  background: #12b4b4;
  transform: scale(1.02);
}

/* === Product Card Design 2 === */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
  max-width: var(--max-width);
}

.design_2 .product-placeholder .product-image {
  height: 200px;
}

.design_2 .product-placeholder .buying-options {
  display: flex;
  justify-content: space-between;
}

.design_2 .product-placeholder .buying-options>div {
  height: 28px;
  width: 30%;
}

.design_2 .product-placeholder .view-deal {
  background: none;
  padding: 0;
}

.design_2.product-card {
  position: relative;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.design_2.product-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.design_2 .product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.design_2 .product-badges {
  position: absolute;
  top: 10px;
}

.design_2 .product-spec,
.design_2 .product-badge {
  margin-inline-end: .7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: .8rem;
  background: whitesmoke;
}

.design_2 .product-spec {
  margin-inline-end: 0;
}

.design_2 .product-badge:nth-child(1) {
  background-color: #dccbfa;
  color: #931893;
}

.design_2 .product-badge:nth-child(2) {
  background: #a5eda5;
  color: #0a6b0a;
}

.design_2 .product-badge:nth-child(3) {
  background: #c3def0;
  color: #5151d8;
}

.design_2 .product-badge:nth-child(3) {
  background-color: #ffcdcd;
  color: #c32727;
}

.design_2 .product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  gap: 0.4rem;
}

.design_2 .brand-provider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.design_2 .product-brand {
  color: gray;
  font-weight: 700;
}

.design_2 .product-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-block: 0;
}

.design_2 .product-title {
    text-align: left;
}

.design_2 .product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.design_2 .product-description {
  font-size: 0.875rem;
  color: #4b5563;
  margin-block: 0;
  min-height: 40px;
  /* ✅ text truncation after 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
  max-width: 100%;
}

.design_2 .prices-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-block: 0;
}

.design_2 .prices {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.design_2 .special-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #059669;
  /* emerald-600 */
}

.design_2 .price {
  text-decoration: line-through;
  padding-inline-start: 0.5rem;
  font-size: 1rem;
  color: rgb(51, 51, 51);
  font-weight: 400;
}

.design_2 .price.no-special-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #059669;
  /* emerald-600 */
  text-decoration: none;
  padding-inline-start: 0;
}

.design_2 .view-deal {
  background-color: #368f5a;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  width: 100%;
  transition: background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.design_2 .view-deal:hover {
  background-color: #4ead75;
}
/* === Product Card Design Carousel === */

.carousel-wrapper {
  position: relative;
  width: 100%;
}

.products-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  margin-inline: 4rem;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 40%;
  z-index: 1;
  background: #f4f4f4;
  border: none;
  padding: 0.5rem 1rem 0.8rem 1rem;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity:0.8;
}

.carousel-prev {
  left: 0;
}
.carousel-next {
  right: 0;
}

.products-carousel::-webkit-scrollbar {
  display: none; /* Optional: hide scrollbar for cleaner UI */
}

.carousel.product-card {
  position: relative;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 200px; 
  overflow: hidden;
}

.carousel.product-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.carousel .product-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.carousel .product-badges {
  position: absolute;
  top: 10px;
}

.carousel .product-spec,
.carousel .product-badge {
  margin-inline-end: .7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: .8rem;
  background: whitesmoke;
}

.carousel .product-spec {
  margin-inline-end: 0;
}

.carousel .product-badge:nth-child(1) {
  background-color: #dccbfa;
  color: #931893;
}

.carousel .product-badge:nth-child(2) {
  background: #a5eda5;
  color: #0a6b0a;
}

.carousel .product-badge:nth-child(3) {
  background: #c3def0;
  color: #5151d8;
}

.carousel .product-badge:nth-child(3) {
  background-color: #ffcdcd;
  color: #c32727;
}

.carousel .product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  padding-top: 0;
}

.carousel .brand-provider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.carousel .product-brand {
  color: gray;
  font-weight: 700;
}

.carousel .product-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-block: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.carousel .product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.carousel .product-description {
  font-size: 0.875rem;
  color: #4b5563;
  margin-block: 0;
  min-height: 40px;
  /* ✅ text truncation after 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
  max-width: 100%;
}

.carousel .prices-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-block: 0;
}

.carousel .prices {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel .special-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #059669;
  /* emerald-600 */
}

.carousel .price {
  text-decoration: line-through;
  padding-inline-start: 0.5rem;
  font-size: 1rem;
  color: rgb(51, 51, 51);
  font-weight: 400;
}

.carousel .price.no-special-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #059669;
  /* emerald-600 */
  text-decoration: none;
  padding-inline-start: 0;
}

.carousel .view-deal {
  background-color: #368f5a;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  width: 100%;
  transition: background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.carousel .view-deal:hover {
  background-color: #4ead75;
}
/* === Animation === */
/* .animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
} */

/* === Logo Section === */
.heading-container {
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, .05);
}

.logo-section._cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 1.5rem;
  box-sizing: border-box;
}

.logo-section._cont a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #517d7b;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.logo-section._cont .logo-text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-section .nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-items li a,
.logo-section._cont li a {
  text-decoration: none;
  font-size: 14px;
  color: #000;
  font-weight: 300;
  font-family: 'PoppinsR', sans-serif;
}

/* Rotating text container */
.rotating-text-container {
  display: inline-block;
  position: relative;
  min-height: 1em;
  color: #517D7B;
  font-weight: 500;
  font-size: 1rem;
  margin-left: 10px;
}

#rotating-text {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  font-family: 'PoppinsR', sans-serif;
}

/* Desktop navigation */
.nav-links {
  display: flex;
  gap: 20px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: black;
  border-radius: 2px;
}

/* Mobile menu styles */
.menu-items {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: #fff;
  flex-direction: column;
  padding: 60px 20px;
  gap: 20px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: right 0.35s ease, opacity 0.35s ease;
  list-style: none;
  display: flex;
  z-index: 9999;
}

.menu-items.active {
  right: 0;
  opacity: 1;
}

.close-menu {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #517d7b;
  cursor: pointer;
  z-index: 10;
}

/* === Form === */

.form-container {
  margin-block: 5rem;
}

#form {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 3;
  margin: auto;
  width: 45%;
}

.step1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 0 2rem;
}

.step1 .heading {
  padding-block: 0rem;
}

.step1 .input-group {
  width: 100%;
}

.form-label {
  margin-bottom: .5rem;
  opacity: .8;
}

.form-control {
  width: 100%;
  padding: .5rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #bbbcbc;
  border-radius: .5rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  box-sizing: border-box;
}

.tcpa {
  font-size: 10px;
  text-align: center;
  margin-block: 2rem;
}

.for_step_actions {
  padding-bottom: 1.5rem;
}

.next-step {
  background: #009a9a;
  color: white;
  border: none;
  padding: 14px 25px;
  margin: 0 auto;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  cursor: pointer;
}

.is-invalid .form-control {
  border-color: #dc3545;
  padding-right: calc(1.5em + .75rem);
  background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-control,
.is-invalid .invalid-feedback {
  display: block;
}

.form-control,
.is-invalid .invalid-feedback {
  display: block;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: .25rem;
  font-size: .875em;
  color: #dc3545;
}

.thank-you-message {
    font-weight: 700;
    padding: 1.5em;
}

.form_step:has(.finalStep) .for_step_actions {
    display: none;
}    

.finalStep{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form_step:not(.--active){
    display: none
}
/* === Footer === */
.footer {
  background-color: #111827;
  min-height: 400px;
  font-family: Poppins, Sans-serif;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

.footer_wrapper._cont {
  max-width: 1280px;
  margin: auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.footer_wrapper_row1 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  padding: 3.2rem 0 2rem 0;
  box-sizing: border-box;
  border-bottom: 1px solid #7a7a7a7a;
}

.footer_wrapper_row1 div {
  line-height: 28px;
  color: #7a7a7a;
  font-family: 'PoppinsR';
  font-size: 15px;
  max-width: 659px;
}

.footer_wrapper_row2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  box-sizing: border-box;
  padding-top: 2rem;
}

.footer_nav_item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: .5rem;
  width: 33%;
}

.footer_nav_item_title {
  color: #2dd4bf;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer_nav_item a {
  color: #d1d5db;
  transition: color .3s;
  font-size: 14px;
  text-decoration: none;
  font-weight: 400;
  line-height: 22px;
  font-family: 'PoppinsR';
  width: 100%;
}

.footer_nav_item a:hover {
  color: #fff;
}

.discl {
  box-sizing: border-box;
  margin-top: 5rem;
  color: #7a7a7a;
  font-family: 'PoppinsR';
  font-size: 12px;
  text-align: center;
}

.footer_copyright {
  box-sizing: border-box;
  margin-top: 1.5rem;
  font-family: 'PoppinsR';
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #9ca3af;
}

/* === Responsive Styles === */
@media only screen and (max-width: 768px) {

  /* GENERAL */

  .desktopOnly {
    display: none;
  }

  /* HEADER */

  .logo-section .nav-links {
    display: none;
  }

  .logo-section .menu-toggle {
    display: flex;
  }

  .logo-section._cont img {
    height: 25px;
  }

  .logo-section._cont {
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
  }

  .logo-section._cont a span {
    display: none;
  }

  .logo-section._cont #rotating-text {
    font-size: 14px;
  }

  /* CATEGORIES */
  
  .categories .card{
    width: 90vw; 
  }
  
  .category-grid {
        display: flex;
  }
    
  /* PRODUCT */

  .product-card.design_1 .product-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
  }

  .product-card.design_1 .product-image {
    max-width: 300px;
  }
  
  .product-card.design_1 .cta{
        width: 100%;
  }
  
  .stars{
      flex-direction: row;
      gap: 1rem;
      padding-block: .2rem;
  }
  
  .rating {
    font-size: 1.1rem;
  }
  
  .product-card.design_1 .view-deal {
    width: 100%;
  }

  /* FORM */

  #form {
    width: 95%;
  }

  /* FOOTER */

  .footer_wrapper_row2 {
    flex-direction: column;
  }

  .footer_nav_item {
    width: 100%;
  }

  .footer_wrapper_row1 {
    flex-direction: column;
    padding: 2rem 1rem 1rem 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
  }

  .discl,
  .footer_wrapper_row2 {
    padding: 0 1rem 1rem;
  }

  .discl {
    margin-top: 2rem;
  }

}