/* =====================================================
   KURUMSAL CMS — BASE STYLES
   Tüm componentler burada, temalar sadece değişken
   tanımlar. Sıra: reset → layout → header → hero →
   stats → services → about → whyus → refs → cta →
   footer → utils → responsive
   ===================================================== */

/* ── RESET & TEMEL ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background .3s, color .3s;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── CONTAINER ── */
.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  transition: all .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--btn-text, #fff);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 40%, transparent);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-text, #fff);
  font-weight: 700;
}
.btn-accent:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn-ghost-white {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ── SECTION ORTAK ── */
.section { padding: 5.5rem 0; }
.alt-section { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { color: var(--text); margin-bottom: .75rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin-inline: auto; }

.section-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-footer { text-align: center; margin-top: 3rem; }

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 30px var(--shadow-color); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo img { height: 44px; width: auto; object-fit: contain; }
.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}
.logo-footer .logo-text { color: var(--footer-primary); }

/* Nav */
.nav ul { display: flex; align-items: center; gap: .25rem; }
.nav a {
  padding: .5rem .9rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--header-text);
  transition: all .2s;
}
.nav a:hover { background: var(--nav-hover-bg); color: var(--primary); }
.nav-contact {
  background: var(--primary) !important;
  color: #fff !important;
  padding: .5rem 1.1rem !important;
}
.nav-contact:hover { background: var(--primary-dark) !important; transform: none; }

/* Header right */
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--header-text);
  padding: .4rem .8rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all .2s;
}
.header-phone:hover { border-color: var(--primary); color: var(--primary); }
.header-phone svg { opacity: .7; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
  transition: .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Subtle animated gradient shape */
.hero::after {
  content: '';
  position: absolute;
  width: 70vw;
  height: 70vw;
  right: -20%;
  top: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-glow) 0%, transparent 65%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-title br { display: block; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%      { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* =====================================================
   STATS BAR
   ===================================================== */
.stats {
  background: var(--stats-bg);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 1px solid var(--stats-border);
  border-left: 1px solid var(--stats-border);
}
.stat-item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--stats-border);
  border-bottom: 1px solid var(--stats-border);
  position: relative;
  transition: background .25s;
}
.stat-item:hover { background: var(--stats-hover); }

.stat-icon {
  color: var(--primary);
  margin-bottom: .75rem;
  display: flex;
  justify-content: center;
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--stats-text);
  line-height: 1;
  display: inline;
  letter-spacing: -.03em;
}
.stat-suffix {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: inline;
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--stats-label);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .5rem;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.service-card:hover .service-card-icon {
  background: var(--primary);
  color: #fff;
}
.service-card h3 { color: var(--text); font-size: 1.05rem; }
.service-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.6; flex: 1; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: .5rem;
  transition: gap .2s;
}
.service-card:hover .card-link { gap: .6rem; }

/* =====================================================
   ABOUT
   ===================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-tag { margin-bottom: .75rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-body { color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.8; }

.check-list { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}
.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--card-hover-shadow);
}
.about-placeholder {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  background: var(--card-bg);
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--primary) 40%, transparent);
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge span   { font-size: .78rem; font-weight: 500; opacity: .9; text-transform: uppercase; letter-spacing: .05em; }

/* =====================================================
   WHY US
   ===================================================== */
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.whyus-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .3s;
}
.whyus-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.whyus-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}
.whyus-card h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--text); }
.whyus-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* =====================================================
   REFERENCES
   ===================================================== */
.refs-section { padding: 4rem 0; }
.refs-section .section-header { margin-bottom: 2.5rem; }
.refs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.ref-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 70px;
  transition: all .3s;
  filter: grayscale(1) opacity(.6);
}
.ref-item:hover {
  filter: grayscale(0) opacity(1);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}
.ref-item img { max-height: 40px; max-width: 120px; object-fit: contain; }
.ref-item span { font-size: .9rem; font-weight: 600; color: var(--text-muted); }

/* =====================================================
   CTA
   ===================================================== */
.cta-section {
  position: relative;
  background: var(--cta-bg);
  overflow: hidden;
  padding: 5rem 0;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: var(--cta-overlay);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  right: -10%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cta-glow) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-text h2 { color: #fff; margin-bottom: .75rem; }
.cta-text p  { color: rgba(255,255,255,.8); max-width: 480px; }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--footer-border);
}

.footer-desc {
  color: var(--footer-text);
  font-size: .88rem;
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--footer-heading);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}
.footer-col ul li + li { margin-top: .55rem; }
.footer-col ul a {
  color: var(--footer-text);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--primary); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--footer-text);
  font-size: .88rem;
  margin-bottom: .65rem;
}
.footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-contact a { color: var(--footer-text); transition: color .2s; }
.footer-contact a:hover { color: var(--primary); }

.socials { display: flex; gap: .6rem; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--footer-social-bg);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.socials a:hover { background: var(--primary); color: #fff; }

.footer-bottom {
  padding: 1.25rem 0;
  font-size: .82rem;
  color: var(--footer-text);
  text-align: center;
}

/* =====================================================
   WHATSAPP BUTTON
   ===================================================== */
.wa-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: transform .25s, box-shadow .25s;
}
.wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,.65);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .about-img, .about-placeholder { height: 360px; }
  .about-badge { left: 1rem; bottom: -1rem; }
}

@media (max-width: 768px) {
  .header-phone { display: none; }
  .burger { display: flex; }

  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--header-bg);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    padding: 2rem;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; gap: .25rem; }
  .nav a { display: block; padding: .85rem 1rem; font-size: 1rem; }

  .hero-content { max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: flex-start; }

  .services-grid { grid-template-columns: 1fr; }
  .whyus-grid    { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }

  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .refs-grid  { gap: .75rem; }
  .ref-item   { min-width: 110px; padding: 1rem; }
}

/* ── PAGE HERO (İç Sayfa Banner) ── */
.page-hero {
  background: var(--hero-bg);
  padding: 7rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, color-mix(in srgb, var(--primary) 20%, transparent), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  color: var(--primary-light, #93C5FD);
  padding: .35rem 1rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}
.page-hero h1 {
  color: var(--hero-text, #fff);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ── ABOUT PAGE ── */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-page-text h2 { margin-bottom: 1rem; color: var(--heading, var(--text)); }
.about-page-text p  { color: var(--text-muted); line-height: 1.85; margin-bottom: 1rem; }
.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--text-muted);
  font-size: .85rem;
}
.points-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.points-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  color: var(--text);
}
.points-list li svg { color: var(--primary); flex-shrink: 0; }

/* ── SERVICES LIST PAGE ── */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-page-card {
  background: var(--card-bg, var(--bg-alt));
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 14px;
  padding: 2rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.service-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
.service-page-card .svc-icon {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.service-page-card h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--heading, var(--text)); }
.service-page-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.service-page-card .svc-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 600;
  transition: gap .2s;
}
.service-page-card:hover .svc-link { gap: .65rem; }

/* ── SERVICE DETAIL PAGE ── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.service-content {
  line-height: 1.85;
  color: var(--text);
}
.service-content h2, .service-content h3 { color: var(--heading, var(--text)); margin: 1.75rem 0 .75rem; }
.service-content p  { margin-bottom: 1rem; color: var(--text-muted); }
.service-content ul { margin: 1rem 0 1rem 1.25rem; color: var(--text-muted); }
.service-content ul li { margin-bottom: .4rem; }
.service-content strong { color: var(--text); }
.service-sidebar {
  position: sticky;
  top: 90px;
}
.service-sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.service-sidebar-card h4 { font-size: .9rem; margin-bottom: 1rem; color: var(--heading, var(--text)); }
.service-list-nav { display: flex; flex-direction: column; gap: .25rem; }
.service-list-nav a {
  display: block;
  padding: .6rem .85rem;
  border-radius: 8px;
  font-size: .875rem;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.service-list-nav a:hover, .service-list-nav a.active {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

/* ── GALLERY ── */
.gallery-filters {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  border: 1.5px solid var(--border, rgba(255,255,255,.12));
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title { color: #fff; font-size: .88rem; font-weight: 600; }
.gallery-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card {
  background: var(--card-bg, var(--bg-alt));
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.blog-card-meta .tag {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  padding: .2rem .6rem;
  border-radius: 4px;
  font-weight: 600;
}
.blog-card h3 { font-size: 1rem; line-height: 1.4; margin-bottom: .6rem; color: var(--heading, var(--text)); }
.blog-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
}
.blog-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

/* ── POST DETAIL ── */
.post-detail-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
.post-content {
  line-height: 1.9;
  color: var(--text);
}
.post-content img { width: 100%; border-radius: 10px; margin: 1.5rem 0; }
.post-content h2, .post-content h3 { color: var(--heading, var(--text)); margin: 2rem 0 .75rem; }
.post-content p  { margin-bottom: 1.1rem; color: var(--text-muted); }
.post-content ul, .post-content ol { margin: 1rem 0 1rem 1.5rem; color: var(--text-muted); }
.post-content ul li, .post-content ol li { margin-bottom: .4rem; }
.post-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-muted);
}
.post-header-img {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--bg-alt);
}
.post-header-img img { width: 100%; height: 100%; object-fit: cover; }
.post-sidebar { position: sticky; top: 90px; }
.post-sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.post-sidebar-card h4 { font-size: .9rem; margin-bottom: 1rem; color: var(--heading, var(--text)); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.contact-form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 16px;
  padding: 2.5rem;
}
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: .5rem; color: var(--heading, var(--text)); }
.contact-form-card > p { color: var(--text-muted); margin-bottom: 2rem; font-size: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-field label { font-size: .82rem; font-weight: 600; color: var(--heading, var(--text)); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border, rgba(255,255,255,.12));
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-success {
  background: color-mix(in srgb, #22C55E 12%, transparent);
  border: 1px solid color-mix(in srgb, #22C55E 30%, transparent);
  color: #15803D;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.contact-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 16px;
  padding: 2rem;
}
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 1.25rem; color: var(--heading, var(--text)); }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-item h5 { font-size: .8rem; color: var(--text-muted); margin-bottom: .2rem; font-weight: 500; }
.contact-info-item p  { font-size: .9rem; color: var(--text); }
.contact-info-item a  { color: var(--text); }
.contact-info-item a:hover { color: var(--primary); }
.maps-embed {
  margin-top: 1.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(255,255,255,.07));
}
.maps-embed iframe { display: block; width: 100%; height: 220px; }

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-alt);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.product-card-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: .35;
  width: 100%;
  height: 100%;
}
.product-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 20px;
}
.product-badge-featured {
  left: auto;
  right: .6rem;
  background: #F59E0B;
}
.product-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  line-height: 1.35;
}
.product-card-name a { color: var(--heading, var(--text)); }
.product-card-name a:hover { color: var(--primary); }
.product-card-desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: .75rem;
  flex: 1;
}
.product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .85rem;
}
.product-btn-row { margin-top: auto; }
.product-btn-cart {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem .9rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .1s;
}
.product-btn-cart:hover   { filter: brightness(1.1); }
.product-btn-cart:active  { transform: scale(.97); }
.product-btn-cart.added   { background: #10B981; }
.product-btn-wa-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  padding: .6rem 1rem;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.product-btn-wa-text:hover { background: #1ebe5a; color: #fff; }

.product-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: color-mix(in srgb, #25D366 15%, transparent);
  color: #25D366;
  flex-shrink: 0;
  transition: background .2s;
}
.product-btn-wa:hover { background: #25D366; color: #fff; }

/* ── PRODUCT DETAIL ── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}
.product-detail-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border, rgba(255,255,255,.07));
}
.product-detail-img img {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.product-content {
  line-height: 1.85;
  color: var(--text-muted);
}
.product-content h2, .product-content h3 { color: var(--heading, var(--text)); margin: 1.75rem 0 .75rem; }
.product-content p   { margin-bottom: 1rem; }
.product-content ul  { margin: 1rem 0 1rem 1.25rem; }
.product-content li  { margin-bottom: .4rem; }
.product-content strong { color: var(--text); }
.product-detail-sidebar {
  position: sticky;
  top: 90px;
}
.product-price-card {
  background: var(--bg-alt);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 14px;
  padding: 1.5rem;
}
.product-price-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--heading, var(--text));
  line-height: 1.3;
}
.product-price-desc {
  font-size: .87rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.product-price-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.07));
}
.product-btn-cart-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  padding: .8rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: filter .2s, transform .1s;
  margin-bottom: .65rem;
}
.product-btn-cart-lg:hover  { filter: brightness(1.1); }
.product-btn-cart-lg:active { transform: scale(.98); }
.product-btn-wa-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  padding: .75rem 1.25rem;
  background: color-mix(in srgb, #25D366 12%, transparent);
  color: #25D366;
  border: 1.5px solid color-mix(in srgb, #25D366 35%, transparent);
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background .2s, color .2s;
}
.product-btn-wa-lg:hover { background: #25D366; color: #fff; }

/* ══════════════════════════════════════════
   E-COMMERCE CATALOG — v2
   ══════════════════════════════════════════ */

/* Toolbar */
.pcat-toolbar {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .75rem; margin-bottom: 1.75rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--border);
}
.pcat-pills { display: flex; gap: .45rem; flex-wrap: wrap; flex: 1; min-width: 0; }
.pcat-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .85rem; border: 1.5px solid var(--border);
  border-radius: 999px; background: none; font-size: .8rem; font-weight: 500;
  color: var(--text); cursor: pointer; transition: all .2s; font-family: inherit;
}
.pcat-pill span {
  font-size: .7rem; background: var(--border); color: var(--text-muted);
  border-radius: 999px; padding: .1rem .42rem; transition: all .2s;
}
.pcat-pill:hover { border-color: var(--primary); color: var(--primary); }
.pcat-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pcat-pill.active span { background: rgba(255,255,255,.25); color: #fff; }

.pcat-controls { display: flex; align-items: center; gap: .55rem; }
.pcat-count { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.pcat-sort {
  padding: .38rem .7rem; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .8rem; background: var(--card-bg); color: var(--text);
  cursor: pointer; font-family: inherit;
}
.view-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.view-btn {
  width: 34px; height: 34px; border: none; background: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); transition: all .2s;
}
.view-btn:first-child { border-right: 1.5px solid var(--border); }
.view-btn.active { background: var(--primary); color: #fff; }

/* EC Grid */
.ec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem; transition: gap .3s;
}
.ec-grid.view-list { grid-template-columns: 1fr; }
.ec-grid.view-list .ec-card {
  display: grid; grid-template-columns: 220px 1fr;
  min-height: 180px;
}
.ec-grid.view-list .ec-card-media { aspect-ratio: unset; border-radius: 14px 0 0 14px; }
.ec-grid.view-list .ec-card-img { height: 100%; object-fit: cover; }
.ec-grid.view-list .ec-card-body { padding: 1.4rem; justify-content: center; }
.ec-grid.view-list .ec-card-desc { -webkit-line-clamp: 1; }
.ec-grid.view-list .ec-card-desc-long { display: block; }
.ec-grid.view-list .ec-card-actions { flex-direction: column; }

/* EC Card */
.ec-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
  border-color: var(--primary);
}

/* Media */
.ec-card-media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg); }
.ec-card-img-link { display: block; height: 100%; }
.ec-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ec-card:hover .ec-card-img { transform: scale(1.07); }
.ec-card-no-img {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; color: var(--text-muted); opacity: .3;
}

/* Hover overlay */
.ec-card-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.48);
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  opacity: 0; transition: opacity .3s;
}
.ec-card:hover .ec-card-overlay { opacity: 1; }
.ec-ov-btn {
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  border: none; display: flex; align-items: center; justify-content: center;
  color: #1e293b; text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.2); transition: transform .2s;
}
.ec-ov-btn:hover { transform: scale(1.1); }
.ec-ov-wa { background: #25D366; color: #fff; }
.ec-ov-wa:hover { background: #1ebe5a; color: #fff; }

/* Badges */
.ec-card-badges { position: absolute; top: .55rem; left: .55rem; display: flex; flex-direction: column; gap: .3rem; }
.ec-badge { display: inline-block; padding: .2rem .55rem; border-radius: 5px; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ec-badge-hot { background: #F59E0B; color: #fff; }
.ec-badge-cat { background: var(--primary); color: #fff; }

/* Card body */
.ec-card-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.ec-card-title { font-size: .93rem; font-weight: 700; margin-bottom: .35rem; line-height: 1.3; }
.ec-card-title a { color: var(--text); text-decoration: none; }
.ec-card-title a:hover { color: var(--primary); }
.ec-card-desc {
  font-size: .79rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ec-card-desc-long { display: none; font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .75rem; }
.ec-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; flex-wrap: wrap; }
.ec-price { font-size: .88rem; font-weight: 700; color: var(--primary); }
.ec-price-na { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.ec-card-actions { display: flex; gap: .4rem; }
.ec-btn-cart {
  padding: .42rem .85rem; background: var(--primary); color: #fff;
  border: none; border-radius: 7px; font-size: .77rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: filter .2s; font-family: inherit;
}
.ec-btn-cart:hover { filter: brightness(1.1); }
.ec-btn-detail {
  padding: .42rem .75rem; border: 1.5px solid var(--border); border-radius: 7px;
  font-size: .77rem; font-weight: 500; color: var(--text); text-decoration: none;
  white-space: nowrap; transition: border-color .2s, color .2s;
}
.ec-btn-detail:hover { border-color: var(--primary); color: var(--primary); }

/* ── PRODUCT DETAIL PAGE ── */
.pd-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 3rem; align-items: start; margin-bottom: 3rem;
}

/* Gallery */
.pd-gallery {}
.pd-img-link { display: block; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.pd-main-img { width: 100%; display: block; transition: transform .4s; }
.pd-img-link:hover .pd-main-img { transform: scale(1.03); }
.pd-zoom-hint {
  position: absolute; bottom: .8rem; right: .8rem;
  background: rgba(0,0,0,.55); color: #fff;
  padding: .35rem .7rem; border-radius: 7px; font-size: .75rem;
  display: flex; align-items: center; gap: .35rem; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.pd-img-link:hover .pd-zoom-hint { opacity: 1; }
.pd-img-placeholder {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border-radius: 16px; border: 1px solid var(--border);
  color: var(--text-muted); opacity: .3;
}

/* Sidebar */
.pd-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.pd-info-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: .85rem;
}
.pd-meta-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.pd-name { font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.pd-short-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.pd-price { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.pd-price-na { font-size: .85rem; color: var(--text-muted); font-style: italic; }
.pd-divider { height: 1px; background: var(--border); }
.pd-btn-cart {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .8rem; background: var(--primary); color: #fff;
  border: none; border-radius: 10px; font-size: .9rem; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: filter .2s;
}
.pd-btn-cart:hover { filter: brightness(1.1); }
.pd-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .75rem; background: #25D366; color: #fff;
  border-radius: 10px; text-decoration: none; font-size: .88rem; font-weight: 700;
  transition: background .2s;
}
.pd-btn-wa:hover { background: #1ebe5a; }
.pd-share-row { display: flex; align-items: center; gap: .5rem; }
.pd-share-label { font-size: .78rem; color: var(--text-muted); }
.pd-share-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border);
  background: none; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer; text-decoration: none; transition: border-color .2s;
}
.pd-share-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Others card */
.pd-others-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.25rem; display: flex; flex-direction: column; gap: .1rem;
}
.pd-others-title { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .6rem; }
.pd-other-item {
  display: flex; align-items: center; gap: .65rem; padding: .5rem .4rem;
  border-radius: 8px; text-decoration: none; color: var(--text);
  font-size: .82rem; transition: background .15s;
}
.pd-other-item:hover { background: var(--bg); }
.pd-other-item.active { color: var(--primary); font-weight: 600; }
.pd-other-thumb { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.pd-other-no-img { background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--text-muted); opacity: .5; }
.pd-all-link { font-size: .8rem; color: var(--primary); font-weight: 600; margin-top: .6rem; text-decoration: none; }
.pd-all-link:hover { text-decoration: underline; }

/* Tabs */
.pd-tabs-section { margin-bottom: 3rem; }
.pd-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
.pd-tab {
  padding: .7rem 1.5rem; border: none; background: none; font-size: .88rem;
  font-weight: 600; color: var(--text-muted); cursor: pointer; font-family: inherit;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s;
}
.pd-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.pd-tab-content { display: block; }
.pd-content-body { font-size: .92rem; line-height: 1.8; color: var(--text); }
.pd-content-body ul { padding-left: 1.5rem; margin-top: .5rem; }
.pd-content-body li { margin-bottom: .35rem; }
.pd-content-body p { margin-bottom: 1rem; }

/* Related / Swiper */
.pd-related { margin-top: 1rem; }
.pd-swiper { padding-bottom: 2.5rem !important; }
.swiper-button-prev, .swiper-button-next { color: var(--primary) !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 1.2rem !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* Responsive */
@media (max-width: 1024px) {
  .ec-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-sidebar { position: static; }
}
@media (max-width: 640px) {
  .ec-grid { grid-template-columns: 1fr; }
  .ec-grid.view-list .ec-card { grid-template-columns: 1fr; }
  .ec-grid.view-list .ec-card-media { border-radius: 14px 14px 0 0; aspect-ratio: 16/9; }
  .pcat-controls { flex-wrap: wrap; }
}

/* ── CART BUTTON (header) ── */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: background .2s;
  flex-shrink: 0;
}
.cart-btn:hover { background: rgba(255,255,255,.08); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  pointer-events: none;
}

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: var(--bg, #0F172A);
  border-left: 1px solid var(--border, rgba(255,255,255,.1));
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.1));
  flex-shrink: 0;
}
.cart-drawer-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading, var(--text));
  margin: 0;
}
.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: .3rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: background .15s, color .15s;
}
.cart-close:hover { background: rgba(255,255,255,.08); color: var(--text); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.cart-empty-msg svg { margin-bottom: 1rem; opacity: .3; }
.cart-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.07));
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.cart-item-img-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: .4;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--heading, var(--text));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .2rem;
}
.cart-item-price {
  font-size: .78rem;
  color: var(--primary);
  font-weight: 600;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--border, rgba(255,255,255,.15));
  background: none;
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  font-family: inherit;
}
.cart-qty-btn:hover { background: rgba(255,255,255,.08); }
.cart-qty-num {
  min-width: 22px;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: .2rem;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color .15s;
}
.cart-item-remove:hover { color: #EF4444; }
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border, rgba(255,255,255,.1));
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  gap: .6rem;
}
.cart-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: filter .2s;
}
.cart-wa-btn:hover { filter: brightness(1.08); }
.cart-clear-btn {
  background: none;
  border: 1.5px solid var(--border, rgba(255,255,255,.12));
  color: var(--text-muted);
  padding: .6rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .82rem;
  font-family: inherit;
  transition: border-color .15s, color .15s;
}
.cart-clear-btn:hover { border-color: #EF4444; color: #EF4444; }

/* ── RESPONSIVE: Inner pages ── */
@media (max-width: 1024px) {
  .services-page-grid  { grid-template-columns: repeat(2, 1fr); }
  .blog-grid           { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid        { grid-template-columns: repeat(2, 1fr); }
  .products-grid       { grid-template-columns: repeat(2, 1fr); }
  .about-page-grid     { gap: 2.5rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar     { position: static; }
  .post-detail-grid    { grid-template-columns: 1fr; }
  .post-sidebar        { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-sidebar { position: static; }
}
@media (max-width: 768px) {
  .services-page-grid { grid-template-columns: 1fr; }
  .blog-grid          { grid-template-columns: 1fr; }
  .gallery-grid       { grid-template-columns: repeat(2, 1fr); }
  .products-grid      { grid-template-columns: repeat(2, 1fr); }
  .about-page-grid    { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .contact-form-card  { padding: 1.5rem; }
  .page-hero          { padding: 6rem 0 3rem; }
  .cart-drawer        { width: 100%; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}
