/* ================================================
   ZETASTYLE WEAR — SIZE GUIDE CSS
   ================================================ */

.sg-page {
  padding: 110px 5% 0;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Outfit', sans-serif;
}

/* HEADER */
.sg-header {
  text-align: center;
  padding: 48px 20px 40px;
}

.sg-header-icon {
  width: 56px;
  height: 56px;
  background: #fff5f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #e53e3e;
}

.sg-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 2px;
  color: #111;
  margin-bottom: 14px;
}

.sg-subtitle {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

.sg-highlight {
  color: #e53e3e;
  font-weight: 600;
  text-decoration: none;
}

/* TABS */
.sg-tabs-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

.sg-tabs {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  padding: 4px 2px;
}

.sg-tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1.5px solid #e2e2e2;
  background: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sg-tab-btn:hover {
  border-color: #e53e3e;
  color: #e53e3e;
}

.sg-tab-btn.active {
  background: #e53e3e;
  border-color: #e53e3e;
  color: #fff;
  box-shadow: 0 4px 16px rgba(229, 62, 62, 0.25);
}

/* CHART SECTIONS */
.sg-chart-section {
  display: none;
  animation: sgFadeIn 0.3s ease;
}

.sg-chart-section.active {
  display: block;
}

@keyframes sgFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sg-chart-block {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.sg-chart-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.sg-chart-icon {
  width: 48px;
  height: 48px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  flex-shrink: 0;
}

.sg-chart-block-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #111;
  margin-bottom: 4px;
}

.sg-chart-block-sub {
  font-size: 13px;
  color: #777;
}

.sg-chart-block-sub span {
  color: #e53e3e;
  font-weight: 600;
}

/* SIZE TABLE */
.sg-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.sg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px;
}

.sg-table thead tr {
  background: #f5f5f5;
}

.sg-table thead th {
  padding: 13px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
  text-align: left;
}

.sg-table tbody tr {
  border-top: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.sg-table tbody tr:hover {
  background: #fafafa;
}

.sg-table tbody td {
  padding: 13px 18px;
  font-size: 14px;
  color: #333;
}

.sg-table tbody td:first-child {
  font-weight: 700;
  color: #111;
}

.sg-table tbody td:last-child {
  font-weight: 700;
  color: #e53e3e;
}

/* For multi-column measurement tables (polo etc.) */
.sg-table-multi thead th:not(:first-child),
.sg-table-multi tbody td:not(:first-child) {
  text-align: center;
}

.sg-table-multi tbody td:last-child {
  color: #333;
  font-weight: 400;
}

/* TIPS */
.sg-tips {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sg-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.sg-tip svg {
  color: #e53e3e;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FABRIC SPECS BADGE */
.sg-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.sg-spec-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.sg-spec-badge svg {
  color: #e53e3e;
}

/* BOTTOM GRID */
.sg-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 16px 0 60px;
}

.sg-info-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sg-info-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e53e3e;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.sg-info-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #111;
  margin-bottom: 6px;
}

.sg-info-text p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* TRUST BAR */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  background: #111;
  color: #fff;
  padding: 20px 5%;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .sg-bottom-grid {
    grid-template-columns: 1fr;
  }
  .sg-chart-block {
    padding: 24px 20px;
  }
  .sg-page {
    padding-top: 90px;
  }
  .trust-bar {
    gap: 28px;
  }
}
