/* =========================================================
   StroiApp.ru — Global Premium Styles for UniShop2 Theme
   ========================================================= */

/* --- GLOBAL ROUNDED CORNERS --- */
.sa-hero-wrap,
.sa-slider-card,
.sa-calc-card,
.sa-cat-card,
.sa-features-bar,
.sa-categories,
.unishop-product-card,
.oc-product-grid .product-thumb,
.swiper-slide .banner-item,
.category-carousel .item,
.module-category-wall .item,
.module-banner .banner-item img,
.oc-module .box-content,
#content .product-layout,
.product-grid .product-thumb,
.owl-carousel .item,
.carousel .item img {
  border-radius: 16px !important;
  overflow: hidden;
}

/* Remove hard borders from key blocks */
.sa-hero-wrap,
.sa-slider-card,
.sa-calc-card,
.sa-cat-card,
.sa-features-bar,
.sa-categories {
  border: none !important;
}

/* --- HEADER SEARCH BAR --- */
.header-search__form {
  border-radius: 8px !important;
  overflow: hidden;
}

.header-search__input {
  border-radius: 8px 0 0 8px !important;
}

.header-search__category-btn {
  border-radius: 8px 0 0 8px !important;
}

.header-search__btn.search-btn,
.header-search__btn {
  background: #FF5500 !important;
  border-color: #FF5500 !important;
  color: #fff !important;
  border-radius: 0 8px 8px 0 !important;
  transition: background 0.2s !important;
}

.header-search__btn.search-btn:hover,
.header-search__btn:hover {
  background: #CC4400 !important;
  border-color: #CC4400 !important;
}

/* --- ACCENT COLOR OVERRIDES --- */
.btn-primary,
.btn-orange,
.button-orange,
.btn-cart,
.btn-checkout,
.btn-continue,
.swiper-button-next,
.swiper-button-prev,
.owl-nav .owl-next,
.owl-nav .owl-prev,
.pagination .active a,
.pagination .active span,
.pagination a:hover,
.pagination span:hover {
  background-color: #FF5500 !important;
  border-color: #FF5500 !important;
  color: #fff !important;
}

a:hover,
.text-primary,
.price-new,
.product-thumb .price-new,
.product-layout .price-new,
.rating .fa-star,
.fa-star.checked,
.header-cart .cart-total,
.menu1 .menu__item:hover > a,
.menu1 .menu__item.active > a {
  color: #FF5500 !important;
}

/* --- PRODUCT CARDS --- */
.product-thumb,
.product-layout,
.product-grid .product-thumb {
  border-radius: 16px !important;
  border: 1px solid #E5E7EB !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-thumb:hover,
.product-layout:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: #FF5500 !important;
}

/* --- BANNERS & SLIDES --- */
.banner-item img,
.swiper-slide img,
.carousel .item img {
  border-radius: 16px !important;
}

/* --- CATEGORY GRID --- */
.category-wall .item,
.category-carousel .item,
.module-category-list .item {
  border-radius: 16px !important;
  border: none !important;
  overflow: hidden;
}

/* --- FORM ELEMENTS --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select,
.form-control {
  border-radius: 8px !important;
  border: 1px solid #E5E7EB !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: #FF5500 !important;
  box-shadow: 0 0 0 3px rgba(255,85,0,0.1) !important;
  outline: none !important;
}

/* --- BUTTONS GLOBAL --- */
.btn,
.button,
button {
  border-radius: 8px !important;
}

.btn-primary,
.btn-orange {
  background: #FF5500 !important;
  border-color: #FF5500 !important;
  border-radius: 12px !important;
}

.btn-primary:hover,
.btn-orange:hover {
  background: #CC4400 !important;
  border-color: #CC4400 !important;
}

/* --- RESPONSIVE: MOBILE CALCULATOR HIDE --- */
@media (max-width: 768px) {
  .sa-calc-col,
  .col-md-3.tw-hidden {
    display: none !important;
  }
}

/* --- SMOOTH SCROLLING --- */
html {
  scroll-behavior: smooth;
}

/* --- FONT FAMILY GLOBAL --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
