.elementor-widget-container.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-13 .elementor-element.elementor-element-0618090{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-13 .elementor-element.elementor-element-f390e15{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-spacer.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-13 .elementor-element.elementor-element-822ac69{--spacer-size:50px;}.elementor-13 .elementor-element.elementor-element-a527de3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-html.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-13 .elementor-element.elementor-element-0908e83{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-13 .elementor-element.elementor-element-1737330{--spacer-size:50px;}/* Start custom CSS for html, class: .elementor-element-c26f4a6 */* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Kanit', sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

/* ===== Container Layout ===== */
.container {
  display: flex;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 30px;
}

/* ===== Sidebar ===== */
.sidebar {
  width: 260px;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 40px;
  height: fit-content;
  transition: all 0.3s;
}

.sidebar h2 {
  background: #1d4ed8;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.menu-item {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
}

.menu-item:hover {
  background: #e0e7ff;
  color: #1d4ed8;
  font-weight: 600;
}

.menu-item.active {
  background: #1d4ed8;
  color: white;
  font-weight: 600;
}

/* ===== Product Grid ===== */
.products {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

/* ===== Product Card ===== */
.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
  border: 1px solid #e5e7eb;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f3f4f6;
}

/* ===== Product Title & Button ===== */
.product-title {
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #111827;
  flex-grow: 1;
}

.button-container {
  padding: 16px;
  text-align: center;
}

.view-button {
  background: #1d4ed8;
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

.view-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }

  .product-card img {
    height: 180px;
  }
}

/* ===== Loading ===== */
#loading {
  text-align: center;
  padding: 30px 0;
  color: #6b7280;
  font-size: 15px;
}


/* เงาชัดเจนให้การ์ดสินค้า */
.product-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 🔥 เพิ่มความเข้ม */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); /* 🔥 เงาเข้มขณะ hover */
}

/* เงาชัดเจนให้กล่อง sidebar */
.sidebar {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* 🔥 เปลี่ยนเงาให้เด่น */
  border: 1px solid #e5e7eb;
}/* End custom CSS */