/* ==========================================================================
   Yami Billiards Pro — styled after billiards.com
   Deep green (#003333) + teal (#33FFCC) + Open Sans
   Framework = dark green / Content = light for readability
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
  --yp-green:      #003333;   /* billiards.com signature deep green */
  --yp-green2:     #072727;
  --yp-green3:     #0a4035;
  --yp-teal:       #33FFCC;   /* signature accent */
  --yp-teal-dark:  #1fbf98;
  --yp-ink:        #1f2421;   /* dark text on light */
  --yp-ink-soft:   #55605a;
  --yp-surface:    #ffffff;
  --yp-surface-alt:#f4f6f4;   /* light grey content area */
  --yp-light-line: #e2e7e4;
  --yp-line:       rgba(255,255,255,.16);
  --yp-shadow:     0 14px 40px rgba(0,30,20,.12);
  --yp-radius:     6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--yp-surface-alt);
  color: var(--yp-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { color: var(--yp-green); line-height: 1.2; font-weight: 800; margin: 0 0 15px; letter-spacing: -.3px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; font-size: 16px; line-height: 24px; }
::selection { background: var(--yp-teal); color: var(--yp-green); }
.yp-container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 25px; }
.yp-container.slim { max-width: 1113px; }
.yp-center { text-align: center; }
.yp-uppercase { text-transform: uppercase; }

/* ---------- Buttons (billiards.com style) ---------- */
.yp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; font-size: 15px; font-weight: 800; letter-spacing: .8px;
  border: 2px solid var(--yp-green); border-radius: var(--yp-radius); cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  text-align: center; line-height: 1.2; font-family: inherit; text-transform: uppercase;
}
.yp-btn:hover { transform: scale(1.045); }
.yp-btn-sm { padding: 11px 20px; font-size: 13px; }
.yp-btn-lg { padding: 18px 40px; font-size: 16px; }
.yp-btn-gold { background: var(--yp-green); color: var(--yp-teal); border-color: var(--yp-green); }       /* primary: green + teal text */
.yp-btn-gold:hover { background: var(--yp-green3); color: var(--yp-teal); }
.yp-btn-outline { background: transparent; color: var(--yp-green); border-color: var(--yp-green); }      /* bordered */
.yp-btn-outline:hover { background: var(--yp-green); color: var(--yp-teal); }
.yp-btn-outline-light { background: transparent; color: var(--yp-teal); border-color: var(--yp-teal); }
.yp-btn-outline-light:hover { background: var(--yp-teal); color: var(--yp-green); }
.yp-btn-dark { background: var(--yp-teal); color: var(--yp-green); border-color: var(--yp-teal); }
.yp-btn-dark:hover { background: #fff; border-color: #fff; color: var(--yp-green); }

/* ---------- Announcement bar ---------- */
.yp-announce { background: var(--yp-green); color: #cfe9df; font-size: 12px; letter-spacing: .4px; text-align: center; padding: 9px 0; }
.yp-announce strong { color: var(--yp-teal); }

/* ---------- Topbar ---------- */
.yp-topbar { background: var(--yp-green2); color: #cfe9df; font-size: 12px; padding: 9px 0; border-bottom: 1px solid var(--yp-line); }
.yp-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.yp-topbar-text { letter-spacing: .3px; }
.yp-topbar-text::first-letter { color: var(--yp-teal); }
.yp-topbar-links a:hover { color: var(--yp-teal); }
.yp-divider { margin: 0 10px; opacity: .4; }

/* ---------- Header (deep green, white search) ---------- */
.yp-header { background: var(--yp-green); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--yp-line); }
.yp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 26px; }
.yp-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.yp-logo img { max-height: 34px; width: auto; }
.yp-logo-mark { width: 32px; height: 32px; border-radius: 5px; background: var(--yp-teal); color: var(--yp-green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.yp-logo-text { display: flex; flex-direction: column; line-height: 1; }
.yp-logo-text strong { font-size: 16px; letter-spacing: 1.6px; color: #fff; }
.yp-logo-text small { font-size: 7.5px; letter-spacing: 3px; color: var(--yp-teal); font-weight: 700; margin-top: 3px; }
.yp-search { flex: 1; display: flex; max-width: 520px; height: 46px; background: #fff; border-radius: var(--yp-radius); overflow: hidden; }
.yp-search-cat { border: 0; border-right: 1px solid #e3e7e4; background: #f6f8f7; color: #37423c; font: inherit; font-size: 13px; padding: 0 12px; max-width: 150px; }
.yp-search input { flex: 1; border: 0; padding: 0 14px; font: inherit; font-size: 14px; color: #1f2421; outline: none; }
.yp-search button { border: 0; background: var(--yp-teal); color: var(--yp-green); width: 52px; font-size: 18px; cursor: pointer; }
.yp-nav { display: flex; justify-content: center; }
.yp-menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.yp-menu > li > a { font-size: 13px; font-weight: 800; color: #fff; padding: 8px 0; position: relative; transition: color .2s; text-transform: uppercase; letter-spacing: .5px; }
.yp-menu > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--yp-teal); transition: width .25s; }
.yp-menu > li > a:hover, .yp-menu > li.current_page_item > a { color: var(--yp-teal); }
.yp-menu > li > a:hover::after, .yp-menu > li.current_page_item > a::after { width: 100%; }
.yp-header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; color: #fff; }
.yp-header-actions a:hover { color: var(--yp-teal); }
.yp-icon { font-size: 20px; }
.yp-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.yp-menu-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: all .3s; }
.yp-nav-bar { background: var(--yp-green2); border-top: 1px solid var(--yp-line); }
.yp-nav-bar .yp-menu > li > a { padding: 13px 0; }

/* ---------- Hero (8-slide) ---------- */
.yp-hero { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--yp-green); }
.yp-slides { position: absolute; inset: 0; z-index: 0; }
.yp-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease; background-size: cover; background-position: center 45%; display: flex; flex-direction: column; justify-content: center; }
.yp-slide.is-active { opacity: 1; visibility: visible; }
.yp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,25,25,.94) 0%, rgba(0,25,25,.78) 45%, rgba(0,25,25,.25) 100%), linear-gradient(0deg, rgba(0,25,25,.6) 0%, transparent 40%); }
.yp-hero-inner { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 60px; }
.yp-hero-content { max-width: 680px; }
.yp-hero-kicker { display: inline-block; color: var(--yp-teal); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; border-left: 3px solid var(--yp-teal); padding-left: 14px; margin-bottom: 20px; }
.yp-hero h1 { color: #fff; font-size: clamp(42px, 6vw, 70px); line-height: 1.06; margin: 0 0 20px; letter-spacing: -1.5px; }
.yp-hero p { color: #d6e6de; font-size: 17px; max-width: 600px; margin: 0 0 32px; }
.yp-hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
/* Category names bar at TOP of banner */
.yp-catbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; background: rgba(0,20,20,.88); border-bottom: 1px solid var(--yp-line); backdrop-filter: blur(6px); }
.yp-catbar .yp-container { display: flex; align-items: center; gap: 20px; min-height: 44px; }
.yp-catbar-label { color: var(--yp-teal); font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; white-space: nowrap; }
.yp-catbar-links { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.yp-catbar-links a { color: #d7e6de; font-size: 15px; font-weight: 700; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; white-space: nowrap; }
.yp-catbar-links a:hover { color: var(--yp-teal); border-bottom-color: var(--yp-teal); }
/* Slider controls */
.yp-slide-nav { position: absolute; top: 55%; transform: translateY(-50%); z-index: 4; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(0,20,20,.45); border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; transition: all .25s; border-radius: 50%; }
.yp-slide-nav:hover { background: var(--yp-teal); color: var(--yp-green); border-color: var(--yp-teal); }
.yp-slide-prev { left: 20px; }
.yp-slide-next { right: 20px; }
.yp-slide-dots { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; max-width: 60%; margin: 0 auto; }
.yp-slide-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: transparent; cursor: pointer; padding: 0; transition: all .25s; }
.yp-slide-dot.is-active { background: var(--yp-teal); border-color: var(--yp-teal); transform: scale(1.3); }

/* ---------- Trust bar ---------- */
.yp-trustbar { background: var(--yp-green); border-bottom: 1px solid var(--yp-line); padding: 22px 0; }
.yp-trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.yp-trust-item { display: flex; align-items: center; gap: 13px; color: #fff; }
.yp-trust-icon { font-size: 22px; color: var(--yp-green); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--yp-teal); border-radius: 50%; flex-shrink: 0; }
.yp-trust-item strong { display: block; font-size: 14px; color: #fff; }
.yp-trust-item small { font-size: 12px; color: #bcd4ca; }

/* ---------- Section shell ---------- */
.yp-section { padding: 76px 0; }
.yp-section-head { margin-bottom: 42px; }
.yp-section-head.center { text-align: center; }
.yp-eyebrow { display: inline-block; color: var(--yp-green3); font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.yp-section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; text-transform: uppercase; }
.yp-section-head p { color: var(--yp-ink-soft); font-size: 16px; max-width: 640px; margin: 0 auto; }

/* ---------- Featured (9 category banners) ---------- */
.yp-featured { background: var(--yp-surface-alt); }
.yp-featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.yp-featured-card { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 22px; border-radius: var(--yp-radius); overflow: hidden; border: 1px solid rgba(51,255,204,.25); background: var(--yp-green); transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.yp-featured-card:hover { transform: translateY(-4px); box-shadow: var(--yp-shadow); border-color: var(--yp-teal); background: #0a4545; }
.yp-featured-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yp-teal); transform: scaleY(0); transform-origin: center; transition: transform .25s; }
.yp-featured-card:hover::before { transform: scaleY(1); }
.yp-featured-label { font-weight: 800; font-size: 15px; color: #fff; text-transform: uppercase; letter-spacing: .4px; }

/* ---------- Brands strip ---------- */
.yp-brands { background: #fff; border-top: 1px solid var(--yp-light-line); border-bottom: 1px solid var(--yp-light-line); padding: 34px 0; }
.yp-brands-title { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--yp-ink-soft); margin-bottom: 22px; }
.yp-brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: center; }
.yp-brand { text-align: center; font-size: 18px; font-weight: 800; color: var(--yp-green3); letter-spacing: .5px; opacity: .8; }
.yp-brand:hover { opacity: 1; color: var(--yp-green); }

/* ---------- About / company ---------- */
.yp-about { background: #fff; }
.yp-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.yp-about-image { position: relative; }
.yp-about-image img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--yp-radius); }
.yp-about-badge { position: absolute; right: -18px; bottom: -18px; background: var(--yp-green); color: var(--yp-teal); padding: 20px 26px; border-radius: var(--yp-radius); box-shadow: var(--yp-shadow); }
.yp-about-badge strong { display: block; font-size: 34px; color: var(--yp-teal); line-height: 1; }
.yp-about-badge span { font-size: 12px; font-weight: 700; }
.yp-about-content h2 { font-size: clamp(28px, 3.5vw, 40px); text-transform: uppercase; }
.yp-about-content > p, .yp-about-body p { color: var(--yp-ink-soft); }
.yp-check-list { list-style: none; padding: 0; margin: 22px 0 30px; }
.yp-check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--yp-ink-soft); font-size: 15px; }
.yp-check-list li::before { content: '\2714'; position: absolute; left: 0; color: var(--yp-green3); font-weight: 800; }
.yp-about-body h2 { font-size: 22px; margin: 22px 0 10px; }
.yp-about-body h2:first-child { margin-top: 0; }
.yp-about-body ul { list-style: none; padding: 0; }
.yp-about-body li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15px; color: var(--yp-ink-soft); }
.yp-about-body li::before { content: '\25B8'; position: absolute; left: 0; color: var(--yp-green3); }
.yp-about-body strong { color: var(--yp-ink); }
.yp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--yp-light-line); padding-top: 42px; }
.yp-stat { text-align: center; }
.yp-stat strong { display: block; color: var(--yp-green); font-size: 42px; line-height: 1; margin-bottom: 8px; }
.yp-stat span { color: var(--yp-ink-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Process ---------- */
.yp-process { background: var(--yp-surface-alt); }
.yp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.yp-step { background: #fff; border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); padding: 32px 24px; text-align: center; transition: transform .3s, border-color .3s; }
.yp-step:hover { transform: translateY(-5px); border-color: var(--yp-green3); }
.yp-step-num { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--yp-green); color: var(--yp-teal); font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.yp-step h3 { font-size: 18px; text-transform: uppercase; }
.yp-step p { color: var(--yp-ink-soft); font-size: 14px; margin: 0; }

/* ---------- Testimonials ---------- */
.yp-testi { background: #fff; }
.yp-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.yp-testi { background: var(--yp-surface-alt); border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); padding: 30px 26px; }
.yp-stars { color: #f5a623; font-size: 18px; letter-spacing: 3px; margin-bottom: 12px; }
.yp-testi p { color: var(--yp-ink-soft); font-style: italic; font-size: 15px; }
.yp-testi strong { display: block; color: var(--yp-ink); }
.yp-testi span { color: var(--yp-ink-soft); font-size: 12px; }

/* ---------- CTA ---------- */
.yp-cta { background: var(--yp-green); border-top: 1px solid var(--yp-line); padding: 66px 0; }
.yp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.yp-cta h2 { color: #fff; font-size: clamp(28px, 3.5vw, 40px); margin: 0 0 10px; text-transform: uppercase; }
.yp-cta p { color: #c3d9cf; margin: 0; }
.yp-cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero ---------- */
.yp-page-hero { background: var(--yp-green); border-bottom: 1px solid var(--yp-line); padding: 50px 0 54px; }
.yp-page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 12px 0 10px; text-transform: uppercase; }
.yp-page-hero p { color: #c3d9cf; max-width: 700px; margin: 0; }
.yp-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #9fbeb1; flex-wrap: wrap; }
.yp-breadcrumb a:hover { color: var(--yp-teal); }
.yp-breadcrumb span { color: var(--yp-teal); }

/* ---------- Catalog / products ---------- */
.yp-catalog-section { background: var(--yp-surface-alt); }
.yp-filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.yp-tab { padding: 10px 20px; border: 1px solid var(--yp-light-line); background: #fff; color: var(--yp-ink-soft); font-size: 13px; font-weight: 700; border-radius: 30px; cursor: pointer; transition: all .2s; font-family: inherit; }
.yp-tab:hover { border-color: var(--yp-green3); color: var(--yp-green); }
.yp-tab.active { background: var(--yp-green); color: var(--yp-teal); border-color: var(--yp-green); }
.yp-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.yp-product-card { background: #fff; border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.yp-product-card:hover { transform: translateY(-6px); box-shadow: var(--yp-shadow); border-color: var(--yp-green3); }
.yp-product-thumb { position: relative; display: block; height: 230px; overflow: hidden; background: #eef1ee; }
.yp-product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.yp-product-card:hover .yp-product-thumb img { transform: scale(1.06); }
.yp-product-badge { position: absolute; top: 12px; left: 12px; background: var(--yp-green); color: var(--yp-teal); font-size: 10px; font-weight: 800; padding: 5px 10px; border-radius: 4px; text-transform: uppercase; }
.yp-product-flag { position: absolute; top: 12px; right: 12px; background: var(--yp-teal); color: var(--yp-green); font-size: 10px; font-weight: 800; padding: 5px 10px; border-radius: 4px; z-index: 2; text-transform: uppercase; }
.yp-product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.yp-product-body h3 { font-size: 16px; margin: 0 0 8px; }
.yp-product-body h3 a:hover { color: var(--yp-green3); }
.yp-product-price { color: var(--yp-green); font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.yp-product-body p { color: var(--yp-ink-soft); font-size: 13px; margin: 0 0 18px; flex: 1; }
.yp-product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.yp-inquire-link { color: var(--yp-green3); font-weight: 800; font-size: 13px; }
.yp-inquire-link:hover { color: var(--yp-green); }
.yp-pagination { margin-top: 44px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.yp-pagination a, .yp-pagination span { padding: 10px 18px; border: 1px solid var(--yp-light-line); border-radius: 6px; font-weight: 700; font-size: 13px; background: #fff; color: var(--yp-ink); }
.yp-pagination .current { background: var(--yp-green); color: var(--yp-teal); border-color: var(--yp-green); }

/* ---------- Product detail ---------- */
.yp-product-detail { padding: 40px 0 10px; }
.yp-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 24px; }
.yp-detail-main-img { background: #eef1ee; border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); overflow: hidden; }
.yp-detail-main-img img { width: 100%; height: 520px; object-fit: cover; }
.yp-detail-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.yp-detail-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 6px; border: 1px solid var(--yp-light-line); cursor: pointer; }
.yp-detail-info h1 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; }
.yp-detail-price { background: #fff; border: 1px solid var(--yp-light-line); border-radius: 8px; padding: 16px 20px; margin-bottom: 22px; }
.yp-detail-price small { display: block; color: var(--yp-ink-soft); font-size: 12px; margin-bottom: 4px; }
.yp-detail-price strong { color: var(--yp-green); font-size: 26px; }
.yp-detail-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.yp-detail-specs > div { border: 1px solid var(--yp-light-line); border-radius: 8px; padding: 12px 14px; background: #fff; }
.yp-detail-specs span { display: block; font-size: 11px; color: var(--yp-ink-soft); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.yp-detail-specs strong { color: var(--yp-ink); font-size: 14px; }
.yp-detail-desc, .yp-detail-desc li { color: var(--yp-ink-soft); font-size: 15px; }
.yp-detail-desc ul { padding-left: 20px; }
.yp-detail-desc li { margin-bottom: 8px; }
.yp-detail-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.yp-detail-assurance { list-style: none; padding: 0; margin: 0; }
.yp-detail-assurance li { padding: 8px 0; border-bottom: 1px dashed var(--yp-light-line); font-size: 14px; color: var(--yp-ink-soft); }
.yp-detail-assurance li::first-letter { color: var(--yp-green3); }
.yp-detail-inquiry { max-width: 840px; margin: 60px auto 0; background: #fff; border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); padding: 40px; }
.yp-detail-inquiry h2 { text-align: center; font-size: 26px; margin-bottom: 28px; text-transform: uppercase; }
.yp-related { background: var(--yp-surface-alt); margin-top: 60px; }

/* ---------- Forms ---------- */
.yp-form-success, .yp-form-error { padding: 14px 18px; border-radius: 6px; margin-bottom: 22px; font-weight: 600; font-size: 14px; }
.yp-form-success { background: #e7f7ef; color: #1a7a3a; border: 1px solid #b8e4cb; }
.yp-form-error { background: #fdeaea; color: #b23b3b; border: 1px solid #f3b8b8; }
.yp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.yp-field { margin-bottom: 18px; }
.yp-field label { display: block; font-size: 13px; font-weight: 800; color: var(--yp-ink); margin-bottom: 7px; }
.yp-field input, .yp-field textarea, .yp-field select { width: 100%; padding: 12px 14px; border: 1px solid var(--yp-light-line); border-radius: 6px; font-family: inherit; font-size: 14px; background: #fff; color: var(--yp-ink); transition: border-color .2s; }
.yp-field input:focus, .yp-field textarea:focus, .yp-field select:focus { outline: none; border-color: var(--yp-green3); }
.yp-field textarea { resize: vertical; }
.yp-form-submit { width: 100%; margin-top: 6px; }
.yp-form-note { text-align: center; font-size: 12px; color: var(--yp-ink-soft); margin: 14px 0 0; }

/* ---------- Contact ---------- */
.yp-contact-section { background: #fff; }
.yp-contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.yp-contact-form-wrap h2 { font-size: 30px; margin-bottom: 8px; text-transform: uppercase; }
.yp-contact-form-wrap > p { color: var(--yp-ink-soft); margin-bottom: 28px; }
.yp-contact-card { background: var(--yp-surface-alt); border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); padding: 28px; margin-bottom: 22px; }
.yp-contact-card h3 { font-size: 19px; margin-bottom: 20px; }
.yp-contact-list { list-style: none; padding: 0; margin: 0; }
.yp-contact-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.yp-contact-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--yp-green); color: var(--yp-teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.yp-contact-list strong { display: block; font-size: 13px; color: var(--yp-ink); }
.yp-contact-list a, .yp-contact-list div { font-size: 14px; color: var(--yp-ink-soft); }
.yp-contact-card-dark { background: var(--yp-green); }
.yp-contact-card-dark h3, .yp-contact-card-dark .yp-contact-list strong,
.yp-contact-card-dark .yp-contact-list a, .yp-contact-card-dark .yp-contact-list div { color: #fff; }

/* ---------- FAQ ---------- */
.yp-faq { max-width: 840px; margin: 0 auto; }
.yp-faq-item { background: #fff; border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); margin-bottom: 12px; overflow: hidden; }
.yp-faq-item summary { padding: 18px 22px; font-weight: 800; color: var(--yp-ink); cursor: pointer; list-style: none; position: relative; padding-right: 50px; }
.yp-faq-item summary::-webkit-details-marker { display: none; }
.yp-faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--yp-green3); font-size: 22px; font-weight: 400; }
.yp-faq-item[open] summary::after { content: '\2212'; }
.yp-faq-item p { padding: 0 22px 18px; margin: 0; color: var(--yp-ink-soft); font-size: 15px; }

/* ---------- Blog / generic ---------- */
.yp-single-content { max-width: 900px; margin: 0 auto; }
.yp-post-card { display: flex; gap: 24px; background: #fff; border: 1px solid var(--yp-light-line); border-radius: var(--yp-radius); padding: 18px; margin-bottom: 22px; }
.yp-post-thumb { flex: 0 0 220px; }
.yp-post-thumb img { width: 220px; height: 160px; object-fit: cover; border-radius: 6px; }
.yp-post-meta { font-size: 12px; color: var(--yp-ink-soft); margin-bottom: 8px; }
.yp-post-body h2 { font-size: 21px; }
.yp-post-body h2 a:hover { color: var(--yp-green3); }
.yp-post-body p { color: var(--yp-ink-soft); font-size: 14px; }
.yp-readmore { color: var(--yp-green3); font-weight: 800; font-size: 13px; }

/* ---------- Footer ---------- */
.yp-footer { background: var(--yp-green); border-top: 1px solid var(--yp-line); padding-top: 60px; font-size: 14px; color: #c3d9cf; }
.yp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.yp-logo-footer .yp-logo-mark { background: var(--yp-teal); }
.yp-footer-about p { margin: 18px 0; }
.yp-socials { display: flex; gap: 10px; }
.yp-socials a { width: 36px; height: 36px; border: 1px solid var(--yp-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; transition: all .2s; color: #fff; }
.yp-socials a:hover { background: var(--yp-teal); color: var(--yp-green); border-color: var(--yp-teal); }
.yp-footer-col h4 { color: var(--yp-teal); font-size: 15px; margin: 0 0 20px; text-transform: uppercase; letter-spacing: .5px; }
.yp-footer-col ul { list-style: none; padding: 0; margin: 0; }
.yp-footer-col li { margin-bottom: 11px; }
.yp-footer-col a:hover { color: var(--yp-teal); }
.yp-footer-contact li span { color: var(--yp-teal); display: inline-block; width: 20px; font-weight: 700; }
.yp-newsletter { display: flex; margin-top: 16px; }
.yp-newsletter input { flex: 1; border: 0; border-radius: 6px 0 0 6px; padding: 12px 14px; font: inherit; font-size: 14px; }
.yp-newsletter button { border: 0; border-radius: 0 6px 6px 0; background: var(--yp-teal); color: var(--yp-green); padding: 0 18px; font-weight: 800; cursor: pointer; }
.yp-footer-bottom { border-top: 1px solid var(--yp-line); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.yp-footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .yp-catbar-links { gap: 2px 10px; }
  .yp-catbar-links a { font-size: 13px; }
  .yp-menu { gap: 16px; }
  .yp-search { max-width: 340px; }
  .yp-brands-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .yp-menu-toggle { display: flex; }
  .yp-nav-bar { display: none; position: absolute; top: 82px; left: 0; right: 0; background: var(--yp-green2); padding: 12px 24px 20px; border-bottom: 1px solid var(--yp-line); z-index: 90; }
  .yp-nav-bar.open { display: block; }
  .yp-menu { flex-direction: column; gap: 0; }
  .yp-menu > li > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--yp-line); }
  .yp-search { display: none; }
  .yp-header-actions .yp-btn { display: none; }
  .yp-trustbar-grid, .yp-steps, .yp-stats { grid-template-columns: repeat(2, 1fr); }
  .yp-product-grid { grid-template-columns: repeat(3, 1fr); }
  .yp-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .yp-about-grid, .yp-detail-grid, .yp-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .yp-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .yp-section { padding: 56px 0; }
  .yp-topbar-links { display: none; }
  .yp-hero h1 { font-size: 38px; }
  .yp-hero { min-height: 600px; }
  .yp-hero-inner { padding-top: 130px; }
  .yp-catbar .yp-container { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 6px; padding-bottom: 6px; }
  .yp-catbar-label { display: none; }
  .yp-catbar-links { gap: 2px 12px; }
  .yp-slide-nav { width: 36px; height: 36px; font-size: 24px; }
  .yp-slide-prev { left: 6px; }
  .yp-slide-next { right: 6px; }
  .yp-slide-dots { max-width: 80%; }
  .yp-product-grid, .yp-featured-grid, .yp-testi-grid { grid-template-columns: repeat(2, 1fr); }
  .yp-form-row, .yp-detail-specs { grid-template-columns: 1fr; }
  .yp-cta-inner { flex-direction: column; align-items: flex-start; }
  .yp-post-card { flex-direction: column; }
  .yp-post-thumb, .yp-post-thumb img { width: 100%; flex: auto; }
  .yp-detail-inquiry { padding: 24px 18px; }
  .yp-brands-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 2026-11-25 workbuddy: SKU on product cards */
.yp-product-sku{font-size:.75rem;letter-spacing:.08em;color:#5A6B64;margin-top:2px;font-weight:600}
.yp-product-price{color:#14654E;font-weight:700}

/* 2026-11-25 workbuddy: constrain custom logo (was escaping header at full 1024x310 size) */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 40px !important; width: auto !important; max-width: 180px; height: auto; }
