/* ============================================================
   EDC Thailand — Premium Corporate Stylesheet
   Stack: Bootstrap 5.3 + Custom Properties + BEM-light
   ============================================================ */

/* ---- 1. Design Tokens ---- */
:root {
  --edc-navy:          #2F3498;
  --edc-navy-dark:     #1F2470;
  --edc-navy-mid:      #4A50BF;
  --edc-gold:          #C8A96B;
  --edc-gold-light:    #B8924F;
  --edc-gold-pale:     #F7F1E6;
  --edc-light:         #F4F6F9;
  --edc-lighter:       #FAFBFC;
  --edc-white:         #FFFFFF;
  --edc-dark:          #0D1A27;
  --edc-text:          #2C3E50;
  --edc-text-muted:    #6C7A89;
  --edc-border:        #E2E8F0;
  --edc-border-light:  #F0F4F8;
  --edc-shadow-sm:     0 2px 8px rgba(47, 52, 152, 0.08);
  --edc-shadow:        0 4px 20px rgba(47, 52, 152, 0.12);
  --edc-shadow-md:     0 8px 32px rgba(47, 52, 152, 0.16);
  --edc-shadow-hover:  0 12px 40px rgba(47, 52, 152, 0.20);
  --edc-radius:        6px;
  --edc-radius-lg:     12px;
  --edc-radius-xl:     20px;
  --edc-transition:    all 0.25s ease;
  --edc-font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --edc-font-display:  'Inter', system-ui, sans-serif;
}

/* ---- 2. Base Reset & Typography ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--edc-font-sans);
  color: var(--edc-text);
  background: var(--edc-white);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--edc-font-display);
  font-weight: 700;
  color: var(--edc-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p { color: var(--edc-text); }

a { color: var(--edc-navy); text-decoration: none; transition: var(--edc-transition); }
a:hover { color: var(--edc-gold); }

img { max-width: 100%; height: auto; }

/* ---- 3. Utility Classes ---- */
.text-gold       { color: var(--edc-gold) !important; }
.text-navy       { color: var(--edc-navy) !important; }
.text-muted-edc  { color: var(--edc-text-muted) !important; }
.bg-navy         { background-color: var(--edc-navy) !important; }
.bg-navy-dark    { background-color: var(--edc-navy-dark) !important; }
.bg-gold         { background-color: var(--edc-gold) !important; }
.bg-light-edc    { background-color: var(--edc-light) !important; }
.border-gold     { border-color: var(--edc-gold) !important; }

.section-pad     { padding: 96px 0; }
.section-pad-sm  { padding: 64px 0; }

.label-overline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edc-gold);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--edc-navy);
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--edc-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--edc-gold);
  border: none;
  margin: 16px 0 24px;
  border-radius: 2px;
}

/* ---- 4. Buttons ---- */
.btn-edc-primary {
  background: var(--edc-gold);
  color: var(--edc-white);
  border: 2px solid var(--edc-gold);
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: var(--edc-radius);
  transition: var(--edc-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-edc-primary:hover {
  background: var(--edc-gold-light);
  border-color: var(--edc-gold-light);
  color: var(--edc-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 169, 107, 0.35);
}

.btn-edc-outline {
  background: transparent;
  color: var(--edc-white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: var(--edc-radius);
  transition: var(--edc-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-edc-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--edc-white);
  color: var(--edc-white);
}

.btn-edc-navy {
  background: var(--edc-navy);
  color: var(--edc-white);
  border: 2px solid var(--edc-navy);
  padding: 12px 32px;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--edc-radius);
  transition: var(--edc-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-edc-navy:hover {
  background: var(--edc-navy-dark);
  border-color: var(--edc-navy-dark);
  color: var(--edc-white);
  transform: translateY(-1px);
  box-shadow: var(--edc-shadow-md);
}

/* ---- 5. Navbar ---- */
.site-navbar {
  background: var(--edc-white);
  border-bottom: 1px solid var(--edc-border-light);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow 0.3s ease;
}
.site-navbar.scrolled {
  box-shadow: var(--edc-shadow);
}

.navbar-brand-wrap { display: flex; align-items: center; gap: 12px; }
.navbar-logo       { height: 44px; width: auto; }
.navbar-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--edc-navy);
  letter-spacing: -0.02em;
}
.navbar-brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--edc-navy-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-link-edc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--edc-text) !important;
  padding: 8px 16px !important;
  border-radius: var(--edc-radius);
  transition: var(--edc-transition);
  position: relative;
}
.nav-link-edc::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--edc-navy-mid);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 1px;
}
.nav-link-edc:hover,
.nav-link-edc.active {
  color: var(--edc-navy) !important;
  background: var(--edc-light);
}
.nav-link-edc:hover::after,
.nav-link-edc.active::after { transform: scaleX(1); }

.navbar-cta {
  background: var(--edc-navy);
  color: var(--edc-white) !important;
  padding: 8px 20px !important;
  border-radius: var(--edc-radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--edc-transition);
}
.navbar-cta:hover {
  background: var(--edc-navy-mid) !important;
  color: var(--edc-white) !important;
}
.navbar-cta::after { display: none !important; }

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-flag {
  width: 1.05em;
  line-height: 1;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

/* ---- 6. Hero ---- */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--edc-navy-dark);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.16), transparent 45%);
  opacity: 0.22;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.hero-section::after {
  content: '';
  position: absolute;
  top: -120%;
  left: -40%;
  width: 32%;
  height: 320%;
  background: linear-gradient(110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0.06) 65%,
    rgba(255,255,255,0) 100%);
  transform: rotate(16deg) translateX(0);
  pointer-events: none;
  transition: transform 0.95s ease, opacity 0.35s ease;
  opacity: 0.32;
}
.hero-section:hover::before { opacity: 0.32; }
.hero-section:hover::after { transform: rotate(16deg) translateX(620%); opacity: 0.5; }
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.68;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(47,52,152,0.35), rgba(47,52,152,0.35)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    );
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--edc-gold);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--edc-gold);
  border-radius: 1px;
}
.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--edc-white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-title span { color: var(--edc-gold-light); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-section .btn-edc-primary,
.hero-section .btn-edc-outline {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-section .btn-edc-primary::before,
.hero-section .btn-edc-outline::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -70%;
  width: 60%;
  height: 160%;
  background: linear-gradient(105deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.18) 40%,
    rgba(255,255,255,0.45) 52%,
    rgba(255,255,255,0.18) 64%,
    rgba(255,255,255,0) 100%);
  transform: rotate(14deg);
  transition: left 0.6s ease;
  z-index: 0;
}
.hero-section .btn-edc-primary:hover::before,
.hero-section .btn-edc-outline:hover::before {
  left: 125%;
}
.hero-section .btn-edc-primary > *,
.hero-section .btn-edc-outline > * {
  position: relative;
  z-index: 1;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--edc-gold-light);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---- 7. Cards ---- */
.edc-card {
  background: var(--edc-white);
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius-lg);
  overflow: hidden;
  transition: var(--edc-transition);
  box-shadow: var(--edc-shadow-sm);
  height: 100%;
}
.edc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--edc-shadow-hover);
  border-color: rgba(200, 150, 42, 0.2);
}

.edc-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--edc-light);
  transition: transform 0.4s ease;
}
.edc-card:hover .edc-card-img { transform: scale(1.03); }

.edc-card-img-wrap { overflow: hidden; position: relative; }

.edc-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--edc-gold);
  color: var(--edc-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.edc-card-body { padding: 24px; }
.edc-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edc-gold);
  margin-bottom: 8px;
  display: block;
}
.edc-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--edc-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.edc-card-text {
  font-size: 0.875rem;
  color: var(--edc-text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edc-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--edc-border-light);
  background: var(--edc-lighter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- 8. Category Grid ---- */
.category-card {
  background: var(--edc-white);
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--edc-transition);
  display: block;
  color: inherit;
  box-shadow: var(--edc-shadow-sm);
}
.category-card:hover {
  border-color: var(--edc-gold);
  transform: translateY(-4px);
  box-shadow: var(--edc-shadow-hover);
  color: inherit;
}
.category-icon {
  width: 64px;
  height: 64px;
  background: var(--edc-gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--edc-gold);
  transition: var(--edc-transition);
}
.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.category-card:hover .category-icon {
  background: var(--edc-gold);
  color: var(--edc-white);
}
.category-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--edc-navy);
  margin-bottom: 8px;
}
.category-count {
  font-size: 0.78rem;
  color: var(--edc-text-muted);
}

/* ---- 9. Why Choose Us / Values ---- */
.value-card {
  padding: 40px 32px;
  border-radius: var(--edc-radius-lg);
  background: var(--edc-white);
  border: 1px solid var(--edc-border);
  height: 100%;
  transition: var(--edc-transition);
  text-align: center;
}
.value-card:hover {
  border-color: var(--edc-gold);
  box-shadow: var(--edc-shadow);
}
.value-icon {
  width: 56px;
  height: 56px;
  background: var(--edc-navy);
  border-radius: var(--edc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--edc-gold-light);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.value-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--edc-navy);
  margin-bottom: 12px;
}
.value-text {
  font-size: 0.875rem;
  color: var(--edc-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ---- 10. Portfolio / Project Cards ---- */
.project-card {
  position: relative;
  border-radius: var(--edc-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--edc-navy-dark);
  display: block;
}
.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,34,56,0.92) 0%, rgba(13,34,56,0.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--edc-transition);
}
.project-card-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edc-gold-light);
  margin-bottom: 8px;
}
.project-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--edc-white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.project-card-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--edc-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--edc-white);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--edc-transition);
}
.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 11. CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--edc-navy-dark) 0%, var(--edc-navy) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,150,42,0.12) 0%, transparent 70%);
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--edc-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.75;
}

/* ---- 12. Footer ---- */
.site-footer {
  background: linear-gradient(160deg, var(--edc-navy-dark) 0%, var(--edc-navy) 52%, var(--edc-navy-mid) 100%);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(200,169,107,0.10) 0%, rgba(200,169,107,0.95) 50%, rgba(200,169,107,0.10) 100%);
}
.site-footer::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,80,191,0.22) 0%, rgba(74,80,191,0.06) 45%, transparent 72%);
  pointer-events: none;
}
.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--edc-white);
  letter-spacing: -0.02em;
}
.footer-brand-tag {
  font-size: 0.65rem;
  color: var(--edc-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}
.footer-desc {
  font-size: 0.875rem;
  color: rgba(247,241,230,0.78);
  line-height: 1.75;
  margin-top: 16px;
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edc-white);
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(247,241,230,0.80);
  transition: var(--edc-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--edc-gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(247,241,230,0.80);
  margin-bottom: 16px;
}
.footer-contact-item i {
  color: var(--edc-gold);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item a { color: rgba(247,241,230,0.80); }
.footer-contact-item a:hover { color: var(--edc-gold); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(247,241,230,0.12);
  border: 1px solid rgba(200,169,107,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247,241,230,0.92);
  font-size: 0.875rem;
  transition: var(--edc-transition);
}
.footer-social a:hover {
  background: var(--edc-gold);
  border-color: var(--edc-gold);
  color: var(--edc-navy-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(247,241,230,0.22);
  padding: 20px 0;
  margin-top: 56px;
  font-size: 0.8rem;
  color: rgba(247,241,230,0.82);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- 13. Page Headers ---- */
.page-header {
  background: linear-gradient(135deg, var(--edc-navy-dark) 0%, var(--edc-navy) 100%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--edc-gold) 0%, var(--edc-gold-light) 100%);
}
.page-header-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--edc-white);
  margin-bottom: 12px;
}
.page-header-breadcrumb .breadcrumb-item,
.page-header-breadcrumb .breadcrumb-item a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.page-header-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.8); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ---- 14. Product Detail ---- */
.product-gallery-main {
  aspect-ratio: 4/3;
  border-radius: var(--edc-radius-lg);
  overflow: hidden;
  background: var(--edc-light);
  border: 1px solid var(--edc-border);
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--edc-radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--edc-transition);
  background: var(--edc-light);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.active,
.product-thumb:hover { border-color: var(--edc-gold); }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.product-code {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--edc-text-muted);
  font-family: monospace;
  background: var(--edc-light);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:nth-child(even) td { background: var(--edc-lighter); }
.spec-table td {
  padding: 10px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--edc-border);
  vertical-align: top;
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--edc-navy);
  width: 40%;
  white-space: nowrap;
}

/* ---- 15. Contact ---- */
.contact-info-card {
  background: var(--edc-navy);
  border-radius: var(--edc-radius-lg);
  padding: 40px 32px;
  height: 100%;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,150,42,0.15);
  border-radius: var(--edc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--edc-gold-light);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.9rem;
  color: var(--edc-white);
  font-weight: 500;
}
.contact-info-value a { color: var(--edc-gold-light); }
.contact-info-value a:hover { color: var(--edc-white); }

.contact-form-card {
  background: var(--edc-white);
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius-lg);
  padding: 40px;
  box-shadow: var(--edc-shadow);
}

/* ---- 16. Blog ---- */
.blog-card { height: 100%; }
.blog-card-date {
  font-size: 0.72rem;
  color: var(--edc-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--edc-gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--edc-transition);
}
.blog-card-read-more:hover {
  color: var(--edc-navy);
  gap: 10px;
}

/* ---- 17. Pagination ---- */
.edc-pagination .page-link {
  border: 1px solid var(--edc-border);
  color: var(--edc-navy);
  padding: 8px 14px;
  font-size: 0.875rem;
  transition: var(--edc-transition);
}
.edc-pagination .page-link:hover {
  background: var(--edc-light);
  border-color: var(--edc-navy);
  color: var(--edc-navy);
}
.edc-pagination .page-item.active .page-link {
  background: var(--edc-navy);
  border-color: var(--edc-navy);
  color: var(--edc-white);
}

/* ---- 18. Forms ---- */
.form-label-edc {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--edc-navy);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.form-control-edc {
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--edc-text);
  transition: var(--edc-transition);
  background: var(--edc-white);
}
.form-control-edc:focus {
  border-color: var(--edc-navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
  outline: none;
}
.form-control-edc::placeholder { color: var(--edc-text-muted); font-size: 0.875rem; }

/* ---- 19. Admin Sidebar ---- */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  background: var(--edc-navy-dark);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1040;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.admin-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.admin-brand-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}
.admin-logo-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.admin-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--edc-white);
  letter-spacing: -0.02em;
}
.admin-logo-tag {
  font-size: 0.6rem;
  color: var(--edc-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-section {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 16px 12px 6px;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--edc-radius);
  font-size: 0.865rem;
  color: rgba(255,255,255,0.65);
  transition: var(--edc-transition);
  margin-bottom: 2px;
  font-weight: 500;
}
.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(255,255,255,0.08);
  color: var(--edc-white);
}
.admin-nav-link.active { color: var(--edc-gold-light); }
.admin-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}
.admin-nav-badge {
  margin-left: auto;
  background: var(--edc-gold);
  color: var(--edc-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #F0F2F5;
}

.admin-topbar {
  background: var(--edc-white);
  border-bottom: 1px solid var(--edc-border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--edc-shadow-sm);
}

.admin-page-content { padding: 28px 24px; flex: 1; }

/* ---- 20. Admin Dashboard Cards ---- */
.stat-card {
  background: var(--edc-white);
  border-radius: var(--edc-radius-lg);
  padding: 28px;
  border: 1px solid var(--edc-border);
  box-shadow: var(--edc-shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--edc-transition);
}
.stat-card:hover { box-shadow: var(--edc-shadow); transform: translateY(-2px); }
.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--edc-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-card-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--edc-navy);
  line-height: 1;
  display: block;
}
.stat-card-label {
  font-size: 0.78rem;
  color: var(--edc-text-muted);
  font-weight: 500;
  display: block;
  margin-top: 4px;
}

/* ---- 21. Admin Tables ---- */
.admin-table-card {
  background: var(--edc-white);
  border-radius: var(--edc-radius-lg);
  border: 1px solid var(--edc-border);
  box-shadow: var(--edc-shadow-sm);
  overflow: hidden;
}
.admin-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--edc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--edc-white);
}
.admin-table-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--edc-navy);
  margin: 0;
}
.table-edc { margin: 0; }
.table-edc thead th {
  background: var(--edc-lighter);
  border-bottom: 2px solid var(--edc-border);
  padding: 12px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--edc-text-muted);
  white-space: nowrap;
}
.table-edc tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--edc-border-light);
  vertical-align: middle;
  font-size: 0.875rem;
  color: var(--edc-text);
}
.table-edc tbody tr:last-child td { border-bottom: none; }
.table-edc tbody tr:hover td { background: var(--edc-lighter); }

.table-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--edc-radius);
  object-fit: cover;
  border: 1px solid var(--edc-border);
  background: var(--edc-light);
}
.table-title-link {
  font-weight: 600;
  color: var(--edc-navy);
  font-size: 0.9rem;
}
.table-title-link:hover { color: var(--edc-gold); }
.table-code {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--edc-text-muted);
}

/* ---- 22. Admin Forms ---- */
.admin-form-card {
  background: var(--edc-white);
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius-lg);
  box-shadow: var(--edc-shadow-sm);
  overflow: hidden;
}
.admin-form-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--edc-border);
  background: var(--edc-lighter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-form-header h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--edc-navy);
  margin: 0;
}
.admin-form-body { padding: 28px; }
.admin-form-section {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--edc-gold);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--edc-border);
}

/* ---- 23. Badges / Status ---- */
.badge-edc {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---- 24. Image Placeholder ---- */
.img-placeholder {
  background: var(--edc-light);
  border: 1px dashed var(--edc-border);
  border-radius: var(--edc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--edc-text-muted);
  font-size: 0.8rem;
  gap: 8px;
}
.img-placeholder i { font-size: 2rem; opacity: 0.4; }

/* ---- 25. Alert overrides ---- */
.alert-edc {
  border: none;
  border-left: 4px solid;
  border-radius: var(--edc-radius);
  font-size: 0.875rem;
  padding: 14px 18px;
}
.alert-edc-success { background: #ECFDF5; border-left-color: #10B981; color: #065F46; }
.alert-edc-danger  { background: #FEF2F2; border-left-color: #EF4444; color: #7F1D1D; }
.alert-edc-warning { background: #FFFBEB; border-left-color: #F59E0B; color: #78350F; }
.alert-edc-info    { background: #EFF6FF; border-left-color: #3B82F6; color: #1E3A8A; }

/* ---- 26. Login Page ---- */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--edc-navy-dark) 0%, var(--edc-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  background: var(--edc-white);
  border-radius: var(--edc-radius-xl);
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.login-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.login-brand-logo {
  height: 44px;
  width: auto;
  display: inline-block;
}

/* ---- 27. Media Library ---- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.media-item {
  border-radius: var(--edc-radius);
  overflow: hidden;
  border: 1px solid var(--edc-border);
  background: var(--edc-light);
  cursor: pointer;
  transition: var(--edc-transition);
}
.media-item:hover { border-color: var(--edc-gold); box-shadow: var(--edc-shadow); }
.media-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.media-item-name {
  font-size: 0.7rem;
  color: var(--edc-text-muted);
  padding: 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- 28. Responsive ---- */
@media (max-width: 991.98px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1039;
  }
  .admin-sidebar-overlay.active { display: block; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-value { font-size: 1.5rem; }
  .section-pad { padding: 64px 0; }
  .contact-form-card { padding: 28px; }
  .login-card { padding: 36px 28px; }
  .login-brand-logo { height: 40px; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 1.85rem; }
  .section-pad { padding: 48px 0; }
  .hero-section { min-height: 70vh; }
  .admin-page-content { padding: 16px; }
  .admin-table-header { padding: 16px; }
  .admin-form-body { padding: 20px; }
  .value-card { padding: 28px 24px; }
  .admin-sidebar-header {
    padding: 20px 16px;
    gap: 10px;
  }
  .admin-brand-logo { height: 28px; }
  .login-brand-logo { height: 36px; }
}

@media (min-width: 1400px) {
  .hero-title { font-size: 4.25rem; }
  .section-pad { padding: 112px 0; }
}
