:root{
  --color-dark-blue:#1E3A5F;
  --color-blue:#2F80ED;
  --color-gold:#D4AF37;
  --color-orange:#F97316;
  --color-white:#FFFFFF;
  --color-dark-text:#333333;
  --color-light-gray:#F5F5F5;
}
/* Prevent unwanted horizontal scrolling from full-bleed elements */
html,body{overflow-x:hidden}
/* Use border-box everywhere to make sizing predictable */
*,*::before,*::after{box-sizing:border-box}
img{max-width:100%;height:auto;display:block}
body{color:var(--color-dark-text);background:var(--color-light-gray);min-height:100vh}
.site-nav{background:var(--color-white);box-shadow:0 1px 8px rgba(0,0,0,0.06);border-bottom:1px solid #eee;padding:0.35rem 0}
.site-nav .navbar-brand{font-weight:700;color:var(--color-dark-blue);font-size:1.05rem}
/* Keep logo large but prevent it from increasing navbar height by absolutely positioning it */
.navbar .container{position:relative}
.navbar-brand{position:relative;height:96px;display:flex;align-items:center;padding:0;gap:.6rem}
.navbar-brand .logo-img{position:static;width:auto;height:140px;max-height:140px;max-width:480px;object-fit:contain;z-index:20;margin-right:.6rem;display:block;transform:none}
.site-nav{background:var(--color-white);box-shadow:0 1px 8px rgba(0,0,0,0.06);border-bottom:1px solid #eee;padding:0.15rem 0;min-height:120px}
.site-nav .nav-link{color:var(--color-dark-blue);padding:.5rem 0.9rem;margin:0 .15rem}
.site-nav .nav-link:hover{color:var(--color-blue);text-decoration:none}
.site-nav .nav-link{position:relative;transition:color .18s ease,opacity .18s ease}
.site-nav .nav-link::after{content:'';position:absolute;left:0;bottom:-6px;height:3px;width:0;background:var(--color-orange);transition:width .22s cubic-bezier(.2,.8,.2,1),opacity .18s ease;opacity:0;border-radius:3px}
.site-nav .nav-link:hover::after,.site-nav .nav-link:focus::after{width:100%;opacity:1}
.site-nav .nav-link:focus{outline:3px solid rgba(47,128,237,0.12);outline-offset:4px}
.site-nav .nav-link.active,.site-nav .nav-link[aria-current="page"]{color:var(--color-orange);font-weight:800}
.site-nav .nav-link.active::after,.site-nav .nav-link[aria-current="page"]::after{width:100%;opacity:1}
.site-nav .nav-link:focus-visible::after{width:100%;opacity:1}
.site-nav .navbar-toggler{border-color:rgba(0,0,0,0.06)}

/* CTA button */
.btn-orange{background:var(--color-orange);border-color:var(--color-orange);color:var(--color-white)}
.btn-orange:hover{background:#d76611;border-color:#d76611}
.btn-outline-success{border-color:transparent;background:transparent;color:#25D366}

/* Logo */
.navbar-brand img{height:auto;max-height:140px;width:auto;max-width:480px;display:block}

/* Nav spacing on large screens */
@media(min-width:992px){
  .navbar-nav .nav-item{margin-left:8px}
}
@media(min-width:992px){
  /* prevent nav items from wrapping on wide screens */
  .navbar-nav{flex-wrap:nowrap}
  .site-nav .nav-link{white-space:nowrap}
}
/* Prevent navbar CTA buttons wrapping into a second row on narrower desktop widths */
.site-nav .navbar-collapse > .d-none.d-lg-flex{flex-wrap:nowrap}
.site-nav .navbar-collapse .btn{white-space:nowrap}
/* Responsive: scale logo on small screens */
@media(max-width:991px){
  /* mobile/tablet: slightly reduced logo to fit */
  .navbar-brand{height:100px}
  .navbar-brand .logo-img{height:100px;max-height:100px;width:auto;max-width:320px;transform:none}
  .site-nav{min-height:100px;padding:0.35rem 0}
}

/* Hero styles */
.hero{background-size:100% auto;background-repeat:no-repeat;background-position:top center;border-bottom-left-radius:0;border-bottom-right-radius:0;position:relative;background-attachment:scroll;overflow:hidden;height:420px}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);z-index:1}
/* Ensure full-bleed across viewport without causing horizontal scroll */
.hero{left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw}
.hero-inner{position:relative;z-index:2;max-width:1200px;margin:0 auto;display:flex;align-items:center;height:100%}
.hero-inner{position:relative;z-index:2;max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:center;height:100%;padding:0 1rem}
.hero-copy{color:var(--color-white);max-width:760px}
.hero-copy{color:var(--color-white);max-width:760px;text-align:center;background:rgba(0,0,0,0.18);padding:1.25rem;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,0.3)}
.hero-copy .lead{color:rgba(255,255,255,0.95);text-shadow:0 2px 6px rgba(0,0,0,0.6)}

/* Highlight for subtitle */
.hero-highlight{background:linear-gradient(90deg, rgba(249,115,22,0.18), rgba(47,128,237,0.08));color:var(--color-white);padding:0.45rem 0.9rem;border-radius:6px;font-weight:600;display:inline-block}
.hero-highlight::selection{background:rgba(255,255,255,0.12)}

/* Title highlight */
.hero-title-highlight{display:inline-block;padding:0.35rem 0.8rem;border-radius:6px;background:linear-gradient(90deg, rgba(47,128,237,0.12), rgba(30,58,95,0.12));color:var(--color-white);font-weight:700;box-shadow:0 6px 18px rgba(14,30,60,0.25)}
.hero-title-highlight{border-left:4px solid var(--color-orange)}
.hero-title-highlight::selection{background:rgba(255,255,255,0.15)}
.hero .display-4{font-weight:700}
.hero-search .form-select,.hero-search .form-control{background:rgba(255,255,255,0.95)}
.hero-search .btn{background:var(--color-dark-blue);color:var(--color-white);border:none}

/* Make hero content overlap slightly under navbar for modern look */
.hero{margin-top:-12px}

@media(max-width:767px){
  .hero-inner{padding:3rem 1rem}
  .hero .display-4{font-size:1.6rem}
    .hero-copy{background:rgba(0,0,0,0.12);padding:.9rem}
}
.btn-primary{background:var(--color-blue);border-color:var(--color-blue);color:var(--color-white)}
.btn-primary:hover{background:#256fd6;border-color:#256fd6}

/* Ensure hero CTA buttons use the project blue and stand out */
.hero .btn-primary{background:var(--color-blue);border-color:var(--color-blue);color:var(--color-white);box-shadow:0 8px 20px rgba(47,128,237,0.18);transition:all 180ms ease}
.hero .btn-primary:hover{background:var(--color-dark-blue);color:var(--color-white);border-color:var(--color-dark-blue);box-shadow:0 12px 30px rgba(14,30,60,0.18);transform:translateY(-2px)}
.hero .btn-orange{background:var(--color-orange);border-color:var(--color-orange);color:var(--color-white);box-shadow:0 8px 20px rgba(249,115,22,0.18);transition:all 180ms ease}
.hero .btn-orange:hover{background:#d76611;border-color:#d76611;transform:translateY(-2px);box-shadow:0 12px 30px rgba(215,95,20,0.12)}
.btn-outline-primary{color:var(--color-blue);border-color:var(--color-blue)}

/* Professional button styles (overrides) */
.btn{
  border-radius:10px;
  padding:.56rem .9rem;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  transition:all .18s ease;
  border:1px solid transparent;
  background-clip:padding-box;
  text-decoration:none;
}
.btn:focus{
  outline:3px solid rgba(47,128,237,0.14);
  outline-offset:2px;
  box-shadow:0 6px 18px rgba(47,128,237,0.12);
}
.btn[disabled],.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}

.btn-primary{
  background:linear-gradient(180deg,var(--color-blue),#256fd6);
  color:var(--color-white);
  border-color:rgba(0,0,0,0.06);
  box-shadow:0 8px 28px rgba(47,128,237,0.12);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 36px rgba(47,128,237,0.16)}

.btn-orange{
  background:linear-gradient(180deg,var(--color-orange),#d76611);
  color:var(--color-white);
  border-color:rgba(0,0,0,0.06);
  box-shadow:0 8px 28px rgba(249,115,22,0.12);
}
.btn-orange:hover{transform:translateY(-2px);box-shadow:0 12px 36px rgba(249,115,22,0.16)}

.btn-outline-primary{background:transparent;color:var(--color-blue);border:1px solid var(--color-blue)}
.btn-outline-primary:hover{background:var(--color-blue);color:#fff}

.btn-outline-success{background:transparent;color:#25D366;border:1px solid rgba(37,211,102,0.16)}
.btn-outline-success:hover{background:rgba(37,211,102,0.06);border-color:rgba(37,211,102,0.28)}

/* WhatsApp contact button */
/* WhatsApp button - enforce green background and white text even when combined with outline variants */
.btn.btn-whatsapp,
.btn-whatsapp,
.btn-whatsapp.btn-sm-outline{
  background:linear-gradient(180deg,#25D366,#1DA851) !important;
  color:#ffffff !important;
  border-color:transparent !important;
  box-shadow:0 8px 20px rgba(37,211,102,0.12);
}
.btn.btn-whatsapp:hover,
.btn-whatsapp:hover,
.btn-whatsapp.btn-sm-outline:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(37,211,102,0.16)}
.btn-whatsapp .bi{margin-right:.5rem;font-size:1rem;vertical-align:middle}

/* small variant */
.btn-whatsapp.btn-sm-outline{padding:.32rem .5rem;font-size:.88rem}

.btn-sm-outline{padding:.35rem .6rem;border-radius:8px;font-weight:700;border:1px solid rgba(14,30,60,0.08);background:transparent;color:var(--color-dark-blue)}

/* Ensure hero buttons keep elevated look */
.hero .btn-primary{box-shadow:0 12px 30px rgba(47,128,237,0.18)}
.hero .btn-orange{box-shadow:0 12px 30px rgba(249,115,22,0.18)}
.hero{background-color:var(--color-dark-blue);background-position:center;background-repeat:no-repeat;color:var(--color-white);}
.hero .btn-primary{background:var(--color-blue);border-color:var(--color-blue)}
.whatsapp-float{position:fixed;right:18px;bottom:18px;background:var(--color-white);border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,0.15)}
.card{border:1px solid #e9e9e9}
.truck-card .card-img-top{aspect-ratio:1/1;width:100%;height:100%;object-fit:cover;display:block}

/* Simple container spacing */
.container{max-width:1100px}

/* Featured trucks professional layout */
.featured{margin-top:2rem;margin-bottom:3rem;width:100vw;margin-left:calc(50% - 50vw);padding:2rem 1.25rem;box-sizing:border-box}
.featured h2{font-size:1.55rem;color:var(--color-dark-blue);margin-bottom:1rem;font-weight:700;position:relative;display:inline-flex;align-items:center;gap:0.6rem;padding:.5rem 1rem;border-radius:8px;background:linear-gradient(90deg, rgba(212,175,55,0.08), rgba(47,128,237,0.02));box-shadow:0 8px 24px rgba(30,58,95,0.04)}
.featured h2::after{content:"";display:block;height:2px;background:linear-gradient(90deg,var(--color-blue),rgba(47,128,237,0.6));width:60px;margin-left:12px;border-radius:2px}
.featured-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;align-items:start;width:100%}
.featured-card{background:var(--color-white);border-radius:10px;overflow:hidden;box-shadow:0 10px 30px rgba(14,30,60,0.06);transition:transform .18s ease,box-shadow .18s ease;position:relative;display:block;width:100%}
.featured-card:hover{transform:translateY(-6px);box-shadow:0 18px 46px rgba(14,30,60,0.12)}
/* Card thumbs: use square aspect ratio so cards are square while preserving width */
.featured-card .thumb{position:relative;aspect-ratio:1/1;overflow:hidden;height:auto;display:block}
.featured-card .thumb img{width:100%;height:100%;object-fit:cover;display:block;object-position:center}
.price-badge{position:absolute;right:12px;bottom:12px;background:linear-gradient(90deg,var(--color-orange),#ff8a43);color:var(--color-white);padding:8px 12px;border-radius:8px;font-weight:700;box-shadow:0 8px 20px rgba(249,115,22,0.18);z-index:3}

/* Status badge (Featured / Available / Sold) */
.status-badge{position:absolute;left:12px;top:12px;padding:6px 10px;border-radius:8px;font-weight:800;font-size:0.85rem;z-index:6;box-shadow:0 8px 24px rgba(14,30,60,0.12)}
.status-badge.featured{background:linear-gradient(90deg,var(--color-gold),rgba(212,175,55,0.9));color:var(--color-dark-blue)}
.status-badge.available{background:var(--color-orange);color:var(--color-white)}
.status-badge.sold{background:#dc3545;color:var(--color-white);box-shadow:0 8px 24px rgba(220,53,69,0.12)}

/* Position variants for status badge */
.status-badge.right{left:auto;right:12px}
.status-badge.left{left:12px;right:auto}

/* Page title highlight for listing pages */
.page-title{display:flex;align-items:center;gap:.75rem;font-size:1.5rem;font-weight:800;color:var(--color-dark-blue);margin-bottom:1rem}
.page-title .label{background:linear-gradient(90deg,var(--color-orange),#d76611);color:#fff;padding:.45rem .8rem;border-radius:8px;font-weight:900;box-shadow:0 10px 24px rgba(249,115,22,0.12)}
.page-title .subtitle{color:#5b6976;font-weight:700;font-size:1rem}
@media(max-width:575px){
  .page-title{font-size:1.15rem;flex-direction:column;align-items:flex-start;gap:.4rem}
  .page-title .subtitle{font-size:0.95rem}
}

.featured-card .card-body{padding:1rem;background:transparent}
/* allow absolutely positioned year badge inside card body */
.featured-card .card-body{position:relative}
.featured-card .title{font-size:1.02rem;font-weight:700;color:var(--color-dark-blue)}

/* Refined year badge: subtle, professional gold accent */
.specs .spec:first-child{
  background:transparent;
  color:var(--color-dark-blue);
  font-weight:600;
  padding:.35rem .5rem;
  border-left:3px solid rgba(212,175,55,0.9);
  border-radius:4px;
  box-shadow:none;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-size:.95rem;
}

/* Position the year badge to the top-right of the title for featured cards */
.featured-card .card-body .specs .spec:first-child{
  position:absolute;
  top:12px;
  right:12px;
  background:linear-gradient(90deg, rgba(212,175,55,0.12), rgba(47,128,237,0.06));
  color:var(--color-dark-blue);
  font-weight:700;
  padding:.28rem .5rem;
  border-left:none;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(14,30,60,0.06);
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-size:.92rem;
}

/* Make room for the badge so title doesn't overlap */
.featured-card .title{padding-right:120px}

/* Contact page highlights */
.contact-card .contact-item{display:flex;align-items:flex-start;gap:12px;padding:.6rem 0;border-bottom:1px dashed rgba(14,30,60,0.04)}
.contact-card .contact-item:last-child{border-bottom:0}
.contact-card .contact-label{min-width:110px;color:var(--color-orange);font-weight:800}
.contact-card .contact-value{color:var(--color-dark-blue);font-weight:600}
.contact-card .contact-chip{display:inline-flex;align-items:center;gap:.5rem;padding:.28rem .6rem;border-radius:8px;background:rgba(47,128,237,0.06);color:var(--color-dark-blue);font-weight:700}
.contact-card .business-hours{background:linear-gradient(90deg, rgba(47,128,237,0.04), rgba(249,115,22,0.02));padding:.75rem;border-radius:8px}
.quick-links a{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .7rem;border-radius:8px;background:transparent;border:1px solid rgba(14,30,60,0.06);color:var(--color-dark-blue);text-decoration:none;margin-right:.5rem}
.quick-links a:hover{background:linear-gradient(90deg, rgba(47,128,237,0.06), rgba(249,115,22,0.04))}

@media(max-width:767px){
  .contact-card .contact-label{min-width:90px}
}

/* Responsive: on small screens let the badge flow beneath the title */
@media(max-width:575px){
  .featured-card .card-body .specs .spec:first-child{position:static;margin-top:.4rem}
  .featured-card .title{padding-right:0}
}

@media(max-width:575px){
  .specs .spec:first-child{font-size:0.92rem;padding:.4rem .5rem}
}

/* Apply royal accent to all listing titles */
.title, .card-title {
  color:var(--color-dark-blue);
  position:relative;
  padding-left:0.9rem;
  font-weight:600;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  font-variant: normal;
  letter-spacing:0.2px;
  text-shadow:none;
  border-left:3px solid rgba(212,175,55,0.9);
  padding-right:0.6rem;
  font-size:1.06rem;
  line-height:1.15;
  text-transform:none;
}
/* Semantic truck title styling: professional highlight for all truck headings */
.truck-title{
  margin:0;
  display:block;
  font-size:1.08rem;
  font-weight:800;
  color:var(--color-dark-blue);
  background:linear-gradient(90deg, rgba(247,147,54,0.04), rgba(47,128,237,0.02));
  padding:.35rem .65rem;
  border-radius:8px;
  border-left:4px solid var(--color-orange);
  box-shadow:0 8px 20px rgba(14,30,60,0.04);
  line-height:1.12;
}
.truck-title.mb-0{margin-bottom:0}

.featured-card .title.royal{color:var(--color-dark-blue);font-family: Georgia, 'Times New Roman', serif;font-variant:small-caps;letter-spacing:0.6px;font-size:1.08rem}
.specs{display:flex;flex-wrap:wrap;gap:0.5rem;margin-top:.6rem;font-size:.9rem;color:#58616a}
.specs .spec{background:transparent;padding:.32rem .5rem;border-radius:6px;border:1px solid rgba(14,30,60,0.06);color:#54606a}
.featured-actions{display:flex;gap:.5rem;margin-top:.85rem}
.btn-sm-outline{background:transparent;border:1px solid #dbe9ff;color:var(--color-blue);padding:.45rem .6rem;border-radius:6px;font-weight:600}
.meta-row{display:flex;justify-content:space-between;align-items:center;margin-top:.6rem;color:#43515a;font-size:.92rem;font-variant:small-caps;letter-spacing:0.3px}

/* Make the "View details" button in card meta rows use the orange CTA style */
.meta-row .btn-outline-primary.btn-sm-outline{
  background:linear-gradient(180deg,var(--color-orange),#d76611) !important;
  color:var(--color-white) !important;
  border-color:transparent !important;
  box-shadow:0 8px 28px rgba(249,115,22,0.12) !important;
}
.meta-row .btn-outline-primary.btn-sm-outline:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 36px rgba(249,115,22,0.16) !important;
}

/* Crown glyph: subtle SVG icon for royal accent on header, titles, and year badge */
.featured h2::before{
  content:"";
  display:inline-block;
  width:20px;
  height:20px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23D4AF37' d='M12 2l3 5 5-3-2 6-6 1-6-1-2-6 5 3z'/></svg>");
  background-size:contain;
  background-repeat:no-repeat;
  margin-right:8px;
  transform:translateY(-1px);
}

.title::before,.card-title::before{
  content:"";
  display:inline-block;
  width:14px;
  height:14px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23D4AF37' d='M12 2l3 5 5-3-2 6-6 1-6-1-2-6 5 3z'/></svg>");
  background-size:contain;
  background-repeat:no-repeat;
  margin-right:6px;
  vertical-align:middle;
  transform:translateY(-1px);
}

/* Star overlay on featured images (left for RHD, right for LHD) */
.crown{position:absolute;top:8px;z-index:9;width:20px;height:20px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23F97316' d='M12 .587l3.668 7.431L24 9.748l-6 5.858 1.417 8.257L12 19.771 4.583 23.863 6 15.606 0 9.748l8.332-1.73L12 .587z'/></svg>");background-size:contain;background-repeat:no-repeat;filter:drop-shadow(0 4px 6px rgba(0,0,0,0.18));opacity:1}
.crown.crown-left{left:10px;right:auto}
.crown.crown-right{right:10px;left:auto}
.crown.crown-left{left:10px;right:auto}
.crown.crown-right{right:10px;left:auto}

.specs .spec:first-child::before{
  content:"📅";
  display:inline-block;
  margin-right:6px;
  font-size:14px;
  vertical-align:middle;
  transform:translateY(-1px);
}

/* Recognition badge for 6x2 axle size */
.spec.spec-size{
  background-color:rgba(212,175,55,0.06);
  border:1px solid rgba(212,175,55,0.18);
  color:var(--color-dark-blue);
  font-weight:700;
  padding:.28rem .6rem;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}
.spec.spec-size .size-badge{
  display:inline-flex;
  width:18px;height:18px;border-radius:50%;align-items:center;justify-content:center;background:var(--color-gold);color:var(--color-white);font-size:12px;line-height:1
}

/* Highlight pills for location and drive type */
.spec-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .55rem;border-radius:999px;font-weight:700;font-size:.9rem}
.spec-location{background-color:rgba(47,128,237,0.08);color:var(--color-dark-blue);border:1px solid rgba(47,128,237,0.16)}
.spec-drive{background-color:rgba(249,115,22,0.08);color:var(--color-dark-blue);border:1px solid rgba(249,115,22,0.12)}
.card-meta{margin-top:6px}
.card-meta .spec-pill{margin-right:8px}

@media(max-width:575px){
  .spec-pill{font-size:.82rem;padding:.22rem .45rem}
  .spec-location,.spec-drive{border-radius:6px}
}

/* Drive badge overlay on images */
.drive-badge{position:absolute;top:10px;z-index:6;padding:.28rem .5rem;border-radius:6px;color:var(--color-white);font-weight:800;font-size:.82rem;box-shadow:0 8px 26px rgba(14,30,60,0.18);background:linear-gradient(135deg, rgba(14,30,60,0.94), rgba(47,128,237,0.92));border:1px solid rgba(255,255,255,0.06);text-shadow:0 1px 0 rgba(0,0,0,0.35)}
.drive-badge.right{right:10px}
.drive-badge.left{left:10px;background:linear-gradient(135deg, rgba(212,175,55,0.96), rgba(249,115,22,0.92));border:1px solid rgba(255,255,255,0.06)}

/* Stock thumb container mirrors featured thumb for overlay positioning */
.thumb-stock{position:relative;overflow:hidden;aspect-ratio:1/1}
.thumb-stock img{width:100%;height:100%;object-fit:cover;display:block}

@media(max-width:575px){
  .drive-badge{top:8px;padding:.22rem .45rem;font-size:.78rem}
  .thumb-stock{aspect-ratio:1/1}
}

/* Consolidated location-badge styling is defined below (modern pill). */
.location-badge{position:absolute;left:10px;bottom:10px;z-index:80;padding:6px 10px;border-radius:999px;background:linear-gradient(90deg, rgba(0,0,0,0.28), rgba(0,0,0,0.18));color:var(--color-white);font-weight:700;font-size:.85rem;display:inline-flex;align-items:center;justify-content:flex-start;gap:.6rem;box-shadow:0 10px 24px rgba(0,0,0,0.28);border:1px solid rgba(255,255,255,0.06);box-sizing:border-box}
.location-badge .flag-img{width:34px;height:auto;flex:0 0 34px;display:block;border-radius:3px;object-fit:cover;border:1px solid rgba(14,30,60,0.06);box-shadow:none}

/* Label preceding the flag to say 'Location' in a compact, professional style */
.location-badge .loc-label{display:inline-block;font-size:.82rem;color:var(--color-dark-blue);background:#ffffff;padding:.16rem .5rem;border-radius:6px;font-weight:800;text-transform:uppercase;letter-spacing:0.6px;margin-right:.45rem;box-shadow:0 6px 16px rgba(0,0,0,0.12)}

/* Force flag size inside featured and stock thumbs (high specificity to override global img rules) */

/* Admin button styling: distinct but professional accent */
.btn-admin{
  background:linear-gradient(180deg,var(--color-dark-blue),#16314a);
  color:var(--color-white);
  border-color:rgba(0,0,0,0.06);
  box-shadow:0 10px 26px rgba(14,30,60,0.12);
}
.btn-admin:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(14,30,60,0.12);
  background:var(--color-white);
  color:var(--color-dark-blue);
  border-color:rgba(0,0,0,0.06);
}
.btn-admin:focus{outline:3px solid rgba(30,58,95,0.12);outline-offset:2px}
.featured-card .thumb .location-badge .flag-img,
.thumb-stock .location-badge .flag-img {
  width:34px !important;
  height:auto !important;
  flex:0 0 34px !important;
  max-width:none !important;
  display:block !important;
  border-radius:3px !important;
  object-fit:cover !important;
  border:1px solid rgba(14,30,60,0.06) !important;
  box-shadow:none !important;
}
.location-badge .loc-text{display:inline-block;padding:.18rem .5rem;border-radius:6px;background:linear-gradient(90deg, rgba(249,115,22,0.22), rgba(47,128,237,0.12));color:var(--color-dark-blue);font-weight:800;font-size:.82rem;white-space:nowrap;margin-left:6px;box-shadow:none;text-transform:none;letter-spacing:0.4px}

@media(max-width:767px){
  .location-badge{padding:2px 6px;left:8px;bottom:8px;border-radius:8px}
  .location-badge .flag-img{flex:0 0 26px;height:26px;width:26px}
  .location-badge .loc-label{font-size:.7rem;padding:.12rem .4rem}
  .location-badge .loc-text{display:none}
}

@media(max-width:575px){
  .featured-card .thumb{height:160px}
  .price-badge{right:8px;bottom:8px;padding:6px 9px}
}


@media (max-width:1200px) {
  .featured-grid{grid-template-columns:repeat(3,minmax(200px,1fr))}
  .featured-card{max-width:420px}
}

@media (max-width:900px) {
  .featured-grid{grid-template-columns:repeat(2,minmax(200px,1fr))}
  .featured-card{max-width:480px}
}

@media (max-width:480px) {
  .featured-grid{grid-template-columns:1fr;gap:1rem}
  .featured-card{aspect-ratio:auto;max-width:100%;height:auto}
  .featured-card .thumb{aspect-ratio:1/1}
  .featured-card .card-body{position:relative;flex:0 0 auto}
}

@media (max-width:767px){
  .hero{padding:2rem 1rem}
}

/* Footer styles */
.site-footer{background:linear-gradient(180deg,var(--color-dark-blue),#12263b);color:rgba(255,255,255,0.95);padding:2.25rem 0 1.25rem}
.site-footer .footer-inner{max-width:1100px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1.5rem;align-items:start}

/* Inline icons under brand in footer */
.footer-about-icons{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-top:.6rem}
.about-icon-link{display:inline-flex;align-items:center;gap:.5rem;color:rgba(255,255,255,0.95);text-decoration:none;padding:.2rem .4rem;border-radius:6px}
.about-icon-link i{color:var(--color-gold);font-size:1rem}
.about-icon-link .about-icon-text{display:none}
.about-icon-country{display:inline-block;margin-left:0.45rem;font-size:.82rem;font-weight:800;color:rgba(255,255,255,0.95);background:rgba(255,255,255,0.04);padding:2px 6px;border-radius:6px;text-transform:uppercase}
.about-icon-country:hover{color:var(--color-gold)}
.about-icon-link{transition:transform .12s ease,background .12s ease}
.about-icon-link:hover{transform:translateY(-3px);background:rgba(255,255,255,0.03);color:var(--color-gold)}

/* Highlight icons: gold circular badge */
.about-icon-link i{background:var(--color-dark-blue);color:#ffffff;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;font-size:1.05rem;box-shadow:0 6px 18px rgba(5,10,15,0.45);border:1px solid rgba(255,255,255,0.03)}
.about-icon-link .about-icon-text{display:inline-block;color:rgba(255,255,255,0.95);font-weight:600;margin-left:0.45rem}

/* Country label badge overlapping phone icon */
/* country-overlap badges removed; icons remain icon-only with visually-hidden labels */

@media (max-width:600px){
  .footer-about-icons{gap:.6rem}
  .about-icon-link .about-icon-text{font-size:.86rem}
}

/* Divider between footer columns (desktop) */
@media (min-width: 900px) {
  .footer-grid > * + * {
    border-left: 1px solid rgba(255,255,255,0.06);
    padding-left: 1rem;
    margin-left: 1rem;
  }
}

/* Remove column dividers on small screens so blocks stack cleanly */
@media (max-width: 899px) {
  .footer-grid > * + * {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}
.footer-col h4{color:var(--color-gold);margin-bottom:.6rem;font-size:1rem}
.footer-logo{height:28px;object-fit:contain;margin-bottom:.5rem;display:inline-flex;align-items:center;justify-content:center;background:transparent;padding:0;border-radius:0;box-shadow:none;max-height:32px}
.footer-brand-text{margin-bottom:.4rem}
.footer-brand-highlight{display:inline-block;background:#ffffff;padding:.28rem .7rem;border-radius:8px;color:var(--color-dark-blue);font-weight:800;border-left:4px solid var(--color-orange);text-decoration:none}
.footer-brand-highlight:hover{text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,0.08)}
.footer-desc{color:rgba(255,255,255,0.9);line-height:1.6;margin:0}
.footer-contact .contact-item{display:flex;align-items:center;gap:.6rem;color:rgba(255,255,255,0.95);margin-bottom:.45rem}
.footer-contact .contact-item i{color:var(--color-orange);font-size:1rem}
.footer-contact a{color:var(--color-white);text-decoration:none;font-weight:700}
/* Make contact blocks act like buttons/links */
.contact-block { border-radius: 6px; overflow: hidden; }
.contact-link { display:flex; gap:.75rem; align-items:center; text-decoration:none; color:inherit; padding:.45rem; }
.contact-link:hover { background:rgba(255,255,255,0.02); color:var(--color-gold); }
.contact-link .contact-icon { font-size:1.05rem; color:var(--color-gold); width:28px; display:flex; align-items:center; justify-content:center }
.contact-link .contact-label { font-weight:600; font-size:.9rem }
.contact-link .contact-detail { font-size:.92rem; color:rgba(255,255,255,0.9) }
.footer-links a{color:rgba(255,255,255,0.95);text-decoration:none}
.footer-links a:hover{color:var(--color-blue)}

/* Professional highlighted quick links in footer */
.footer-links ul{padding:0;margin:0;list-style:none}
.footer-links ul li{margin-bottom:0.6rem}
.footer-links ul li a{display:block;padding:.5rem .75rem;border-radius:8px;background:linear-gradient(90deg, rgba(212,175,55,0.06), rgba(47,128,237,0.02));border-left:4px solid rgba(212,175,55,0.18);color:var(--color-white);font-weight:700}
.footer-links ul li a:hover{background:linear-gradient(90deg, rgba(212,175,55,0.12), rgba(47,128,237,0.04));color:var(--color-gold);transform:translateY(-2px);box-shadow:0 8px 20px rgba(14,30,60,0.06)}

/* Footer address below quick links */
.footer-address{margin-top:1rem}
.footer-address-link{display:inline-flex;align-items:center;gap:.6rem;color:rgba(255,255,255,0.95);text-decoration:none}
.footer-address-link i{background:var(--color-dark-blue);color:#fff;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;box-shadow:0 6px 18px rgba(5,10,15,0.45);border:1px solid rgba(255,255,255,0.03)}
.footer-address .address-label{font-weight:800;color:var(--color-gold);text-transform:uppercase;font-size:.78rem}
.footer-address .address-text{font-size:.95rem;color:rgba(255,255,255,0.95)}

@media(max-width:575px){
  .footer-address-link{display:flex;flex-direction:row;gap:.5rem}
}

.footer-bottom{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.25rem;border-top:1px solid rgba(255,255,255,0.06);padding-top:.9rem;color:rgba(255,255,255,0.7);font-size:.92rem;text-align:center}
.footer-credits{font-size:.88rem}

@media(max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:575px){
  .footer-grid{grid-template-columns:1fr;gap:.75rem}
  .footer-bottom{flex-direction:column;gap:.5rem;align-items:center}
  .footer-contact .contact-item{justify-content:center}
}

/* New contact grid styling */
.contact-grid{display:flex;gap:1rem;align-items:stretch;justify-content:center;flex-wrap:wrap}
.contact-block{display:flex;align-items:flex-start;gap:.75rem;padding:.6rem 1rem;color:rgba(255,255,255,0.95);min-width:160px}
.contact-block + .contact-block{border-left:1px solid rgba(255,255,255,0.06)}
.contact-icon{width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,0.06);display:flex;align-items:center;justify-content:center;color:var(--color-orange);font-size:1.1rem}
.contact-body{display:flex;flex-direction:column}
.contact-label{font-size:.78rem;color:var(--color-gold);font-weight:800;text-transform:uppercase;letter-spacing:0.6px}
.contact-detail{font-size:.95rem;color:rgba(255,255,255,0.95);margin-top:.18rem}
.contact-detail a{color:rgba(255,255,255,0.95);text-decoration:none;font-weight:700}

@media(max-width:767px){
  .contact-grid{flex-direction:column;align-items:center}
  .contact-block{border-left:none;padding:.5rem 0;min-width:unset}
}

/* Intro / About section styling placed between hero and featured */
.intro-section{background:transparent;padding:2rem 0;margin-top:1rem;border-radius:0;box-shadow:none}
.intro-section .intro-inner{max-width:1100px;display:flex;align-items:center;gap:1.25rem;justify-content:center;text-align:center}
.intro-section .intro-text{flex:1;max-width:920px;margin:0 auto}
.intro-section h3{margin:0 0 .5rem;font-size:1.45rem;color:var(--color-dark-blue);font-weight:800;text-align:center}
.intro-section p{color:#495962;line-height:1.6;margin:0 0 .75rem;text-align:center}
.intro-section .intro-cta{margin-top:.75rem;display:flex;justify-content:center}

@media(max-width:767px){
  .intro-section{padding:1.25rem}
  .intro-section .intro-inner{flex-direction:column;align-items:center}
  .intro-section h3{font-size:1.25rem}
}

/* Highlight the intro Contact button: use orange CTA here (override global WhatsApp green) */
.intro-section .btn-whatsapp{
  background:linear-gradient(180deg,var(--color-orange),#d76611) !important;
  color:#ffffff !important;
  border-color:transparent !important;
  box-shadow:0 12px 30px rgba(249,115,22,0.14) !important;
  padding:.7rem 1.1rem !important;
  font-weight:800 !important;
  border-radius:10px !important;
}
.intro-section .btn-whatsapp:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(249,115,22,0.18) !important}
.intro-section .btn-whatsapp .bi{margin-right:.6rem;font-size:1.05rem}


/* Highlighted intro paragraph style */
.intro-highlight{background:linear-gradient(90deg, rgba(47,128,237,0.06), rgba(249,115,22,0.04));border-left:4px solid var(--color-orange);padding:0.9rem 1rem;border-radius:8px;color:var(--color-dark-blue);font-weight:600;margin:0 auto 0.75rem;max-width:920px}
.intro-highlight strong{color:var(--color-dark-blue)}

@media(max-width:767px){
  .intro-highlight{padding:.75rem .9rem}
}

/* Mobile responsiveness: homepage-specific tweaks (do not change desktop layout) */
@media (max-width: 767px) {
  /* Navbar adjustments */
  .site-nav { padding: 0.25rem 0; }
  /* Keep logo left-aligned on mobile and increase size slightly */
  .navbar-brand { height:84px; position:relative; left:auto; transform:none; top:auto; display:flex; align-items:center; }
  /* Increase mobile logo size for better visibility on phones */
  .navbar-brand .logo-img { height:96px; max-height:96px; max-width:320px; margin-right:.6rem; }
  .site-nav .nav-link { padding: .45rem .6rem; font-size: .96rem; }
  .site-nav .nav-link::after { bottom:-4px; }

  /* Hero: make height flexible for smaller screens */
  .hero { height:auto; padding:1.75rem 0 1rem; background-position:center top; }
  /* Ensure the hero background image fills the banner on narrow screens */
  .hero { background-size:cover !important; background-position:center center !important; min-height:260px; }
  .hero::before{background:linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.28) 100%);} 

  /* Make hero CTA buttons inline and equal-width on mobile */
  .hero .mt-3{display:flex;gap:.6rem;align-items:center;justify-content:center}
  .hero .mt-3 .btn{flex:1;min-width:0;text-align:center;display:flex;align-items:center;justify-content:center}
  .hero .mt-3 .btn.btn-lg{padding:.6rem .75rem;font-size:1rem}
  .hero .mt-3 .btn.me-2{margin-right:0}
  /* Remove full-bleed on mobile to prevent horizontal overflow caused by earlier full-bleed rules */
  .hero{left:auto !important;right:auto !important;margin-left:0 !important;margin-right:0 !important;width:auto !important;max-width:100% !important;padding-left:0.5rem;padding-right:0.5rem;box-sizing:border-box;overflow:hidden}
  .hero-inner{max-width:100% !important;padding-left:0.5rem;padding-right:0.5rem}
  .hero-inner { padding:1.25rem 1rem; align-items:flex-start; }
  .hero-copy { padding:.85rem; border-radius:8px; }

  /* Featured grid -> single column on mobile */
  .featured { padding:1rem 0 1.5rem; }
  /* Prevent horizontal overflow from full-bleed layout on small screens */
  .featured{
    width:100%;
    max-width:100%;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0.75rem;
    padding-right:0.75rem;
    box-sizing:border-box;
    overflow:hidden;
  }
  .featured-grid{padding:0;box-sizing:border-box}
  .featured-grid { grid-template-columns:1fr; gap:1rem; padding:0 0.75rem; }
  .featured-card { max-width:100%; }
  /* On mobile, avoid forcing a square thumb; let image scale naturally and stay centered */
  .featured-card .thumb { aspect-ratio: auto !important; height:auto !important; max-height:360px; overflow:hidden; }
  .featured-card .thumb img { width:100%; height:auto; object-fit:cover; object-position:center; display:block; margin:0 auto; }
  .featured-card .card-body { padding:.9rem; }
  .featured h2 { font-size:1.25rem; }

  /* Actions stack and become full-width for easier tapping */
  .featured-actions { flex-direction:column; gap:.6rem; }
  .featured-actions .btn { width:100%; justify-content:center; }

  /* Intro: tighten spacing and allow CTA to stretch */
  .intro-section .intro-inner { flex-direction:column; gap:.9rem; }
  .intro-section .intro-cta .btn { width:100%; }

  /* Footer stacking and improved spacing */
  .footer-grid { grid-template-columns:1fr; gap:1rem; padding:0 0.75rem; }
  .footer-bottom { padding-top:.6rem; }
  .footer-brand-highlight { font-size:.95rem; padding:.28rem .6rem; }

  /* WhatsApp floating smaller and repositioned to avoid overlap */
  .whatsapp-float { width:48px; height:48px; right:12px; bottom:12px; }
  .whatsapp-float svg { width:24px; height:24px; }

  /* Reduce heavy shadows on mobile for performance */
  .hero-copy, .featured-card, .about-icon-link i { box-shadow:none; }

  /* Increase tap targets */
  .nav-link, .footer-links ul li a, .contact-link, .about-icon-link { padding: .6rem .75rem; }

  /* Ensure form controls and CTAs expand on narrow screens */
  .hero-search .form-control, .hero-search .form-select, .hero-search .btn, .intro-section .btn { width:100%; display:block; }
}

@media (max-width:420px) {
  .featured-card .thumb { height:160px; }
  /* slightly larger small-phone logo */
  .navbar-brand .logo-img { height:80px; max-height:80px; max-width:220px; }
  .site-nav .nav-link { font-size:.95rem; }
  .footer-brand-highlight { font-size:.9rem; padding:.24rem .5rem; }
}
