/* ==========================================================================
   ผลิตวัตถุมงคล.com - Main Stylesheet (Pure Static CSS)
   Clean, modern, responsive styles converted from WordPress Ostore
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Prompt:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #c59b27;
  --primary-hover: #ab831c;
  --primary-dark: #8c6b12;
  --text-dark: #2c3e50;
  --text-muted: #666666;
  --bg-light: #f8f9fa;
  --bg-banner: #dbd1a8;
  --top-header-bg: #222222;
  --nav-bg: #2b2b2b;
  --border-color: #e5e5e5;
  --card-bg: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 6px;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Prompt', 'Sarabun', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: #f4f4f4;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-color);
}

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

ul, ol {
  padding-left: 20px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Header Bar */
.top-header {
  background-color: var(--top-header-bg);
  color: #bbbbbb;
  font-size: 13px;
  border-bottom: 1px solid #333333;
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.quickinfo {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.quickinfo li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quickinfo a {
  color: #cccccc;
}

.quickinfo a:hover {
  color: #ffffff;
}

.quickinfo svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-color);
}

.top-right-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-right-links a {
  color: #cccccc;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-right-links a:hover {
  color: #ffffff;
}

/* Middle Header: Brand & Search */
.middle-header {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #eeeeee;
}

.middle-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-logo {
  max-height: 60px;
  width: auto;
}

.site-meta h1,
.site-meta .site-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 2px;
  display: block;
}

.site-meta p {
  font-size: 13px;
  color: var(--text-muted);
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 450px;
}

.header-search form {
  display: flex;
  align-items: center;
  border: 1px solid #dddddd;
  border-radius: 25px;
  overflow: hidden;
  background-color: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search form:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
  background-color: #ffffff;
}

.header-search input[type="text"] {
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  width: 100%;
  outline: none;
}

.header-search button {
  background: var(--primary-color);
  border: none;
  color: #ffffff;
  padding: 10px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.header-search button:hover {
  background: var(--primary-hover);
}

.header-search button svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

/* Primary Navigation Bar */
.primary-nav {
  background-color: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.primary-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-item a {
  display: block;
  padding: 16px 22px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: #e0e0e0;
  letter-spacing: 0.3px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-item a:hover,
.nav-item.active a {
  color: #ffffff;
  background-color: #1e1e1e;
}

.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  padding: 12px 15px;
  cursor: pointer;
}

/* Breadcrumb */
.breadcrumb-bar {
  background-color: #ececec;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  color: #666666;
}

.breadcrumb-bar a {
  color: #444444;
}

.breadcrumb-bar a:hover {
  color: var(--primary-color);
}

.breadcrumb-bar .sep {
  margin: 0 6px;
  color: #999999;
}

/* ==========================================================================
   Home Hero & Banner
   ========================================================================== */

.hero-banner-section {
  background-color: var(--bg-banner);
  text-align: center;
  padding: 10px 0;
  border-bottom: 3px solid #cca352;
}

.hero-banner-img {
  max-width: 1064px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}

/* ==========================================================================
   Page Main Layout
   ========================================================================== */

.page-content-wrapper {
  padding: 35px 0 60px;
}

.page-grid-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.page-grid-full {
  display: block;
}

.main-column {
  background-color: var(--card-bg);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Widget Cards */
.sidebar-widget {
  background-color: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  position: relative;
}

/* ==========================================================================
   Headings & Content Typography
   ========================================================================== */

h1.page-title,
h1.entry-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 20px;
  line-height: 1.4;
}

h2.section-heading {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 30px;
  margin-bottom: 15px;
  position: relative;
}

h3.sub-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 12px;
}

.content-lead {
  font-size: 16px;
  color: #444444;
  margin-bottom: 16px;
}

hr.styled-divider {
  border: 0;
  height: 1px;
  background: #e2e2e2;
  margin: 30px 0;
}

/* Step list / process */
.process-list,
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.process-list li,
.pricing-list li {
  position: relative;
  padding: 12px 16px 12px 42px;
  background-color: #faf8f3;
  margin-bottom: 10px;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
}

.process-list li::before,
.pricing-list li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-list {
  counter-reset: item;
}

.pricing-list {
  counter-reset: item;
}

.note-box {
  background-color: #fff9e6;
  border-left: 4px solid #cca352;
  padding: 12px 18px;
  margin: 16px 0;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: #795548;
}

/* Services Grid (4 Cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 25px 0 35px;
}

.service-card {
  background-color: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 3px solid var(--primary-color);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.service-card h5 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

/* ==========================================================================
   Galleries
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  margin: 20px 0 30px;
}

.gallery-item {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-caption {
  padding: 8px 10px;
  font-size: 12px;
  color: #444444;
  text-align: center;
  background-color: #fafafa;
  border-top: 1px solid #eeeeee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* About 2-column or larger gallery */
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.about-gallery-grid .gallery-item img {
  aspect-ratio: 4 / 3;
}

.about-gallery-grid .gallery-caption {
  white-space: normal;
  line-height: 1.4;
  font-size: 13px;
  padding: 10px 12px;
}

/* ==========================================================================
   Blog Posts List
   ========================================================================== */

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.post-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-thumb {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.04);
}

.post-info {
  padding: 20px 24px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-info h3.post-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-info h3.post-title a:hover {
  color: var(--primary-color);
}

.post-info p.post-excerpt {
  color: #666666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.read-more-btn:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

/* Post Detail Page */
.post-detail-hero {
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
}

.post-detail-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.post-detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
}

.post-detail-body p {
  margin-bottom: 18px;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.contact-box:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

.contact-box-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.contact-box-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-box-text h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-box-text a {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
}

.contact-box-text a:hover {
  color: var(--primary-color);
}

.contact-form {
  background-color: #fafafa;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  margin-top: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333333;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--primary-hover);
}

/* Sidebar Quick Contact Widget */
.quick-contact-card {
  text-align: center;
}

.quick-contact-card p {
  color: #555555;
  margin-bottom: 12px;
}

.call-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #079522;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 18px;
  border-radius: 6px;
  margin: 12px 0 16px;
  transition: background 0.2s ease;
}

.call-now-btn:hover {
  background-color: #067c1c;
}

.line-connect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #00b900;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.line-connect-btn:hover {
  background-color: #009900;
}

/* Recent Posts Widget */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-posts-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 1.4;
}

.recent-posts-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-posts-list a {
  color: #333333;
}

.recent-posts-list a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #1a1a1a;
  color: #999999;
  font-size: 14px;
  border-top: 3px solid var(--primary-color);
}

.footer-main {
  padding: 45px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #aaaaaa;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  background-color: #111111;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #282828;
}

.footer-bottom p {
  color: #777777;
}

/* ==========================================================================
   Lightbox (Image Zoom Modal)
   ========================================================================== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.lightbox-caption {
  margin-top: 12px;
  color: #ffffff;
  font-size: 15px;
  text-align: center;
  font-family: var(--font-body);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(197, 155, 39, 0.8);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991px) {
  .page-grid-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .top-header .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .quickinfo {
    justify-content: center;
  }

  .middle-header .container {
    flex-direction: column;
    text-align: center;
  }

  .site-branding {
    flex-direction: column;
  }

  .header-search {
    width: 100%;
    max-width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #333;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-item a {
    padding: 12px 18px;
    border-bottom: 1px solid #333333;
  }

  .main-column {
    padding: 20px 15px;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-thumb {
    height: 200px;
  }

  .post-info {
    padding: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Live Search Dropdown & Filter Banner
   ========================================================================== */

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 1200;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.search-result-item:hover {
  background-color: #faf8f3;
  color: var(--primary-color);
}

.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #f0f0f0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-badge {
  display: inline-block;
  font-size: 11px;
  color: #888888;
  margin-top: 2px;
}

.search-dropdown-footer {
  padding: 10px 14px;
  background: #fafafa;
  text-align: center;
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  border-top: 1px solid #eeeeee;
}

.search-dropdown-footer:hover {
  background-color: #f0f0f0;
}

.search-dropdown-empty {
  padding: 18px 14px;
  text-align: center;
  color: #888888;
  font-size: 13px;
}

.search-results-banner {
  background-color: #fff9e6;
  border: 1px solid #cca352;
  border-radius: 6px;
  padding: 12px 18px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
}

.clear-search-btn {
  display: inline-block;
  padding: 5px 12px;
  background: #cca352;
  color: #ffffff !important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.clear-search-btn:hover {
  background: #b58d3c;
}

.search-no-results {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px dashed #cccccc;
  margin: 20px 0;
}

.search-no-results h4 {
  font-size: 18px;
  color: #333333;
  margin-bottom: 8px;
}

.search-no-results p {
  color: #666666;
  font-size: 14px;
}

/* ==========================================================================
   Recommended Products Widget
   ========================================================================== */
.recommended-products-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recommended-product-item {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.recommended-product-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recommended-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.recommended-product-link:hover {
  text-decoration: none;
}

.recommended-product-img {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
  background-color: #f7f7f7;
  border: 1px solid #ebebeb;
}

.recommended-product-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.recommended-product-link:hover .recommended-product-img img {
  transform: scale(1.02);
}

.recommended-product-caption {
  font-size: 13.5px;
  line-height: 1.5;
  color: #555555;
}

.recommended-product-caption strong {
  display: block;
  font-size: 14.5px;
  color: #222222;
  margin-bottom: 3px;
  transition: color 0.2s ease;
}

.recommended-product-link:hover .recommended-product-caption strong {
  color: var(--primary-color);
}

/* ==========================================================================
   SEO & AEO Components: Pricing Table & FAQ
   ========================================================================== */

/* Responsive Pricing Table */
.pricing-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 25px 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #e5e5e5;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  background-color: #ffffff;
}

.pricing-table th {
  background-color: #1a1a1a;
  color: var(--primary-color, #c59b27);
  padding: 13px 16px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  border-bottom: 2px solid var(--primary-color, #c59b27);
}

.pricing-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #eeeeee;
  color: #333333;
  vertical-align: middle;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: #fbfbfb;
}

.pricing-table tbody tr:hover {
  background-color: #f7f5ee;
}

.pricing-table .price-val {
  font-weight: 700;
  color: #b07d17;
  white-space: nowrap;
}

/* FAQ Accordion / Cards */
.faq-section {
  margin: 30px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #c59b27;
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.12);
}

.faq-question {
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  cursor: pointer;
  background-color: #fafafa;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-family: var(--font-heading);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color, #c59b27);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 16px 20px;
  color: #444444;
  line-height: 1.75;
  font-size: 14.5px;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}



