/* ===========================================================
   Easy Security CCTV Perth — Main Stylesheet
   Modern, professional theme (Bootstrap 5 + custom)
   =========================================================== */

:root {
  --es-navy: #0b1e3f;
  --es-navy-dark: #061328;
  --es-navy-light: #14305f;
  --es-accent: #0ea5e9;     /* electric blue */
  --es-accent-dark: #0284c7;
  --es-gold: #f5b400;
  --es-light: #f6f8fb;
  --es-grey: #6b7280;
  --es-border: #e5e7eb;
  --es-text: #1f2937;
  --es-success: #16a34a;
  --es-radius: 10px;
  --es-shadow: 0 10px 30px rgba(11,30,63,.08);
  --es-shadow-lg: 0 20px 50px rgba(11,30,63,.15);
}

* { -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--es-text);
  background: #fff;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--es-navy);
  letter-spacing: -.01em;
}

a { color: var(--es-accent-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--es-navy); }

.btn-primary {
  background: var(--es-accent);
  border-color: var(--es-accent);
  font-weight: 600;
  padding: .65rem 1.4rem;
  border-radius: var(--es-radius);
  letter-spacing: .02em;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--es-accent-dark);
  border-color: var(--es-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14,165,233,.35);
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  padding: .65rem 1.4rem;
  border-radius: var(--es-radius);
}

.btn-dark-cta {
  background: var(--es-navy);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: var(--es-radius);
}
.btn-dark-cta:hover { background: var(--es-navy-dark); color: #fff; }

/* ====== TOP BAR ====== */
.top-bar {
  background: var(--es-navy-dark);
  color: #fff;
  font-size: .85rem;
}
.top-bar a { color: #fff; }
.top-bar .social-links a {
  color: #fff;
  margin-left: .75rem;
  font-size: 1rem;
  transition: color .15s;
}
.top-bar .social-links a:hover { color: var(--es-accent); }

/* ====== NAVBAR ====== */
.navbar {
  padding-top: .9rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--es-border);
}
.brand-icon {
  width: 44px; height: 44px;
  background: var(--es-navy);
  color: var(--es-accent);
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 1.35rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--es-navy);
  font-size: 1.05rem;
  letter-spacing: .03em;
}
.brand-sub {
  font-size: .7rem;
  color: var(--es-accent-dark);
  letter-spacing: .15em;
  font-weight: 600;
  margin-top: 2px;
}
.navbar .nav-link {
  font-weight: 600;
  font-size: .85rem;
  color: var(--es-navy) !important;
  letter-spacing: .05em;
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--es-accent-dark) !important;
}
.navbar .nav-link.active::after {
  content: ''; position: absolute;
  left: 1rem; right: 1rem; bottom: -.25rem;
  height: 2px; background: var(--es-accent);
}
.btn-cta {
  font-size: .85rem !important;
  padding: .55rem 1.1rem !important;
}

.nav-cart-link {
  position: relative;
  font-size: 1.25rem !important;
  padding: .5rem .85rem !important;
}
.nav-cart-badge {
  position: absolute;
  top: 2px; right: -2px;
  background: var(--es-accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(14,165,233,.4);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(6,19,40,.85) 0%, rgba(11,30,63,.2) 100%), url('../images/hero-bg.jpg') center center / cover no-repeat;
  color: #fff;
  padding: 6rem 0 6rem;
  overflow: hidden;
}
.hero .eyebrow {
  display: inline-block;
  background: rgba(14,165,233,.15);
  color: #7dd3fc;
  border: 1px solid rgba(14,165,233,.35);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--es-accent); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-features {
  display: flex; flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.hero-features .feature {
  display: flex; align-items: center;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.hero-features .feature i {
  color: var(--es-accent);
  font-size: 1.25rem;
  margin-right: .5rem;
}

/* ====== SECTION ====== */
.section { padding: 5rem 0; }
.section-light { background: var(--es-light); }
.section-navy { background: var(--es-navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading .eyebrow {
  display: inline-block;
  color: var(--es-accent-dark);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .75rem;
}
.section-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.section-heading p {
  color: var(--es-grey);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ====== FEATURE / SERVICE CARDS ====== */
.feature-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 2rem 1.75rem;
  width: 100%;
  height: 100%;
  transition: all .25s ease;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--es-shadow-lg);
  border-color: var(--es-accent);
}
.feature-card .icon-wrap {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--es-accent) 0%, var(--es-accent-dark) 100%);
  color: #fff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: .75rem;
}
.feature-card p {
  color: var(--es-grey);
  font-size: .95rem;
  margin-bottom: 0;
}

/* ====== PACKAGE CARDS ====== */
.package-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: all .25s ease;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--es-shadow-lg);
}
.package-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--es-light);
  overflow: hidden;
}
.package-image img {
  width: 100%; height: 100%; object-fit: contain;
  padding: .5rem;
}
.package-image-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: var(--es-border);
}
.package-card .pkg-header {
  background: linear-gradient(135deg, var(--es-navy) 0%, var(--es-navy-light) 100%);
  color: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
}
.package-card .pkg-header::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--es-accent) 0%, transparent 100%);
}
.package-card .pkg-brand {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--es-accent);
  font-weight: 700;
  margin-bottom: .35rem;
}
.package-card .pkg-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.package-card .pkg-cams {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.package-card .pkg-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex; flex-direction: column;
}
.package-card .pkg-price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--es-navy);
  line-height: 1;
}
.package-card .pkg-price-meta {
  color: var(--es-grey);
  font-size: .85rem;
  margin-bottom: 1.25rem;
}
.package-card .pkg-details {
  font-size: .9rem;
  color: var(--es-text);
}
.package-card .pkg-details p { margin-bottom: .5rem; }
.package-card .pkg-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 .75rem;
}
.package-card .pkg-details ul li {
  padding: .3rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: .9rem;
}
.package-card .pkg-details ul li::before {
  content: '\F26A'; /* bi-check-circle-fill */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0; top: .3rem;
  color: var(--es-success);
}
.package-card ul.pkg-feats {
  list-style: none;
  padding: 0; margin: 0 0 1.5rem;
  font-size: .9rem;
}
.package-card ul.pkg-feats li {
  padding: .35rem 0;
  display: flex; align-items: flex-start;
}
.package-card ul.pkg-feats li i {
  color: var(--es-success);
  margin-right: .6rem;
  margin-top: 4px;
}
.package-card .btn { margin-top: auto; }

/* ====== TESTIMONIAL ====== */
.testimonial-card {
  background: #fff;
  border-radius: var(--es-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--es-shadow);
}
.testimonial-card .quote-icon {
  color: var(--es-accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.testimonial-card .stars {
  color: var(--es-gold);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.testimonial-card p.quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--es-text);
  margin-bottom: 1.25rem;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--es-navy);
}

/* ====== CTA BAND ====== */
.cta-band {
  background: linear-gradient(135deg, var(--es-navy) 0%, var(--es-navy-light) 100%);
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,.25) 0%, transparent 70%);
}
.cta-band h2 { color: #fff; }

/* ====== FORM ====== */
.form-card {
  background: #fff;
  border-radius: var(--es-radius);
  box-shadow: var(--es-shadow);
  padding: 2.5rem;
}
.form-label { font-weight: 600; color: var(--es-navy); font-size: .9rem; }
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid var(--es-border);
  padding: .65rem .9rem;
  font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--es-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}

/* ====== INFO CARDS (contact details) ====== */
.info-card {
  display: flex; align-items: center;
  background: #fff;
  border-radius: var(--es-radius);
  padding: 1.5rem;
  box-shadow: var(--es-shadow);
  margin-bottom: 1rem;
}
.info-card .ico {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--es-accent) 0%, var(--es-accent-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-right: 1.25rem;
  flex-shrink: 0;
}
.info-card h4 { font-size: 1rem; margin: 0 0 .25rem; }
.info-card p, .info-card a { margin: 0; color: var(--es-grey); }
.info-card a:hover { color: var(--es-accent-dark); }

/* ====== PAGE HEADER (inner pages) ====== */
.page-header {
  background: linear-gradient(135deg, var(--es-navy-dark) 0%, var(--es-navy) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(14,165,233,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(14,165,233,.1) 0%, transparent 50%);
}
.page-header > * { position: relative; }
.page-header h1 { color: #fff; font-size: clamp(1.85rem, 4vw, 2.85rem); }
.page-header .breadcrumb-strip {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.page-header .breadcrumb-strip a { color: rgba(255,255,255,.9); }

/* ====== CONTENT (CMS-managed prose) ====== */
.cms-content h2 { margin-top: 2rem; font-size: 1.6rem; }
.cms-content h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.cms-content p, .cms-content ul, .cms-content ol { font-size: 1.02rem; }
.cms-content ul li { margin-bottom: .35rem; }

/* ====== STATS STRIP ====== */
.stats-strip {
  background: #fff;
  border-radius: var(--es-radius);
  box-shadow: var(--es-shadow-lg);
  padding: 2rem 1.5rem;
  margin-top: -3.5rem;
  position: relative; z-index: 5;
}
.stat-item { text-align: center; padding: .5rem; }
.stat-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--es-navy);
  line-height: 1;
}
.stat-item .label {
  color: var(--es-grey);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-top: .35rem;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--es-navy-dark);
  color: rgba(255,255,255,.8);
}
.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: .75rem;
}
.footer-heading::after {
  content: ''; position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 3px;
  background: var(--es-accent);
}
.footer-links a, .footer-contact a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: .3rem 0;
  display: inline-block;
  transition: color .15s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--es-accent); }
.footer-contact li { margin-bottom: .6rem; }
.footer-licences li { padding: .2rem 0; }
.footer-licences i { font-size: 1rem; vertical-align: -1px; }
.footer-social a {
  display: inline-flex;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 8px;
  align-items: center; justify-content: center;
  margin-right: .5rem;
  transition: all .2s;
}
.footer-social a:hover {
  background: var(--es-accent);
  transform: translateY(-2px);
}
.footer-bottom {
  background: #04101f;
  color: rgba(255,255,255,.5);
}

/* ====== ALERTS ====== */
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-danger  { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ====== UTIL ====== */
.text-accent { color: var(--es-accent-dark) !important; }
.bg-navy { background: var(--es-navy) !important; }

/* ====== RESPONSIVE ====== */
@media (max-width: 991.98px) {
  .navbar .nav-link.active::after { display: none; }
  .navbar-nav { padding-top: 1rem; }
  .navbar-nav .nav-item { padding: .25rem 0; }
  .btn-cta { width: 100%; margin-top: .5rem; }
  .stats-strip { margin-top: 1rem; }
  .hero { padding: 4rem 0 5rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 575.98px) {
  .hero-features { gap: .75rem; }
  .hero-features .feature { font-size: .9rem; }
  .form-card { padding: 1.5rem; }
}

/* ====== SHOP / CART ====== */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--es-border);
}
.shop-toolbar .filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.filter-pill {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 50px;
  background: #fff;
  border: 1px solid var(--es-border);
  color: var(--es-text);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
}
.filter-pill:hover {
  border-color: var(--es-accent);
  color: var(--es-accent-dark);
}
.filter-pill.active {
  background: var(--es-navy);
  border-color: var(--es-navy);
  color: #fff;
}
.filter-divider {
  width: 1px;
  height: 22px;
  background: var(--es-border);
  margin: 0 .25rem;
}
.cart-btn {
  position: relative;
  padding-right: 2.5rem !important;
}
.cart-btn .cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--es-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0 6px;
  box-shadow: 0 2px 8px rgba(14,165,233,.4);
}

.product-card {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: all .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--es-shadow-lg);
  border-color: var(--es-accent);
}
.product-image {
  aspect-ratio: 4/3;
  background: var(--es-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-image-placeholder {
  font-size: 3rem;
  color: var(--es-border);
}
.product-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex; flex-direction: column;
}
.product-brand {
  font-size: .7rem;
  font-weight: 700;
  color: var(--es-accent-dark);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .35rem;
}
.product-name {
  font-size: 1rem;
  margin: 0 0 .5rem;
  color: var(--es-navy);
  line-height: 1.3;
}
.product-short {
  font-size: .85rem;
  color: var(--es-grey);
  margin-bottom: 1rem;
  flex-grow: 1;
}
.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--es-navy);
}

/* === Cart === */
.cart-table {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  overflow: hidden;
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr 100px 110px 50px;
  gap: 1rem;
  padding: 1rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--es-border);
}
.cart-row:last-child { border-bottom: none; }
.cart-row-head {
  background: var(--es-light);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--es-navy);
}
.cart-col-prod { display: flex; gap: 1rem; align-items: center; }
.cart-thumb {
  width: 64px; height: 64px;
  background: var(--es-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 1.5rem;
  color: var(--es-border);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-brand {
  font-size: .7rem;
  font-weight: 700;
  color: var(--es-accent-dark);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.cart-name { font-weight: 600; color: var(--es-navy); }
.cart-col-price { font-size: 1.1rem; }
.cart-summary {
  background: var(--es-light);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  padding: 1.5rem;
}
.empty-cart i { color: var(--es-border) !important; font-size: 5rem; }

@media (max-width: 575.98px) {
  .cart-row, .cart-row-head {
    grid-template-columns: 1fr 80px;
    grid-template-areas:
      "prod prod"
      "qty price"
      "act act";
  }
  .cart-row-head { display: none; }
  .cart-col-prod { grid-area: prod; }
  .cart-col-qty { grid-area: qty; }
  .cart-col-price { grid-area: price; text-align: right; }
  .cart-col-act { grid-area: act; text-align: right; }
}

/* ====== TRUST BADGES ====== */
.trust-badges {
  background: #fff;
  padding: 3rem 0;
  border-top: 1px solid var(--es-border);
  border-bottom: 1px solid var(--es-border);
}
.trust-badges-img {
  max-width: 100%;
  height: auto;
  max-height: 130px;
  width: auto;
}
@media (max-width: 575.98px) {
  .trust-badges { padding: 2rem 0; }
  .trust-badges-img { max-height: 80px; }
}

/* ====== ABOUT SHOWCASE BANNER ====== */
.about-showcase {
  display: block;
  width: 100%;
  background: var(--es-navy-dark);
  line-height: 0;
  overflow: hidden;
}
.about-showcase img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 991.98px) {
  .about-showcase img { max-height: 280px; }
}
@media (max-width: 575.98px) {
  .about-showcase img { max-height: 200px; }
}

/* ====== BEST SELLER BADGE ====== */
.best-seller-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: linear-gradient(135deg, var(--es-gold) 0%, #d97706 100%);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .3rem .7rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(245,180,0,.4);
  z-index: 2;
}
.best-seller-badge i { margin-right: .25rem; }

.product-image { position: relative; }
.product-image-link { display: block; }
.product-name a { color: var(--es-navy); text-decoration: none; }
.product-name a:hover { color: var(--es-accent-dark); }

/* ====== PRODUCT DETAIL GALLERY ====== */
.product-gallery {
  position: sticky;
  top: 100px;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--es-light);
  border-radius: var(--es-radius);
  overflow: hidden;
  margin-bottom: .75rem;
  box-shadow: var(--es-shadow);
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--es-border);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
}
.gallery-thumb {
  background: var(--es-light);
  border: 2px solid var(--es-border);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1/1;
  overflow: hidden;
  transition: all .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--es-accent); }
.gallery-thumb.active {
  border-color: var(--es-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.2);
}

.product-detail-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--es-navy);
  margin-bottom: .5rem;
}
.product-detail-price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--es-navy);
  line-height: 1;
}

@media (max-width: 991.98px) {
  .product-gallery { position: static; }
}

/* ====== BOOKING SUMMARY (book.php) ====== */
.booking-summary {
  background: #fff;
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius);
  overflow: hidden;
  position: sticky;
  top: 100px;
  box-shadow: var(--es-shadow);
}
.booking-summary .package-image {
  aspect-ratio: 4/3;
  background: var(--es-light);
  position: relative;
}
.booking-summary .pkg-header {
  background: linear-gradient(135deg, var(--es-navy) 0%, var(--es-navy-light) 100%);
  color: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
}
.booking-summary .pkg-header::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--es-accent) 0%, transparent 100%);
}
.booking-summary .pkg-brand {
  font-size: .75rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--es-accent);
  font-weight: 700; margin-bottom: .35rem;
}
.booking-summary .pkg-name {
  color: #fff; font-size: 1.15rem;
  font-weight: 700; margin-bottom: .5rem; line-height: 1.3;
}
.booking-summary .pkg-cams {
  color: rgba(255,255,255,.7); font-size: .85rem;
}
.booking-summary .pkg-body {
  padding: 1.5rem;
}
.booking-summary .pkg-price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem; font-weight: 800;
  color: var(--es-navy); line-height: 1;
}
.booking-summary .pkg-price-meta {
  color: var(--es-grey); font-size: .85rem;
  margin-bottom: 1.25rem;
}
.booking-summary .pkg-details {
  font-size: .9rem; color: var(--es-text);
}
.booking-summary .pkg-details p { margin-bottom: .5rem; }
.booking-summary .pkg-details ul {
  list-style: none; padding: 0; margin: 0;
}
.booking-summary .pkg-details ul li {
  padding: .3rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: .9rem;
}
.booking-summary .pkg-details ul li::before {
  content: '\F26A';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0; top: .3rem;
  color: var(--es-success);
}

@media (max-width: 991.98px) {
  .booking-summary { position: static; }
}
