/*
 * Deltabotanics lightweight restyle.
 * Loaded after the legacy Megnor stylesheet to keep the theme easy to roll back.
 */
:root {
  --db-bg: #f7f8f5;
  --db-surface: #ffffff;
  --db-ink: #182019;
  --db-muted: #667064;
  --db-line: #dfe5dc;
  --db-green: #4f8f3a;
  --db-green-dark: #2f6424;
  --db-accent: #d6a942;
  --db-danger: #b94b36;
}

html {
  background: var(--db-bg);
}

body {
  color: var(--db-ink);
  background: var(--db-bg);
  font-family: "Roboto", "Open Sans", Arial, sans-serif;
  letter-spacing: 0;
}

a,
a:visited {
  color: var(--db-green-dark);
}

a:hover,
a:focus {
  color: var(--db-green);
}

.slide_header,
.slide_header.fixed,
.common-home .slide_header.fixed {
  background: rgba(18, 25, 19, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.common-home .slide_header {
  background: rgba(18, 25, 19, 0.72);
}

#logo img {
  max-height: 74px;
  width: auto;
}

.header_center {
  margin-top: 0;
}

.header_right {
  margin-top: 22px;
}

#menu,
.menu {
  font-weight: 700;
}

#menu .nav > li > a,
.header_center a {
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.addtocart,
#button-cart {
  background: var(--db-green);
  border-color: var(--db-green);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn-primary:hover,
.addtocart:hover,
#button-cart:hover {
  background: var(--db-green-dark);
  border-color: var(--db-green-dark);
}

.container {
  top: 126px;
}

.common-home .container,
.slide_header .container,
footer .container,
#footer.container,
.footer_bottom.container {
  top: auto;
}

.breadcrumb {
  background: transparent;
  border-bottom: 1px solid var(--db-line);
  border-radius: 0;
  padding-left: 0;
}

.db-home {
  background: var(--db-bg);
}

.db-button {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  text-transform: uppercase;
}

.db-button--primary {
  background: var(--db-green);
  color: #fff !important;
}

.db-button--primary:hover {
  background: var(--db-green-dark);
}

.db-button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff !important;
}

.db-button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.db-button--accent {
  background: var(--db-accent);
  color: #1d1a10 !important;
}

.db-hero {
  background: #162018;
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.db-hero__media {
  background-image: linear-gradient(90deg, rgba(18, 25, 19, 0.92), rgba(18, 25, 19, 0.62), rgba(18, 25, 19, 0.12)), url("/image/catalog/deltabotanics/banner/marijuana-growing-outside-cannabis.jpg");
  background-position: center bottom;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.db-hero__inner {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  min-height: 620px;
  padding-bottom: 70px;
  padding-top: 150px;
  position: relative;
}

.db-kicker {
  color: var(--db-accent);
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.db-hero h1 {
  color: #fff;
  font-size: 68px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.db-hero__copy > p:last-of-type {
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.55;
  max-width: 620px;
}

.db-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.db-hero__panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.db-hero__panel span {
  color: var(--db-ink);
  font-size: 18px;
  font-weight: 900;
  padding: 24px 28px;
  text-transform: uppercase;
}

.db-hero__panel span + span {
  border-top: 1px solid var(--db-line);
}

.db-featured-banners {
  margin-top: -78px;
  padding-bottom: 58px;
  position: relative;
  z-index: 2;
}

.db-banner-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.5fr 1fr;
}

.db-banner {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(20, 32, 22, 0.16);
  display: block;
  min-height: 180px;
  overflow: hidden;
}

.db-banner--wide {
  grid-row: span 2;
}

.db-banner img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.db-cta {
  background: var(--db-green-dark);
  color: #fff;
  padding: 28px 0;
}

.db-cta__inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.db-cta strong {
  font-size: 22px;
  line-height: 1.25;
}

.db-products-section {
  padding: 58px 0 74px;
}

.db-section-head {
  margin-bottom: 26px;
}

.db-section-head h2 {
  color: var(--db-ink);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.db-product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.db-product-card {
  background: #fff;
  border: 1px solid var(--db-line);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(20, 32, 22, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.db-product-card__image {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: block;
  position: relative;
}

.db-product-card__image img {
  height: 100%;
  object-fit: contain;
  padding: 14px;
  width: 100%;
}

.db-sale {
  background: var(--db-danger);
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  left: 12px;
  padding: 5px 8px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.db-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.db-product-card h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
  min-height: 42px;
}

.db-product-card__price {
  color: var(--db-green-dark);
  font-size: 18px;
  font-weight: 900;
  margin: auto 0 14px;
}

.db-product-card__price del {
  color: var(--db-muted);
  font-size: 13px;
  font-weight: 400;
}

.db-card-button {
  background: var(--db-green);
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-weight: 800;
  min-height: 42px;
  text-transform: uppercase;
  width: 100%;
}

.db-card-button:hover {
  background: var(--db-green-dark);
}

.page-title,
.product-title,
.box-heading {
  color: var(--db-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.product-block,
.product-thumb,
.category_thumb,
.product-info,
.product-right,
#tabs_info,
.box-content {
  background: var(--db-surface);
  border: 1px solid var(--db-line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(20, 32, 22, 0.06);
}

.product-block {
  overflow: hidden;
}

.product-block .image,
.product-thumb .image {
  background: #fff;
}

.product-details .caption h4,
.product-thumb h4 {
  min-height: 42px;
  font-weight: 700;
  line-height: 1.35;
}

.price,
.product-right h2,
.special-price {
  color: var(--db-green-dark);
  font-weight: 800;
}

.price-old,
.old-price {
  color: var(--db-muted);
}

.saleicon.sale,
.saleback .sale {
  background: var(--db-danger);
  border-radius: 3px;
  color: #fff;
  letter-spacing: 0;
}

.category_filter {
  background: var(--db-surface);
  border: 1px solid var(--db-line);
  border-radius: 6px;
  margin-bottom: 24px;
  padding: 12px;
}

select.form-control,
textarea.form-control,
input.form-control {
  border-color: var(--db-line);
  border-radius: 4px;
  box-shadow: none;
}

select.form-control:focus,
textarea.form-control:focus,
input.form-control:focus {
  border-color: var(--db-green);
  box-shadow: 0 0 0 2px rgba(79, 143, 58, 0.12);
}

footer {
  background: #121913;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 36px;
}

footer a,
footer a:visited {
  color: rgba(255, 255, 255, 0.9);
}

footer a:hover {
  color: var(--db-accent);
}

footer h5 {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer .social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

footer .social a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

@media (max-width: 991px) {
  .slide_header,
  .common-home .slide_header {
    position: relative;
    min-height: 0;
  }

  .container {
    top: auto;
  }

  .header_left,
  .header_center,
  .header_right {
    float: none;
    width: 100%;
    text-align: center;
  }

  .header_right {
    margin-top: 10px;
  }

  .db-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
  }

  .db-hero h1 {
    font-size: 52px;
  }

  .db-banner-grid {
    grid-template-columns: 1fr;
  }

  .db-banner--wide {
    grid-row: auto;
  }

  .db-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #logo img {
    max-height: 58px;
    margin: 0 auto;
  }

  .product-details .caption h4,
  .product-thumb h4 {
    min-height: 0;
  }

  .category_filter {
    padding: 10px 0;
  }

  .db-hero {
    min-height: 0;
  }

  .db-hero__inner {
    gap: 24px;
    padding-bottom: 42px;
    padding-top: 36px;
  }

  .db-hero h1 {
    font-size: 40px;
  }

  .db-hero__copy > p:last-of-type {
    font-size: 16px;
  }

  .db-featured-banners {
    margin-top: 0;
    padding: 26px 0;
  }

  .db-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .db-cta strong {
    font-size: 19px;
  }

  .db-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-section-head h2 {
    font-size: 27px;
  }
}

@media (max-width: 460px) {
  .db-product-grid {
    grid-template-columns: 1fr;
  }
}
