/* ================================================
   ArsMedica — Complete Design System
   Navy blue dark theme
   ================================================ */

/* === Custom Font === */
@font-face {
  font-family: 'arsmedicafonts';
  src: url('../css/fonts/arsmedicafonts.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* === CSS Variables === */
:root {
  --bg:         #0d1b2a;
  --surface:    #132338;
  --surface2:   #1a2f4b;
  --blue:       #2980b9;
  --blue-lt:    #56aee8;
  --blue-dim:   rgba(41,128,185,0.15);
  --white:      #ffffff;
  --muted:      rgba(255,255,255,0.55);
  --border:     rgba(255,255,255,0.08);
  --nav-h:      70px;
  --radius:     8px;
  --ease:       0.32s cubic-bezier(0.4,0,0.2,1);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'arsmedicafonts', 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === Loading Overlay === */
.ars-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.ars-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.ars-loader-ring {
  width: 44px; height: 44px;
  border: 3px solid rgba(86,174,232,0.25);
  border-top-color: var(--blue-lt);
  border-radius: 50%;
  animation: ars-spin 0.85s linear infinite;
}
@keyframes ars-spin { to { transform: rotate(360deg); } }

/* ================================================
   NAVIGATION
   ================================================ */
.ars-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--ease), box-shadow var(--ease);
}
.ars-nav.scrolled {
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.ars-nav-logo img { height: 32px; width: auto; }
.ars-nav-links {
  display: flex; gap: 2.25rem;
}
.ars-nav-links a {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--ease);
}
.ars-nav-links a:hover { color: var(--blue-lt); }
.ars-nav.solid { background: rgba(13,27,42,0.96); box-shadow: 0 1px 0 var(--border); }

/* Burger */
.ars-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.ars-burger span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.ars-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ars-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ars-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.ars-mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(9,17,28,0.98);
  backdrop-filter: blur(20px);
  z-index: 998;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.ars-mobile-menu.open { display: flex; }
.ars-mobile-menu a {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--ease);
}
.ars-mobile-menu a:hover { color: var(--blue-lt); }

/* ================================================
   HERO
   ================================================ */
.ars-hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.ars-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.55;
}
.ars-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    170deg,
    rgba(13,27,42,0.75) 0%,
    rgba(19,35,56,0.55) 40%,
    rgba(13,27,42,0.92) 100%
  );
}
.ars-hero-content {
  position: relative; z-index: 2;
  padding: 0 1.5rem; max-width: 820px; width: 100%;
}
.ars-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: 1.25rem;
}
.ars-hero-title {
  font-family: 'arsmedicafonts', 'Cormorant', Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.02em; margin-bottom: 1.75rem;
}
.ars-hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.ars-hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* Buttons */
.ars-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--ease); cursor: pointer;
  white-space: nowrap;
}
.ars-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35); color: #fff;
}
.ars-btn-outline:hover { border-color: var(--blue-lt); color: var(--blue-lt); }
.ars-btn-primary { background: var(--blue); border: 1.5px solid var(--blue); color: #fff; }
.ars-btn-primary:hover { background: var(--blue-lt); border-color: var(--blue-lt); color: var(--bg); }
.ars-btn-ghost {
  background: transparent; border: 1.5px solid rgba(86,174,232,0.4);
  color: var(--blue-lt);
}
.ars-btn-ghost:hover { background: var(--blue-dim); }

/* Scroll hint */
.ars-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.4); font-size: 0.65rem;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.ars-scroll-line {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.ars-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0;
  height: 100%; background: var(--blue-lt);
  animation: ars-scroll-down 1.6s ease-in-out infinite;
}
@keyframes ars-scroll-down {
  from { top: -100%; }
  to   { top: 200%; }
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.ars-about { padding: 7rem 0; background: var(--bg); }
.ars-about-img-wrap {
  position: relative; border-radius: 12px;
  overflow: visible; /* badge sticks out */
}
.ars-about-img-inner {
  border-radius: 12px; overflow: hidden;
  background: var(--surface);
}
.ars-about-img {
  width: 100%; height: 500px;
  object-fit: contain; padding: 2rem;
}
.ars-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.4; color: #fff;
  animation: ars-spin 14s linear infinite;
  box-shadow: 0 8px 32px rgba(41,128,185,0.4);
}
.ars-about-text { padding: 0.5rem 0 0.5rem 1rem; }
.ars-section-label {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: 1rem;
}
.ars-section-title {
  font-family: 'arsmedicafonts', 'Cormorant', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.ars-about-body { color: rgba(255,255,255,0.68); line-height: 1.8; margin-bottom: 1.75rem; }
.ars-quote {
  border-left: 3px solid var(--blue-lt);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.75rem 0;
  font-style: italic; color: rgba(255,255,255,0.6); font-size: 0.95rem;
}
.ars-link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--blue-lt); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: gap var(--ease);
}
.ars-link-arrow:hover { gap: 1rem; }
.ars-link-arrow svg { flex-shrink: 0; }

/* ================================================
   PRODUCTS SECTION
   ================================================ */
.ars-products { padding: 7rem 0; background: var(--surface); }
.ars-products-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem;
}
.ars-products-title {
  font-family: 'arsmedicafonts', 'Cormorant', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.05;
}
.ars-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ars-product-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.42s cubic-bezier(0.4,0,0.2,1),
              border-color 0.42s ease,
              box-shadow 0.42s ease;
}
.ars-product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(41,128,185,0.18) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.42s ease;
  pointer-events: none; z-index: 0;
}
.ars-product-card:hover {
  transform: translateY(-14px);
  border-color: rgba(86,174,232,0.65);
  box-shadow:
    0 28px 72px rgba(0,0,0,0.55),
    0 0 0 1px rgba(86,174,232,0.2),
    0 8px 28px rgba(41,128,185,0.25);
}
.ars-product-card:hover::before { opacity: 1; }
.ars-product-img-wrap {
  position: relative;
  height: 280px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  overflow: hidden;
  z-index: 1;
}
.ars-product-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, rgba(13,27,42,0.7) 0%, transparent 100%);
  pointer-events: none;
}
.ars-product-img {
  max-height: 210px; max-width: 100%; width: auto;
  object-fit: contain; margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative; z-index: 1;
}
.ars-product-card:hover .ars-product-img { transform: scale(1.1); }
/* Slide-up view button */
.ars-product-view {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 0.7rem;
  background: var(--blue);
  color: #fff; text-align: center;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.ars-product-card:hover .ars-product-view { transform: translateY(0); }
/* Card body */
.ars-product-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
  position: relative; z-index: 1;
}
.ars-product-cat {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: 0.55rem;
}
.ars-product-cat::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-lt); flex-shrink: 0;
}
.ars-product-name {
  font-size: 1.1rem; font-weight: 700; color: #fff;
  line-height: 1.25; margin-bottom: auto; padding-bottom: 1rem;
}
.ars-product-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.ars-product-year { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.ars-product-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-lt);
  transition: background var(--ease), transform var(--ease), color var(--ease);
}
.ars-product-card:hover .ars-product-arrow {
  background: var(--blue); color: #fff;
  transform: translateX(3px);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.ars-contact {
  padding: 7rem 0 5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.ars-contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem;
  align-items: start;
}
.ars-contact-heading {
  font-family: 'arsmedicafonts', 'Cormorant', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.ars-contact-sub { color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 420px; }
.ars-contact-items { display: flex; flex-direction: column; gap: 1.75rem; padding-top: 0.5rem; }
.ars-contact-item h5 {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 0.35rem;
}
.ars-contact-item p,
.ars-contact-item a { font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.ars-contact-item a { color: var(--blue-lt); }
.ars-contact-item a:hover { text-decoration: underline; }
.ars-footer-bar {
  margin-top: 5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  color: rgba(255,255,255,0.28); font-size: 0.75rem;
}
.ars-footer-logo img { height: 24px; opacity: 0.4; }

/* ================================================
   PRODUCT DETAIL PAGE  (product_page.php)
   ================================================ */
.ars-page {
  padding-top: var(--nav-h); min-height: 100vh;
}
.ars-page-inner { padding: 3rem 0 6rem; }
.ars-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--blue-lt); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 2.5rem;
  transition: gap var(--ease);
}
.ars-back:hover { gap: 0.875rem; }
.ars-back svg { flex-shrink: 0; }
.ars-pd-hero {
  background: var(--surface);
  border-radius: 16px; overflow: hidden;
  margin-bottom: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 420px;
}
.ars-pd-hero-img-side {
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem;
}
.ars-pd-hero-img { max-height: 340px; max-width: 100%; object-fit: contain; }
.ars-pd-hero-info { padding: 3.5rem 2.5rem; }
.ars-pd-cat {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: 0.75rem;
}
.ars-pd-title {
  font-family: 'arsmedicafonts', 'Cormorant', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.05;
  margin-bottom: 2rem;
}
.ars-pd-mini { color: rgba(255,255,255,0.65); line-height: 1.7; }
.ars-pd-mini table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.ars-pd-mini td { padding: 0.5rem 0.75rem; border: 1px solid var(--border); font-size: 0.88rem; }
.ars-pd-mini td:first-child { color: rgba(255,255,255,0.45); width: 40%; }
.ars-pd-features-section { margin-bottom: 2.5rem; }
.ars-pd-features-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.ars-features { list-style: none; }
.ars-features li {
  padding: 0.9rem 0; border-bottom: 1px solid var(--border);
  color: rgba(255,255,255,0.75); font-size: 0.93rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.ars-features li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-lt); flex-shrink: 0;
  margin-top: 0.5em;
}
.ars-pd-action { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ================================================
   PRODUCT ANNOTATION PAGE  (product_detail.php)
   ================================================ */
.ars-anotacia { max-width: 860px; }
.ars-anotacia-content {
  color: rgba(255,255,255,0.72); line-height: 1.85;
}
.ars-anotacia-content h1,
.ars-anotacia-content h2 {
  font-family: 'arsmedicafonts', 'Cormorant', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; color: #fff; margin: 2rem 0 0.875rem;
}
.ars-anotacia-content h3 {
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.85);
  margin: 1.5rem 0 0.5rem;
}
.ars-anotacia-content p { margin-bottom: 1rem; }
.ars-anotacia-content ul,
.ars-anotacia-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.ars-anotacia-content li { margin-bottom: 0.4rem; }
.ars-anotacia-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem;
}
.ars-anotacia-content th {
  background: var(--surface2); color: rgba(255,255,255,0.45);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1rem; border: 1px solid var(--border);
}
.ars-anotacia-content td {
  padding: 0.6rem 1rem; border: 1px solid var(--border);
}

/* ================================================
   ANIMATIONS
   ================================================ */
[data-fade] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-fade-left] {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-fade-right] {
  opacity: 0; transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-fade].vis, [data-fade-left].vis, [data-fade-right].vis {
  opacity: 1; transform: none;
}

/* ================================================
   PRODUCTS PAGE  (products.php)
   ================================================ */
.ars-ph { padding: 3rem 0 1.5rem; }

/* Filter bar */
.ars-filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.ars-filter-btn {
  padding: 0.45rem 1.1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: all var(--ease);
}
.ars-filter-btn:hover {
  border-color: var(--blue-lt);
  color: var(--blue-lt);
}
.ars-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Products page grid — bigger, more spacious than homepage */
.ars-pg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.ars-pg-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.ars-pg-card:hover {
  transform: translateY(-8px);
  border-color: rgba(41,128,185,0.55);
  box-shadow: 0 24px 56px rgba(0,0,0,0.5);
}
.ars-pg-img {
  height: 240px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.ars-pg-img img {
  max-height: 190px; max-width: 100%; width: auto;
  object-fit: contain; margin: 0 auto;
  transition: transform 0.45s ease;
}
.ars-pg-card:hover .ars-pg-img img { transform: scale(1.08); }
.ars-pg-body {
  flex: 1; display: flex; flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
}
.ars-pg-cat {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: 0.5rem;
}
.ars-pg-name {
  font-size: 1.05rem; font-weight: 700;
  color: #fff; line-height: 1.3;
  margin-bottom: auto; padding-bottom: 1rem;
}
.ars-pg-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.ars-pg-year {
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
}
.ars-pg-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-lt);
  transition: background var(--ease), transform var(--ease);
}
.ars-pg-card:hover .ars-pg-arrow {
  background: var(--blue);
  color: #fff;
  transform: translateX(3px);
}
.ars-no-results {
  text-align: center; padding: 5rem 0;
  color: rgba(255,255,255,0.35); font-size: 0.9rem;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
  .ars-nav-links { display: none; }
  .ars-burger { display: flex; }
  .ars-contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ars-pd-hero { grid-template-columns: 1fr; }
  .ars-pd-hero-img-side { min-height: 260px; }
  .ars-pg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 767px) {
  .ars-nav { padding: 0 1.25rem; }
  .ars-about-img { height: 300px; }
  .ars-product-grid { grid-template-columns: repeat(2, 1fr); }
  .ars-pg { grid-template-columns: repeat(2, 1fr); }
  .ars-about-text { padding: 0; margin-top: 2rem; }
  .ars-pd-hero-info { padding: 2rem; }
}
@media (max-width: 480px) {
  .ars-product-grid { grid-template-columns: repeat(2, 1fr); }
  .ars-product-img-wrap { height: 220px; }
  .ars-pg { grid-template-columns: 1fr; }
  .ars-hero-btns { flex-direction: column; align-items: center; }
}
