:root {
  --themePrimary: #de3333;
  --themeSecondary: #f5f5f5;
  --themeTertiary: #ff6600;
  --themeLinks: #5588b7;
}

/* Site-wide CSS */
body {
  font-family: Poppins, sans-serif;
  font-weight: 300;
}

/* Page layout */
.footer-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.pre-footer {
  flex: 1;
}

/* Re-usable CSS components & utility classes */
.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .container { width: 992px; }
}

@media (min-width: 1200px) {
  .container { width: 1200px; }
}

.card {
  background-color: white;
  padding: 30px;
  border-radius: 5px;
  width: 100%;
}

.card-title {
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 15px;
  line-height: 26.5px;
  border-bottom: 1px solid #dcdcdc;
  position: relative;
}

.card-title::before {
  width: 20px;
  height: 24px;
  content: "";
  background-image: url(/assets/images/layout/title-bg.png);
  background-repeat: no-repeat;
  background-position-y: 9px;
  display: inline-block;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-40 {
  gap: 40px;
}

.shrink-0 {
  flex-shrink: 0;
}

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.vertical-separator {
  width: 1px;
  height: 100%;
  background-color: #dcdcdc;
}

.mr-5 {
  margin-right: 5px;
}

.ml-5 {
  margin-left: 5px;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-15 {
  margin-top: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.pl-20 {
  padding-left: 20px;
}

.pr-10 {
  padding-right: 10px;
}

.pr-20 {
  padding-right: 20px;
}

.py-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.pt-25 {
  padding-top: 25px;
  padding-bottom: 25px;
}

.pb-30 {
  padding-bottom: 30px;
}

.pb-50 {
  padding-bottom: 50px;
}

.space-y-10 > :not(:first-child) {
  margin-top: 10px;
}

.space-y-30 > :not(:first-child) {
  margin-top: 30px;
}

.space-y-40 > :not(:first-child) {
  margin-top: 40px;
}

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

.border-b {
  border-bottom: 1px solid #dcdcdc;
}

@media (min-width: 992px) {
  .hide-on-desktop { display: none !important; }
}

.relative { position: relative; }
.hidden { display: none; }
/* End components & utility classes */

/* Colours */
.theme-primary-bg {
  background-color: var(--themePrimary);
}

.theme-seconary-bg {
  background-color: var(--themeSecondary);
}

.text-white {
  color: white;
}

.hover-theme-primary {
  color: black;
}

.hover-theme-primary:hover {
  color: var(--themePrimary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Fonts */
.font-weight-300 {
  font-weight: 300;
}

.font-weight-400 {
  font-weight: 400;
}

.font-weight-500 {
  font-weight: 500;
}

.font-weight-700 {
  font-weight: 700;
}

.no-underline {
  text-decoration: none;
}

/* Navbar */
.desktop-nav {
  font-size: 12px;
  line-height: 46px;
  display: none;
  gap: 10px;
  align-items: center;
}

.mobile-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  height: 46px;
  padding: 0 15px;
}

@media (min-width: 992px) {
  .desktop-nav { display: flex; }
}

.desktop-nav img {
  width: 14px;
  height: 14px;
}

.mobile-nav-menu {
  display: none;
  background-color: white;
}

.mobile-nav .close {
  display: none;
}

.mobile-nav[data-open="menu"] .close {
  display: block;
}

.mobile-nav[data-open="menu"] .hamburger {
  display: none;
}

.mobile-nav[data-open="menu"] + .mobile-nav-menu {
  display: block;
}

.mobile-nav-menu ul {
  list-style-type: none;
  padding: 0;
}

.mobile-nav-menu a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  padding: 13px 15px;
}

.mobile-nav-menu a.active {
  color: var(--themePrimary);
}

.mobile-nav-menu li {
  border-bottom: 1px solid #dcdcdc;
}

.mobile-nav[data-open="search"] ~ .mobile-nav-search {
  display: block;
}

.mobile-nav-products ul {
  padding-left: 10px;
}

.mobile-nav-menu ul:first-child {
  border-bottom: 1px solid #dcdcdc;
  padding-top: 7px;
  padding-bottom: 7px;
}

.mobile-nav-products li {
  border-bottom: 0;
}

.mobile-nav-products a {
  font-size: 15px;
  font-weight: 400;
  padding: 7px 15px;
  color: black;
  text-decoration: none;
}

.mobile-nav-search {
  display: none;
  background-color: var(--themeSecondary);
  padding: 15px;
}

/* Footer */

.footer-main {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 50px;
  padding-top: 70px;
  padding-bottom: 90px;
  line-height: 22.8px;
}

@media (min-width: 768px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.footer-main h3 {
  font-size: 18px;
}

.footer-main h6 {
  font-size: 14px;
}

.footer-main p {
  font-size: 14px;
}

.footer-copyright {
  font-size: 15px;
  padding-bottom: 30px;
}

/* Floating Whatsapp widget */
#whatsapp-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  width: 110px;
}

@media (min-width: 992px) {
  #whatsapp-widget { width: 130px; }
}

/* Logo + Search */
.search-widget-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
}

@media (min-width: 992px) {
  .search-widget-container { justify-content: space-between; }
}

.search-widget {
  display: none;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .search-widget { display: flex; }
}

.search-widget input {
  height: 54px;
  padding: 0 24px;
  border: 2px solid var(--themePrimary);
  border-right: 0;
  outline: none;
  border-top-left-radius: calc(infinity * 1px);
  border-bottom-left-radius: calc(infinity * 1px);
  width: 250px;
}

@media (min-width: 1170px) {
  .search-widget input { width: 330px; }
}

.search-widget select {
  height: 54px;
  padding: 0 24px;
  border: 2px solid var(--themePrimary);
  border-left: 0;
  border-right: 0;
  outline: none;
  color: #666666;
  -webkit-appearance: none;
  border-radius: 0;
  width: 200px;
  background-image: url(/assets/icons/chevron-down-light-gray.svg);
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.search-widget button {
  height: 54px;
  background-color: var(--themePrimary);
  border: 1px solid var(--themePrimary);
  padding: 0 24px;
  border-top-right-radius: calc(infinity * 1px);
  border-bottom-right-radius: calc(infinity * 1px);
  flex-shrink: 0;
}

.search-widget img {
  width: 15px;
  height: 15px;
}

/* Mobile search widget */
.mobile-search-widget {
  display: flex;
}

.mobile-search-widget input {
  height: 50px;
  padding: 0 24px;
  border: 2px solid var(--themePrimary);
  border-right: 0;
  outline: none;
  width: 100%;
}

.mobile-search-widget button {
  height: 50px;
  background-color: var(--themePrimary);
  border: 1px solid var(--themePrimary);
  padding: 0 24px;
  flex-shrink: 0;
}

/* Desktop menu */
.desktop-menu {
  display: none;
  list-style-type: none;
  font-size: 16px;
  line-height: 20px;
  padding: 0;
  border-top: 1px solid #dcdcdc;
}

@media (min-width: 992px) {
  .desktop-menu { display: flex; }
}

.desktop-menu li {
  padding-top: 25px;
  padding-bottom: 25px;
}

.desktop-menu li:not(:first-child) > a {
  padding-left: 20px;
}

.desktop-menu li:not(:last-child) > a {
  padding-right: 20px;
  border-right: 1px solid #dcdcdc;
}

.desktop-menu-border-r {
  border-right: 1px solid #dcdcdc;
}

.desktop-menu a.active {
  color: var(--themePrimary);
}

.desktop-menu img {
  width: 16px;
  height: 16px;
}

.desktop-menu-hover-container {
  position: relative;
}

.desktop-menu-hover-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 12px 0px;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  width: 250px;
}

.desktop-menu-hover-container:hover .desktop-menu-hover-menu {
  display: block;
}

.desktop-menu-hover-menu ul {
  list-style-type: none;
  padding: 0;
}

.desktop-menu-hover-menu ul > ul {
  list-style-type: circle;
  padding-left: 20px;
  font-size: 14px;
}

.desktop-menu-hover-menu li {
  padding: 5px 0;
}

.desktop-menu-hover-menu li > a {
  display: block;
  text-decoration: none;
  color: black;
}

.desktop-menu-hover-menu li > a:hover {
  color: var(--themePrimary);
}

.desktop-menu-hover-menu li:not(:last-child) > a {
  border-right: 0;
  padding: 0;
}

.desktop-menu-hover-menu li > a {
  padding: 0 !important;
}

/* Sidebar layout */
.sidebar-layout {
  display: grid;
  gap: 30px;
}

@media (min-width: 992px) {
  .sidebar-layout { grid-template-columns: 1fr 270px; }
}

/* Blog / blog post card */
.blog-post-title {
  font-size: 24px;
  line-height: 30px;
  font-weight: 500;
  padding-top: 15px;
  padding-bottom: 10px;
}

.blog-post-title-lg {
  font-size: 30px;
  line-height: 35px;
  padding-top: 20px;
}

.blog-post-title-sm {
  font-size: 20px;
  line-height: 25px;
  padding-top: 10px;
}

.blog-post-card p {
  font-size: 14px;
  line-height: 22.8px;
}

.blog-post-card-date {
  font-size: 13px;
  color: var(--themePrimary);
  text-transform: uppercase;
}

.blog-post-card-author {
  font-size: 12px;
  color: #999999;
}
.blog-post-card-author a { color: #999999; }
.blog-post-card-author a:hover { color: var(--themePrimary); }

.related-posts {
  display: grid;
  gap: 30px;
}

@media (min-width: 992px) {
  .related-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.previous-next-post-wrapper {
  display: grid;
  gap: 30px;
}

@media (min-width: 992px) {
  .previous-next-post-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.previous-next-post-title {
  color: #999999;
  font-size: 14px;
  text-transform: uppercase;
}

.previous-next-post-wrapper a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.previous-next-post-wrapper a:hover {
  color: var(--themePrimary);
}

/* Content styling */
.content h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.content h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  margin-top: 20px;
}

.content h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 26.5px;
  margin-top: 20px;
}

.content h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  margin-top: 20px;
}

.content p {
  font-size: 14px;
  line-height: 22.8px;
  margin-top: 10px;
}

.content hr {
  margin: 30px 0;
  border-top: 1px solid #dcdcdc;
}

.content img {
  margin-top: 10px;
}

.content a {
  color: var(--themeTertiary);
  font-weight: 400;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

.content ul, .content ol {
  margin-top: 10px;
}

.content ul li, .content ol li {
  font-size: 14px;
  font-weight: 700;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 400;
}

.content table, th, td {
  border: 1px solid #dcdcdc;
}

.content th, td {
  padding: 7px;
}

/* Product page */
.product-header {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .product-header { grid-template-columns: 1fr 1fr; }
}

.product-header .image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-header h1 {
  color: var(--themeLinks);
  font-size: 30px;
  line-height: 35px;
  font-weight: 500;
}

.product-phone-numbers a {
  font-size: 18px;
  color: var(--themeTertiary);
}
.product-phone-numbers a:hover {
  text-decoration: none;
}

.product-price {
  font-size: 36px;
  color: var(--themePrimary);
  line-height: 40px;
}

.product-price-original {
  font-size: 18px;
  color: #aaaaaa;
  text-decoration: line-through;
  font-weight: 400;
  line-height: 30px;
}

.product-categories {
  font-size: 14px;
}

.product-categories a {
  color: #999999;
}
.product-categories a:hover {
  color: var(--themeTertiary);
}

.product-promo-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #e65758;
  color: white;
  font-size: 14px;
  line-height: 28px;
  font-weight: 400;
  padding: 3px 14px;
  border-radius: calc(infinity * 1px);
}

.product-reviews {
  display: grid;
  gap: 50px;
  font-size: 14px;
  font-weight: 400;
}

@media (min-width: 992px) {
  .product-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-reviews h5 {
  text-transform: uppercase;
}

.product-reviews img {
  max-width: 100px;
}

.product-reviews .rating-stars {
  width: 50px;
}

.product-reviews .rating-count {
  display: inline-block;
  width: 100%;
  background-color: #f2f2f2;
}

.social-share img {
  height: 20px;
}

.social-share img.email {
  height: 26px;
}

/* Products search pages */
.products-grid {
  display: grid;
  gap: 50px;
}

@media (min-width: 992px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.product-card .product-category {
  font-size: 12px;
  color: #363636;
  text-decoration: none;
}

.product-card .product-category:hover {
  color: var(--themePrimary);
}

.product-card h3 {
  font-size: 14px;
  line-height: 20px;
}

.product-card h3 > a {
  text-decoration: none;
  font-weight: 500;
  color: var(--themeLinks);
}

.product-card h3 > a:hover {
  color: var(--themePrimary);
}

.product-card img {
  margin-top: 20px;
  aspect-ratio: 1 / 1;
}

.product-card:hover img {
  background-color: var(--themeSecondary);
}

.products-page-title {
  font-size: 24px;
  line-height: 26.5px;
  color: #363636;
}

.product-content {
  font-size: 12px;
  margin-top: 50px;
  color: #6b6b6b;
}

.product-content h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 19px;
  margin-top: 20px;
}

.product-content h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 15.5px;
  margin-top: 20px;
}

.product-content p {
  margin-top: 20px;
}

.product-content strong {
  font-weight: 700;
}

.product-card-price {
  font-size: 18px;
  line-height: 26px;
}

.product-card-price-original {
  font-size: 14px;
  line-height: 24px;
}

.product-card-promo-badge {
  top: 10px;
  left: 10px;
  font-size: 9px;
  line-height: 20px;
  padding: 0 5px;
}

.category-links ul {
  list-style-type: none;
  padding: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}

.category-links li {
  margin-top: 15px;
}

.category-links li.category-child {
  margin-top: 8px;
}

.category-links a {
  color: #363636;
  text-decoration: none;
}

.category-links a:hover {
  color: var(--themePrimary);
}

.category-links ul.category-children {
  list-style-type: circle;
  padding-left: 20px;
  font-size: 14px;
}

.related-products {
  display: grid;
  gap: 50px;
}

@media (min-width: 992px) {
  .related-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.breadcrumbs img {
  width: 14px;
  height: 14px;
}

.breadcrumbs, .breadcrumbs a {
  font-size: 14px;
  line-height: 23px;
  color: #333e48;
  font-weight: 400;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--themePrimary)
}

.breadcrumbs .active {
  color: var(--themePrimary);
}

/* Brand links */
.brand-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .brand-links { flex-direction: column; }
}

.brand-links img {
  max-width: 120px;
}

/* Pagination */
.pagination-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #666666;
}

@media (min-width: 992px) {
  .pagination-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 500;
}

.pagination a {
  text-decoration: none;
  color: #666666;
}

.pagination a:hover, .pagination .active {
  color: var(--themePrimary);
}

.pagination-info {
  font-weight: 400;
}

/* Tabs */
.tabs {
  display: flex;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  border-bottom: 1px solid #dcdcdc;
}

@media (min-width: 992px) {
  .tabs {
    font-size: 18px;
    line-height: 18px;
  }
}

.tabs .tab {
  cursor: pointer;
  padding: 16px 30px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.tabs > .active {
  background-color: #ececec;
}

/* 404 page */
.not-found-page {
  padding-bottom: 50px;
}

.not-found-page h1 {
  font-size: 90px;
}

.not-found-page .subheading {
  font-size: 24px;
  line-height: 26.5px;
  color: #363636;
}

.not-found-page a {
  color: var(--themePrimary);
  text-transform: uppercase;
  font-weight: 500;
}

/* Page layout */
.page-title {
  font-size: 36px;
  line-height: 40px;
  color: #363636;
  font-weight: 700;
}

/* About page */
.about-page {
  font-size: 14px;
}

.about-page p {
  line-height: 23px;
}
.about-page h2, .about-page h3:not(.card-title) {
  color: var(--themePrimary);
  font-weight: 700;
}

.about-page h2 {
  font-size: 30px;
}

.about-page h3 {
  font-size: 24px;
  font-weight: 700;
}

.about-page hr {
  margin: 20px 0;
  border-top: 1px solid #dcdcdc;
}

.about-page strong {
  font-weight: 700;
}

.about-hero-section {
  display: flex;
  gap: 30px;
  flex-direction: column;
}

.about-hero-section .image {
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .about-hero-section { flex-direction: row; }
  .about-hero-section .image { max-width: 370px; }
}

/* Homepage */
.homepage-hero-section {
  padding: 50px 0;
  padding-bottom: 150px;
  background-color: gray;
  background-image: url(/assets/images/homepage/hero-bg-mobile.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.homepage-hero-section h2 {
  font-size: 40px;
  line-height: 45px;
}

@media (min-width: 800px) {
  .homepage-hero-section {
    padding: 80px 0;
    padding-bottom: 140px;
    background-image: url(/assets/images/homepage/hero-bg-desktop.png);
  }

  .homepage-hero-section h2 {
    font-size: 60px;
    line-height: 65px;
  }
}

.homepage-button {
  background-color: var(--themePrimary);
  color: white;
  padding: 10px 20px;
  border-radius: calc(infinity * 1px);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.homepage-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--themePrimary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--themePrimary);
}

.homepage-secondary-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 33px;
  color: var(--themePrimary);
}

.homepage-content {
  font-size: 14px;
  line-height: 23px;
}

.homepage-blog-posts {
  display: grid;
  gap: 30px;
}

@media (min-width: 992px) {
  .homepage-blog-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.homepage-brands {
  display: inline-block;
  background-color: white;
  padding: 20px 50px;
  border-radius: 30px;
  box-shadow: rgba(0, 0, 0, 0.75) -1px 1px 9px -3px;
  margin-top: -120px;
}

.homepage-brands img {
  max-width: 200px;
  max-height: 120px;
}

.homepage-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid var(--themePrimary);
  padding: 20px 5px;
  padding-top: 30px;
  border-top-right-radius: 50px;
}

.homepage-service p {
  color: var(--themePrimary);
  width: 135px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
  line-height: 20px;
}

/* Spinner */
.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m:
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}
