:root{
  --bg:#fbfaf8;
  --paper:#ffffff;
  --ink:#1f1f1f;
  --muted:#6b6b6b;
  --line:#e7e2da;
  --soft:#f4f1ec;
  --accent:#2c2c2c;

  --max:1200px;
  --radius:18px;
  --shadow: 0 8px 20px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  background:var(--bg);
  line-height:1.35;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%;display:block}

.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}

.pill{
  display:inline-flex;gap:8px;align-items:center;
  padding:10px 14px;
  border-radius:999px;background:var(--paper);
  font-size:14px;color:var(--muted);
}
/* HERO IMAGE */
.heroImage {
  position: relative;
  height: 75vh;
  min-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 26px 0;
  box-shadow: var(--shadow);
}

.heroImage img{
  position: absolute;   /* key: removes any layout/baseline/flow issues */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}


/* Dark overlay for readable text */
.heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.6) 100%
  );
  display: flex;
  align-items: flex-end;
}

.heroContent {
  color: #fff;
  padding: 40px;
  max-width: 600px;
}

.heroContent h2 {
  font-size: 42px;
  line-height: 1.05;
  margin: 0;
}

.heroContent p {
  margin: 14px 0 0;
  font-size: 16px;
  opacity: 0.95;
}

.heroButtons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 600px) {
  .heroImage {
    height: 60vh;
  }

  .heroContent {
    padding: 24px;
  }

  .heroContent h2 {
    font-size: 30px;
  }
}

.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

@media (max-width: 980px) {
  /* From Uiverse.io by NAKAMOZ */ 
  /* Hide the default checkbox */
  .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  .container {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
  }

  .checkmark {
    position: relative;
    top: 0;
    left: 0;
    height: 1.3em;
    width: 1.3em;
  }

  .checkmark span {
    width: 32px;
    height: 2px;
    background-color: rgb(0, 0, 0);
    position: absolute;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
  }

  .checkmark span:nth-child(1) {
    top: 10%;
  }

  .checkmark span:nth-child(2) {
    top: 50%;
  }

  .checkmark span:nth-child(3) {
    top: 90%;
  }

  .container input:checked + .checkmark span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
    -moz-transform: translateY(-50%) rotate(45deg);
    -ms-transform: translateY(-50%) rotate(45deg);
    -o-transform: translateY(-50%) rotate(45deg);
  }

  .container input:checked + .checkmark span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
    -moz-transform: translateY(-50%) rotate(-45deg);
    -ms-transform: translateY(-50%) rotate(-45deg);
    -o-transform: translateY(-50%) rotate(-45deg);
  }

  .container input:checked + .checkmark span:nth-child(3) {
    transform: translateX(-50px);
    -webkit-transform: translateX(-50px);
    -moz-transform: translateX(-50px);
    -ms-transform: translateX(-50px);
    -o-transform: translateX(-50px);
    opacity: 0;
  }
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:999px;border:1px solid var(--accent);
  background:var(--accent);color:#fff;font-weight:600;font-size:14px;
  cursor:pointer;
}

.bttn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:999px;border:1px solid var(--accent);
  background:var(--accent);color:#fff;font-weight:600;font-size:14px;
  cursor:pointer;
}

.btn.alt{background:transparent;color: #ffffff}
.bttn.alt{background: transparent; color: #212121;}
.btn:active{transform:translateY(1px)}

.sep{height:1px;background:var(--line);margin:26px 0}

/* Header */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(251, 250, 248, 0.623);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;gap:14px;
}
.brand{
  display:flex;align-items:center;gap:12px;min-width:220px;
}

.logo{
  width:42px;height:42px;
  display:grid;place-items:center;
  overflow:hidden;
}
.logo img{width:100%;height:100%;object-fit:cover}

.brand h1{font-size:15px;margin:0;letter-spacing:.12em;text-transform:uppercase}
.brand span{display:block;font-size:12px;color:var(--muted);margin-top:2px}

nav{display:flex;gap:18px;align-items:center}
nav a{
  font-size:13px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;
  padding:10px 6px;border-radius:12px;
}
nav a:hover{background:var(--soft);color:var(--ink)}

.navRight{display:flex;gap:10px;align-items:center}

/* show on mobile */

/* Mobile menu */
.mobileMenu{display:none;border-top:1px solid var(--line);background:var(--paper)}
.mobileMenu .wrap{padding:12px 20px 18px}
.mobileMenu a{
  display:block;padding:12px 10px;border-radius:12px;color:var(--muted);
  text-transform:uppercase;letter-spacing:.08em;font-size:13px
}
.mobileMenu a:hover{background:var(--soft);color:var(--ink)}

/* Hide the checkbox but keep it accessible */
.navToggle{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Mobile behavior */
@media (max-width: 980px){
  /* show burger on mobile */
  /* .burger{ display:block; } */

  /* mobile menu is hidden by default */
  .mobileMenu{ display:none; }

  /* when checkbox is checked, show the menu */
  #navToggle:checked ~ .mobileMenu{
    display:block;
  }
  .container{ display: inline-block; }
}


/* Hero */
.hero{padding:26px 0 10px}

.heroTop{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:18px;flex-wrap:wrap;padding:10px 0 18px;
}
.heroTop h2{
  margin:0;font-size:40px;line-height:1.05;
  letter-spacing:-.02em;
}
.heroTop p{margin:8px 0 0;color:var(--muted);max-width:52ch}

.heroCtas{display:flex;gap:10px;flex-wrap:wrap}

.grid{
  display:grid;gap:16px;
  grid-template-columns: 1.35fr .9fr .9fr;
  grid-auto-rows: 220px;
}
.tile{
  position:relative;border-radius:var(--radius);overflow:hidden;
  background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);
}
.tile img{width:100%;height:100%;object-fit:cover}
.tile::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.00) 35%, rgba(0,0,0,.55) 100%);
  pointer-events:none;
}
.tile .cap{
  position:absolute;left:16px;right:16px;bottom:14px;
  z-index:2;color:#fff;
}
.cap .kicker{
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.9
}
.cap .title{margin:8px 0 0;font-size:18px;font-weight:700;line-height:1.15}
.cap .sub{margin:8px 0 0;font-size:13px;opacity:.9}

.tile.big{grid-row: span 2; grid-column: 1}
.tile.tall{grid-row: span 2}

/* Sections */
section{padding:26px 0}

.sectionHead{
  display:flex;align-items:end;justify-content:space-between;
  gap:16px;flex-wrap:wrap;margin-bottom:14px;
}
.sectionHead h3{margin:0;font-size:22px;letter-spacing:-.01em}
.sectionHead a{color:var(--muted);font-size:13px;letter-spacing:.08em;text-transform:uppercase}

.cards{
  display:grid;gap:16px;
  grid-template-columns: repeat(3, 1fr);
}

.card{
  background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
  display:flex;flex-direction:column;min-height:320px;
}

.card .thumb{height:180px;background:var(--soft)}
.card .thumb img{height:100%;width:100%;object-fit:cover}

.card .body{padding:14px 14px 16px}
.meta{color:var(--muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.card h4{margin:10px 0 0;font-size:16px;line-height:1.2}
.card p{margin:10px 0 0;color:var(--muted);font-size:14px}
.card .foot{margin-top:auto;padding:0 14px 14px}
.card .foot a{display:inline-flex;gap:8px;align-items:center;color:var(--ink);font-weight:600}

/* Service band */
.band{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  box-shadow:var(--shadow);
  padding:18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:center;
}

.band h3{margin:0;font-size:22px}
.band p{margin:10px 0 0;color:var(--muted);max-width:60ch}

.actions{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap;}

.miniGrid{
  display:grid;gap:10px;
  grid-template-columns:1fr 1fr;
}

.mini{
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--soft);
  padding:12px;
}

.mini .t{font-weight:700}
.mini .s{color:var(--muted);font-size:13px;margin-top:6px}

/* Gallery */
.gallery{
  display:grid;gap:12px;
  grid-template-columns: repeat(12, 1fr);
}
/* Gallery tweaks */
.cards.gallery .card {
  padding: 0;
}

.cards.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g{
  border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:var(--paper);
  min-height:140px;
}
.g img{width:100%;height:100%;object-fit:cover}

.g.a{grid-column: span 5; min-height:260px}
.g.b{grid-column: span 4}
.g.c{grid-column: span 3}
.g.d{grid-column: span 6; min-height:220px}
.g.e{grid-column: span 6; min-height:220px}

.aboutTile{height:260px}

/* Contact form */
.form{background:var(--paper)}
.formTitle{margin-bottom:10px}
.form label{
  display:block;font-size:13px;color:var(--muted);
  margin:10px 0 6px;
}
.form input,
.form select,
.form textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font:inherit;
}
.form button{width:100%;margin-top:12px}
.formNote{margin-top:10px;color:var(--muted);font-size:13px}

.contactMeta{margin-top:14px;color:var(--muted);font-size:14px}

/* Footer */
footer{
  margin-top:20px;
  border-top:1px solid var(--line);
  background:var(--paper);
}
.footerGrid{
  display:grid;gap:18px;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  padding:26px 0;
}
.footerGrid h5{
  margin:0 0 10px;
  font-size:13px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted)
}
.footerGrid a{display:block;padding:7px 0;color:var(--ink)}
.footerGrid p{margin:0;color:var(--muted);max-width:44ch}

.footerPills{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap;}

.footerForm{
  display:flex; gap:10px; margin-top:12px; flex-wrap:wrap;
}
.footerForm input{
  flex:1; min-width:180px;
  padding:12px;
  border-radius:999px;
  border:1px solid var(--line);
}

.copy{
  border-top:1px solid var(--line);
  padding:14px 0;color:var(--muted);font-size:13px;
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
}
.social{display:flex;gap:14px;flex-wrap:wrap}
.social a{color:var(--muted)}

/* Responsive */
@media (max-width: 980px){
  nav{display:none}
  /* .burger{display:inline-block} */
  .grid{grid-template-columns: 1fr 1fr; grid-auto-rows: 210px}
  .tile.big{grid-column: 1 / -1; grid-row: span 1}
  .tile.tall{grid-row: span 1}
  .cards{grid-template-columns: 1fr 1fr}
  .band{grid-template-columns:1fr}
  .footerGrid{grid-template-columns: 1fr 1fr}
  .g.a{grid-column: span 12}
  .g.b{grid-column: span 6}
  .g.c{grid-column: span 6}
  .g.d,.g.e{grid-column: span 12}
}

@media (max-width: 560px){
  .heroTop h2{ font-size:32px; }

  .grid{ grid-template-columns: 1fr; }

  /* keep normal cards stacked EXCEPT swipe sections */
  .cards{ grid-template-columns: 1fr; }

  /* allow horizontal swipe for Products + Gallery */
  #products .cards,
  #gallery .cards{
    grid-template-columns: unset;
  }

  .footerGrid{ grid-template-columns: 1fr; }
  .navRight .butn{
    width: 65px;
    height: 32px;
  }

  .navRight .butn span{
    font-size: 11px;
  }

}



/* =========================
   FIX: GALLERY CARD LAYOUT
   (sharp, no weird stretching)
   ========================= */

/* Only affect the Gallery section that uses: <div class="cards gallery"> */
#gallery .cards.gallery {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

/* Remove the tall card behaviour just for gallery */
#gallery .cards.gallery .card {
  min-height: 0;     /* overrides .card { min-height:320px } */
}

/* Make each tile match your photo ratio (3024x4032 = 3/4) */
#gallery .cards.gallery .thumb {
  height: 250px;               /* override the 180px */
  aspect-ratio: 1 / 1;        /* key */
  background: var(--soft);
}

/* Fill the tile cleanly */
#gallery .cards.gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* minimal crop because ratio matches */
  display: block;
}
/* =========================
   GALLERY – image + text card
   ========================= */


/* Remove project-card constraints */
#gallery .card {
  min-height: auto;
  display: flex;
  flex-direction: column;
}

/* Image area */
#gallery .thumb {
  aspect-ratio: 1 / 1;   /* square */
  background: var(--soft);
}


#gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text / white space area */
#gallery .card .body {
  padding: 14px 16px 18px;
  background: var(--paper);
}

#gallery .card .body h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

#gallery .card .body p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Mobile swipe carousels for Products + Our Work */
@media (max-width: 560px){

  /* Turn the card grids into horizontal scroll rows */
  #products .cards,
  #gallery .cards{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;


    padding: 4px calc((100vw - 85%) / 2) 12px;
    margin: 0;

  }

  /* Each card becomes a snap point */
  #products .card,
  #gallery .card{
    scroll-snap-align: start;
  }

  /* Optional: hide scrollbar but keep swipe */
  #products .cards::-webkit-scrollbar,
  #gallery .cards::-webkit-scrollbar{
    display: none;
  }
  #products .cards,
  #gallery .cards{
    scrollbar-width: none; /* Firefox */
  }
  
}
/* From Uiverse.io by mobinkakei */ 
.butn {
  width: 100px;
  height: 40px;
  background: linear-gradient(to top, #ffffff, #ffffff, #ffffff);
  color: #000000;
  border-radius: 50px;
  border: none;
  outline: 0.5px solid var(--accent);
  cursor: pointer;
  position: relative;

  overflow: hidden;
}

.butn span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: top 0.5s;
}

.butn-text-one {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.butn-text-two {
  position: absolute;
  width: 100%;
  top: 150%;
  left: 0;
  transform: translateY(-50%);
}

.butn:hover .butn-text-one {
  top: -100%;
}

.butn:hover .butn-text-two {
  top: 50%;
}

@media (min-width: 981px){
  .navRight{
    margin-left: 210px;
  }
}

@media (max-width: 560px){

  /* Full-bleed swipe carousels */
  #products .cards,
  #gallery .cards{
    margin-left: 0px;
    margin-right: -20px;

    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Contact dropdown */
.navContact{
  position: relative;
}

.navContact label{
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 6px;
  cursor: pointer;
  border-radius: 12px;
}

.navContact label:hover{
  background: var(--soft);
  color: var(--ink);
}

/* hide checkbox */
#contactToggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* dropdown panel */
.contactDropdown{
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 8px;

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100;
}

.contactDropdown a{
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink);
  border-radius: 10px;
}

.contactDropdown a:hover{
  background: var(--soft);
}

/* show dropdown on desktop hover */
.navContact:hover .contactDropdown{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}


/* show dropdown on mobile tap */
#contactToggle:checked + label + .contactDropdown{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

/* Mobile dropdown (Contact) */
.mobileDropdown{
  border-radius: 12px;
}

.mobileDropToggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mobileDropLabel{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  cursor: pointer;
}

.mobileDropLabel:hover{
  background: var(--soft);
  color: var(--ink);
}

/* little chevron */
.mobileDropLabel .chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-left: 10px;
}

/* panel hidden by default */
.mobileDropPanel{
  display: none;
  padding: 6px 6px 10px;
}

.mobileDropPanel a{
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.mobileDropPanel a:hover{
  background: var(--soft);
  color: var(--ink);
}

/* open state */
.mobileDropToggle:checked + .mobileDropLabel + .mobileDropPanel{
  display: block;
}

.mobileDropToggle:checked + .mobileDropLabel .chev{
  transform: rotate(-135deg); /* points up */
}

.gallery-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overscroll-behavior: contain;
    touch-action: pan-y;
}
body.popup-open,
html.popup-open {
    overflow: hidden;
}

.gallery-popup-content {
    text-align: center;
    max-width: 90%;
    max-height: 90%;
    touch-action: none;
}

.gallery-popup-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    display: block;
    margin: 0 auto 14px;
    touch-action: none;
    transform-origin:center;
    transition:transform 0.15s ease;
}
.gallery-popup.active {
    display: flex;
}

.gallery-popup-content h4 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
    line-height: 1;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 34px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
}

.gallery-arrow.left {
    left: 20px;
}

.gallery-arrow.right {
    right: 20px;
}

.gallery-arrow:hover,
.gallery-close:hover {
    opacity: 0.85;
}
.popup-image-wrap img{
    max-width: 100%;
    max-height: 75vh;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    transform-origin: center center;
    transition: transform 0.08s ease;
    user-select: none;
    -webkit-user-drag: none;
    cursor: grab;
    will-change: transform;
}
.popup-image-wrap.dragging img{
    transition: none;
}
.popup-image-wrap img{
    max-width: 100%;
    max-height: 75vh;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    transform-origin: center center;
    transition: transform 0.15s ease;
    user-select: none;
    -webkit-user-drag: none;
    cursor: grab;
}
.popup-image-wrap.dragging,
.popup-image-wrap.dragging img{
    cursor: grabbing;
}
.hero-trust {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #ffffff;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .guarantee {
  font-weight: 600;
  color: #ffffff;
}
@media (max-width: 560px) {
  .hero-trust span:not(.guarantee) {
    display: none;
  }

  .hero-trust {
    display: block;
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
    margin-top: -2px;
  }

  .hero-trust .guarantee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}
#gallery .card {
  cursor: pointer;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

/* Floating WhatsApp button */

.whatsapp-float{
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 56px;
  height: 56px;

  background: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;

  box-shadow: 0 10px 20px rgba(0,0,0,.15);
  z-index: 10000;

  overflow: hidden;

  padding: 0 16px;
  gap: 10px;

  transition: width .25s ease, border-radius .25s ease;
}

/* WhatsApp icon */
.whatsapp-float img{
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* Hidden text */
.wa-text{
  white-space: nowrap;
  color: white;
  font-weight: 600;
  font-size: 14px;

  opacity: 0;
  transform: translateX(-10px);
  transition: all .2s ease;
}

/* Only allow hover on devices that support hover (desktop) */
@media (hover: hover) and (pointer: fine){

  .whatsapp-float:hover{
    width: 170px;
    border-radius: 40px;
  }

  .whatsapp-float:hover .wa-text{
    opacity: 1;
    transform: translateX(0);
  }

}

/* Mobile → icon only */
@media (max-width: 768px){

  .whatsapp-float{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }

  .wa-text{
    display: none;
  }

}


/* Product page gallery: 4 images per row */

.product-gallery{
  grid-template-columns: repeat(4, 1fr);
}

.product-gallery .card{
  min-height: auto;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-gallery .card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px){

  .product-gallery{
    grid-template-columns: repeat(2, 1fr);
  }

}


.product-gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-gallery .card{
  min-height: auto;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-gallery .card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px){
  .product-gallery{
    grid-template-columns: unset;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 20px 12px;
    gap: 14px;
    scrollbar-width: none;
  }

  .product-gallery::-webkit-scrollbar{
    display: none;
  }

  .product-gallery .card{
    scroll-snap-align: start;
    aspect-ratio: 1 / 1;
  }
}

.product-info-box{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 18px;
}

.product-details{
  display: grid;
  gap: 28px;
}





.product-info-box{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 18px;
}

.product-info-box p{
  margin: 0 0 16px;
}

.product-info-box p:last-child{
  margin-bottom: 0;
}

.seo-text{
  position:absolute;
  left:-9999px;
}