/* ==========================================================================
   TechZone — Page-specific styles (shop, product detail, cart, contact, etc.)
   ========================================================================== */

/* ---------------- Shop layout ---------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.shop-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 88px);
}

.filter-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-block:first-child { padding-top: 0; }
.filter-block:last-child { border-bottom: none; padding-bottom: 0; }

.filter-block h4 {
  font-size: 14.5px;
  margin-bottom: 14px;
}

.filter-list { display: flex; flex-direction: column; gap: 11px; }

.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-body);
  cursor: pointer;
}

.filter-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.filter-check .count { margin-left: auto; color: var(--text-muted); font-size: 12px; }

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.price-range-inputs input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.price-range-inputs input:focus { border-color: var(--color-primary); }

input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
  margin-top: 10px;
}

.filter-clear-btn {
  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-danger);
  border: 1.5px dashed var(--color-danger);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-toolbar .result-count { font-size: 13.5px; color: var(--text-muted); }
.shop-toolbar .result-count strong { color: var(--text-heading); }

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

.sort-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 13.5px;
  outline: none;
  background: var(--bg-white);
}

.sort-select:focus { border-color: var(--color-primary); }

.view-toggle { display: flex; gap: 6px; }

.view-toggle button {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.view-toggle button.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-inverse);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.filter-chip button { display: flex; }
.filter-chip svg { width: 12px; height: 12px; }

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
}

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

.pagination .is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-inverse);
}

.pagination .dots { border: none; }

/* ---------------- Product detail ---------------- */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Without this, a grid item's default min-width:auto lets its content (here,
   Swiper's own JS-computed slide widths) refuse to shrink below its min-content
   size. That drags the 1fr track wider, which changes the swiper container's
   size, which makes Swiper recompute a wider slide width again — an infinite
   resize/update feedback loop that made the gallery grow every animation frame. */
.pd-layout > * { min-width: 0; }

.pd-gallery-main {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  margin-bottom: 12px;
  background: var(--bg-white);
}

.pd-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }

.pd-thumb-swiper { padding: 2px; }

.pd-thumb-swiper .swiper-slide {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  opacity: 0.7;
  transition: all var(--transition);
}

.pd-thumb-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: var(--bg-white); }

.pd-thumb-swiper .swiper-slide-thumb-active,
.pd-thumb-swiper .swiper-slide:hover {
  border-color: var(--color-primary);
  opacity: 1;
}

.pd-info .product-cat { font-size: 12.5px; }

.pd-info h1 {
  font-size: 24px;
  margin: 10px 0 12px;
  line-height: 1.35;
}

.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.pd-rating-row .divider { width: 1px; height: 14px; background: var(--border-color); }

.pd-price-box {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pd-price-box .price { font-size: 28px; }
.pd-price-box .price-old { font-size: 15px; }

.pd-save-badge {
  background: var(--color-danger);
  color: var(--text-inverse);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pd-summary {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 22px;
  line-height: 1.8;
}

.pd-options {
  margin-bottom: 22px;
}

.pd-options h5 {
  font-size: 13.5px;
  margin-bottom: 10px;
}

.option-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option-pill {
  padding: 9px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  transition: all var(--transition);
}

.option-pill:hover { border-color: var(--color-primary); }

.option-pill.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.pd-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.qty-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.qty-input button {
  width: 40px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  font-size: 16px;
  font-weight: 700;
}

.qty-input button:hover { background: var(--bg-soft); }

.qty-input input {
  width: 46px;
  height: 46px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  outline: none;
  font-weight: 700;
}

.pd-actions-row .btn { height: 46px; flex: 1; min-width: 160px; }

.pd-wish-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.pd-wish-btn:hover { border-color: var(--color-danger); color: var(--color-danger); }

.pd-policies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pd-policy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-soft);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.pd-policy-item svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }

/* Tabs */
.pd-tabs {
  margin-top: 48px;
}

.tab-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.tab-nav button {
  padding: 14px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2.5px solid transparent;
  transform: translateY(1px);
}

.tab-nav button.is-active,
.tab-nav button:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table tr { border-bottom: 1px solid var(--border-color); }
.spec-table td { padding: 12px 4px; font-size: 13.5px; }
.spec-table td:first-child { color: var(--text-muted); width: 40%; }
.spec-table td:last-child { color: var(--text-heading); font-weight: 600; }

.review-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
}

.review-score { text-align: center; flex-shrink: 0; }
.review-score strong { font-family: var(--font-heading); font-size: 40px; display: block; color: var(--text-heading); }

.review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.review-bar-row .bar { flex: 1; height: 6px; border-radius: var(--radius-full); background: var(--border-color); overflow: hidden; }
.review-bar-row .bar span { display: block; height: 100%; background: var(--color-star); }

.review-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.review-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
  flex-wrap: wrap;
}

.review-item-head strong { font-size: 14px; }
.review-item-head .date { font-size: 12px; color: var(--text-muted); }
.review-item p { font-size: 13.5px; color: var(--text-body); }

/* Related products */
.related-section { margin-top: 56px; }

/* ---------------- Cart page ---------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: flex-start;
}

.cart-table-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cart-table { width: 100%; border-collapse: collapse; }

.cart-table thead th {
  text-align: left;
  padding: 14px 16px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: var(--bg-soft);
}

.cart-table tbody td {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 14px;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-product img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-product .name { font-weight: 700; font-size: 13.5px; color: var(--text-heading); line-height: 1.4; }
.cart-product .cat { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

.cart-remove {
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cart-remove:hover { color: var(--color-danger); background: #fdecea; }

.cart-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.coupon-row {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 340px;
}

.coupon-row input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  font-size: 13.5px;
}

.coupon-row input:focus { border-color: var(--color-primary); }

.cart-summary {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 88px);
}

.cart-summary h3 { font-size: 17px; margin-bottom: 18px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
  border-bottom: none;
  padding-top: 16px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-heading);
}

.summary-row.total .price { font-size: 20px; }

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.cart-empty svg { width: 64px; height: 64px; color: var(--border-color); margin: 0 auto 16px; }
.cart-empty p { margin-bottom: 20px; color: var(--text-muted); }

/* ---------------- Promotion page ---------------- */
.promo-hero {
  background: linear-gradient(120deg, #7a1f1f, #e53935 60%, #ff9800);
  padding: 48px 0;
  color: var(--text-inverse);
  text-align: center;
}

.promo-hero h1 { color: var(--text-inverse); font-size: 32px; margin-bottom: 10px; }
.promo-hero p { color: rgba(255, 255, 255, 0.9); margin-bottom: 22px; }
.promo-hero .countdown { justify-content: center; }
.promo-hero .countdown-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.promo-hero .countdown-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); }

.promo-filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.promo-filter-tabs button {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-body);
  background: var(--bg-white);
}

.promo-filter-tabs button.is-active,
.promo-filter-tabs button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-inverse);
}

.discount-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-danger);
  color: var(--text-inverse);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

/* ---------------- News listing ---------------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: flex-start;
}

.news-sidebar-block {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.news-sidebar-block h4 {
  font-size: 14.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.mini-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.mini-post:last-child { margin-bottom: 0; }

.mini-post img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.mini-post h5 {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-post span { font-size: 11.5px; color: var(--text-muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-cloud a {
  padding: 7px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
}

.tag-cloud a:hover { background: var(--color-primary); color: var(--text-inverse); }

.cat-filter-list a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-color);
}

.cat-filter-list a:last-child { border-bottom: none; }
.cat-filter-list a:hover, .cat-filter-list a.is-active { color: var(--color-primary); }
.cat-filter-list span { color: var(--text-muted); font-weight: 500; }

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

/* ---------------- News detail ---------------- */
.article-head { margin-bottom: 24px; }

.article-head .news-tag { position: static; display: inline-block; margin-bottom: 14px; }

.article-head h1 { font-size: 28px; line-height: 1.35; margin-bottom: 14px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }

.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0 32px;
  aspect-ratio: 16/8;
}

.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body { font-size: 15.5px; color: var(--text-body); line-height: 1.9; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 20px; margin: 28px 0 14px; }
.article-body ul { margin: 0 0 18px; padding-left: 4px; }
.article-body ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.article-share span { font-size: 13.5px; font-weight: 700; color: var(--text-heading); }
.article-share .footer-social a { background: var(--bg-soft); color: var(--text-heading); }
.article-share .footer-social a:hover { background: var(--color-primary); color: var(--text-inverse); }

.comment-form {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.comment-form h3 { font-size: 18px; margin-bottom: 18px; }

/* ---------------- Forms ---------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--color-primary); }

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

/* ---------------- Support / FAQ ---------------- */
.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.support-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  transition: all var(--transition);
}

.support-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }

.support-card .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.support-card .icon-circle svg { width: 28px; height: 28px; }
.support-card h3 { font-size: 16px; margin-bottom: 8px; }
.support-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }

.faq-category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.faq-category-tabs button {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-body);
}

.faq-category-tabs button.is-active,
.faq-category-tabs button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-inverse);
}

.accordion { max-width: 780px; }

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-white);
}

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-heading);
  gap: 12px;
}

.accordion-head svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-primary);
}

.accordion-item.is-open .accordion-head svg { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body-inner {
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ---------------- Contact ---------------- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-card .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h4 { font-size: 14.5px; margin-bottom: 6px; }
.contact-info-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3.4;
}

.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-form-box h3 { font-size: 19px; margin-bottom: 6px; }
.contact-form-box > p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; }

/* ---------------- Auth (login / register) ---------------- */
.auth-section {
  background: var(--bg-soft);
  padding: 64px 0;
  min-height: calc(100vh - var(--header-h) - 260px);
  display: flex;
  align-items: center;
}

.auth-box {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}

.auth-head {
  text-align: center;
  margin-bottom: 28px;
}

.auth-head .brand { justify-content: center; margin-bottom: 18px; }

.auth-head h1 { font-size: 22px; margin-bottom: 6px; }
.auth-head p { font-size: 13.5px; color: var(--text-muted); }

.auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-row-between .filter-check { font-size: 13px; }

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.auth-terms input { width: 16px; height: 16px; accent-color: var(--color-primary); margin-top: 2px; flex-shrink: 0; }
.auth-terms a { color: var(--color-primary); font-weight: 600; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 20px;
  color: var(--text-muted);
  font-size: 12.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-social-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-heading);
  transition: all var(--transition);
}

.auth-social-btn:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.auth-social-btn svg, .auth-social-btn img { width: 18px; height: 18px; flex-shrink: 0; }

.auth-switch {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 24px;
}

.auth-switch a { color: var(--color-primary); font-weight: 700; }

.password-field { position: relative; }
.password-field input { padding-right: 42px; }
.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.password-toggle:hover { color: var(--color-primary); }
