:root {
  --uzmp-blue: #1d4ed8;
  --uzmp-blue-dark: #1e40af;
  --uzmp-blue-light: #eff6ff;
  --uzmp-blue-lighter: #dbeafe;
  --uzmp-navy: #0f172a;
  --uzmp-gray-50: #f8fafc;
  --uzmp-gray-100: #f1f5f9;
  --uzmp-gray-200: #e2e8f0;
  --uzmp-gray-300: #cbd5e1;
  --uzmp-gray-400: #94a3b8;
  --uzmp-gray-500: #64748b;
  --uzmp-gray-600: #475569;
  --uzmp-green: #16a34a;
  --uzmp-red: #dc2626;
  --uzmp-amber: #f59e0b;
  --uzmp-radius-sm: 6px;
  --uzmp-radius: 10px;
  --uzmp-radius-md: 14px;
  --uzmp-radius-lg: 18px;
  --uzmp-shadow-sm: 0 2px 4px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --uzmp-shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
  --uzmp-shadow-lg: 0 16px 32px -10px rgba(15, 23, 42, .12), 0 4px 8px rgba(15, 23, 42, .04);
  --uzmp-shadow-blue: 0 16px 32px -12px rgba(29, 78, 216, .25), 0 4px 8px rgba(29, 78, 216, .08);
}

body.uzsoft-marketplace-pro {
  background: #e7ecf3;
  color: var(--uzmp-navy);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.uzsoft-marketplace-pro h1,
body.uzsoft-marketplace-pro h2,
body.uzsoft-marketplace-pro h3,
body.uzsoft-marketplace-pro h4,
body.uzsoft-marketplace-pro .product_title,
body.uzsoft-marketplace-pro .woocommerce-loop-product__title {
  font-family: Manrope, Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.uzsoft-marketplace-pro .page-wrapper {
  background: transparent;
}

body.uzsoft-marketplace-pro .main-content,
body.uzsoft-marketplace-pro #main {
  background: transparent;
}

body.uzsoft-marketplace-pro #header.header-builder {
  border: 0;
  background: #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
}

body.uzsoft-marketplace-pro #header .porto-block > .container-fluid {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

body.uzsoft-marketplace-pro #header .elementor-section {
  background: #fff;
}

body.uzsoft-marketplace-pro #header .elementor-top-section:first-child {
  background: linear-gradient(180deg, var(--uzmp-gray-50) 0%, #f4f7fb 100%);
  border-bottom: 1px solid var(--uzmp-gray-200);
}

body.uzsoft-marketplace-pro #header .elementor-widget-heading .elementor-heading-title,
body.uzsoft-marketplace-pro #header .top-links > li > a,
body.uzsoft-marketplace-pro #header .porto-view-switcher > li > a {
  color: var(--uzmp-gray-600) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body.uzsoft-marketplace-pro #header .custom-logo,
body.uzsoft-marketplace-pro #header .logo img {
  max-height: 48px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(29, 78, 216, .18));
}

body.uzsoft-marketplace-pro #header .elementor-widget-porto_hb_search_form {
  min-width: min(620px, 100%);
}

body.uzsoft-marketplace-pro #header .searchform-popup.advanced-search-layout {
  display: block;
  width: 100%;
}

body.uzsoft-marketplace-pro #header .searchform-popup .search-toggle {
  display: none !important;
}

body.uzsoft-marketplace-pro #header .searchform-popup .searchform {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.uzsoft-marketplace-pro #header .searchform-fields {
  display: flex;
  width: 100%;
}

body.uzsoft-marketplace-pro #header .searchform .text {
  flex: 1 1 auto;
}

body.uzsoft-marketplace-pro #header .searchform input[name="s"] {
  min-height: 46px;
  width: 100%;
  border: 2px solid var(--uzmp-blue) !important;
  border-right: 0 !important;
  border-radius: var(--uzmp-radius-md) 0 0 var(--uzmp-radius-md) !important;
  background: #fff !important;
  color: var(--uzmp-navy) !important;
  font-size: 14px !important;
  font-weight: 500;
  padding: 0 16px !important;
}

body.uzsoft-marketplace-pro #header .searchform button,
body.uzsoft-marketplace-pro #header .searchform .btn {
  min-height: 46px;
  min-width: 58px;
  border: 2px solid var(--uzmp-blue) !important;
  border-radius: 0 var(--uzmp-radius-md) var(--uzmp-radius-md) 0 !important;
  background: linear-gradient(135deg, var(--uzmp-blue) 0%, #3b82f6 100%) !important;
  color: #fff !important;
  box-shadow: var(--uzmp-shadow-blue);
}

body.uzsoft-marketplace-pro #header .my-account,
body.uzsoft-marketplace-pro #header .my-wishlist,
body.uzsoft-marketplace-pro #header #mini-cart .cart-head {
  position: relative;
  display: inline-flex !important;
  min-width: 56px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--uzmp-radius);
  color: var(--uzmp-navy) !important;
  transition: background .2s ease, color .2s ease;
}

body.uzsoft-marketplace-pro #header .my-account:hover,
body.uzsoft-marketplace-pro #header .my-wishlist:hover,
body.uzsoft-marketplace-pro #header #mini-cart .cart-head:hover {
  background: var(--uzmp-gray-50);
  color: var(--uzmp-blue) !important;
}

body.uzsoft-marketplace-pro #header .uzsoft-mp-action-label {
  display: block;
  max-width: 58px;
  overflow: hidden;
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.uzsoft-marketplace-pro #header .wishlist-count,
body.uzsoft-marketplace-pro #header .cart-items {
  position: absolute !important;
  top: 4px !important;
  right: 8px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: var(--uzmp-red) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 17px !important;
}

body.uzsoft-marketplace-pro #header .header-main:last-child,
body.uzsoft-marketplace-pro #header .elementor-element-06cc12c {
  border-top: 1px solid var(--uzmp-gray-200) !important;
}

body.uzsoft-marketplace-pro #header #main-toggle-menu .menu-title {
  border-radius: var(--uzmp-radius) var(--uzmp-radius) 0 0;
  background: linear-gradient(135deg, var(--uzmp-blue) 0%, #3b82f6 100%) !important;
  box-shadow: var(--uzmp-shadow-blue);
}

body.uzsoft-marketplace-pro #header .main-menu > li.menu-item > a {
  border-radius: 999px;
  color: var(--uzmp-gray-600) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
  text-transform: uppercase !important;
}

body.uzsoft-marketplace-pro #header .main-menu > li.menu-item:hover > a,
body.uzsoft-marketplace-pro #header .main-menu > li.menu-item.active > a {
  background: var(--uzmp-blue-light);
  color: var(--uzmp-blue) !important;
}

body.uzsoft-marketplace-pro .page-top {
  background: linear-gradient(135deg, var(--uzmp-blue-dark), var(--uzmp-blue)) !important;
}

body.uzsoft-marketplace-pro .shop-loop-before {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius-md);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--uzmp-shadow-sm);
}

body.uzsoft-marketplace-pro .shop-loop-before select {
  min-height: 38px;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius-sm);
  background-color: #fff;
  color: var(--uzmp-navy);
  font-size: 13px;
  font-weight: 600;
}

.uzsoft-mp-shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius-lg);
  background: linear-gradient(135deg, #fff 0%, var(--uzmp-blue-light) 100%);
  box-shadow: var(--uzmp-shadow-md);
}

.uzsoft-mp-shop-intro h2 {
  margin: 0 0 6px;
  color: var(--uzmp-navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.uzsoft-mp-shop-intro p {
  max-width: 640px;
  margin: 0;
  color: var(--uzmp-gray-600);
  font-size: 14px;
  line-height: 1.55;
}

.uzsoft-mp-shop-intro__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 520px;
}

.uzsoft-mp-shop-intro__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: 999px;
  background: #fff;
  color: var(--uzmp-gray-600);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.uzsoft-mp-shop-intro__chips a:hover {
  transform: translateY(-1px);
  border-color: var(--uzmp-blue);
  color: var(--uzmp-blue);
}

body.uzsoft-marketplace-pro .archive-products .products-container,
body.uzsoft-marketplace-pro .related.products .products-container {
  align-items: stretch;
}

body.uzsoft-marketplace-pro .archive-products .product-col,
body.uzsoft-marketplace-pro .related.products .product-col,
body.uzsoft-marketplace-pro .porto-posts-grid .product {
  margin-bottom: 22px;
}

body.uzsoft-marketplace-pro .archive-products .product-inner,
body.uzsoft-marketplace-pro .related.products .product-inner,
body.uzsoft-marketplace-pro .porto-posts-grid .product .product-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius-md);
  background: #fff;
  box-shadow: var(--uzmp-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.uzsoft-marketplace-pro .archive-products .product-inner:hover,
body.uzsoft-marketplace-pro .related.products .product-inner:hover,
body.uzsoft-marketplace-pro .porto-posts-grid .product .product-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, .22);
  box-shadow: var(--uzmp-shadow-lg);
}

body.uzsoft-marketplace-pro .product-image,
body.uzsoft-marketplace-pro .porto-tb-featured-image {
  min-height: 190px;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--uzmp-gray-50) 100%);
}

body.uzsoft-marketplace-pro .product-image .inner,
body.uzsoft-marketplace-pro .porto-tb-featured-image .inner {
  display: flex;
  min-height: 154px;
  align-items: center;
  justify-content: center;
}

body.uzsoft-marketplace-pro .product-image img,
body.uzsoft-marketplace-pro .porto-tb-featured-image img {
  max-height: 170px;
  width: auto;
  object-fit: contain;
  transition: transform .3s ease;
}

body.uzsoft-marketplace-pro .product-inner:hover .product-image img,
body.uzsoft-marketplace-pro .product-inner:hover .porto-tb-featured-image img {
  transform: scale(1.04);
}

body.uzsoft-marketplace-pro .product-content {
  padding: 0 16px 16px !important;
  text-align: left !important;
}

body.uzsoft-marketplace-pro .category-list,
body.uzsoft-marketplace-pro .category-list a {
  color: var(--uzmp-blue) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .8px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.uzsoft-marketplace-pro .product-loop-title {
  display: block;
  margin: 7px 0 8px;
  color: var(--uzmp-navy) !important;
  text-decoration: none !important;
}

body.uzsoft-marketplace-pro .woocommerce-loop-product__title,
body.uzsoft-marketplace-pro .porto-heading.post-title {
  display: -webkit-box !important;
  min-height: 44px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--uzmp-navy) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

body.uzsoft-marketplace-pro .rating-wrap,
body.uzsoft-marketplace-pro .star-rating {
  color: var(--uzmp-amber) !important;
  font-size: 12px;
}

body.uzsoft-marketplace-pro .product .price {
  display: block !important;
  margin: 8px 0 0 !important;
  color: var(--uzmp-blue) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

body.uzsoft-marketplace-pro .product .price del {
  color: var(--uzmp-gray-400) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.uzsoft-marketplace-pro .product .add-links-wrap {
  margin-top: 12px;
}

body.uzsoft-marketplace-pro .product .add-links .button,
body.uzsoft-marketplace-pro .product a.add_to_cart_button,
body.uzsoft-marketplace-pro .product .uzsoft-loop-details-button,
body.uzsoft-marketplace-pro .product .uzsoft-loop-cart-button {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: var(--uzmp-radius) !important;
  background: linear-gradient(135deg, var(--uzmp-blue) 0%, #3b82f6 100%) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .3px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  box-shadow: var(--uzmp-shadow-blue);
}

body.uzsoft-marketplace-pro .product .add-links .button:hover,
body.uzsoft-marketplace-pro .product a.add_to_cart_button:hover,
body.uzsoft-marketplace-pro .product .uzsoft-loop-details-button:hover,
body.uzsoft-marketplace-pro .product .uzsoft-loop-cart-button:hover {
  background: linear-gradient(135deg, var(--uzmp-blue-dark) 0%, var(--uzmp-blue) 100%) !important;
  color: #fff !important;
}

body.uzsoft-marketplace-pro.single-product .product-summary-wrap,
body.uzsoft-marketplace-pro.single-product .product .summary-before,
body.uzsoft-marketplace-pro.single-product .summary.entry-summary {
  border-radius: var(--uzmp-radius-lg);
}

body.uzsoft-marketplace-pro.single-product .product-summary-wrap {
  padding: 22px;
  border: 1px solid var(--uzmp-gray-200);
  background: #fff;
  box-shadow: var(--uzmp-shadow-lg);
}

body.uzsoft-marketplace-pro.single-product .woocommerce-product-gallery,
body.uzsoft-marketplace-pro.single-product .summary-before {
  overflow: hidden;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius-lg);
  background: linear-gradient(180deg, #fff 0%, var(--uzmp-gray-50) 100%);
}

body.uzsoft-marketplace-pro.single-product .summary.entry-summary {
  padding: 20px !important;
  border: 1px solid var(--uzmp-gray-200);
  background: var(--uzmp-gray-50);
}

body.uzsoft-marketplace-pro.single-product .product_title {
  margin-bottom: 12px !important;
  color: var(--uzmp-navy);
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
}

body.uzsoft-marketplace-pro.single-product .summary .price {
  color: var(--uzmp-blue) !important;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 900 !important;
}

body.uzsoft-marketplace-pro.single-product .product_meta {
  display: grid;
  gap: 8px;
  margin: 14px 0 !important;
  padding: 14px;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius);
  background: #fff;
  color: var(--uzmp-gray-600);
  font-size: 13px;
}

body.uzsoft-marketplace-pro.single-product form.cart {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 14px !important;
}

body.uzsoft-marketplace-pro.single-product .quantity.buttons_added {
  overflow: hidden;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius);
  background: #fff;
}

body.uzsoft-marketplace-pro.single-product .single_add_to_cart_button {
  min-height: 48px !important;
  border: 0 !important;
  border-radius: var(--uzmp-radius) !important;
  background: linear-gradient(135deg, var(--uzmp-blue) 0%, #3b82f6 100%) !important;
  color: #fff !important;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: var(--uzmp-shadow-blue);
}

.uzsoft-mp-product-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.uzsoft-mp-product-benefit {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius);
  background: #fff;
}

.uzsoft-mp-product-benefit span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--uzmp-blue-light);
  position: relative;
}

.uzsoft-mp-product-benefit span::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 11px;
  height: 7px;
  border-left: 2px solid var(--uzmp-blue);
  border-bottom: 2px solid var(--uzmp-blue);
  transform: rotate(-45deg);
}

.uzsoft-mp-product-benefit strong {
  color: var(--uzmp-navy);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.uzsoft-mp-product-benefit small {
  color: var(--uzmp-gray-500);
  font-size: 11px;
  line-height: 1.3;
}

body.uzsoft-marketplace-pro .uzsoft-fulfillment-note,
body.uzsoft-marketplace-pro .uzsoft-corporate-request__inner,
body.uzsoft-marketplace-pro .uzsoft-corporate-request {
  border-radius: var(--uzmp-radius) !important;
}

body.uzsoft-marketplace-pro.woocommerce-cart .woocommerce {
  display: block;
}

body.uzsoft-marketplace-pro.woocommerce-cart .woocommerce-cart-form,
body.uzsoft-marketplace-pro.woocommerce-cart .cart_totals {
  overflow: hidden;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius-lg);
  background: #fff;
  box-shadow: var(--uzmp-shadow-md);
}

body.uzsoft-marketplace-pro.woocommerce-cart .page-share {
  display: none !important;
}

body.uzsoft-marketplace-pro.woocommerce-cart .cart-empty-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 20px;
  border: 1px solid var(--uzmp-gray-200);
  border-radius: var(--uzmp-radius-lg);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--uzmp-shadow-md);
}

body.uzsoft-marketplace-pro.woocommerce-cart .shop_table {
  margin-bottom: 0 !important;
}

body.uzsoft-marketplace-pro.woocommerce-cart .shop_table th {
  background: var(--uzmp-gray-50);
  color: var(--uzmp-gray-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

body.uzsoft-marketplace-pro.woocommerce-cart .cart_totals h2 {
  color: var(--uzmp-navy);
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

body.uzsoft-marketplace-pro.woocommerce-cart .checkout-button {
  border-radius: var(--uzmp-radius) !important;
  background: linear-gradient(135deg, var(--uzmp-blue) 0%, #3b82f6 100%) !important;
  box-shadow: var(--uzmp-shadow-blue);
}

.uzsoft-mp-cart-notice {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid var(--uzmp-blue-lighter);
  border-radius: var(--uzmp-radius);
  background: var(--uzmp-blue-light);
  color: var(--uzmp-gray-600);
}

.uzsoft-mp-cart-notice strong {
  color: var(--uzmp-blue);
  font-weight: 900;
}

@media (max-width: 1100px) {
  body.uzsoft-marketplace-pro #header .elementor-widget-porto_hb_search_form {
    min-width: 0;
  }

  .uzsoft-mp-shop-intro {
    grid-template-columns: 1fr;
  }

  .uzsoft-mp-shop-intro__chips {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  body.uzsoft-marketplace-pro {
    background: #f3f6fb;
  }

  body.uzsoft-marketplace-pro #header .porto-block > .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.uzsoft-marketplace-pro #header .searchform-popup .searchform {
    max-width: 100% !important;
  }

  body.uzsoft-marketplace-pro #header .searchform input[name="s"],
  body.uzsoft-marketplace-pro #header .searchform button,
  body.uzsoft-marketplace-pro #header .searchform .btn {
    min-height: 42px;
  }

  body.uzsoft-marketplace-pro .shop-loop-before {
    align-items: stretch;
    flex-direction: column;
  }

  .uzsoft-mp-shop-intro {
    padding: 16px;
  }

  .uzsoft-mp-shop-intro h2 {
    font-size: 21px;
  }

  body.uzsoft-marketplace-pro .product-image,
  body.uzsoft-marketplace-pro .porto-tb-featured-image {
    min-height: 148px;
    padding: 12px;
  }

  body.uzsoft-marketplace-pro .product-image .inner,
  body.uzsoft-marketplace-pro .porto-tb-featured-image .inner {
    min-height: 124px;
  }

  body.uzsoft-marketplace-pro .product-image img,
  body.uzsoft-marketplace-pro .porto-tb-featured-image img {
    max-height: 132px;
  }

  body.uzsoft-marketplace-pro.single-product .product-summary-wrap {
    padding: 14px;
  }

  body.uzsoft-marketplace-pro.single-product form.cart,
  .uzsoft-mp-product-benefits {
    grid-template-columns: 1fr;
  }
}
