/* =====================================================================
   Deals for Buddies Design System v1
   Standard typography, spacing and font weights for the full theme.
   This file is loaded last so it normalises old bold/uppercase styling.
   ===================================================================== */

:root{
  --dfb-font-family: Inter, Arial, Helvetica, sans-serif;
  --dfb-body-size: 15px;
  --dfb-body-weight: 400;
  --dfb-menu-size: 17px;
  --dfb-menu-weight: 500;
  --dfb-small-size: 13px;
  --dfb-card-title-size: 17px;
  --dfb-card-title-weight: 600;
  --dfb-heading-size: 30px;
  --dfb-heading-weight: 700;
  --dfb-price-size: 22px;
  --dfb-price-weight: 700;
  --dfb-button-size: 15px;
  --dfb-button-weight: 500;
}

html,body,
button,input,select,textarea,
.dfb-site-header,
.dfb-site-footer,
.dfb-frontpage,
.dfb-auction-card,
.dfb-single-auction,
.woocommerce,
.woocommerce-page,
.bbb-dashboard,
.bbb-my-account,
.bbb-account,
.bbb-seller-dashboard,
.bbb-plugin-wrap{
  font-family: var(--dfb-font-family) !important;
}

body{
  font-size: var(--dfb-body-size);
  font-weight: var(--dfb-body-weight);
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

/* Kill old marketplace shouting globally, then selectively restore headings. */
.dfb-site-header *,
.dfb-site-footer *,
.dfb-frontpage *,
.dfb-auction-card *,
.dfb-category-template-active *,
.dfb-single-auction *,
.bbb-dashboard *,
.bbb-my-account *,
.bbb-account *,
.bbb-seller-dashboard *,
.woocommerce *,
.woocommerce-page *{
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Top bar */
.dfb-topbar,
.dfb-topbar a,
.dfb-topbar span,
.dfb-header-topbar,
.dfb-header-topbar a,
.dfb-header-topbar span{
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Logo remains the brand anchor. */
.dfb-logo,
.dfb-logo a,
.dfb-brand,
.dfb-brand a,
.site-title,
.site-title a{
  font-weight: 700 !important;
  text-transform: none !important;
}

/* Main horizontal header menu: clean, not bold, not uppercase. */
.dfb-primary-menu a,
.dfb-main-menu a,
.dfb-nav a,
.dfb-header-menu a,
.site-navigation a,
.main-navigation a,
.primary-navigation a,
#site-navigation a,
.menu-primary-container a{
  font-size: 17px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Header utility links: Watchlist, Alerts, My Account. */
.dfb-header-actions a,
.dfb-header-actions button,
.dfb-header-action,
.dfb-watchlist-link,
.dfb-alerts-link,
.dfb-account-link,
.dfb-mini-link,
.dfb-icon-link,
.dfb-user-link{
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Search */
.dfb-search input,
.dfb-header-search input,
.search-field,
input[type="search"]{
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: none !important;
}
.dfb-search input::placeholder,
.dfb-header-search input::placeholder,
.search-field::placeholder,
input[type="search"]::placeholder{
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* Buttons */
button,
.button,
.wp-element-button,
.dfb-button,
.dfb-btn,
.dfb-bid-button,
.dfb-sell-button,
.dfb-sell-item,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.dfb-sell-button,
.dfb-sell-item,
.dfb-header-sell a{
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* Vertical category menu */
.dfb-home-categories-title,
.dfb-sidebar-title,
.dfb-category-menu-title,
.dfb-vertical-categories-title,
.dfb-home-sidebar h2,
.dfb-home-sidebar h3{
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dfb-home-categories a,
.dfb-category-menu a,
.dfb-vertical-categories a,
.dfb-home-sidebar a,
.dfb-sidebar-left a{
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dfb-home-categories a:hover,
.dfb-category-menu a:hover,
.dfb-vertical-categories a:hover,
.dfb-home-sidebar a:hover,
.dfb-sidebar-left a:hover{
  font-weight: 500 !important;
}

/* Page and section headings */
h1,.h1,
.dfb-page-title,
.dfb-section-title,
.dfb-frontpage h1,
.dfb-frontpage h2,
.dfb-category-title,
.woocommerce-products-header__title{
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
h2,.h2{ font-weight: 700; text-transform:none; letter-spacing:0; }
h3,.h3{ font-weight: 600; text-transform:none; letter-spacing:0; }

/* Auction cards across homepage, category pages, related auctions and widgets. */
.dfb-auction-card,
.dfb-auction-card p,
.dfb-auction-card span,
.dfb-auction-card li,
.dfb-card,
.auction-card,
.product-card{
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dfb-auction-card h3,
.dfb-auction-card .dfb-card-title,
.dfb-auction-card .auction-title,
.dfb-auction-card .product-title,
.dfb-card-title,
.auction-card-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dfb-auction-card .price,
.dfb-auction-card .amount,
.dfb-auction-card .current-bid,
.dfb-current-bid,
.dfb-price,
.woocommerce ul.products li.product .price{
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.dfb-auction-card .dfb-card-meta,
.dfb-auction-card .meta,
.dfb-auction-card .ends,
.dfb-auction-card .bids,
.dfb-auction-card .seller{
  font-size: 14px !important;
  font-weight: 400 !important;
}
.dfb-auction-card .dfb-bid-now,
.dfb-auction-card .bid-now,
.dfb-auction-card a.button{
  font-size: 15px !important;
  font-weight: 500 !important;
}

/* Single auction page */
.dfb-single-auction h1,
.single-bbb_auction h1,
.single-auction h1,
.single-product h1.product_title{
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
.dfb-single-auction h2,
.dfb-single-auction h3,
.single-bbb_auction h2,
.single-bbb_auction h3{
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dfb-single-auction .price,
.dfb-single-auction .amount,
.dfb-single-auction .dfb-price,
.single-product .summary .price{
  font-size: 22px !important;
  font-weight: 700 !important;
}

/* My Account, seller dashboard, checkout and auth pages. */
.bbb-dashboard,
.bbb-dashboard p,
.bbb-dashboard td,
.bbb-dashboard th,
.bbb-my-account,
.bbb-my-account p,
.bbb-my-account td,
.bbb-my-account th,
.bbb-account,
.bbb-seller-dashboard,
.woocommerce-account,
.woocommerce-checkout,
.woocommerce-cart{
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.bbb-dashboard h1,
.bbb-dashboard h2,
.bbb-my-account h1,
.bbb-my-account h2,
.bbb-account h1,
.bbb-account h2,
.bbb-seller-dashboard h1,
.bbb-seller-dashboard h2,
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-checkout h1,
.woocommerce-checkout h2{
  font-size: 30px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.bbb-dashboard h3,
.bbb-my-account h3,
.bbb-account h3,
.bbb-seller-dashboard h3{
  font-size: 17px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.bbb-dashboard .card-title,
.bbb-my-account .card-title,
.bbb-account .card-title,
.bbb-seller-dashboard .card-title,
.bbb-dashboard .bbb-card-title,
.bbb-my-account .bbb-card-title{
  font-size: 17px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.bbb-dashboard a,
.bbb-my-account a,
.bbb-account a,
.bbb-seller-dashboard a,
.woocommerce-account a{
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Footer */
.dfb-site-footer h2,
.dfb-site-footer h3,
.dfb-footer-title,
.dfb-footer-heading,
.site-footer h2,
.site-footer h3{
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dfb-site-footer a,
.dfb-site-footer p,
.dfb-site-footer li,
.site-footer a,
.site-footer p,
.site-footer li{
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Small labels should stay small, but not shout. */
.badge,.label,.status,
.dfb-badge,.dfb-status,
.bbb-status,.woocommerce .onsale{
  font-size: 12px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
