:root{
  --primary:#1C8C7C;
  --primary-dark:#14685c;
  --secondary:#026874;
  --secondary-light:#345d91;
  --text:#2c3e50;
  --text-muted:#6c7a89;
  --bg:#f8f9fa;
  --bg-2:#ecf0f1;
  --accent:#9C8657;
  --white:#ffffff;
  --radius:8px;
  --shadow-sm:0 2px 8px rgba(0,0,0,0.04);
  --shadow:0 8px 24px rgba(0,0,0,0.06);
  --shadow-hover:0 15px 35px rgba(28,140,124,0.1);
  --font-family: "Cairo", "Segoe UI", system-ui, sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
input, button, textarea, select { font-family: inherit; }
body.is-rtl { direction: rtl; text-align: right; }
body.is-ltr { direction: ltr; text-align: left; }

/* Background overlay */
body::before{
  content:""; position:fixed; inset:0;
  background:url('../images/hero-bg.webp') center top / cover no-repeat;
  opacity: 0.15; z-index:-1; pointer-events:none;
}

.container{width:90%;margin-inline:auto}
a{color:var(--primary);text-decoration:none;transition:all 0.25s ease}
a:hover{color:var(--primary-dark)}
img{max-width:100%;height:auto;display:block}

/* Topbar - Professional solid primary color */
.topbar{background:var(--primary);color:var(--white);font-size:0.9rem; font-weight:600;}
.topbar-inner{display:flex;gap:24px;padding:8px 0;flex-wrap:wrap;justify-content:center; align-items:center;}
@media(min-width:768px){.topbar-inner{justify-content:flex-end;}}
body.is-rtl .topbar-inner{justify-content:flex-start;}
.topbar span{display:inline-flex; align-items:center; gap:6px; opacity:0.95;}

/* Header - Pure white, clean shadow, curved bottom */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: solid var(--primary) 2px;
  border-radius: 0 0 30px 30px;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-radius 0.3s ease;
}
.site-header.scrolled {
  /* No changes needed since its solid anyway, but can keep blur if wanted */
}
.header-inner{display:flex;align-items:center;justify-content:flex-start;padding:15px 0;}
.brand{display:flex;align-items:center;gap:15px}
.brand img{height:90px;width:auto; object-fit:contain; drop-shadow: 0 4px 6px rgba(0,0,0,0.05);}
.brand-text{font-size:1.6rem;font-weight:800;color:var(--secondary); line-height:1; display:flex; flex-direction:column; gap:2px;}
.brand-text em{color:var(--primary);font-style:normal; font-size:1.1rem; font-weight:600;}

.header-right{display:flex;align-items:center;gap:30px;} .header-nav-desktop-center { flex: 1; justify-content: center; }
.primary-nav{display:flex;gap:24px;align-items:center;}
.primary-nav a{color:var(--secondary);font-weight:700; font-size:1.1rem; padding:8px 0; position:relative;}
.primary-nav a::after{content:''; position:absolute; bottom:0; left:0; width:0; height:3px; background:var(--primary); transition:width 0.3s ease;}
.primary-nav a:hover, .primary-nav a.active {color:var(--primary)}
.primary-nav a:hover::after, .primary-nav a.active::after {width:100%;}

.lang-switch{display:flex;gap:4px;align-items:center; background:var(--bg-2); padding:4px; border-radius:6px;}
.lang-switch a{color:var(--text-muted);font-weight:700; font-size:0.9rem; padding:4px 10px; border-radius:4px;}
.lang-switch a.active{color:var(--white); background:var(--primary); box-shadow:var(--shadow-sm);}
.lang-switch span{display:none;} /* hide separator */

.nav-toggle{display:none;background:none;border:0;font-size:2rem;cursor:pointer; color:var(--secondary);}

/* Hero Section */
.hero{
  background: url('../images/hero-bg-3d.webp') center / cover no-repeat;
  margin-top: -50px;
  padding: 160px 0 160px;
  position: relative;
  border-bottom: none;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; width: 100%; height: 250px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  display: none;
}
body.is-rtl .hero::before {
  display: none;
}
.hero-content {
  position: relative;
  padding: 0;
}
.hero .badge{display:inline-block;background:var(--primary); color:var(--white); padding:6px 18px;border-radius:30px;font-weight:700;margin-bottom:24px; font-size:0.95rem; box-shadow: 0 4px 15px rgba(28,140,124,0.3);}
.hero h1{font-size:clamp(2.5rem,4vw,3.8rem);margin-bottom:24px; font-weight:900; line-height:1.2; color:var(--secondary);}
.hero .lead{font-size:1.25rem;margin-bottom:30px; color:var(--text-muted); line-height:1.7;}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap;}

/* Buttons */
.btn{display:inline-flex; font-family:inherit; align-items:center; justify-content:center; padding:12px 28px; border-radius:var(--radius); font-weight:700; font-size:1.1rem; border:2px solid transparent; transition:all .3s ease; cursor:pointer;}
.btn-primary{background:var(--primary);color:var(--white); box-shadow:0 4px 15px rgba(28,140,124,.25);}
.btn-primary:hover{background:var(--primary-dark);color:var(--white); transform:translateY(-2px); box-shadow:0 8px 20px rgba(28,140,124,.35);}
.btn-outline{background:transparent;color:var(--primary);border-color:var(--primary);}
.btn-outline:hover{background:var(--primary);color:var(--white);}
.btn-ghost{background:rgba(28,140,124,0.08);color:var(--primary); border:none;}
.btn-ghost:hover{background:var(--primary);color:var(--white);}

/* Sections */
section{padding:80px 0}
.values {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
h2{color:var(--secondary);margin-bottom:32px;font-size:2.2rem;font-weight:800;position:relative;padding-bottom:12px;}
h2::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:60px;height:4px;border-radius:2px;background:var(--primary)}
.text-center h2::after{inset-inline-start:50%; transform:translateX(50%);}
body.is-ltr .text-center h2::after{transform:translateX(-50%);}
.hero h2::after,.page-hero h2::after,.site-footer h2::after{display:none}

.grid{display:grid;gap:30px}
.grid-4{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.grid-2{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}

/* Cards */
.card{background:var(--white);border-radius:var(--radius);padding:35px 30px;box-shadow:var(--shadow-sm);border:1px solid rgba(0,0,0,0.05);transition:all .3s ease; position:relative;}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover); border-color:rgba(28,140,124,0.2);}
.card .ico{font-size:2rem;display:inline-flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:12px;background:rgba(28,140,124,0.08);margin-bottom:20px; color:var(--primary);}
.card h3{color:var(--secondary); font-size:1.4rem; margin-bottom:12px; font-weight:700;}
.card p{color:var(--text-muted); font-size:1.05rem; line-height:1.7;}

.value-card{text-align:center;background:var(--white);border-radius:var(--radius);padding:40px 20px;box-shadow:var(--shadow-sm);border:1px solid rgba(0,0,0,0.05);transition:all .3s ease;}
.value-card:hover{transform:translateY(-5px); box-shadow:var(--shadow-hover); border-color:rgba(28,140,124,0.2);}
.value-card .ico{font-size:2.5rem;display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:rgba(28,140,124,0.08); color:var(--primary); margin-bottom:20px;}
.value-card h3{font-size:1.3rem; margin-bottom:10px; color:var(--secondary);}
.value-card p{color:var(--text-muted);}

.product-card .cat,.blog-card .cat{display:inline-block;background:rgba(156,134,87,0.1);color:var(--accent);padding:4px 14px;border-radius:4px;font-size:.9rem;font-weight:700;margin-bottom:15px;}

.ticks{list-style:none; display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(250px,1fr));}
.ticks li{padding:16px 20px;background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow-sm); font-weight:700; display:flex; align-items:center; gap:12px; color:var(--secondary); border:1px solid rgba(0,0,0,0.03);}
.ticks li::before{content:"✔";color:var(--primary); background:rgba(28,140,124,0.1); width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; font-size:0.9rem;}

.prose{max-width:850px; font-size:1.15rem; color:var(--text-muted);}

/* Page Hero */
.page-hero{
  background: url('../images/hero-bg-3d.webp') center top / cover no-repeat;
  color:var(--secondary);
  margin-top: -50px;
  padding: 130px 0 60px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom:none;
  position:relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; width: 100%; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 0;
  pointer-events: none;
}
.page-hero h1{color:var(--secondary);margin:0; font-size:2.8rem; font-weight:800;}
.page-hero-inner{display:flex;align-items:flex-start;text-align:start;gap:24px; position:relative; z-index:1;}
.page-hero-logo{display:none;} /* cleaner without duplicate logo on every page */

/* Forms / Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px; align-items:start;}
.delivery-note{margin-top:40px;background:var(--white);border-inline-start:4px solid var(--primary);padding:24px 30px;border-radius:var(--radius);font-weight:700; font-size:1.2rem; box-shadow:var(--shadow-sm); color:var(--secondary);}

/* Blog */
.blog-card{padding:0; overflow:hidden;}
.blog-card img{width:100%; height:220px; object-fit:cover; border-radius:var(--radius) var(--radius) 0 0;}
.blog-card-content{padding:30px;}
.meta{color:var(--accent);font-size:.95rem;margin-bottom:15px; font-weight:600;}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: var(--white); 
  border-radius: 50px 50px 0 0;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -100px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr 1fr;
  gap: 30px;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.site-footer h3, .site-footer h4 {
  color: var(--white);
  margin-bottom: 25px; 
  font-size: 1.35rem; 
  font-weight: 800;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}
.site-footer p, .site-footer span {
  color: rgba(255,255,255,0.75); 
  line-height: 1.8; 
}
.site-footer a {
  color: rgba(255,255,255,0.75); 
  text-decoration: none;
}

/* Logo Premium Styling */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo-wrapper {
  height: 170px;
  width: 170px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.footer-logo-wrapper:hover {
  transform: translateY(-5px);
}
.footer-logo-img {
  width: 100px;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  display: block;
}

/* Quick Links Hover with Arrow */
.footer-links-list { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 20px; white-space: nowrap; }
@media (max-width: 768px) {
    .footer-col-links { text-align: center; }
    .footer-links-list { 
        display: grid; 
        grid-template-columns: max-content max-content; 
        justify-content: center; 
        gap: 15px 30px; 
    }
    .footer-links-list .footer-link { justify-content: flex-start; }
}
.footer-link {
  color: rgba(255,255,255,0.75) !important;
  display: inline-flex !important;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  font-weight: 500;
}
.footer-link .footer-link-arrow {
  width: 18px;
  height: 18px;
  margin-inline-end: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
  color: var(--primary);
}
.footer-link:hover {
  color: var(--primary) !important;
}
.footer-link:hover .footer-link-arrow {
  transform: translateX(5px) scaleX(1);
}
[dir="rtl"] .footer-link:hover .footer-link-arrow,
body.is-rtl .footer-link:hover .footer-link-arrow {
  transform: translateX(-5px) scaleX(-1);
}

.footer-hours-box {
  background: rgba(255,255,255,0.03); 
  padding: 25px 20px; 
  border-radius: 20px; 
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.footer-bar {
  background: rgba(0,0,0,0.25);
  text-align: center;
  padding: 20px;
  font-size: 1rem; 
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

/* WhatsApp FAB */
.whatsapp-fab{position:fixed;bottom:30px;inset-inline-end:30px;background:#25D366;color:#fff;width:65px;height:65px;border-radius:50%;display:grid;place-items:center;font-size:2rem;box-shadow:var(--shadow);z-index:60; transition:all 0.3s ease;}
.whatsapp-fab:hover{transform:scale(1.05); box-shadow:0 10px 25px rgba(37,211,102,.4);}

/* Utilities */
.img-placeholder{border-radius:var(--radius); box-shadow:var(--shadow-sm);}
.text-center { text-align: center !important; }

/* Responsive */
@media (max-width:992px){
  :root { --about-grid: 1fr; }
  :root { --hero-align: center; }
  :root { --hero-cta-justify: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner{flex-wrap:wrap; justify-content: space-between;}
  .brand{order:1;}
  .mobile-controls{order:2;}
  .header-right{order:3; width:100%; justify-content:space-between; margin-top:15px; display:none;} .header-nav-desktop-center { flex: unset; }
  .header-right.open{display:flex; flex-direction:column; align-items:flex-start;}
  .primary-nav{flex-direction:column; width:100%; align-items:flex-start; gap:10px;}
  .primary-nav a{display:block; width:100%; padding:10px 0; border-bottom:1px solid rgba(0,0,0,0.05);}
  .nav-toggle{display:block;}
  .contact-grid{grid-template-columns:1fr;}
}
@media (max-width:768px){
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero{padding:60px 0;}
  section{padding:60px 0}
  .hero h1{font-size:2.2rem;}
  .brand img{height:75px;}
}

/* Global Mobile Responsiveness Fixes */
@media (max-width: 768px) {
  /* Fix grid overflow on small devices */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }
  
  /* Optimize Heroes for Mobile */
  .hero {
    min-height: 50vh;
  }
  .page-hero {
    min-height: 45vh;
    padding: 100px 0 40px;
    background-position: center 35%;
  }
  .page-hero h1 {
    font-size: 2.2rem !important;
  }
  .hero::after, .page-hero::after {
    height: 120px;
  }
  
  /* Typography Adjustments */
  h1, h2 {
    line-height: 1.3;
  }
  .lead {
    font-size: 1.1rem !important;
    padding: 0 15px;
  }
  
  /* Footer */
  .footer-grid {
    padding: 40px 0;
    gap: 30px;
  }
}
/* Modern Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(28,140,124,0.12);
}
.service-card .service-visual {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
body.page-template-template-services-php .service-card .service-visual {
    height: 350px;
}
.visual-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: pulseGlow 6s infinite alternate;
}
.service-card .service-visual svg {
    width: 65px;
    height: 65px;
    color: white;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover .service-visual svg {
    transform: scale(1.15) rotate(-5deg);
}

[dir="ltr"] 
.service-card .service-content {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card .service-content h3 {
    font-size: 1.35rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 800;
}
.no-after::after { display: none !important; }


/* Product Cards */
.product-card{padding:0!important;overflow:hidden;border-radius:24px;display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease}
.product-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(28,140,124,.14);border-color:rgba(28,140,124,.2)}
.product-img-wrap{position:relative;height:360px;padding:20px;overflow:hidden;background:linear-gradient(135deg,rgba(28,140,124,.08),rgba(38,69,107,.12));display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(0,0,0,.04)}
.product-img-wrap img{width:100%;height:100%;object-fit:contain;transition:transform .45s ease}
.product-card:hover .product-img-wrap img{transform:scale(1.06)}
.product-img-fallback{display:inline-flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:50%;background:rgba(255,255,255,.75);color:var(--primary);box-shadow:0 10px 25px rgba(28,140,124,.15);transition:transform .35s ease}
.product-card:hover .product-img-fallback{transform:scale(1.08) rotate(6deg)}
.product-cat-badge{position:absolute;top:14px;inset-inline-start:14px;z-index:3;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);color:var(--primary);padding:6px 16px;border-radius:30px;font-size:.85rem;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.06)}
.product-slider{position:relative;width:100%;height:100%}
.ps-slide{position:absolute;inset:0;opacity:0;transition:opacity .4s ease;pointer-events:none}
.ps-slide.is-active{opacity:1;pointer-events:auto}
.ps-slide img{width:100%;height:100%;object-fit:contain;transition:transform .45s ease}
.product-card:hover .ps-slide.is-active img{transform:scale(1.06)}
.ps-nav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:none;background:rgba(255,255,255,.92);color:var(--secondary);box-shadow:0 4px 12px rgba(0,0,0,.15);cursor:pointer;font-size:1.25rem;line-height:1;display:flex;align-items:center;justify-content:center;z-index:2;opacity:0;transition:opacity .3s ease,background .2s ease;padding:0}
.ps-nav:hover{background:#fff}
.ps-prev{inset-inline-start:8px}
.ps-next{inset-inline-end:8px}
.product-card:hover .ps-nav{opacity:1}
.ps-dots{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:2}
.ps-dots button{width:8px;height:8px;border-radius:50%;border:none;background:rgba(0,0,0,.22);padding:0;cursor:pointer;transition:all .25s ease}
.ps-dots button.is-active{background:var(--primary);width:20px;border-radius:5px}
@media (hover:none){.ps-nav{opacity:1}}
.product-info{padding:26px 26px 28px;display:flex;flex-direction:column;flex:1}
.product-info h3{font-size:1.35rem;color:var(--secondary);font-weight:800;margin:0 0 12px;line-height:1.4}
.product-info p{color:var(--text-muted);line-height:1.75;font-size:1rem;margin:0 0 22px;} .product-desc-container { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.product-cta{width:100%;border-radius:30px;padding:11px 18px;font-weight:700}
.product-card:hover .product-cta{box-shadow:0 8px 20px rgba(28,140,124,.28)}
.service-card .service-visual .service-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .6s cubic-bezier(.175,.885,.32,1.275)}
.service-card:hover .service-visual .service-img{transform:scale(1.08)}
.service-card .service-visual .visual-glow{z-index:1}

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr minmax(250px, 400px) 1fr;
    gap: 20px;
    align-items: center;
    min-height: 80vh;
    padding: 60px 0 80px;
    width: 100%;
}

@media (max-width: 992px) {
  .hero-inner { display: flex !important; flex-direction: column !important; gap: 30px !important; }
  .hero-details-card, .hero-actions-area { width: 88% !important; max-width: 400px !important; margin: 0 auto !important; }
  .hero-details-card { padding: 35px 25px !important; }
}

/* Comprehensive Responsive Grids */

.grid { display: grid; gap: 30px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Global Breakpoints */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .footer-col-brand { text-align: center !important; }
  .footer-col-brand p { text-align: center !important; }
}


.delivery-banner { padding: 35px 25px; }
@media (max-width: 768px) {
    .delivery-banner { padding: 25px 15px; margin-top: 40px !important; }
    .delivery-note { padding: 12px 10px !important; font-size: 0.95rem !important; margin: 0 auto 15px !important; }
}

/* Product Filter Logic */
.more-filter-btn { display: none !important; }
dialog::backdrop { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); }
@media (max-width: 768px) {
    .filter-tabs .filter-btn:nth-child(n+4) { display: none !important; }
    .more-filter-btn { display: inline-flex !important; }
}

/* Custom Scrollbar for Modal/Lists */
.custom-scroll::-webkit-scrollbar { width: 5px; }
.custom-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.02); border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb { background: rgba(28,140,124,0.3); border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Product Modal Responsive Width */
.product-modal-responsive {
    width: 60%;
    max-width: 800px;
}
@media (max-width: 768px) {
    .product-modal-responsive {
        width: 95%;
        max-width: 95vw;
        border-radius: 16px !important;
    }
    /* Reduce padding on mobile for more breathing room for images */
    .product-modal-responsive > div:nth-child(1) {
        padding: 15px 20px !important;
    }
    .product-modal-responsive .custom-scroll {
        padding: 20px !important;
        max-height: 75vh !important;
    }
    #p-modal-title {
        font-size: 1.15rem !important;
    }
}
