/* SIPIN Brand Site Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8f9fa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  background: #0d47a1;
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}
.tagline {
  font-size: 0.7rem;
  opacity: 0.9;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
nav a, .phone {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  opacity: 0.9;
}
.phone {
  font-weight: 700;
  opacity: 1;
}
nav a:hover, .phone:hover { opacity: 1; text-decoration: underline; }
.hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}
.about {
  background: #fff;
  padding: 60px 0;
}
.about h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
  color: #0d47a1;
}
.about h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
}
.about p {
  margin-bottom: 12px;
  color: #333;
}
.about ul {
  padding-left: 20px;
}
.about li {
  margin-bottom: 8px;
}
.products {
  padding: 60px 0;
}
.products h2 {
  font-size: 1.9rem;
  margin-bottom: 32px;
  color: #0d47a1;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px 16px 0;
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 12px;
}
.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}
.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 16px;
  gap: 12px;
}
.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: #0d47a1;
}
.card-buy-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.9rem;
  color: #555;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 8px;
  padding: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: #999;
}
.breadcrumbs a {
  color: #0d47a1;
  text-decoration: none;
}
.breadcrumbs li:nth-child(1) a {
  margin: 0;
}
@media (max-width: 600px) {
  .breadcrumbs { font-size: 0.85rem; }
  .breadcrumbs ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 4px 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .breadcrumbs ol::-webkit-scrollbar { display: none; }
  .breadcrumbs li { white-space: nowrap; flex-shrink: 0; }
}
.product-page {
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  margin: 24px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.product-page h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #0d47a1;
}
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.product-gallery img {
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.product-description {
  margin-bottom: 24px;
  color: #333;
}
.product-description img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 12px 0;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: #0d47a1;
}
.group-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: #1a1a1a;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.specs-table th,
.specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
.specs-table th {
  background: #f5f5f5;
  font-weight: 600;
  width: 40%;
}
.docs-list {
  list-style: none;
  padding: 0;
}
.docs-list li {
  margin-bottom: 10px;
}
.docs-list a {
  color: #0d47a1;
  text-decoration: none;
  font-weight: 500;
}
.docs-list a:hover { text-decoration: underline; }
footer {
  background: #0d47a1;
  color: #fff;
  text-align: center;
  padding: 24px 0;
  margin-top: 40px;
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0d47a1;
}
.buy-btn {
  background: #0d47a1;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.buy-btn:hover { background: #1565c0; }
.submit-btn { width: 100%; margin-top: 12px; }

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
}
.popup-modal h2 {
  margin-bottom: 8px;
  color: #0d47a1;
}
.popup-product {
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.popup-modal label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #555;
}
.popup-modal input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
}
.consent-label {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem !important;
  color: #555 !important;
  cursor: pointer;
}
.consent-label input {
  margin-top: 3px;
  flex-shrink: 0;
}
.popup-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .product-gallery img { max-width: 100%; }
  .product-meta { flex-direction: column; align-items: flex-start; }
}
