:root {
  --color-bg: #ffffff;
  --color-text: #1f2937; /* slate-800 */
  --color-muted: #6b7280; /* slate-500 */
  --color-primary: #dc3545; /* bootstrap danger tone as brand */
  --color-primary-600: #c82333;
  --radius: 12px;
  --brand-yellow: #ffff37;
}

html {
  scroll-behavior: smooth;
}
body.site {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  padding-top: 0;
  /* Always reserve scrollbar space to prevent horizontal layout shift
     when pages with/without vertical scroll are navigated */
  overflow-y: scroll;
}
/* Sticky footer layout */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site > footer,
.site > .footer,
.site > .footer-modern {
  margin-top: auto;
}

a.card-link {
  text-decoration: none;
  color: inherit;
}

.section {
  padding: 3rem 0;
}
/* Ensure equal top/bottom breathing room for services block */
#services.section {
  padding: 4rem 0; /* symmetric spacing */
}
.section-title {
  font-weight: 700;
}
.section-subtitle {
  max-width: 720px;
  margin: 0 auto;
}

/* Hero */
.hero .carousel-item img {
  height: clamp(240px, 35vw, 520px);
  width: 100%;
  object-fit: cover;
  background-color: var(--color-bg);
}

/* Product cards */
.product-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
}
.product-card .card-img-top {
  display: block;
  width: 100%;
  height: 240px; /* unified height for all thumbnails */
  object-fit: cover;
}
.product-card .card-body {
  padding: 1rem 1rem 1.25rem;
}
.product-card .card-title {
  font-weight: 600;
  text-align: center;
}
.product-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

/* Features / CTAs */
.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: #fff;
  display: flex; /* allow button to stick to bottom */
  flex-direction: column;
}
@media (min-width: 992px) {
  .feature-card {
    min-height: 360px; /* consistent height so bottoms align nicely */
  }
}
.feature-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  font-size: 2.25rem;
  background: var(--color-primary);
}
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-primary-600);
  border-color: var(--color-primary-600);
}

/* CTA buttons inside feature cards should match icon blue and align bottom */
.feature-card .btn {
  width: 100%;
  margin-top: auto; /* push to bottom of the card */
}
.feature-card .btn-primary {
  background-color: #0d6efd; /* Bootstrap primary blue to match icons */
  border-color: #0d6efd;
}
.feature-card .btn-primary:hover {
  background-color: #0b5ed7; /* Bootstrap primary hover */
  border-color: #0b5ed7;
}

/* Footer: side borders and column separators inside links area */
.footer .footer-links .container {
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
  .footer .footer-links .row > [class*="col-"] {
    position: relative;
  }
  .footer .footer-links .row > [class*="col-"]:not(:last-child) {
    border-right: 1px solid #e5e7eb;
  }
}

/* Inertia calculator page */
.calc-page .form-card,
.calc-page .results-card,
.calc-page .list-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
}
.calc-page .form-card,
.calc-page .results-card {
  height: 100%;
}
.calc-page .form-group {
  margin-bottom: 12px;
}
.calc-page label {
  font-weight: 600;
  margin-bottom: 4px;
}
.calc-page .results-table {
  width: 100%;
}
.calc-page .results-table th {
  width: 52%;
}
.calc-page .results-table th,
.calc-page .results-table td {
  padding: 6px 8px;
  vertical-align: middle;
}
.calc-page .list-card img {
  background: #fff;
}
.calc-page .list-card {
  padding: 0;
}
.calc-page .list-card .table {
  margin-bottom: 0;
}

/* Ensure enough space above the footer on calculator page */
.calc-page {
  padding-bottom: 120px; /* prevents footer overlap, makes footer appear fixed at bottom */
}
@media (min-width: 992px) {
  .calc-page {
    padding-bottom: 140px;
  }
}

/* Footer uses global sticky layout via .site wrapper; no page-specific overrides */

/* Footer */
.footer .contact-list li {
  margin-bottom: 0.5rem;
}
.footer a:hover {
  text-decoration: underline;
}

/* Modern footer tweaks */
.footer-top h6 {
  letter-spacing: 0.5px;
}
.footer .contact-list li {
  line-height: 1.6;
}

/* Footer 2.0 - modern modular layout */
.footer-modern {
  background: #f8fafc;
  color: #6b7280;
  border-top: 1px solid #111; /* crisp divider from content above */
}
.footer-modern a {
  color: #6b7280;
  text-decoration: none;
}
.footer-modern a:hover {
  color: #000000;
  text-decoration: underline;
}
.footer-cta {
  background: var(--brand-yellow);
  color: #111;
  padding: 14px 0;
}
.footer-cta .btn-cta {
  background: #111;
  color: #fff;
  border-radius: 9999px;
  padding: 8px 14px;
}
.footer-cta .btn-cta:hover {
  filter: brightness(1.08);
}
.footer-main {
  padding: 28px 0 16px;
}
.footer-modern .logo img {
  height: 28px;
}
.footer-modern .tagline {
  color: #6b7280;
}
.footer-modern .social-links {
  gap: 12px; /* slightly more distance between icons */
}
.footer-modern h6 {
  color: #111111;
  letter-spacing: 0.4px;
}
.footer-modern .contact-list i {
  color: #000000;
}
.footer-modern .row > [class*="col-"] {
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .footer-modern .row > [class*="col-"]:not(:last-child) {
    border-right: 1px solid #e5e7eb;
  }
}
.footer-bottom {
  background: #111111;
  border-top: none;
  padding: 12px 0;
  color: #ffffff;
}
.footer-bottom .links a {
  color: #9ca3af;
  margin-left: 12px;
}
.footer-bottom .links a:hover {
  color: #ffffff;
}

/* Brand bar (yellow strip) */
.brand-bar {
  background: #ffff37;
  color: #000;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-top: 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
}
.brand-bar a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}
.brand-bar .label {
  font-weight: 800;
  letter-spacing: 0.4px;
  align-items: center;
  justify-content: center;
  display: flex;
  text-transform: uppercase;
}

/* Prominent video button on brand bar */
.brand-bar .btn-video {
  color: #000;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Brand theme overrides: Telsonic (red/charcoal) */
.theme-telsonic .brand-bar {
  background: #e30613; /* Telsonic red */
  color: #fff;
  border-bottom-color: #b90b15;
}
.theme-telsonic .brand-bar a {
  color: #ffffff;
}
.theme-telsonic .btn-explore,
.theme-telsonic .action-btn {
  background: #e30613;
  color: #ffffff;
}
.theme-telsonic .btn-explore:hover,
.theme-telsonic .action-btn:hover {
  filter: brightness(0.95);
}
.theme-telsonic .product-card:hover {
  box-shadow: 0 10px 26px rgba(227, 6, 19, 0.12);
}
/* Telsonic content: unify inner block widths and center */
.theme-telsonic .cta-section .row > [class*="col-"] {
  flex: 0 0 100% !important; /* force full row width */
  max-width: 100% !important; /* match container width */
  padding-left: 0;
  padding-right: 0; /* remove side gutters so media spans evenly */
}

/* Telsonic media: make all images/embeds span full available width */
.theme-telsonic .cta-section img,
.theme-telsonic .cta-section iframe {
  display: block;
  width: 100% !important;
  height: auto;
}

/* Brand theme overrides: Maeder (deep blue) */
.theme-maeder .brand-bar {
  background: #2d4665; /* requested Maeder tone */
  color: #ffffff;
  border-bottom-color: #223850;
}
.theme-maeder .brand-bar a {
  color: #ffffff;
}
.theme-maeder .btn-explore,
.theme-maeder .action-btn {
  background: #2d4665;
  color: #ffffff;
}
.theme-maeder .btn-explore:hover,
.theme-maeder .action-btn:hover {
  filter: brightness(0.95);
}
.theme-maeder .product-card:hover {
  box-shadow: 0 10px 26px rgba(45, 70, 101, 0.16);
}

/* Maeder tabs + brand bar link colors */
.theme-maeder .brand-bar,
.theme-maeder .brand-bar a,
.theme-maeder .brand-bar a:link,
.theme-maeder .brand-bar a:visited,
.theme-maeder .brand-bar a:hover,
.theme-maeder .brand-bar a:active,
.theme-maeder .brand-bar span,
.theme-maeder .brand-bar .nav-link,
.theme-maeder .brand-bar .breadcrumb a {
  color: #ffffff !important; /* ensure breadcrumb like 'Ana Sayfa' is white in all states */
}
.theme-maeder .tabs-top.nav-pills .nav-link,
.theme-maeder .tab-subnav.nav-pills .nav-link {
  color: #2d4665;
  border: 1px solid rgba(45, 70, 101, 0.25);
  margin-right: 12px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: #ffffff;
  padding: 10px 18px;
}
.theme-maeder .tabs-top.nav-pills .nav-item:last-child .nav-link,
.theme-maeder .tab-subnav.nav-pills .nav-item:last-child .nav-link {
  margin-right: 0;
}
.theme-maeder .tabs-top.nav-pills .nav-link.active,
.theme-maeder .tab-subnav.nav-pills .nav-link.active {
  background: #2d4665;
  color: #ffffff !important;
  border-color: #2d4665;
}
/* Default (mobile-first): keep top tabs in a single horizontal row with scroll */
.theme-maeder .tabs-top.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.theme-maeder .tabs-top.nav-pills .nav-item {
  flex: 0 0 auto;
}
/* Equal width pills on large screens */
@media (min-width: 768px) {
  .theme-maeder .tabs-top.nav-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .theme-maeder .tabs-top.nav-pills .nav-item {
    flex: 1 1 0;
  }
  .theme-maeder .tabs-top.nav-pills .nav-link {
    width: 100%;
    text-align: center;
  }
}
/* On small screens: wrap and distribute like the sub tabs (no horizontal scroll) */
@media (max-width: 767.98px) {
  .theme-maeder .tabs-top.nav-pills {
    flex-wrap: wrap;
    overflow: visible;
  }
  .theme-maeder .tabs-top.nav-pills .nav-item {
    flex: 1 1 48%;
  }
  .theme-maeder .tabs-top.nav-pills .nav-link {
    width: 100%;
    text-align: center;
  }
}
/* Hero images in lists should not push content too far down */
.product-hero img {
  max-height: 380px; /* taller hero visuals as requested */
  width: 100%;
  object-fit: contain;
}

/* Make product illustration images taller for balance across lists */
.theme-maeder .tab-content img.img-fluid {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Stretch spec tables to full container width so they end at same point as top tabs */
.theme-maeder .tab-content table,
.theme-maeder table {
  width: 100% !important;
  table-layout: auto;
}
.theme-maeder .tab-content table img {
  max-width: 100%;
  height: auto;
}

/* Make second-level tabs fill the row width evenly */
.theme-maeder .tab-subnav.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: 14px;
  margin-bottom: 14px;
}
.theme-maeder .tab-subnav.nav-pills .nav-item {
  flex: 1 1 0;
}
.theme-maeder .tab-subnav.nav-pills .nav-link {
  width: 100%;
  text-align: center;
  margin-right: 12px;
}

/* Make all content images scale to their containers for consistent start/end alignment */
.theme-maeder .section .container img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Brand theme overrides: VEP (deep navy blue) */
.theme-vep .brand-bar {
  background: #003a6e; /* VEP blue */
  color: #ffffff;
  border-bottom-color: #002a4e;
}
.theme-vep .brand-bar a {
  color: #ffffff;
}
.theme-vep .brand-bar,
.theme-vep .brand-bar a {
  text-transform: uppercase;
}
.theme-vep .btn-explore,
.theme-vep .action-btn {
  background: #003a6e;
  color: #ffffff;
}
.theme-vep .btn-explore:hover,
.theme-vep .action-btn:hover {
  filter: brightness(1.06);
}
.theme-vep .product-card .card-img-top {
  height: 180px;
  object-fit: contain;
  padding: 12px;
}

/* VEP cards: ensure full-width blue action buttons (override generic yellow) */
.theme-vep .category-card .action-btn,
.theme-vep .action-btn {
  display: block;
  width: 100%;
  background: #003a6e !important;
  color: #ffffff !important;
  border-color: #003a6e;
}
.theme-vep .category-card .action-divider {
  background: #003a6e;
}

/* Spacing between tabs using gap and prevent text overflow inside pills */
.theme-maeder .tabs-top.nav-pills,
.theme-maeder .tab-subnav.nav-pills {
  gap: 12px;
}
.theme-maeder .tabs-top.nav-pills .nav-link,
.theme-maeder .tab-subnav.nav-pills .nav-link {
  margin-right: 0; /* gap handles spacing */
  white-space: normal; /* allow wrapping */
  overflow-wrap: anywhere; /* avoid overflow on narrow screens */
}

/* Mobile: allow sub tabs to wrap into two columns for readability */
@media (max-width: 767.98px) {
  .theme-maeder .tab-subnav.nav-pills {
    flex-wrap: wrap;
  }
  .theme-maeder .tab-subnav.nav-pills .nav-item {
    flex: 1 1 48%;
  }
}

/* Top tabs should stay one line on larger screens */
.theme-maeder .tabs-top.nav-pills .nav-link {
  white-space: nowrap;
  overflow-wrap: normal;
}
@media (min-width: 992px) {
  .theme-maeder .tabs-top.nav-pills .nav-link {
    font-size: 15px;
    line-height: 1.2;
    padding: 10px 16px;
  }
}

/* Call-to-action panels (non-card design) */
.cta-section {
  background: #f8fafc;
}
.section.cta-section .container.py-4,
.section.cta-section .container.pt-4,
.section.cta-section .container.pb-4 {
  /* Neutralize bootstrap spacing utilities for top/bottom on our content wrappers */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.cta-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #111;
  border-left: 10px solid var(--brand-yellow);
  border-radius: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.cta-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}
.cta-icon {
  background: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-icon img {
  width: 102px;
  height: 102px;
  object-fit: contain;
}
.cta-content {
  flex: 1 1 auto;
}
.cta-title {
  font-weight: 800;
  margin: 0;
  text-align: center;
}

.cta-underline {
  height: 1px;
  background: #111;
  width: 100%;
  margin: 8px 0 10px;
}
.cta-link {
  background: var(--brand-yellow);
  color: #111;
  padding: 8px 12px;
  font-weight: 700;
  width: 100%;
  text-align: center;
  border-radius: 0;
  display: inline-block;
}

/* Floating video button */
.video-fab {
  position: fixed;
  right: 16px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 1100;
}
.video-fab img {
  width: 28px;
  height: 28px;
}
.video-fab:hover {
  filter: brightness(0.96);
}

/* Category cards (reuse product-card but with larger imagery) */
.category-card.product-card .card-img-top {
  height: 220px;
  object-fit: contain;
  background: #fff;
}
.category-card .card-title {
  font-weight: 700;
  text-transform: none;
  text-align: center;
}
.category-card .card-body {
  min-height: 170px; /* ensure consistent height so divider/buttons align */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.category-card .card-body .action-divider {
  margin-top: auto;
}

/* Explore button inside cards */
.btn-explore {
  margin-top: 6px;
  background: var(--brand-yellow);
  color: #111;
  padding: 8px 12px;
  border-radius: 0; /* sharp corners */
  font-weight: 600;
  width: 100%;
  display: block;
  text-align: center;
}
.product-card:hover .btn-explore {
  filter: brightness(0.96);
}

/* Action tiles (for selector and order forms) */
.action-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px 16px 20px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.action-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}
.action-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
}
.action-title {
  font-weight: 700;
  margin-top: 12px;
}
.action-divider {
  height: 1px; /* thinner line */
  width: 100%;
  background: #111; /* crisp black divider line above button */
  margin: 10px 0;
}
.action-btn {
  background: var(--brand-yellow);
  color: #111;
  padding: 10px 12px;
  border-radius: 0; /* sharp corners */
  font-weight: 700;
  display: block !important;
  width: 100% !important;
}
.action-tile:hover .action-btn {
  filter: brightness(0.96);
}

/* Ensure action button row spans full card width */
.category-card .card-body .d-flex {
  width: 100%;
}

/* Footer icons */
.footer-top .social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-top .social-links a:hover {
  filter: brightness(0.96);
}

/* Utilities */
.bg-light {
  background-color: #f8fafc !important;
}
.text-muted {
  color: var(--color-muted) !important;
}

/* Navbar tweaks */
.navbar-brand img {
  height: 28px;
}
/* Use legacy header typography and pure black background for navbar */
.navbar {
  font-family: Arial, sans-serif;
}
.navbar.bg-dark {
  background-color: #000 !important;
}
.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
}
.navbar .nav-link:hover {
  color: #ffffff;
}

/* Custom Navbar (amenu style) */
.custom-navbar {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 30px;
  position: relative;
  z-index: 1000;
  font-family: Arial, sans-serif;
  width: 100%;
  min-height: 60px;
}
.custom-navbar .logo img {
  width: 120px;
}
.custom-navbar ul {
  list-style: none;
  display: flex;
  margin: 0 0 0 120px;
}
.custom-navbar ul li {
  margin-left: 32px;
}
.custom-navbar ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.custom-navbar ul li a:hover {
  color: #888;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: all 0.3s;
}
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
}

/* Hero banner full-bleed styles */
.hero-banner {
  width: 100%;
  overflow: hidden;
}
.hero-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Media Queries */
@media (max-width: 1140px) {
  .custom-navbar .logo {
    margin-right: 0;
  }
  .custom-navbar ul {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .custom-navbar {
    flex-wrap: wrap;
    justify-content: space-between; /* logo left, burger right */
    padding: 14px 16px; /* tighter mobile padding */
  }
  .custom-navbar .logo {
    margin-right: auto;
  }
  .custom-navbar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #000;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    animation: slideDown 0.3s ease forwards;
  }
  .custom-navbar ul.active {
    display: flex;
  }
  .custom-navbar ul li {
    margin: 10px 20px;
    text-align: left;
  }
  .menu-toggle {
    display: flex;
    margin-left: auto; /* push burger to the right */
  }
  body.menu-open {
    overflow: hidden;
  }
  .menu-overlay.active {
    display: block;
  }
  @keyframes slideDown {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Top tabs: fine-tune readability and prevent overflow on medium screens */
@media (max-width: 991.98px) {
  .theme-maeder .tabs-top.nav-pills .nav-link {
    font-size: 14px;
    padding: 8px 12px;
    line-height: 1.25;
  }
}

/* Monitor tab hero image: keep proportions and reasonable height */
.theme-maeder #monitor .monitor-hero {
  width: 100%;
  height: clamp(260px, 42vw, 440px);
  object-fit: contain;
  display: block;
}

/* Maeder page: remove extra top gap from Bootstrap mt-2 on the main container */
.theme-maeder .section .container.mt-2 {
  margin-top: 0 !important;
}

/* Maeder product listing: responsive behaviors (desktop values remain inline) */
.theme-maeder .product-block .row {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px; /* consistent spacing horizontally and vertically */
}
/* Prefer side-by-side; table requests some width so it wraps only when needed */
.theme-maeder .product-block .row > .product-table {
  flex: 1 1 420px !important;
  min-width: 420px;
  max-width: 100% !important;
}
/* Keep info icon square */
.theme-maeder .product-table .info-col .icon-ok {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
@media (max-width: 991.98px) {
  /* Always stack; keep fixed square media for consistency */
  .theme-maeder .product-block .row {
    display: flex;
    flex-wrap: wrap;
  }
  .theme-maeder .product-block .row > .product-media {
    width: 280px !important;
    height: 280px !important;
    max-width: 100%;
    margin-bottom: 12px;
    margin-right: 0 !important;
    margin-left: auto !important; /* center horizontally */
    margin-right: auto !important; /* center horizontally */
  }
  .theme-maeder .product-block .row > .product-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important; /* allow table to shrink on very small screens */
  }
  /* Make columns share space and wrap text gracefully */
  .theme-maeder .product-table table {
    table-layout: fixed !important;
    width: 100% !important;
  }
  .theme-maeder .product-table th,
  .theme-maeder .product-table td {
    font-size: clamp(12px, 1.8vw, 14px);
    line-height: 1.3;
    hyphens: auto;
    word-break: break-word;
  }
  .theme-maeder .product-table th:nth-child(1),
  .theme-maeder .product-table td:nth-child(1) {
    width: 34%;
  }
  .theme-maeder .product-table th:nth-child(2),
  .theme-maeder .product-table td:nth-child(2) {
    width: 18%;
  }
  .theme-maeder .product-table th:nth-child(3),
  .theme-maeder .product-table td:nth-child(3) {
    width: 18%;
  }
  .theme-maeder .product-table th:nth-child(4),
  .theme-maeder .product-table td:nth-child(4) {
    width: 18%;
  }
  .theme-maeder .product-table th:nth-child(5),
  .theme-maeder .product-table td:nth-child(5) {
    width: 12%;
    text-align: center;
  }
  .theme-maeder .product-media {
    width: 280px !important;
    height: 280px !important;
    border-width: 1px;
  }
  .theme-maeder .product-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }
  /* Slightly larger padding on touch for readability */
  .theme-maeder .product-table th {
    padding: 6px 8px !important;
    white-space: normal !important;
  }
  .theme-maeder .product-table td {
    padding: 6px 8px !important;
    word-break: break-word;
  }
  /* Keep action icon easy to tap */
  .theme-maeder .product-table .info-col .icon-ok {
    width: 26px !important;
    height: 26px !important;
  }
}
/* Small phones: scale media and typography to avoid overflow */
@media (max-width: 575.98px) {
  .theme-maeder .product-media {
    width: 240px !important;
    height: 240px !important;
  }
  .theme-maeder .product-table th,
  .theme-maeder .product-table td {
    font-size: 13px;
  }
  .theme-maeder .product-table th {
    padding: 6px 6px !important;
  }
  .theme-maeder .product-table td {
    padding: 4px 6px !important;
  }
  .theme-maeder .product-table .info-col .icon-ok {
    width: 20px !important;
    height: 20px !important;
  }
}
@media (max-width: 380px) {
  .theme-maeder .product-media {
    width: 220px !important;
    height: 220px !important;
  }
  .theme-maeder .product-table th,
  .theme-maeder .product-table td {
    font-size: 12px;
  }
  .theme-maeder .product-table .info-col .icon-ok {
    width: 18px !important;
    height: 18px !important;
  }
}
