/*
Theme Name: SignalRise SkyGreen Onepage
Theme URI: https://example.com/
Author: SignalRise Digital
Author URI: https://example.com/
Description: ธีมโทนขาว-เขียว-ฟ้าแบบ One Page รองรับ WooCommerce สำหรับบริษัท ซิคแนลไรส์ ดิจิตอล จำกัด ร้านจำหน่ายอุปกรณ์คอมพิวเตอร์และอิเล็กทรอนิกส์ พร้อมบริการติดตั้งระบบซอฟต์แวร์ครบวงจร
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: signalrise-skygreen
*/
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product
 {
  
    width: 100% !important;
    margin-left: 0;
}

/* ลบ ::before / ::after ที่ WooCommerce ใส่มา */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    content: none !important;
    display: none !important;
}
/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: #0284c7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Layout */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.site-description {
  font-size: 0.8rem;
  color: #64748b;
}

.site-nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
}

.site-nav a:hover {
  color: #0284c7;
}

/* Mobile menu */
@media (max-width: 768px) {
  .site-nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0 0 0 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    min-width: 180px;
    display: none;
  }
  .site-nav.is-open {
    display: flex;
  }
}

/* Sections */
.section {
  padding: 5.5rem 1.5rem 4.5rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0ea5e9;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: #64748b;
}

/* Hero */
.hero {
  padding-top: 6.5rem;
  padding-bottom: 4.5rem;
  background: radial-gradient(circle at top left, #22c55e 0, #e0f2fe 30%, #f8fafc 70%),
              linear-gradient(135deg, #e0f2fe, #f0fdf4);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0f766e;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3.1vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, .12), rgba(56, 189, 248, .12));
  font-size: 0.85rem;
  color: #0f766e;
  font-weight: 600;
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #0f766e);
}

.hero-text {
  color: #1e293b;
  margin-bottom: 1.25rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.hero-list-icon {
  margin-top: 0.15rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.03);
  box-shadow: 0 20px 48px rgba(8, 47, 73, 0.32);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  color: #0f172a;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: #0ea5e9;
}

.hero-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.hero-media {
  position: relative;
}

.hero-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(240, 253, 250, 0.96));
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.hero-metric-row {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-metric {
  flex: 1;
}

.hero-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.hero-metric-value {
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(22, 163, 74, 0.07);
  color: #16a34a;
}

.hero-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-stack-item {
  padding: 0.55rem 0.6rem;
  border-radius: 0.8rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.78rem;
  text-align: center;
}

.hero-stack-label {
  display: block;
  font-weight: 600;
}

.hero-stack-sub {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.hero-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  color: #ecfdf5;
  font-size: 0.8rem;
}

.hero-ribbon strong {
  font-weight: 700;
}

/* Responsive hero */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    order: -1;
  }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.about-highlight {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #f1f5f9;
}

.about-highlight-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  border-radius: 1.25rem;
  padding: 1.1rem 1.15rem;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0ea5e9;
  font-weight: 700;
}

.service-title {
  font-weight: 600;
}

.service-text {
  font-size: 0.9rem;
  color: #64748b;
}

@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pricing */
.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  border-radius: 1.5rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
}

.pricing-card.featured {
  border-width: 2px;
  border-color: #22c55e;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.18);
}

.pricing-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.pricing-for {
  font-size: 0.85rem;
  color: #64748b;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.9rem;
}

.pricing-list li {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.pricing-cta {
  margin-top: auto;
}

.pricing-footer-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

@media (max-width: 992px) {
  .pricing-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .pricing-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* WooCommerce section on front page */
.home-shop-grid {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: #f1f5f9;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.75rem;
}

.contact-form-grid .full {
  grid-column: span 2;
}

.contact-form-grid label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.25rem;
  display: block;
}

.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.6rem;
  font-size: 0.9rem;
}

.contact-form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-form-grid .full {
    grid-column: span 1;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 1.5rem 2.5rem;
  background: #0f172a;
  color: #e2e8f0;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #e2e8f0;
}

/* WooCommerce global styling */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #ffffff;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  filter: brightness(1.05);
  opacity: 0.96;
}

.woocommerce span.onsale {
  border-radius: 999px;
  background: #22c55e;
  padding: 0.25rem 0.6rem;
  min-height: 0;
  min-width: 0;
  line-height: 1.2;
}

/* Shop grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  padding-left: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0;
  border-radius: 1.25rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.woocommerce ul.products li.product .price {
  font-weight: 600;
  color: #0f766e;
  margin-bottom: 0.5rem;
}

.woocommerce ul.products li.product a.button {
  margin-top: auto;
}

/* Single product */
.woocommerce div.product {
  max-width: 1000px;
  margin: 0 auto;
}

.woocommerce div.product .product_title {
  font-size: 1.5rem;
  font-weight: 700;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.3rem;
  color: #16a34a;
}

/* Cart */
.woocommerce-cart .site-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.woocommerce-cart table.shop_table {
  border-radius: 1rem;
  overflow: hidden;
}

/* Checkout */
.woocommerce-checkout .site-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.woocommerce-checkout #customer_details {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
}

.woocommerce-checkout-review-order {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* My Account */
.woocommerce-account .site-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

/* Page container */
.dth-container,
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4rem;
}

.page-title-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-title-wrap h1 {
  font-size: 1.8rem;
  margin: 0;
}

.page-title-wrap p {
  color: #64748b;
  font-size: 0.95rem;
}
