/*!
Theme Name: Vedder
Theme URI: https://luuk-arends.notion.site/Vedder-B2B-db5082ce819348fe8c4e570d116585c4?pvs=4
Author: Luuk Arends
Author URI: https://vedderb2b.com/
Description: Vedder is a custom theme with limitless possibilities, offered with the convenience of WordPress.
Version: 1.3
Tested up to: 8.3
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vedder
*/

/* Body */

body {
  font-family: "Inter Regular";
  color: #1d1d1b;
  background-color: #f4f4f4;
}

/* Backgrounds */

.bg-lightgrey {
  background-color: #f4f4f4;
}

/* Anchors */

a {
  color: #009779;
  text-decoration: none;
}

/* Texts */

.text-teal {
  color: #009779;
}

/* Lists */

.step-list {
  padding: 0;
  margin: 0 0 3rem 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-list li .bi {
  color: #009779;
}

.step-list li .bi-check-circle-fill {
  font-size: 1.125rem;
}

.step-list li .bi-exclamation-triangle-fill {
  color: #ff6f31;
}

/* Buttons */

.btn,
.button {
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.925rem;
}

.btn-primary,
.button {
  color: #fff;
  background-color: #ff6f31;
  border-color: #ff6f31;
}

.btn-primary:hover,
.btn-primary:active,
.button:hover {
  color: #fff !important;
  background-color: #c74b15 !important;
  border-color: #c74b15 !important;
}

.btn-secondary {
  color: #fff;
  background-color: #009779;
  border-color: #009779;
}

.btn-secondary:hover,
.btn-secondary:active {
  color: #fff !important;
  background-color: #01634f !important;
  border-color: #01634f !important;
}

.btn-white {
  color: #009779;
  border-color: #009779;
  background-color: #fff;
}

/* Headings */

h1,
h2,
h3,
h4,
h5 {
  font-family: "Inter SemiBold";
  margin: 0;
}

/* Navbar */

.navbar {
  padding: 1.5rem;
  color: #1d1d1b;
  background-color: #fff;
}

.navbar-brand,
.navbar-expand-xl .navbar-nav .nav-link {
  color: #1d1d1b;
}

.navbar-brand {
  font-family: "Inter Bold";
  text-transform: inherit;
  letter-spacing: 0;
}

.navbar-expand-xl .navbar-nav {
  gap: 1rem;
}

.navbar-expand-xl .navbar-actions .btn-primary {
  color: #fff;
  background-color: #009779;
  border-color: #009779;
}

.navbar-expand-xl .navbar-actions .btn-primary:hover {
  color: #fff;
  background-color: #ff6f31;
  border-color: #ff6f31;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Login */

.login {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
}

.login .form-wrapper {
  position: relative;
  z-index: 10;
  padding: 3rem;
  background-color: #ffff;
  border-radius: 1rem;
  border: 2px solid lightgrey;
}

.login-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .login .form-wrapper {
    padding: 1.5rem;
  }
}

/* Hero */

.hero {
  margin-bottom: -3rem;
}

.hero-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 500px;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
}

.hero-content {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  padding: 3rem 3rem 6rem 3rem;
}

.hero-title {
  font-size: 3rem;
  color: #fff;
}

.hero-descr {
  font-size: 1.125rem;
  color: #fff;
  margin: 1.5rem 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

/* Values */

.values {
  position: relative;
  z-index: 50;
}

.values > .container {
  max-width: 1200px;
}

.value-item {
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #fff;
  display: grid;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.value-item .bi {
  font-size: 2rem;
}

.value-item .value-title {
  font-size: 1rem;
}

/* Products */

.product-item {
  position: relative;
  padding: 1rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
  border-radius: 1rem;
  height: 100%;
}

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

.product-media .product-img {
  width: 100%;
  object-fit: contain;
  border-radius: 1rem;
  height: 270px;
}

.product-options {
  margin-top: auto;
}

.product-code {
  font-size: 0.925rem;
}

.product-title {
  font-size: 1.125rem;
  font-family: "Inter Medium";
}

.product-table-view .product-title {
  font-size: 0.925rem;
}

.product-stock {
  font-size: 0.925rem;
  padding: 0.5rem 0;
}

.stock-amount {
  color: green;
}

.product-price {
  font-family: "Inter Medium";
}

.price-vat {
  font-family: monospace;
  font-size: 0.85rem;
}

.product-table-view .add-to-cart {
  color: #fff;
  background-color: #009779;
  border-color: #009779;
  padding: 0.5rem 1rem;
  border-radius: 3rem;
}

.product-table-view .add-to-cart:hover {
  color: #009779;
  background-color: #fff;
  border-color: #009779;
}

.woocommerce-shipping-fields {
  padding-bottom: 1rem;
}

/* Content */

.content-block {
  padding: 3rem;
  background-color: #fff;
  border-radius: 1rem;
}

.content-block h2 {
  margin-bottom: 1.5rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.content-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rank Math */

#rank-math-faq .rank-math-list-item {
  padding: 1rem 0;
  border-bottom: 1px solid #dee2e6;
}

#rank-math-faq .rank-math-list-item h3 {
  font-size: 1rem;
  margin: 0 !important;
}

#rank-math-faq .rank-math-list-item p {
  margin-top: 1rem;
}

#rank-math-faq .rank-math-list-item .collapse:not(.show) {
  display: block;
}

.rank-math-question {
  cursor: pointer;
  position: relative;
  display: block;
  padding-right: 1em;
  margin-right: 1em;
  font-weight: 300;
  margin-top: 30px;
}

.rank-math-question:after {
  position: absolute;
  right: 5px;
  top: 0;
  content: "\2715";
  transform: rotate(-45deg);
  transition: all 150ms ease-in-out;
}

.rank-math-question.collapse:after {
  transform: rotate(0deg);
}

.rank-math-question:hover {
  opacity: 0.8;
}

/* Forms */

.form-content {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  justify-content: center;
}

.form-title {
  font-size: 1rem;
}

.form-img {
  margin: 0 auto;
}

.form-control,
.form-floating > label {
  font-size: 0.925rem;
}

.form-control {
  border: 0;
  background-color: #e4ecea;
}

.form-info {
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  color: #666;
}

.form-info a {
  color: inherit;
}

/* Footer */

.footer {
  background-color: #fff;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.copyright {
  font-size: 0.85rem;

  background-color: #fafafa;
}
/* Table sorting and search styles */
.table-wrapper .sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background-color 0.2s ease;
}

.table-wrapper .sortable:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-wrapper .sortable .sort-icon {
  margin-left: 0.25rem;
  font-size: 0.875rem;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.table-wrapper .sortable:hover .sort-icon {
  opacity: 1;
}

/* Search input styling */
#locationSearchInput {
  border-radius: 0.375rem;
}

#locationSearchInput:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
