/*
Theme Name: SMB
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

.site-header .custom-logo-link img,
.logo-mark img,
#about img {
  filter: grayscale(100%);
}

.hero-img .swiper-slide-inner:hover img,
  .smb-split-promo__image:hover {
  transform: scale(1.03);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-img .swiper-slide-inner {
  position: relative;
  overflow: hidden;  
}

.hero-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.0) 100%);
  text-align: left;
}

.hero-img-text {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 14px 0;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  letter-spacing: -0.3px;
}

.hero-img-btn {
  display: inline-block;
  background-color: #222c35;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.smb-elementor-product-categories-widget {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  text-align: center;
}

.smb-pc-widget-title {
  margin: 0 0 18px;
}

.smb-pc-swiper {
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.smb-pc-swiper .swiper-wrapper {
  padding: 10px 0;
  align-items: flex-start;
}

.smb-pc-swiper .swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
}

.smb-pc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  width: 140px;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;  
}

.smb-pc-image-wrap {
  width: 117px;
  height: 117px;
  min-width: 117px;
  min-height: 117px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  outline: 2px solid transparent;
  outline-offset: 3px;
  box-shadow: 0 2px 10px rgba(0, 25, 48, 0.12);
  transition: outline-color 0.5s, box-shadow 0.2s, transform 0.2s;  
}

.smb-pc-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: contain !important;
  display: block;
  border-radius: 50%;
}

.smb-pc-card:hover .smb-pc-image-wrap {
  outline-color: #222c35;
  box-shadow: 0 8px 18px rgba(0, 25, 48, 0.2), 0 0 0 1px rgba(41, 128, 185, 0.3);
  transform: translateY(-3px);
}

.smb-pc-title {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  text-align: center;
  line-height: 1.3;
}

.smb-pc-round-images .smb-pc-image-wrap {
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
}

.smb-pc-round-images .smb-pc-image {
  border-radius: 50% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.smb-pc-button {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background 0.15s, opacity 0.15s;
  padding: 0;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  opacity: 0;
  pointer-events: none;
}

.smb-pc-arrow {
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #555;
  border-right: 2px solid #555;
}

.smb-pc-button-prev {
  left: 2px;
}

.smb-pc-button-next {
  right: 2px;
}

.smb-pc-arrow-prev {
  transform: rotate(-135deg);
}

.smb-pc-arrow-next {
  transform: rotate(45deg);
}

.smb-pc-button:hover {
  background: #f4f4f4;
}

.smb-pc-button.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.smb-pc-pagination {
  display: none;
}

@media (min-width: 1801px) {
  .smb-elementor-product-categories-widget.smb-pc-desktop-show-all .smb-pc-swiper .swiper-wrapper {
    justify-content: center;
  }

  .smb-elementor-product-categories-widget.smb-pc-desktop-show-all .smb-pc-button,
  .smb-elementor-product-categories-widget.smb-pc-desktop-show-all .smb-pc-pagination {
    display: none !important;
  }
}

@media (max-width: 1800px) {
  .smb-pc-swiper .swiper-wrapper {
    justify-content: center;
  }

  .smb-pc-swiper.smb-pc-has-overflow .swiper-wrapper {
    justify-content: flex-start;
  }

  .smb-pc-swiper.smb-pc-has-overflow .smb-pc-button {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 1300px) and (max-width: 1800px) {
  .smb-pc-swiper .swiper-slide {
    width: 140px !important;
  }
}

@media (max-width: 1024px) {
  .smb-pc-button {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 10px;
  }

  .smb-pc-button-prev {
    left: 0;
  }

  .smb-pc-button-next {
    right: 0;
  }
}

.smb-category-circles {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  min-height: 540px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;  
  background-color: #f0f0f0;
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;  
}

.smb-category-circles::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 25, 48, 0.44) 45%, rgba(0, 0, 0, 0.12) 100%);*/
  z-index: 0;
}

.smb-category-circles .smb-category-circles__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.smb-category-circles .smb-category-circles__title {
  margin: 0 0 18px;
  font-size: 2.3rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 12ch;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.smb-category-circles .smb-category-circles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px 18px;
  width: min(100%, 780px);
  margin: 0 auto;
  margin-top: auto;
  justify-items: center;
}

.smb-category-circles__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.smb-category-circles__item:hover {
  transform: translateY(-2px);
}

.smb-category-circles__circle {
  width: min(100px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.smb-category-circles__item:hover {
  color: #fff;
}

.smb-category-circles__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smb-category-circles__label {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1024px) {
  .smb-category-circles {
    min-height: 380px;
  }

  .smb-category-circles .smb-category-circles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    gap: 16px;
  }

  .smb-category-circles .smb-category-circles__title {
    margin-bottom: 24px;
  }
}

@media (max-width: 720px) {
  .smb-category-circles {
    min-height: 0;
    padding: 24px 18px 28px;
    border-radius: 20px;
  }

  .smb-category-circles .smb-category-circles__title {
    max-width: none;
    font-size: clamp(28px, 8vw, 42px);
  }

  .smb-category-circles .smb-category-circles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .smb-category-circles .smb-category-circles__circle {
    width: min(92px, 100%);
  }

  .smb-category-circles .smb-category-circles__label {
    font-size: 12px;
  }
}

.smb-split-promo {
  --smb-sp-primary: #001930;
  --smb-sp-primary-hover: #003261;
  --smb-sp-panel-bg: #f0f0f0;
  --smb-sp-accent: #4099d4;
  --smb-sp-text: #001930;
  --smb-sp-white: #ffffff;
  --smb-sp-radius: 20px;
  --smb-sp-radius-pill: 999px;
  --smb-sp-shadow-soft: 0 4px 12px rgba(0, 25, 48, 0.15);
  --smb-sp-shadow-lift: 0 6px 16px rgba(0, 25, 48, 0.22);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
  min-height: 480px;
  color: var(--smb-sp-text);
}

.smb-split-promo *,
.smb-split-promo *::before,
.smb-split-promo *::after {
  box-sizing: border-box;
}

.smb-split-promo--image-right .smb-split-promo__media {
  order: 2;
}

.smb-split-promo--image-right .smb-split-promo__content {
  order: 1;
}

.smb-split-promo__media {
  position: relative;
  border-radius: var(--smb-sp-radius);
  overflow: hidden;
  background: #f4f4f2;
}

.smb-split-promo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.smb-split-promo__content {
  background: var(--smb-sp-panel-bg);
  border-radius: var(--smb-sp-radius);
  padding: clamp(36px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.smb-split-promo__title {  
  line-height: 1.05;  
  margin: 0;
}

.smb-split-promo__body {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--smb-sp-text);
  margin: 0;
  max-width: 55ch;
}

.smb-split-promo__actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.smb-split-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--smb-sp-primary);
  color: var(--smb-sp-white);
  border: 2px solid var(--smb-sp-primary);
  border-radius: var(--smb-sp-radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  box-shadow: var(--smb-sp-shadow-soft);
  transition: all .5s;
}

.smb-split-promo__btn:hover {
  background: transparent;
  box-shadow: var(--smb-sp-shadow-lift);
}

.smb-split-promo__btn:focus-visible {
  outline: 3px solid var(--smb-sp-accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .smb-split-promo {
    min-height: 420px;
    gap: 10px;
  }

  .smb-split-promo__content {
    padding: 36px 32px;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .smb-split-promo {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 12px;
  }

  .smb-split-promo__media,
  .smb-split-promo__content {
    order: initial;
  }

  .smb-split-promo__media {
    min-height: 250px;
  }

  .smb-split-promo__content {
    padding: 30px 24px 34px;
  }

  .smb-split-promo__actions {
    margin-top: 8px;
  }

  .smb-split-promo__btn {
    width: 100%;
  }
}

.site-footer {
  padding: 4rem 0 2rem 0;
}

footer.copyright {
  padding: 0;
}

footer:last-child:not(:only-of-type) {
  margin-top: -2rem;
}

footer.copyright .widget p {
  font-size: 12px;
  color: #ccc;
  opacity: 0.5;
}

.nf-form-fields-required {
  display: none;
}

.nf-field-element input, .nf-field-element select, .nf-field-element textarea {
  min-height: 40px;
}

 [type="submit"], .field-wrap button, .field-wrap input[type="button"], .field-wrap input[type="submit"], .field-wrap > div input[type="checkbox"],
 .wc-backward {
  background-color: #222c35 !important;
  border-color: #222c35;
}

.site-footer p {
  color: #999;
}

.circles-dark .smb-category-circles__label {
    color: #222c35;
}