/*
Theme Name: Siam BK Intergroup
Theme URI: https://siambk.com/
Author: Codex
Author URI: https://openai.com/
Description: A clean gold and white WordPress theme for Siam BK Intergroup Co.,Ltd. with editable header, footer, contact details, product archive, and product detail pages.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siam-bk
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, block-styles, theme-options
*/

:root {
  --sbk-gold: #c7982d;
  --sbk-gold-dark: #8c681d;
  --sbk-gold-soft: #f5e5ba;
  --sbk-ink: #20201d;
  --sbk-muted: #6f6a5f;
  --sbk-line: #e8dcc1;
  --sbk-white: #ffffff;
  --sbk-surface: #fffaf0;
  --sbk-shadow: 0 18px 50px rgba(86, 62, 16, 0.13);
  --sbk-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--sbk-ink);
  background: var(--sbk-white);
  font-family: "Inter", "Noto Sans Thai", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sbk-gold-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--sbk-ink);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sbk-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sbk-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--sbk-line);
  backdrop-filter: blur(14px);
}

.admin-bar .sbk-site-header {
  top: 32px;
}

.sbk-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
}

.sbk-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sbk-ink);
}

.sbk-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sbk-brand a {
  color: var(--sbk-ink);
}

.sbk-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.sbk-brand .custom-logo {
  max-width: 170px;
  max-height: 58px;
  width: auto;
}

.sbk-header-logo {
  display: block;
  max-width: 170px;
  max-height: 58px;
  width: auto;
}

.sbk-logo-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--sbk-white);
  background: linear-gradient(135deg, var(--sbk-gold), var(--sbk-gold-dark));
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.sbk-brand-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.sbk-brand-tagline {
  display: block;
  color: var(--sbk-muted);
  font-size: 12px;
  line-height: 1.3;
}

.sbk-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--sbk-ink);
  background: var(--sbk-white);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  cursor: pointer;
}

.sbk-menu-toggle span,
.sbk-menu-toggle::before,
.sbk-menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.sbk-menu-toggle span {
  margin: 5px 0;
}

.sbk-nav .menu,
.sbk-footer-nav .menu,
.sbk-fallback-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbk-nav {
  justify-self: end;
}

.sbk-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  color: var(--sbk-ink);
  border-radius: var(--sbk-radius);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.sbk-nav a:hover,
.sbk-nav .current-menu-item > a,
.sbk-nav .current_page_item > a {
  color: var(--sbk-gold-dark);
  background: var(--sbk-surface);
}

.sbk-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sbk-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 11px;
  color: var(--sbk-gold-dark);
  background: var(--sbk-surface);
  border: 1px solid var(--sbk-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.sbk-button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: var(--sbk-white);
  background: var(--sbk-gold-dark);
  border: 1px solid var(--sbk-gold-dark);
  border-radius: var(--sbk-radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sbk-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  color: var(--sbk-white);
  background: var(--sbk-gold);
  border-color: var(--sbk-gold);
  transform: translateY(-1px);
  box-shadow: var(--sbk-shadow);
}

.sbk-button.is-outline {
  color: var(--sbk-gold-dark);
  background: transparent;
  border-color: var(--sbk-line);
}

.sbk-button.is-outline:hover {
  color: var(--sbk-ink);
  background: var(--sbk-surface);
  box-shadow: none;
}

.sbk-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 240, 0.82) 45%, rgba(255, 255, 255, 0.45)),
    var(--sbk-hero-image, linear-gradient(135deg, #f9edd0, #ffffff));
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--sbk-line);
}

.sbk-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(310px, 0.72fr);
  gap: 52px;
  align-items: center;
  min-height: 660px;
  padding: 88px 0 72px;
}

.sbk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--sbk-gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sbk-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--sbk-gold);
}

.sbk-hero h1,
.sbk-page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.sbk-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--sbk-muted);
  font-size: 19px;
}

.sbk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.sbk-hero-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
}

.sbk-export-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  box-shadow: var(--sbk-shadow);
}

.sbk-export-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.sbk-export-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbk-export-list li {
  display: flex;
  gap: 10px;
  color: var(--sbk-muted);
}

.sbk-export-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 10px;
  background: var(--sbk-gold);
  border-radius: 50%;
}

.sbk-section {
  padding: 82px 0;
}

.sbk-section.is-soft {
  background: var(--sbk-surface);
}

.sbk-product-detail-section {
  padding-top: 42px;
}

.sbk-product-hero {
  padding-bottom: 28px;
}

.sbk-product-detail-section .sbk-single-product-grid {
  align-items: start;
}

.sbk-section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.6fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.sbk-section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.sbk-section-text {
  margin: 0;
  color: var(--sbk-muted);
}

.sbk-about-grid,
.sbk-contact-grid,
.sbk-single-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.sbk-media-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5d8, #f4d887);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  box-shadow: var(--sbk-shadow);
}

.sbk-media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.sbk-grain-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 72%, rgba(140, 104, 29, 0.22) 0 9px, transparent 10px),
    radial-gradient(circle at 48% 34%, rgba(199, 152, 45, 0.3) 0 8px, transparent 9px),
    radial-gradient(circle at 72% 64%, rgba(255, 255, 255, 0.65) 0 11px, transparent 12px),
    linear-gradient(135deg, #fff8df, #f2cd68);
}

.sbk-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.sbk-stat {
  padding: 18px;
  background: var(--sbk-white);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
}

.sbk-stat strong {
  display: block;
  color: var(--sbk-gold-dark);
  font-size: 28px;
  line-height: 1.1;
}

.sbk-stat span {
  color: var(--sbk-muted);
  font-size: 13px;
  font-weight: 700;
}

.sbk-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sbk-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  color: var(--sbk-ink);
  background: var(--sbk-white);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  box-shadow: 0 14px 34px rgba(86, 62, 16, 0.08);
}

.sbk-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sbk-shadow);
}

.sbk-product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fbefd1, #fff);
}

.sbk-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.sbk-product-card:hover .sbk-product-image img {
  transform: scale(1.04);
}

.sbk-product-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--sbk-gold-dark);
  font-size: 40px;
  font-weight: 900;
}

.sbk-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.sbk-product-body h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.2;
}

.sbk-product-body p {
  margin: 0 0 18px;
  color: var(--sbk-muted);
}

.sbk-product-body .sbk-readmore {
  margin-top: auto;
  color: var(--sbk-gold-dark);
  font-size: 14px;
  font-weight: 900;
}

.sbk-feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  overflow: hidden;
}

.sbk-feature {
  min-height: 150px;
  padding: 24px;
  background: var(--sbk-white);
  border-right: 1px solid var(--sbk-line);
}

.sbk-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--sbk-white);
  background: var(--sbk-gold-dark);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.sbk-feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.sbk-feature:last-child {
  border-right: 0;
}

.sbk-feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.sbk-feature span {
  color: var(--sbk-muted);
  font-size: 14px;
}

.sbk-feature .sbk-feature-icon {
  color: var(--sbk-white);
  font-size: 12px;
}

.sbk-feature .sbk-feature-icon img {
  display: block;
}

.sbk-process-grid,
.sbk-certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sbk-factory-gallery,
.sbk-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.sbk-gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sbk-surface);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
}

.sbk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.sbk-gallery-item:hover img {
  transform: scale(1.04);
}

.sbk-process-card,
.sbk-performance-item,
.sbk-certificate-card {
  background: var(--sbk-white);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  box-shadow: 0 14px 34px rgba(86, 62, 16, 0.08);
}

.sbk-process-card {
  min-height: 260px;
  padding: 30px;
}

.sbk-process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  color: var(--sbk-white);
  background: var(--sbk-gold-dark);
  border-radius: 50%;
  font-weight: 900;
}

.sbk-process-card h2,
.sbk-performance-item h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.2;
}

.sbk-process-card p {
  margin: 0;
  color: var(--sbk-muted);
}

.sbk-performance-list {
  display: grid;
  gap: 18px;
}

.sbk-performance-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  min-height: 112px;
  padding: 24px;
}

.sbk-performance-item strong {
  color: var(--sbk-gold-dark);
  font-size: 40px;
  line-height: 1;
}

.sbk-performance-item h2 {
  margin: 0;
}

.sbk-video-card {
  padding: 18px;
  background: var(--sbk-white);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  box-shadow: 0 14px 34px rgba(86, 62, 16, 0.08);
}

.sbk-video-card h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.sbk-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 18%, rgba(199, 152, 45, 0.28), transparent 30%),
    linear-gradient(135deg, #211b0f, #44310d);
  border-radius: var(--sbk-radius);
}

.sbk-video-frame.has-preview {
  background:
    linear-gradient(rgba(25, 20, 10, 0.32), rgba(25, 20, 10, 0.4)),
    var(--sbk-video-thumb);
  background-position: center;
  background-size: cover;
}

.sbk-video-preview-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbk-video-frame.has-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(25, 20, 10, 0.18);
  pointer-events: none;
}

.sbk-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sbk-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbk-video-play {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  color: var(--sbk-white);
  background: var(--sbk-gold-dark);
  border-color: var(--sbk-gold-dark);
  border-radius: 999px;
  font-weight: 900;
}

.sbk-play-icon {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--sbk-white);
}

.sbk-video-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--sbk-radius);
  pointer-events: none;
}

.sbk-video-frame.is-playing::before {
  display: none;
}

.sbk-video-frame.is-playing::after {
  display: none;
}

.sbk-empty-admin-note {
  padding: 24px;
  color: var(--sbk-muted);
  background: var(--sbk-white);
  border: 1px dashed var(--sbk-line);
  border-radius: var(--sbk-radius);
  text-align: center;
}

.sbk-certificate-card {
  overflow: hidden;
  min-height: 340px;
  background: var(--sbk-surface);
}

.sbk-certificate-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.sbk-certificate-card a {
  display: block;
  min-height: 340px;
}

.sbk-certificate-card.is-pdf {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 78% 18%, rgba(199, 152, 45, 0.22), transparent 35%);
}

.sbk-pdf-card {
  display: grid;
  min-height: 340px;
  padding: 34px;
  align-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
  color: var(--sbk-ink);
}

.sbk-pdf-card:hover {
  color: var(--sbk-gold-dark);
}

.sbk-pdf-icon {
  display: grid;
  place-items: center;
  width: 98px;
  height: 124px;
  color: var(--sbk-white);
  background: var(--sbk-gold-dark);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(86, 62, 16, 0.18);
  font-weight: 800;
}

.sbk-pdf-card strong {
  font-size: 22px;
  line-height: 1.25;
}

.sbk-pdf-card em {
  color: var(--sbk-muted);
  font-style: normal;
  font-weight: 700;
}

.sbk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(20, 16, 9, 0.82);
}

.sbk-lightbox.is-open {
  display: flex;
}

.sbk-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  object-fit: contain;
  background: var(--sbk-white);
  border-radius: var(--sbk-radius);
  box-shadow: var(--sbk-shadow);
}

.sbk-lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--sbk-white);
  background: var(--sbk-gold-dark);
  border-color: var(--sbk-gold-dark);
}

.sbk-certificate-placeholder {
  display: grid;
  place-content: center;
  min-height: 340px;
  padding: 24px;
  text-align: center;
}

.sbk-certificate-placeholder strong {
  display: block;
  color: var(--sbk-gold-dark);
  font-size: 24px;
}

.sbk-certificate-placeholder span {
  display: block;
  margin-top: 8px;
  color: var(--sbk-muted);
}

.sbk-page-hero {
  padding: 78px 0 52px;
  background: linear-gradient(135deg, #fffaf0, #ffffff);
  border-bottom: 1px solid var(--sbk-line);
}

.sbk-page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--sbk-muted);
  font-size: 18px;
}

.sbk-content {
  padding: 68px 0;
}

.sbk-content article {
  max-width: 900px;
}

.sbk-content .entry-content > *:first-child {
  margin-top: 0;
}

.sbk-product-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.sbk-product-meta-item {
  padding: 16px;
  background: var(--sbk-surface);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
}

.sbk-product-meta-item span {
  display: block;
  color: var(--sbk-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sbk-product-meta-item strong {
  display: block;
  margin-top: 5px;
}

.sbk-contact-card {
  padding: 28px;
  background: var(--sbk-white);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  box-shadow: var(--sbk-shadow);
}

.sbk-contact-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbk-contact-list a,
.sbk-contact-list > li > span {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--sbk-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.sbk-contact-list a span:not(.dashicons) {
  display: inline;
}

.sbk-contact-list .dashicons {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--sbk-gold-dark);
  font-size: 20px;
  line-height: 1;
}

.sbk-site-footer .sbk-contact-list .dashicons {
  color: var(--sbk-gold-soft);
}

.sbk-site-footer .sbk-contact-list a {
  align-items: center;
}

.sbk-map {
  overflow: hidden;
  min-height: 420px;
  background: var(--sbk-surface);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
}

.sbk-map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.sbk-site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: #211b0f;
}

.sbk-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.6fr) minmax(260px, 0.6fr);
  gap: 36px;
  padding: 56px 0;
}

.sbk-site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.sbk-site-footer a:hover {
  color: var(--sbk-gold-soft);
}

.sbk-footer-title {
  margin: 0 0 14px;
  color: var(--sbk-white);
  font-size: 18px;
}

.sbk-footer-nav .menu,
.sbk-footer-nav .sbk-fallback-menu {
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.sbk-footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.sbk-pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.sbk-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
}

.sbk-pagination .current {
  color: var(--sbk-white);
  background: var(--sbk-gold-dark);
  border-color: var(--sbk-gold-dark);
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--sbk-ink);
  background: var(--sbk-white);
  border: 1px solid var(--sbk-line);
  border-radius: var(--sbk-radius);
  font: inherit;
}

textarea {
  min-height: 140px;
}

@media (max-width: 980px) {
  .sbk-header-inner {
    grid-template-columns: auto auto;
  }

  .sbk-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .sbk-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding-bottom: 18px;
  }

  .sbk-nav.is-open {
    display: block;
  }

  .sbk-nav .menu,
  .sbk-nav .sbk-fallback-menu {
    display: grid;
    gap: 8px;
  }

  .sbk-nav a {
    width: 100%;
    justify-content: flex-start;
    background: var(--sbk-surface);
  }

  .sbk-header-actions {
    display: none;
  }

  .sbk-hero-inner,
  .sbk-section-header,
  .sbk-about-grid,
  .sbk-contact-grid,
  .sbk-single-product-grid {
    grid-template-columns: 1fr;
  }

  .sbk-hero-inner {
    min-height: auto;
    padding-top: 66px;
  }

  .sbk-product-grid,
  .sbk-process-grid,
  .sbk-certificate-grid,
  .sbk-factory-gallery,
  .sbk-video-grid,
  .sbk-feature-band,
  .sbk-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .admin-bar .sbk-site-header {
    top: 46px;
  }

  .sbk-container {
    width: min(100% - 28px, 1180px);
  }

  .sbk-brand-name {
    font-size: 16px;
  }

  .sbk-brand-tagline {
    display: none;
  }

  .sbk-hero h1,
  .sbk-page-hero h1 {
    font-size: 42px;
  }

  .sbk-section {
    padding: 58px 0;
  }

  .sbk-stat-grid,
  .sbk-product-grid,
  .sbk-process-grid,
  .sbk-certificate-grid,
  .sbk-factory-gallery,
  .sbk-video-grid,
  .sbk-feature-band,
  .sbk-footer-main,
  .sbk-product-meta {
    grid-template-columns: 1fr;
  }

  .sbk-performance-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sbk-feature {
    border-right: 0;
    border-bottom: 1px solid var(--sbk-line);
  }

  .sbk-feature:last-child {
    border-bottom: 0;
  }
}
