/* Business profile redesign — colors come from site settings (--theam-*) */
.ag-icon-sprite {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden;
}

.ag-business-page {
  --ag-brand: var(--theam-color);
  --ag-brand-text: var(--theam-text-color);
  --ag-second: var(--theam-secend-color);
  --ag-second-text: var(--theam-secend-text-color);
  --ag-ink: var(--theam-txt-color, #172033);
  --ag-ink-2: #344054;
  --ag-muted: #667085;
  --ag-line: #e6eaf0;
  --ag-surface: #ffffff;
  --ag-canvas: #ffffff;
  --ag-brand-soft: #f3f6fb;
  --ag-brand-border: #d9e4f2;
  --ag-radius: 18px;
  --ag-shadow: 0 8px 28px rgba(16, 24, 40, .06);
  --ag-shadow-hover: 0 16px 42px rgba(16, 24, 40, .10);
  background: #fff;
  color: var(--ag-ink);
  padding: 8px 0 48px;
  float: right;
  width: 100%;
  clear: both;
  display: block;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
  .ag-business-page {
    --ag-brand-soft: color-mix(in srgb, var(--theam-color) 12%, #fff);
    --ag-brand-border: color-mix(in srgb, var(--theam-color) 28%, #e6eaf0);
    --ag-shadow: 0 8px 28px color-mix(in srgb, var(--theam-color) 8%, rgba(16, 24, 40, .05));
    --ag-shadow-hover: 0 16px 42px color-mix(in srgb, var(--theam-color) 12%, rgba(16, 24, 40, .08));
  }
}

body:has(.ag-business-page) {
  background: #fff;
}

/* Isolate from the site's float-based reset (section/aside/article {float:right;width:100%}) */
.ag-business-page section,
.ag-business-page aside,
.ag-business-page article,
.ag-business-page nav,
.ag-business-page div,
.ag-business-page ul,
.ag-business-page li {
  float: none;
}

.ag-business-page section,
.ag-business-page nav {
  width: 100%;
}

.ag-business-page aside,
.ag-business-page article {
  width: auto;
  max-width: 100%;
}

.ag-business-page a { color: inherit; text-decoration: none; }
.ag-business-page a.ag-btn-primary { color: #fff; }
.ag-business-page a.ag-btn-soft { color: var(--ag-brand); }
.ag-business-page img {
  max-width: 100%;
  display: block;
  float: none;
}

.ag-business-page .ag-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.ag-section { margin-top: 24px; }
.ag-business-page .ag-card {
  background: var(--ag-surface);
  border: 1px solid var(--ag-line);
  border-radius: var(--ag-radius);
  box-shadow: var(--ag-shadow);
  width: 100%;
}
.ag-card__body { padding: 22px; }
.ag-title { font-size: 20px; font-weight: 800; margin: 0; color: var(--ag-ink); }
.ag-subtitle { font-size: 13px; color: var(--ag-muted); margin-top: 4px; }
.ag-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.ag-section-head a { color: var(--ag-brand); font-weight: 700; font-size: 13px; }

.ag-banners { padding-top: 16px; }
.ag-banner-img {
  width: 100%;
  border-radius: 14px;
  margin: 8px 0;
  object-fit: cover;
}

.ag-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 14px;
  color: #7b8798;
  font-size: 12px;
  list-style: none;
  padding: 0;
}
.ag-breadcrumb a { display: flex; align-items: center; gap: 5px; }
.ag-breadcrumb a:hover { color: var(--ag-brand); }
.ag-breadcrumb__sep { color: #c0c7d1; }
.ag-breadcrumb__current {
  color: #475467;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ag-business-page .ag-business-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 0;
  overflow: hidden;
  width: 100%;
}
.ag-business-page .ag-business-hero.is-info-only { grid-template-columns: 1fr; }
.ag-business-hero__gallery { padding: 14px; border-left: 1px solid var(--ag-line); }
.ag-hero-main-image {
  position: relative;
  height: 390px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ag-brand-soft);
}
.ag-hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .25s;
}
.ag-thumb-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 9px;
}
.ag-thumb {
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #eef2f6;
  padding: 0;
}
.ag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ag-thumb.is-active { border-color: var(--ag-brand); }
.ag-thumb-more {
  height: 70px;
  border: 0;
  border-radius: 10px;
  background: var(--ag-second);
  color: var(--ag-second-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
}
.ag-thumb-more span { font-size: 18px; line-height: 1.2; }
.ag-thumb-more small { font-size: 10px; opacity: .85; }

.ag-business-hero__info {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ag-business-title-line { display: flex; align-items: flex-start; gap: 10px; }
.ag-business-title-line h1 {
  font-size: 27px;
  line-height: 1.55;
  margin: 0;
  font-weight: 900;
  letter-spacing: -.4px;
}
.ag-verified {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--ag-brand);
  margin-top: 7px;
}
.ag-rating-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ag-muted);
  font-size: 12px;
  margin-top: 10px;
}
.ag-stars { display: flex; direction: ltr; color: #f59e0b; gap: 2px; }
.ag-stars .ag-icon { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; }
.ag-rating-value { font-weight: 900; color: var(--ag-ink); }

.ag-hero-facts { display: grid; gap: 12px; margin-top: 25px; }
.ag-hero-fact { display: flex; align-items: flex-start; gap: 11px; color: var(--ag-ink-2); }
.ag-hero-fact__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ag-brand-soft);
  display: grid;
  place-items: center;
  color: var(--ag-brand);
  flex: 0 0 34px;
}
.ag-hero-fact__icon .ag-icon { width: 18px; height: 18px; }
.ag-hero-fact strong { display: block; color: var(--ag-ink); font-weight: 800; }
.ag-hero-fact span { display: block; color: var(--ag-muted); font-size: 12px; margin-top: 1px; }

.ag-hero-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9px;
  margin-top: 25px;
}
.ag-hero-actions.is-single { grid-template-columns: 1fr; }
.ag-btn {
  border: 1px solid transparent;
  border-radius: 11px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s;
  background: #fff;
  font-size: 14px;
}
.ag-btn .ag-icon { width: 18px; height: 18px; }
.ag-btn-primary {
  background: var(--ag-brand);
  color: #fff;
  border-color: var(--ag-brand);
}
.ag-business-page a.ag-btn-primary,
.ag-business-page .ag-btn-primary {
  color: #fff;
}
.ag-btn-primary:hover,
.ag-btn-primary:focus,
.ag-business-page a.ag-btn-primary:hover,
.ag-business-page .ag-btn-primary:hover {
  filter: brightness(.92);
  color: #fff;
}
.ag-btn-primary .ag-icon {
  color: #fff;
  stroke: #fff;
}
.ag-btn-soft {
  background: var(--ag-brand-soft);
  color: var(--ag-brand);
  border-color: var(--ag-brand-border);
}
.ag-btn-soft:hover { filter: brightness(.97); }
.ag-btn-outline {
  background: #fff;
  border-color: var(--ag-line);
  color: var(--ag-ink-2);
}
.ag-btn-outline:hover { border-color: var(--ag-brand-border); background: var(--ag-brand-soft); }
.ag-hero-minor-actions { display: flex; gap: 8px; margin-top: 9px; }
.ag-hero-minor-actions .ag-btn { height: 38px; font-size: 12px; flex: 1; }

.ag-business-page .ag-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
  width: 100%;
}
.ag-main-stack,
.ag-side-stack { display: grid; gap: 20px; min-width: 0; }
.ag-side-stack { position: sticky; top: 24px; }

.ag-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin-top: 20px;
}
.ag-info-item { display: flex; align-items: center; gap: 10px; }
.ag-info-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ag-brand-soft);
  display: grid;
  place-items: center;
  color: var(--ag-brand);
}
.ag-info-item__icon .ag-icon { width: 18px; height: 18px; }
.ag-info-item small { display: block; color: var(--ag-muted); font-size: 11px; line-height: 1.5; }
.ag-info-item strong { font-size: 13px; font-weight: 800; color: var(--ag-ink-2); }
.ag-about-text { color: #475467; margin: 0; text-align: justify; }

.ag-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ag-service-card {
  border: 1px solid var(--ag-line);
  border-radius: 14px;
  min-height: 116px;
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: #fff;
  transition: .18s;
}
.ag-service-card:hover {
  border-color: var(--ag-brand-border);
  transform: translateY(-2px);
  box-shadow: var(--ag-shadow);
}
.ag-service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--ag-brand-soft);
  display: grid;
  place-items: center;
  color: var(--ag-brand);
}
.ag-service-card__icon .ag-icon { width: 23px; height: 23px; }
.ag-service-card strong { font-size: 12px; font-weight: 800; color: #344054; }
.ag-service-card small { font-size: 10px; color: var(--ag-muted); }
.ag-service-card .ag-price { font-size: 11px; font-weight: 800; color: var(--ag-brand); }
.ag-service-card.is-hidden { display: none; }
.ag-more-services {
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border: 1px solid var(--ag-brand-border);
  background: var(--ag-brand-soft);
  color: var(--ag-brand);
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.ag-contact-list { display: grid; gap: 8px; margin-top: 14px; }
.ag-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--theam-color) 5%, #f8fafc);
  color: var(--ag-ink-2);
}
.ag-contact-row .ag-icon { color: var(--ag-brand); width: 18px; height: 18px; }
.ag-contact-row a,
.ag-contact-row span { font-weight: 800; font-size: 14px; word-break: break-word; }
.ag-contact-row.is-ltr { direction: ltr; text-align: left; }
.ag-contact-actions { display: grid; gap: 8px; margin-top: 12px; }

.ag-map-box {
  height: 200px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--ag-line);
}
.ag-map-box #map,
.ag-business-page #map {
  width: 100% !important;
  height: 200px !important;
  border-radius: 12px;
}
.ag-address-text { font-size: 12px; color: #475467; margin: 10px 0 0; }
.ag-side-dual-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ag-side-dual-buttons .ag-btn { height: 38px; font-size: 11px; padding: 0 8px; }

.ag-stats-list { display: grid; gap: 11px; margin-top: 12px; }
.ag-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ag-muted);
  font-size: 12px;
  gap: 12px;
}
.ag-stats-row strong { color: var(--ag-ink-2); font-weight: 800; text-align: left; }
.ag-report-btn {
  width: 100%;
  height: 40px;
  margin-top: 14px;
  border: 1px solid color-mix(in srgb, #c43c41 35%, #fff);
  background: #fff7f7;
  color: #c43c41;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ag-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.ag-share-btn {
  height: 62px;
  border: 1px solid var(--ag-line);
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #475467;
  cursor: pointer;
  font-size: 10px;
}
.ag-share-btn .ag-icon { width: 20px; height: 20px; color: var(--ag-brand); }
.ag-share-btn.is-whatsapp .ag-icon { color: #16a34a; }
.ag-share-btn.is-telegram .ag-icon { color: #229ED9; }

.ag-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ag-gallery-card {
  height: 142px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #eef2f6;
  border: 0;
  padding: 0;
}
.ag-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .22s;
}
.ag-gallery-card:hover img { transform: scale(1.035); }

.ag-portfolio-grid,
.ag-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ag-portfolio-card,
.ag-product-card {
  border: 1px solid var(--ag-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: .18s;
}
.ag-portfolio-card:hover,
.ag-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ag-shadow-hover);
}
.ag-portfolio-card img,
.ag-product-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  background: #eef2f6;
}
.ag-portfolio-card__body,
.ag-product-card__body { padding: 13px; }
.ag-portfolio-card h3,
.ag-product-card h3 {
  font-size: 13px;
  margin: 0;
  font-weight: 800;
  color: #344054;
  line-height: 1.8;
}
.ag-product-card__price {
  margin-top: 8px;
  font-weight: 900;
  color: var(--ag-brand);
  font-size: 13px;
}
.ag-product-card__price small {
  font-size: 10px;
  color: var(--ag-muted);
  font-weight: 600;
}

.ag-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ag-related-card {
  border: 1px solid var(--ag-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: .18s;
}
.ag-related-card.has-cat-color {
  border-color: var(--cat-color);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--cat-color) 12%, transparent);
}
.ag-related-card.has-cat-color h3 {
  color: var(--cat-color);
}
.ag-related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ag-shadow-hover);
}
.ag-related-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: #edf1f5;
}
.ag-related-card__body { padding: 12px; }
.ag-related-card h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
  min-height: 43px;
}
.ag-related-meta {
  display: flex;
  align-items: center;
  margin-top: 8px;
  font-size: 10px;
  color: #667085;
}
.ag-related-meta span { display: flex; align-items: center; gap: 4px; }
.ag-related-meta .ag-icon { width: 14px; height: 14px; }

.ag-review-summary {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
}
.ag-review-score { text-align: center; border-left: 1px solid var(--ag-line); }
.ag-review-score strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
}
.ag-review-score span { color: var(--ag-muted); font-size: 11px; }
.ag-rating-bars { display: grid; gap: 7px; }
.ag-rating-bar {
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #667085;
}
.ag-bar { height: 7px; background: #edf0f4; border-radius: 999px; overflow: hidden; }
.ag-bar i { display: block; height: 100%; background: #f6b51b; border-radius: 999px; }
.ag-review-empty {
  margin-top: 20px;
  border: 1px dashed #d8dee7;
  border-radius: 12px;
  background: #fbfcfe;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ag-review-empty p { margin: 0; color: #667085; font-size: 12px; }
.ag-review-form {
  display: none;
  margin-top: 14px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
}
.ag-review-form.is-open { display: block; }
.ag-review-form textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  border: 1px solid var(--ag-line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  outline: none;
  font: inherit;
}
.ag-review-form textarea:focus {
  border-color: var(--ag-brand-border);
  box-shadow: 0 0 0 3px var(--ag-brand-soft);
}
.ag-review-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.ag-review-form__actions .ag-btn { height: 36px; font-size: 11px; }
.ag-review-stars { display: flex; gap: 4px; margin: 10px 0 12px; }
.ag-review-stars label { cursor: pointer; margin: 0; }
.ag-review-stars input { position: absolute; opacity: 0; pointer-events: none; }
.ag-review-stars .ag-icon { width: 22px; height: 22px; color: #d0d5dd; }
.ag-review-stars label.is-on .ag-icon,
.ag-review-stars label:hover .ag-icon { color: #f6b51b; fill: currentColor; stroke: currentColor; }
.ag-comment-list { display: grid; gap: 12px; margin-top: 18px; }
.ag-comment-item {
  border: 1px solid var(--ag-line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.ag-comment-item.is-reply {
  margin-right: 28px;
  background: #fbfcfe;
}
.ag-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.ag-comment-author { font-weight: 800; font-size: 13px; color: var(--ag-ink); }
.ag-comment-date { font-size: 11px; color: var(--ag-muted); }
.ag-comment-item p { margin: 0; color: #475467; font-size: 13px; }
.ag-comment-stars { display: flex; gap: 2px; color: #f6b51b; }
.ag-comment-stars .ag-icon { width: 14px; height: 14px; fill: currentColor; stroke: currentColor; }

.ag-ui-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  backdrop-filter: blur(4px);
}
.ag-ui-modal.is-open { display: flex; }
.ag-ui-modal__dialog {
  width: min(500px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
  overflow: hidden;
}
.ag-ui-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ag-line);
}
.ag-ui-modal__head h3 { margin: 0; font-size: 15px; font-weight: 900; }
.ag-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ag-line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  color: #667085;
  display: grid;
  place-items: center;
}
.ag-ui-modal__body { padding: 20px; }
.ag-qr-image {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--ag-line);
  object-fit: contain;
  background: #fff;
}
.ag-modal-note { text-align: center; color: #667085; font-size: 12px; margin-top: 16px; }
.ag-modal-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.ag-modal-actions .ag-btn { height: 38px; font-size: 11px; }
.ag-gallery-modal-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #111;
}
.ag-qr-url {
  word-break: break-all;
  font-size: 12px;
  color: #6c757d;
  direction: ltr;
  text-align: left;
  background: #f8fafc;
  padding: 10px;
  border-radius: 10px;
}

.ag-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #101828;
  color: #fff;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 12px;
  z-index: 10060;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .18);
}
.ag-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .ag-business-page .ag-page-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .ag-service-grid { grid-template-columns: repeat(3, 1fr); }
  .ag-business-title-line h1 { font-size: 24px; }
}

@media (max-width: 900px) {
  .ag-business-page .ag-business-hero { grid-template-columns: 1fr; }
  .ag-business-hero__gallery { border-left: 0; border-bottom: 1px solid var(--ag-line); }
  .ag-hero-main-image { height: 350px; }
  .ag-business-page .ag-page-grid { grid-template-columns: 1fr; }
  .ag-side-stack { position: static; grid-template-columns: repeat(2, 1fr); }
  .ag-contact-card { grid-column: 1 / -1; }
  .ag-service-grid { grid-template-columns: repeat(4, 1fr); }
  .ag-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ag-business-page { --ag-radius: 15px; }
  .ag-hero-main-image { height: 245px; }
  .ag-business-hero__gallery { padding: 9px; }
  .ag-thumb-row { gap: 5px; }
  .ag-thumb,
  .ag-thumb-more { height: 52px; border-radius: 8px; }
  .ag-business-hero__info { padding: 20px 16px; }
  .ag-business-title-line h1 { font-size: 20px; }
  .ag-hero-actions { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .ag-card__body { padding: 17px; }
  .ag-title { font-size: 17px; }
  .ag-info-grid { grid-template-columns: 1fr; }
  .ag-service-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-side-stack { grid-template-columns: 1fr; }
  .ag-contact-card { grid-column: auto; }
  .ag-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-gallery-card { height: 120px; }
  .ag-portfolio-grid,
  .ag-product-grid { grid-template-columns: 1fr 1fr; }
  .ag-related-grid { grid-template-columns: 1fr 1fr; }
  .ag-share-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-breadcrumb { white-space: nowrap; overflow: hidden; flex-wrap: nowrap; }
  .ag-breadcrumb__current { max-width: 150px; }
  .ag-review-summary { grid-template-columns: 1fr; }
  .ag-review-score { border-left: 0; border-bottom: 1px solid var(--ag-line); padding-bottom: 15px; }
  .ag-review-empty { flex-direction: column; align-items: stretch; }
  .ag-review-empty .ag-btn { width: 100%; }
  .ag-comment-item.is-reply { margin-right: 12px; }
}
