:root {
  --primary-color: #878ecd;
  --secondary-color: #b9bbdf;
  --text-color: #101010;
  --button-background-color: #878ecd;
  --button-text-color: #fff;
  --section-background-color: #dff4f3;
  --border-color: #ccc;
  --text-white: #fff;
  --text-black: #101010;
  --shadow: 0 2px 25px -3px rgba(0, 0, 0, 0.15);
  --text-size: 16px;
  --heading-h1: 48px;
  --heading-h2: 32px;
  --heading-h3: 28px;
  --heading-h4: 24px;
  --heading-h5: 18px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
}

body {
  line-height: 1;
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: "Roboto", sans-serif;
}

body * {
  margin: 0;
  padding: 0;
}

body .section_width {
  max-width: 1440px;
  margin: auto;
  width: 90%;
}

h1 {
  font-size: var(--heading-h1);
}

h2 {
  font-size: var(--heading-h2);
  margin-bottom: 20px;
}
h3 {
  font-size: var(--heading-h3);
  margin-bottom: 10px;
}

h4 {
  font-size: var(--heading-h4);
}

h5 {
  font-size: var(--heading-h5);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
  line-height: 1.2em;
}

p {
  font-size: var(--text-size);
  color: var(--text-color);
  margin-bottom: 10px;
}

img {
  margin-bottom: 10px;
}

.box-shadow {
  box-shadow: var(--shadow);
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:focus {
  outline: none;
}

a:active,
a:hover {
  outline: 0;
}

a img {
  border: 0;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  border-radius: 0px;
}

input,
select,
textarea {
  border-radius: 0px;
}

body .section_width section {
  padding: 20px 0;
}

.desktop-top-bottom-padding {
  padding: 80px 0px;
}

.text-center {
  text-align: center;
}

/* Header Styling */

.coupon--site--header .logo_area img {
  max-width: 200px;
}

.coupon--site--header .logo_area {
  text-align: center;
  padding: 20px 0;
}

nav.primary-navigation {
  background-color: var(--primary-color);
}

nav.primary-navigation .responsive-menu .st-menu {
  display: block;
}

nav.primary-navigation .responsive-menu .st-menu li {
  list-style: none;
  float: none;
  display: inline-block;
  white-space: nowrap;
  padding: 20px 10px;
  position: relative;
}

nav.primary-navigation .responsive-menu .st-menu li a {
  font-size: var(--text-size);
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  column-gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

nav.primary-navigation .responsive-menu .st-menu li::before {
  transition: height ease 0.3s;
  border: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  content: "";
  background-color: #fff;
  height: 0px;
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
}

nav.primary-navigation .responsive-menu .st-menu li.current-menu-item::before {
  height: 4px;
}

nav.primary-navigation .responsive-menu .st-menu li:hover::before {
  height: 100%;
}

nav.primary-navigation .responsive-menu .st-menu li:hover a {
  color: var(--primary-color);
  z-index: 9;
  position: relative;
}

.responsive-menu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

.menu-toggle {
  display: none; /* Hide the toggle button by default */
  cursor: pointer;
  padding: 10px 0;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0 15px; /* Adjust the spacing between menu items */
}

.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #333;
  padding-top: 20px;
  transition: left 0.3s ease-in-out;
  z-index: 9;
  padding: 50px 0;
}

.side-menu.open {
  left: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu li {
  padding: 15 px;
  list-style: none;
}

.side-menu a {
  color: #fff;
  text-decoration: none;
}

/* Footer Styling */

/* Define a CSS class for the footer widget container */
/* .footer-widgets .widget-column {
  padding: 10px 0px;
} */

/* Style individual widget columns */
.widget {
  padding: 10px 0;
}

footer#footer {
  padding: 20px 0;
  border-top: 2px solid var(--border-color);
  margin-top: 20px;
}

/* Homepage Styling */

.home-banner .search-bar {
  margin-top: 20px;
}

.home-banner .search-form {
  width: 100%;
  max-width: 500px;
  margin: auto;
  position: relative;
}

.home-banner .search-field {
  padding: 12px;
  border: 1px solid var(--border-color);
  width: 100%;
}

.home-banner .search-submit {
  background-color: var(--button-background-color);
  color: var(--text-white);
  border: none;
  padding: 13px 15px;
  cursor: pointer;
  position: absolute;
  right: 0px;
}

.home-banner .search-results {
  max-width: 500px;
  margin: auto;
}

.home-banner .search-results a {
  padding: 10px;
  box-shadow: var(--shadow);
  width: 100%;
  display: block;
}

.home-store-container .store-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 20px;
  margin-bottom: 20px;
}

.home-store-container .store-row .store-column {
  text-align: center;
  background-color: #fff;
  box-shadow: var(--shadow);
  grid-gap: 20px;
  padding: 10px 20px;
}

.home-store-container .store-row .store-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 120px;
}

.home-store-container .store-row .store-title {
  margin-top: 10px;
  font-weight: bold;
}
.home-gutscheincodes-container .coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  column-gap: 20px;
}

.home-gutscheincodes-container .coupon-grid .coupon-item {
  box-shadow: var(--shadow);
}

.home-gutscheincodes-container .coupon-grid .coupon-item-image {
  position: relative;
  border: none;
}

.home-gutscheincodes-container .coupon-grid.coupon-row .coupon-image {
  width: 100%;
  max-width: 100%;
}

.home-gutscheincodes-container .coupon-grid .coupon-item-image .company-logo {
  max-width: 100px;
  /* height: auto; */
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 50px;
  object-fit: contain;
  background-color: #fff;
}

.coupon-row:has(.coupon-four-grid) {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  column-gap: 20px;
}

.coupon-row .coupon-item-image {
  text-align: center;
  border-bottom: var(--border-color);
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.coupon-row .coupon-item-image img {
  max-width: 140px;
  min-height: 100px;
  object-fit: contain;
}

.coupon-row .coupon-item-description {
  padding: 10px 20px;
}

.coupon-row h3.coupon-title {
  font-size: 1.2rem;
  margin: 10px 0;
}

.coupon-row span.expiry-date {
  font-size: 0.7rem;
  color: #999999;
}

.coupon-store {
  color: var(--primary-color);
}

.coupon-type {
  text-transform: capitalize;
  color: var(--primary-color);
}

.grid-col-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
}

.grid-col-three .col-span-1 {
  grid-column: 1;
}

.grid-col-three .col-span-2 {
  grid-column: 2 / span 2;
}

.home-newsletter.grid-col-three {
  align-items: center;
  justify-items: center;
}

.home-newsletter :is(.wpforms-submit-container, .wpforms-field) {
  padding: 0 !important;
  margin: 0 !important;
}

.home-newsletter .wpforms-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.home-newsletter .wpforms-field-container {
  flex-basis: 80%;
}

.home-newsletter .wpforms-submit-container {
  flex: 1;
}

.home-newsletter .wpforms-submit-container .wpforms-submit:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1rem;
  content: "\f0e0";
  padding-inline: 10px;
}

.home-newsletter .wpforms-submit-container .wpforms-submit {
  width: 100%;
  background-color: var(--button-background-color) !important;
  border: 1px solid var(--button-background-color);
  border-radius: 0px;
}

.home-newsletter .wpforms-submit-container .wpforms-submit:hover {
  width: 100%;
  color: var(--button-background-color);
  background-color: var(--button-text-color) !important;
  background: #fff;
}

/* Style the modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Style the modal content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  position: relative;
}

/* Style the close button */
.close-modal {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  cursor: pointer;
}

/* Style the website link */
#website-link {
  margin-top: 15px;
  text-align: center;
}

#website-link a {
  color: #007bff;
  text-decoration: none;
}

/* Store Page Styling */

.store-listing .favourite-stores {
  display: grid;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  /* justify-items: center; */
  text-align: center;
}

.store-listing .favourite-stores > div {
  padding: 10px;
  border: 1px solid #ccc;
}

.store-listing .favourite-stores .store-image {
  max-width: 130px;
}

.store-listing-letter .store-list-alphabetic .store-name {
  list-style: none;
  display: inline-block;
  padding: 10px;
  box-shadow: var(--shadow);
  margin: 5px;
}

.coupon-category-listing .featured-category-box {
  background-repeat: no-repeat;
  background-size: contain;
  padding: 40px;
  background-position: right center;
  box-shadow: 0 1px 1px 0 rgba(60, 64, 67, 0.08),
    0 1px 3px 1px rgba(60, 64, 67, 0.25);
  transition: box-shadow 0.1s cubic-bezier(0, 0.25, 1, 0.75);
}

.coupon-category-listing .featured-category-box .child-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-template-categorypage .coupon-category-listing .featured-category-box h2 {
  font-weight: 400;
}

.page-template-categorypage
  .coupon-category-listing
  .featured-category-box:first-child {
  grid-column: span 4;
}

.page-template-categorypage
  .coupon-category-listing
  .featured-category-box:nth-child(2),
.page-template-categorypage
  .coupon-category-listing
  .featured-category-box:nth-child(3) {
  grid-column: span 2;
}

.page-template-categorypage
  .coupon-category-listing
  .featured-category-box
  h2
  img {
  display: none;
}

.page-template-categorypage
  .coupon-category-listing
  .featured-category-box
  h2
  a {
  color: initial;
}

.page-template-categorypage .coupon-category-listing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-template-categorypage
  .coupon-category-listing
  .featured-category-box:nth-child(n + 4)
  h2 {
  font-size: 16px;
}

.page-template-categorypage
  .coupon-category-listing
  .featured-category-box:nth-child(n + 4)
  h2
  img {
  display: inline-block;
}

.coupon-category-listing .featured-category-box .child-categories li {
  list-style: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .coupon-item {
    width: 48%; /* Adjust for smaller screens */
  }
}

@media (max-width: 480px) {
  .coupon-item {
    width: 100%; /* On small screens, make it full width */
  }
}

/* Responsive styling for small screens (adjust breakpoints as needed) */
@media screen and (max-width: 767px) {
  .footer-widgets {
    grid-template-columns: 1fr; /* Single column on small screens */
  }
  .widget {
    margin: 0 0 10px 0;
  }

  nav.primary-navigation .responsive-menu .st-menu {
    display: none; /* Hide the menu on smaller screens */
  }

  .menu-toggle {
    display: block; /* Display the toggle button on smaller screens */
  }

  .menu-toggle .fa-bars {
    /* Style your toggle button icon */
    font-size: 24px;
    color: var(--text-white);
  }

  .mobile-top-bottom-padding {
    padding: 40px 0px;
  }
}
