/* =========================
   GLOBAL
========================= */
:root{
  --red:#b3121b;
  --dark:#222;
  --light:#fff;
  --gray:#f2f2f2;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:var(--gray);
  color:#222;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  max-width:1700px;            /* ⬅ wider layout */
  margin:0 auto;
  padding:0 20px;
}
/* Make ONLY the Nosotros section use (almost) full page width */
.aboutWho .container{
  max-width: none;      /* remove the 1200px cap */
  width: 100%;
  padding-left: 40px;   /* keep a nice edge margin */
  padding-right: 40px;
}

/* Make productos page wider */
.productos .container {
  max-width: 1600px;
  padding-left: 40px;
  padding-right: 40px;
}




/* =========================
   TOP BAR
========================= */
.topbar{
  background:var(--red);
  color:#fff;
  font-size:13px;
}

.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 0;
}

.social span{
  margin-left:10px;
}

.social{
  display:flex;
  gap:10px;
}

.social a{
  width:20px;
  height:20px;
  border:1px solid rgba(255,255,255,.85);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .2s ease, transform .2s ease;
}

.social svg{
  width:12px;
  height:12px;
  fill:#fff;
}

.social a:hover{
  background:#fff;
  transform: translateY(-1px);
}

.social a:hover svg{
  fill:var(--red);
}




/* =========================
   HEADER
========================= */
header{
  background:#fff;
  border-bottom:1px solid #ddd;
}

.head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 0;              /* ⬅ taller header */
}

.brand img{
  height:100px;
}

nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:35px;
  font-size:15px;
  letter-spacing:.6px;
}

nav a{
  color:#111;
}

nav a:hover{
  color:var(--red);
}

.hamburger{
  display:none;
  background:#fff;
  border:1px solid #ddd;
  padding:10px 12px;
  cursor:pointer;
}

/* Mobile menu */
.mobileMenu{
  display:none;
  flex-direction:column;
  gap:14px;
  padding:16px 0;
  border-top:1px solid #eee;
}

.mobileMenu.open{
  display:flex;
}

/* =========================
   HERO / SLIDER
========================= */
.hero{
  position:relative;
  height:520px;                /* ⬅ BIGGER HERO */
  overflow:hidden;
}

.slideTrack{
  display:flex;
  height:100%;
  width:100%;                 /* track matches hero width */
  transition:transform .5s ease;
}

.slide{
  flex: 0 0 100%;             /* ✅ each slide is exactly 100% wide */
  height:100%;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}



/* Placeholder backgrounds */
.s1{
  background-image:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.25)),
    url("../assets/slides/slide-1.jpg");
}

.s2{
  background-image:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.25)),
    url("../assets/slides/slide-2.jpg");
}

.s3{
  background-image:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.25)),
    url("../assets/slides/slide-3.jpg");
}
/* Hero card */
.heroCard{
  position:absolute;
  left:80px;
  top:200px;
  width:480px;
  background:#fff;
  border-left:10px solid var(--red);
  box-shadow:0 16px 32px rgba(0,0,0,.28);
  z-index:2;
}

.heroText{
  padding:20px;
  font-size:14px;
  line-height:1.6;
}

.heroTag{
  background:var(--red);
  color:#fff;
  padding:12px 20px;
  font-size:13px;
  letter-spacing:.4px;
}

/* Slider arrows */
/* Slider arrows */
.arrow{
  position:absolute;
  left:80px;          /* aligns with text box */
  top:170px;          /* ⬅ ABOVE the hero text box */
  z-index:5;          /* ⬅ ensures arrows are on top */
}

.arrow span{
  background:var(--red);
  color:#fff;
  padding:11px 17px;
  cursor:pointer;
  margin-right:0px;
  font-size:17px;
}


/* Slider dots */
.dots{
  position:absolute;
  bottom:16px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:10px;
}

.dot{
  width:12px;
  height:12px;
  border-radius:50%;
  border:2px solid #fff;
  cursor:pointer;
}

.dot.active{
  background:#fff;
}

/* =========================
   SERVICES STRIP
========================= */
.servicesStrip{
  background:var(--red);
  color:#fff;
}

.services{
  display:flex;
  justify-content:space-between;
  text-align:center;
  padding:36px 0;              /* ⬅ taller strip */
}

.service{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  font-size:14px;
}

.service img{
  width:48px;
  height:48px;
}

.service span{
  line-height:1.3;
}

/* =========================
   ABOUT
========================= */
.about{
  background:var(--gray);
  padding:90px 0;              /* ⬅ BIGGER SECTION */
}

.about h2{
  color:var(--red);
  font-size:42px;
  font-weight:400;
  margin-bottom:24px;
}

.about p{
  font-size:18px;
  line-height:1.9;
  max-width:950px;
  color:#555;
  font-weight: 540;
}


/* =========================
   PRODUCTS
========================= */
.products{
  background:#fff;
  padding:90px 0;
}

.products h2{
  text-align:center;
  color:var(--red);
  font-size:38px;
  font-weight:400;
  margin-bottom:60px;
}

.prodGrid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:60px 50px;
  justify-items:center;
}

.prod{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:16px;
  font-size:13px;
  letter-spacing:.9px;
  color:#333;
}

.prod .img{
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.prod img{
  max-height:150px;
  max-width:240px;
  object-fit:contain;
  filter:drop-shadow(0 14px 22px rgba(0,0,0,.22));
}

/* =========================
   CTA / COTIZA
========================= */
.cta{
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5") center/cover;
  color:#fff;
  text-align:center;
  padding:150px 0;
}

.cta h1{
  font-size:58px;
  margin:0;
  letter-spacing:2px;
}

.cta p{
  font-size:15px;
  margin:14px 0 22px;
}

.cta a{
  background:var(--red);
  color:#fff;
  padding:14px 32px;
  font-size:14px;
  display:inline-block;
}

/* =========================
   BRANDS STRIP (below CTA)
========================= */
.brandsStrip{
  background:#fff;
  padding:60px 0;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}

.brandsRow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:60px;
  flex-wrap:wrap;
}

.brandsRow img{
  height:75px;          /* tweak 24–36 if needed */
  width:auto;
  opacity:.95;
}



@media (max-width: 600px){
  .brandsRow{ gap:24px; }
  .brandsRow img{ height:26px; }
}


/* =========================
   FOOTER
========================= */
footer{
  background:var(--red);
  color:#fff;
  padding:70px 0;
}

.footer{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  font-size:9;
}

footer p{
  line-height:1.2;
}

.footLogo{
  height:56px;
}

footer strong{
  font-size:13px;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:1000px){
  nav ul{
    display:none;
  }
  .hamburger{
    display:block;
  }
  .prodGrid{
    grid-template-columns:repeat(2,1fr);
  }
  .services{
    flex-wrap:wrap;
    gap:28px;
  }
}

@media(max-width:600px){
  .prodGrid{
    grid-template-columns:1fr;
  }
  .hero{
    height:420px;
  }
  .heroCard{
    left:14px;
    width:92%;
    top:190px;
  }
}

/* =========================
   HOVER EFFECTS (Services + Products)
========================= */
.service, .prod{
  transition: transform .18s ease, filter .18s ease;
}

.service:hover, .prod:hover{
  transform: translateY(-6px);
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.22));
}

.service img, .prod img{
  transition: transform .18s ease;
}

.service:hover img, .prod:hover img{
  transform: scale(1.04);
}

/* =========================
   SCROLL-IN ANIMATIONS
========================= */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.show{
  opacity:1;
  transform: translateY(0);
}



/* =========================
   NOSOTROS PAGE
========================= */

/* Banner image */
.aboutHero{
  height: 340px;
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    url("../assets/slides/nosotros-banner.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #e6e6e6;
}

/* White card on banner */
.aboutHero-card{
  position:absolute;
  left:70px;
  top:120px;
  width: 230px;
  background:#fff;
  box-shadow: 0 12px 22px rgba(0,0,0,.20);
}

.aboutHero-title{
  padding:14px 14px 10px;
  font-size:26px;
  letter-spacing:.5px;
  font-weight:400;
  color: var(--red);
}

.aboutHero-sub{
  background: var(--red);
  color:#fff;
  padding:10px 14px;
  font-size:12px;
}

/* Quiénes somos */
.aboutWho{
  background:#fff;
  padding:110px 0 120px;
}

.aboutWho-title{
  text-align:center;
  color: var(--red);
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 40px;
  margin-bottom:60px;
  letter-spacing: .8px;
}


.aboutWho-cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;              /* ⬅ smaller internal gap */
  margin: 0 auto 90px;
  max-width: 96vw;        /* ⬅ MUCH closer to page edges */
  padding: 0 40px;        /* ⬅ soft edge padding */
}


.aboutWho-cols p{
  margin:0;
  font-size:19px;
  font-weight: 600;
  line-height:2.05;           /* ⬅ very readable at wide widths */
  color:#444;
}

/* 4 pillars */
.aboutPillars{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;             /* ⬅ MUCH tighter */
  align-items:start;
  padding: 10px 40px 0;  /* ⬅ aligns with text above */
}


.pillar{
  text-align:center;
}

.pillar-icon{
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  color: rgba(179,18,27,.65); /* soft red like screenshot */
}

.pillar-icon svg{
  width:100%;
  height:100%;
  fill: currentColor;
}

.pillar h3{
  margin: 0 0 10px;
  font-size: 30px;
  color:#333;
}

.pillar p{
  margin: 0;
  font-size: 22px;
  line-height:1.75;
  color:#555;
}

.pillar ul{
  list-style:none;
  padding:0;
  margin:0;
  font-size:22px;
  line-height:1.75;
  color:#555;
}

.pillar li{ margin: 2px 0; }

/* Responsive */
@media (max-width: 1000px){
  .aboutPillars{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px){
  .aboutHero-card{ left:18px; width: 220px; }
  .aboutPillars{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .aboutWho-cols,
  .aboutPillars{
    max-width: 100%;
    padding: 0 18px;
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* =========================
   SERVICIOS PAGE
========================= */

.svcHero{
  height: 320px;                 /* ensures it shows */
  width: 100%;
  position: relative;
  background-color: #222;        /* fallback so it never looks blank */
  background-image:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    url("../assets/banners/servicios-hero.jpg");
  background-size: cover;
  background-position: center 85%;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e6e6e6;
}

.svcHero-card{
  position:absolute;
  left:70px;
  top:120px;
  width: 220px;
  background:#fff;
  box-shadow: 0 12px 22px rgba(0,0,0,.20);
}

.svcHero-title{
  padding:14px 14px 10px;
  font-size:26px;
  letter-spacing:.6px;
  font-weight:400;
  color: var(--red);
}

.svcHero-sub{
  background: var(--red);
  color:#fff;
  padding:10px 14px;
  font-size:12px;
}

.svcSection{
  background:#fff;
  padding: 70px 0 90px;
}

.svcWrap{
  width: 86vw;          /* almost full page */
  max-width: none;      /* remove hard cap */
  margin: 0 auto;
  padding: 0 40px;      /* soft edge spacing */
}


.svcGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 90px;
  align-items:start;
}

.svcItem{
  display:grid;
  grid-template-columns: 72px 1fr;  /* ⬅ match icon width */
  gap: 20px;
  align-items:start;
}


.svcIcon{
  width: 72px;        /* ⬅ bigger container */
  height: 72px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.svcIcon img{
  width: 64px;        /* ⬅ bigger icon */
  height: 64px;
  object-fit: contain;
}


.svcLabel{
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.svcBody p{
  margin:0;
  font-size:17px;
  line-height:1.8;
  color:#444;
  max-width: 520px;
}

@media (max-width: 900px){
  .svcGrid{
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .svcHero-card{
    left:18px;
  }
}


/* =========================
   MARCAS PAGE
========================= */

.brandsHero{
  height: 320px;
  position: relative;
  width: 100%;
  background-color:#222; /* fallback */
  background-image:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
    url("../assets/banners/marcas-hero.jpg");
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e6e6e6;
}

/* Left card like the site */
.brandsHero-card{
  position:absolute;
  left:70px;
  top:120px;
  width: 260px;
  background:#fff;
  box-shadow: 0 12px 22px rgba(0,0,0,.20);
}

.brandsHero-title{
  padding:14px 14px 10px;
  font-size:22px;
  letter-spacing:.6px;
  font-weight:400;
  color: var(--red);
  text-transform: uppercase;
  white-space: nowrap;
}

.brandsHero-sub{
  background: var(--red);
  color:#fff;
  padding:10px 14px;
  font-size:12px;
}

/* Main logos area */
.brandsSection{
  padding: 90px 0 110px;
  background:#fff;
}

.brandsWrap{
  max-width: 1400px;     /* wide like the screenshot */
  margin: 0 auto;
}

.brandsGrid{
  display:grid;
  grid-template-columns: repeat(7, 1fr); /* ✅ 7 columns */
  row-gap: 90px;
  column-gap: 110px;
  align-items:center;
  grid-auto-rows: minmax(220px, auto);
  justify-items:center;
}

.brandsGrid img{
  max-height: 120px;      /* keep a sensible base */
  width: auto;
  object-fit: contain;
  transform: scale(1.6);  /* ✅ scales the logo visually */
  transform-origin: center;
}


/* Cisco sits alone on the left (like screenshot) */
.brandSolo{
  justify-self: start;     /* left align inside its cell */
}

.brandEmpty{
  width: 1px;
  height: 1px;
  visibility: hidden;      /* takes space but not visible */
}


/* Responsive */
@media (max-width: 1100px){
  .brandsGrid{
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 70px;
  }
  .brandSolo{
    grid-column: 1 / span 1;
  }
}

@media (max-width: 800px){
  .brandsWrap{ padding: 0 18px; width: 100%; }
  .brandsGrid{
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 35px;
  }
  .brandsHero-card{ left:18px; width: 240px; }
}

@media (max-width: 520px){
  .brandsGrid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .brandSolo{ justify-self: center; }
}

@media (max-width: 1200px){
  .brandsGrid{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px){
  .brandsGrid{
    grid-template-columns: repeat(2, 1fr);
  }

  .brandsGrid img{
    max-height: 80px;
  }
}



/* CONTACTOS HERO */
.page-hero {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.contactos-hero {
  background-image: url("../assets/banners/contacto-hero.jpg"); /* use your hero image */
  background-size: cover;
  background-repeat: no-repeat;

  /* Shows LOWER part of image more */
  background-position: center 65%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-badge {
  background: #fff;
  display: inline-block;
  border-left: 10px solid #b5161b; /* your red */
}

.hero-badge-title {
  padding: 10px 16px 6px 16px;
  font-size: 24px;
  color: #b5161b;
  letter-spacing: 0.5px;
}

.hero-badge-sub {
  padding: 6px 16px 10px 16px;
  background: #b5161b;
  color: #fff;
  font-size: 13px;
}

/* CONTACT SECTION */
.contact-section {
  background: #fff;
  padding: 55px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-title {
  color: #b5161b;
  font-size: 21px;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
  font-weight: 700;
}

.contact-info p {
  margin: 10px 0;
  color: #333;
  font-size: 17px;
  line-height: 1.6;
}

.btn-submit {
  margin-top: 12px;
  padding: 8px 22px;
  border: 1px solid #8b8b8b;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  border-radius: 2px;
}

/* MAP */
.map-wrap {
  width: 100%;
  height: 320px;
}

.map {
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    height: 260px;
  }
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* HERO image for productos */
.productos-hero{
  background-image: url("../assets/banners/productos-hero.jpg"); /* your screenshot banner */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 80%;
}

/* PRODUCTOS PAGE */
.productos{
  padding: 38px 0 60px;
  background: #fff;
}

.productos-title{
  text-align: center;
  font-size: 38px;
  color: #b5161b;
  font-weight: 500;
  margin: 10px 0 12px;
}

.productos-lead{
  text-align: center;
  max-width: 980px;
  margin: 0 auto 14px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

/* GRID */
.product-grid{
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 52px; /* row / column spacing */
  align-items: start;
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* IMAGE CONTAINER */
.product-img {
  width: 200px;        /* controls size */
  height: 140px;       /* FIXED height prevents overlap */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;    /* CRITICAL */
  margin-bottom: 12px;
}

/* IMAGE ITSELF */
.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* never crop, never overflow */
}

/* LABEL */
.product-name {
  font-size: 11px;
  letter-spacing: 0.3px;
  text-align: center;
  line-height: 1.4;
  max-width: 220px;
  min-height: 32px;    /* keeps rows aligned */
}


.product-card:hover .product-img img{
  transform: scale(1.12);
}

.product-name{
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-align: center;
  color: #333;
}

/* Responsive */
@media (max-width: 1050px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .product-img{ width: 160px; height: 110px; }
}

@media (max-width: 430px){
  .product-grid{ grid-template-columns: 1fr; }
  .product-img{ width: 190px; height: 130px; }
}

.product-page {
  max-width: 900px;
  margin: 0 auto;
}

.product-meta {
  opacity: 0.7;
  margin-bottom: 14px;
}

.product-short {
  font-weight: 500;
  margin-bottom: 12px;
}

.product-description {
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-back {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 500;
}


/* ===== Category listing grid (categoria.html) ===== */
.products-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
  align-items: stretch;
}

.products-grid .product-card{
  display: block;
  text-align: left;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.products-grid .product-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.products-grid .product-img{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
}

.products-grid .product-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;          /* optional: gives breathing room */
  background: #fff;       /* optional: makes logos look cleaner */
}

.products-grid .product-name{
  font-weight: 700;
  padding: 12px 14px 4px;
}

.products-grid .product-meta{
  padding: 0 14px 6px;
  opacity: .75;
  font-size: 14px;
}

.products-grid .product-short{
  padding: 0 14px 14px;
  font-size: 14px;
  line-height: 1.35;
  opacity: .9;
}

/* Responsive */
@media (max-width: 1100px){
  .products-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px){
  .products-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .products-grid{ grid-template-columns: 1fr; }
}


/* ===== Product detail page ===== */
.product-breadcrumb{
  font-size: 14px;
  opacity: .8;
  margin: 18px 0 16px;
}
.product-breadcrumb a{ text-decoration:none; }

.product-detail-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.product-gallery{
  display: grid;
  gap: 12px;
}
.product-gallery img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 14px;
  object-fit: contain; /* no cropping */
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 10px;
}

.product-placeholder{
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.product-meta{ opacity:.75; margin: 8px 0 12px; }
.product-short{ margin-bottom: 16px; }

.product-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.product-sections{
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.product-box{
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.specs-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.specs-table th, .specs-table td{
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.specs-table th{
  width: 35%;
  opacity: .85;
}

@media (max-width: 900px){
  .product-detail-grid{ grid-template-columns: 1fr; }
}


.category-bar{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 14px;
  margin: 10px 0 16px;
  flex-wrap: wrap;
}

.category-count{
  opacity: .75;
  font-size: 14px;
}

.category-search input{
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  min-width: 260px;
}

.category-sort{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 14px;
  opacity: .9;
}

.category-sort select{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.15);
}

.product-gallery .gallery-main img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

.product-gallery .gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-gallery .thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

/* CATEGORY CARD TITLE SIZE */
.products-grid .product-name {
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
  text-align: left;
}

.product-inquiry-box {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #f8f9fb;
}

.product-inquiry-box h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.product-inquiry-box textarea {
  width: 100%;
  min-height: 220px;
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
  box-sizing: border-box;
}