/**
 * cvety-by.online — типографика по системе Ekomart
 *
 * Ekomart: html { font-size: 10px } (rem = отступы), body = var(--font-size-b1) в px.
 * Кастомные блоки cvety-* должны использовать px или --font-size-*, НЕ rem для текста.
 */

/* —— 1. База темы —— */
html {
  font-size: 10px !important;
}

body.shop-main-h {
  --font-size-b1: 17px;
  --font-size-b2: 17px;
  --font-size-b3: 15px;
  --line-height-b1: 1.45;
  --line-height-b2: 1.45;
  --line-height-b3: 1.45;
  --h4: 19px;
  --h5: 17px;
  --h6: 16px;
  font-size: var(--font-size-b1) !important;
  line-height: var(--line-height-b1) !important;
  font-family: var(--font-primary, "Barlow", sans-serif);
}

@media (max-width: 767px) {
  body.shop-main-h {
    --font-size-b1: 16px;
    --font-size-b2: 16px;
    --font-size-b3: 14px;
  }
}

/* —— 2. Откат сломанного блока unified typography в cvety-overrides —— */
body.shop-main-h h1,
body.shop-main-h .h1,
body.shop-main-h h2,
body.shop-main-h .h2,
body.shop-main-h h3,
body.shop-main-h .h3,
body.shop-main-h h4,
body.shop-main-h .h4,
body.shop-main-h h5,
body.shop-main-h .h5,
body.shop-main-h h6,
body.shop-main-h .h6 {
  font-size: revert !important;
  line-height: revert !important;
}

body.shop-main-h p,
body.shop-main-h li,
body.shop-main-h td,
body.shop-main-h th,
body.shop-main-h label,
body.shop-main-h .nav-link,
body.shop-main-h input,
body.shop-main-h select,
body.shop-main-h textarea,
body.shop-main-h button {
  font-size: revert;
  line-height: revert;
}

body.shop-main-h .product-title,
body.shop-main-h .product-price,
body.shop-main-h .product-price .old-price,
body.shop-main-h .product-catagory,
body.shop-main-h .disc,
body.shop-main-h .product-unipue,
body.shop-main-h .catagorys.product-unipue,
body.shop-main-h .rts-btn,
body.shop-main-h .rts-btn.btn-sm,
body.shop-main-h .main-nav-area .nav-link,
body.shop-main-h .category-sub-menu li a,
body.shop-main-h .navigator-breadcrumb-wrapper,
body.shop-main-h .cvety-breadcrumb,
body.shop-main-h .cvety-breadcrumb a,
body.shop-main-h .cvety-breadcrumb span,
body.shop-main-h .top-filter span,
body.shop-main-h .check-main-wrapper label,
body.shop-main-h .shop-grid-sidebar-area .form-check-label,
body.shop-main-h .cvety-product-tabs .nav-link,
body.shop-main-h .single-vendor-area .location p,
body.shop-main-h .single-vendor-area .stars-area span,
body.shop-main-h .single-footer-wized .title,
body.shop-main-h .footer-title,
body.shop-main-h .single-footer-wized p,
body.shop-main-h .single-footer-wized a,
body.shop-main-h .single-footer-wized li,
body.shop-main-h .footer-main-content-wrapper,
body.shop-main-h .single-footer-wized .footer-title,
body.shop-main-h .pagination-area-main-wrappper ul li button,
body.shop-main-h .stars-area span,
body.shop-main-h .start-area-rating span,
body.shop-main-h .product-status .rating-disc span,
body.shop-main-h .single-cart-area-list.main .price,
body.shop-main-h .single-cart-area-list.main .quantity,
body.shop-main-h .single-cart-area-list.main .subtotal,
body.shop-main-h .cart-total-area-start-right .title,
body.shop-main-h .cart-total-area-start-right .subtotal,
body.shop-main-h .shop-grid-sidebar-area .top-filter span,
body.shop-main-h .shop-grid-sidebar-area .right-end span,
body.shop-main-h .rts-header-nav-area-one .nav-area ul li a,
body.shop-main-h .btn-border-only,
body.shop-main-h .btn-border-only i,
body.shop-main-h .accont-wishlist-cart-area-header .btn-border-only,
body.shop-main-h .accont-wishlist-cart-area-header .text,
body.shop-main-h .btn-border-only .text,
body.shop-main-h .cvety-page-hero__title,
body.shop-main-h .cvety-page-hero__intro,
body.shop-main-h .cvety-section-title,
body.shop-main-h .cvety-section-title--spaced,
body.shop-main-h .cvety-faq-q,
body.shop-main-h .cvety-faq-a,
body.shop-main-h .cvety-hero-title,
body.shop-main-h .cvety-hero-sub,
body.shop-main-h .cvety-logo-brand,
body.shop-main-h .cvety-logo-domain,
body.shop-main-h .cvety-collection-card__title,
body.shop-main-h .cvety-filter-panel__title,
body.shop-main-h .single-shopping-card-one .body-content a .title,
body.shop-main-h .single-shopping-card-one .body-content .availability,
body.shop-main-h .single-shopping-card-one .body-content .price-area .current,
body.shop-main-h .single-shopping-card-one .body-content .price-area .previous,
body.shop-main-h .rts-vendor-area .single-vendor-area .title,
body.shop-main-h .single-vendor-area .title,
body.shop-main-h .cvety-category-strip .single-category-one p,
body.shop-main-h .cvety-collection-feature .content-area .title,
body.shop-main-h .cvety-collection-feature__badge,
body.shop-main-h .cvety-news-excerpt,
body.shop-main-h .cvety-news-date--article {
  font-size: revert !important;
  line-height: revert !important;
}

body.shop-main-h .small,
body.shop-main-h small:not(.cvety-logo-tagline),
body.shop-main-h .text-muted,
body.shop-main-h .form-label.small,
body.shop-main-h .form-text,
body.shop-main-h caption {
  font-size: var(--font-size-b3) !important;
  line-height: var(--line-height-b3) !important;
}

body.shop-main-h .form-control,
body.shop-main-h .form-select,
body.shop-main-h .input-wrapper input,
body.shop-main-h .input-wrapper textarea,
body.shop-main-h .input-wrapper select,
body.shop-main-h .registration-form input,
body.shop-main-h .registration-form textarea,
body.shop-main-h .registration-form select,
body.shop-main-h .cvety-input {
  font-size: max(16px, var(--font-size-b1)) !important;
}

body.shop-main-h .form-label,
body.shop-main-h .input-wrapper label,
body.shop-main-h .registration-form label {
  font-size: var(--font-size-b1) !important;
}

/* —— 3. Логотип —— */
body.shop-main-h .cvety-logo-brand {
  font-size: 24px !important;
}

body.shop-main-h .cvety-logo-domain {
  font-size: 16px !important;
}

body.shop-main-h .cvety-logo-wrap--dashboard .cvety-logo-brand {
  font-size: 20px !important;
}

body.shop-main-h .cvety-logo-wrap--dashboard .cvety-logo-domain {
  font-size: 15px !important;
}

body.shop-main-h .logo-area .logo-text {
  font-size: 24px !important;
}

body.shop-main-h .logo-area .logo-text small {
  font-size: 13px !important;
}

body.shop-main-h .ekomart_dashboard .logo.logo-text {
  font-size: 17px !important;
}

body.shop-main-h .ekomart_dashboard .logo.logo-text small {
  font-size: 13px !important;
}

@media (max-width: 575px) {
  body.shop-main-h .cvety-logo-brand {
    font-size: 20px !important;
  }

  body.shop-main-h .cvety-logo-domain {
    font-size: 14px !important;
  }
}

/* —— 4. Кастомные блоки cvety-* —— */
body.shop-main-h .cvety-page-hero__title {
  font-size: var(--h2) !important;
  line-height: 1.15 !important;
}

body.shop-main-h .cvety-page-hero__intro,
body.shop-main-h .cvety-section-intro,
body.shop-main-h .cvety-hero-sub,
body.shop-main-h .cvety-prose,
body.shop-main-h .cvety-prose p {
  font-size: var(--font-size-b1) !important;
  line-height: 1.55 !important;
}

body.shop-main-h .cvety-section-title,
body.shop-main-h .cvety-section-title--spaced {
  font-size: var(--h3) !important;
  line-height: 1.25 !important;
}

body.shop-main-h .cvety-prose h2 {
  font-size: var(--h4) !important;
}

body.shop-main-h .cvety-faq-q {
  font-size: var(--h4) !important;
  line-height: 1.3 !important;
}

body.shop-main-h .cvety-faq-a {
  font-size: var(--font-size-b1) !important;
  line-height: 1.65 !important;
}

body.shop-main-h .cvety-btn,
body.shop-main-h .cvety-btn--lg,
body.shop-main-h .cvety-product-add-btn .btn-text {
  font-size: var(--font-size-b1) !important;
}

body.shop-main-h .cvety-collection-card__title,
body.shop-main-h .cvety-shop-list-item__title,
body.shop-main-h .cvety-filter-panel__title {
  font-size: var(--h4) !important;
}

body.shop-main-h .cvety-collection-card__meta,
body.shop-main-h .cvety-collection-card__cta,
body.shop-main-h .cvety-shop-list-item__meta,
body.shop-main-h .cvety-shop-list-item__cta,
body.shop-main-h .cvety-city-badge,
body.shop-main-h .cvety-badge,
body.shop-main-h .cvety-shop-meta,
body.shop-main-h .cvety-news-excerpt,
body.shop-main-h .cvety-news-date--article,
body.shop-main-h .cvety-header-cart-empty,
body.shop-main-h .cvety-header-cart-more,
body.shop-main-h .cvety-header-cart-hint,
body.shop-main-h .cvety-checkout-hint,
body.shop-main-h .cvety-cart-line-meta,
body.shop-main-h .cvety-toast {
  font-size: var(--font-size-b3) !important;
}

body.shop-main-h .cvety-product-title {
  font-size: var(--h2) !important;
  line-height: 1.2 !important;
}

body.shop-main-h .cvety-price-lg {
  font-size: 22px !important;
  font-weight: 600;
}

body.shop-main-h .cvety-category-strip .single-category-one p {
  font-size: var(--font-size-b3) !important;
}

body.shop-main-h .cvety-collection-feature .content-area .title {
  font-size: var(--h3) !important;
}

body.shop-main-h .cvety-collection-feature__badge,
body.shop-main-h .cvety-stock-badge {
  font-size: 13px !important;
}

body.shop-main-h .cvety-empty-state {
  font-size: var(--font-size-b1) !important;
}

body.shop-main-h .panel-table th,
body.shop-main-h .panel-table td {
  font-size: var(--font-size-b1) !important;
}

/* —— 5. Ekomart style.css — точечные зоны —— */
body.shop-main-h .banner-one-inner-content .title,
body.shop-main-h .cvety-hero-title {
  font-size: revert !important;
  line-height: revert !important;
}

body.shop-main-h .single-shopping-card-one .body-content a .title {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

body.shop-main-h .single-shopping-card-one .body-content .availability,
body.shop-main-h .single-shopping-card-one .body-content .time-tag {
  font-size: var(--font-size-b3) !important;
}

body.shop-main-h .single-shopping-card-one .body-content .price-area .current {
  font-size: 20px !important;
}

body.shop-main-h .single-shopping-card-one .body-content .price-area .previous {
  font-size: var(--font-size-b3) !important;
}

body.shop-main-h .rts-vendor-area .single-vendor-area .title,
body.shop-main-h .single-vendor-area .title {
  font-size: var(--h4) !important;
}

body.shop-main-h .header-mid-wrapper-between .nav-sm-left ul li a {
  font-size: var(--font-size-b3) !important;
}

body.shop-main-h p.has-small-font-size {
  font-size: var(--font-size-b3) !important;
}

body.shop-main-h .category-hover-header .category-sub-menu.card-number-show .cart-item-1 .img-name .details .title {
  font-size: var(--font-size-b3) !important;
}

body.shop-main-h .category-hover-header .category-sub-menu.card-number-show .shopping-cart-number,
body.shop-main-h .category-hover-header .category-sub-menu.card-number-show .sub-total-cart-balance .top {
  font-size: var(--font-size-b1) !important;
}

body.shop-main-h .side-bar .mobile-menu-link,
body.shop-main-h .side-bar .menu-item,
body.shop-main-h .side-bar .mainmenu-nav,
body.shop-main-h .side-bar label,
body.shop-main-h .side-bar .category-sub-menu a {
  font-size: var(--font-size-b1) !important;
}

body.shop-main-h .cvety-scroll-nav .nav-link {
  font-size: var(--font-size-b1) !important;
}

@media (max-width: 991px) {
  body.shop-main-h .single-cart-area-list.main .price::before,
  body.shop-main-h .single-cart-area-list.main .quantity::before,
  body.shop-main-h .single-cart-area-list.main .subtotal::before {
    font-size: var(--font-size-b3) !important;
  }
}

@media (max-width: 767px) {
  body.shop-main-h .cvety-page-hero__title {
    font-size: 28px !important;
  }

  body.shop-main-h .cvety-section-title,
  body.shop-main-h .cvety-section-title--spaced {
    font-size: 24px !important;
  }

  body.shop-main-h .cvety-product-title {
    font-size: 26px !important;
  }

  body.shop-main-h .single-shopping-card-one .body-content a .title {
    font-size: 16px !important;
  }
}

/* —— 6. Админка —— */
body.shop-main-h .ekomart_dashboard {
  font-size: var(--font-size-b1);
}

body.shop-main-h .ekomart_dashboard .panel-table th,
body.shop-main-h .ekomart_dashboard .panel-table td,
body.shop-main-h .ekomart_dashboard .dashboard-table th,
body.shop-main-h .ekomart_dashboard .dashboard-table td {
  font-size: var(--font-size-b1) !important;
}

body.shop-main-h .ekomart_dashboard .right-area-body-content .title {
  font-size: var(--h4) !important;
}

body.shop-main-h .ekomart_dashboard pre.small {
  font-size: var(--font-size-b3) !important;
}
