/* ============================================================
   shop.css – Custom Bootstrap 5 overrides & shop-specific styles
   ============================================================ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --shop-primary:    #0d6efd;
  --shop-secondary:  #6c757d;
  --shop-accent:     #fd7e14;
  --shop-success:    #198754;
  --shop-danger:     #dc3545;
  --shop-bg:         #f8f9fa;
  --shop-card-bg:    #ffffff;
  --shop-text:       #212529;
  --shop-border:     #dee2e6;
  --shop-radius:     .5rem;
  --shop-shadow:     0 2px 12px rgba(0,0,0,.08);
  --transition:      .25s ease;
}

/* ── Base ─────────────────────────────────────────────────────── */
body {
  background-color: var(--shop-bg);
  color: var(--shop-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body.rtl {
  font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* ── Announcement bar ─────────────────────────────────────────── */
.announcement-bar { font-size: .85rem; letter-spacing: .02em; }

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
  border-bottom: 1px solid var(--shop-border);
}
.navbar-brand {
  font-size: 1.4rem;
  color: var(--shop-primary) !important;
}
.search-form input:focus { box-shadow: none; border-color: var(--shop-primary); }

/* ── Product card ─────────────────────────────────────────────── */
.product-card {
  background: var(--shop-card-bg);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shop-shadow);
}
.product-card .card-img-top {
  object-fit: cover;
  height: 220px;
  width: 100%;
}
.product-card .card-body { padding: 1rem; }
.product-card .product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--shop-primary);
}
.product-card .product-price-original {
  font-size: .9rem;
  color: var(--shop-secondary);
  text-decoration: line-through;
}
.product-card .badge-offer {
  position: absolute;
  top: .6rem;
  right: .6rem;
  left: auto;
  font-size: .75rem;
  z-index: 2;
}
.rtl .product-card .badge-offer {
  right: auto;
  left: .6rem;
}

/* ── Social icons (footer) ───────────────────────────────────── */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.social-icons a:hover {
  transform: scale(1.25);
  background-color: var(--shop-primary);
  color: #fff !important;
}
.social-icons a[href*="facebook"]:hover   { background-color: #1877f2 !important; }
.social-icons a[href*="instagram"]:hover  { background-color: #e1306c !important; }
.social-icons a[href*="twitter"]:hover,
.social-icons a[href*="x.com"]:hover      { background-color: #000000 !important; }
.social-icons a[href*="linkedin"]:hover   { background-color: #0077b5 !important; }
.social-icons a[href*="tiktok"]:hover     { background-color: #010101 !important; }
.social-icons a[href*="youtube"]:hover    { background-color: #ff0000 !important; }
.social-icons a[href*="google"]:hover     { background-color: #4285f4 !important; }
.social-icons a[href*="snapchat"]:hover   { background-color: #fffc00 !important; color: #000 !important; }
.social-icons a[href*="wa.me"]:hover,
.social-icons a[href*="whatsapp"]:hover   { background-color: #25d366 !important; }

/* ── Stars ────────────────────────────────────────────────────── */
.stars { color: #ffc107; font-size: .9rem; }

/* ── Product detail page ─────────────────────────────────────── */
.product-gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--shop-radius); cursor: zoom-in; }
.product-gallery-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: .3rem; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.product-gallery-thumb.active, .product-gallery-thumb:hover { border-color: var(--shop-primary); }

/* ── Cart ─────────────────────────────────────────────────────── */
.cart-table th, .cart-table td { vertical-align: middle; }
.cart-product-img { width: 60px; height: 60px; object-fit: cover; border-radius: .3rem; }
.qty-control { width: 90px; }

/* ── Checkout steps ───────────────────────────────────────────── */
.checkout-step { display: none; }
.checkout-step.active { display: block; }
.step-indicator .step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--shop-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.step-indicator .step-dot.done  { background: var(--shop-success); color: #fff; }
.step-indicator .step-dot.active{ background: var(--shop-primary); color: #fff; }

/* ── WhatsApp float ───────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #25d366;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 1040;
  text-decoration: none;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
.rtl .whatsapp-float { right: auto; left: 20px; }

/* ── AI Chatbot ───────────────────────────────────────────────── */
.chatbot-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--shop-primary);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 1040;
  cursor: pointer;
  transition: transform var(--transition);
}
.chatbot-toggle-btn:hover { transform: scale(1.1); }
.rtl .chatbot-toggle-btn { right: auto; left: 20px; }

.chatbot-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-height: 460px;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  box-shadow: var(--shop-shadow);
  z-index: 1039;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.rtl .chatbot-widget { right: auto; left: 20px; }
.chatbot-header {
  background: var(--shop-primary);
  color: #fff;
  padding: .6rem 1rem;
  font-size: .9rem;
  font-weight: 600;
}
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.chatbot-msg {
  max-width: 85%;
  padding: .45rem .8rem;
  border-radius: 1rem;
  font-size: .85rem;
  line-height: 1.4;
}
.chatbot-msg.user     { background: var(--shop-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: .2rem; }
.chatbot-msg.assistant{ background: #f0f0f0; color: var(--shop-text); align-self: flex-start; border-bottom-left-radius: .2rem; }
.chatbot-input { border-top: 1px solid var(--shop-border); }

/* ── Section headings ─────────────────────────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: .5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--shop-primary);
  border-radius: 2px;
}
.rtl .section-title::after { left: auto; right: 0; }

.section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--shop-primary), var(--shop-secondary));
  box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), .25);
  transform-origin: center;
}

/* ── Shop listing premium shell ─────────────────────────────── */
.shop-shell {
  background:
    radial-gradient(760px 240px at 6% 0%, rgba(var(--bs-primary-rgb), .08), transparent 70%),
    radial-gradient(760px 240px at 94% 0%, rgba(var(--bs-secondary-rgb), .07), transparent 70%);
}
.shop-panel {
  border: 1px solid rgba(var(--bs-primary-rgb), .08);
  border-radius: .85rem;
}
.shop-toolbar {
  background: #fff;
  border-radius: .85rem;
  padding: .75rem .9rem;
}
.shop-toolbar .form-select {
  border-radius: .65rem;
}
.shop-pagination-wrap nav,
.shop-pagination-wrap .pagination {
  justify-content: center;
}

/* ── Product detail premium shell ───────────────────────────── */
.product-shell {
  background:
    radial-gradient(620px 220px at 8% 0%, rgba(var(--bs-primary-rgb), .10), transparent 70%),
    radial-gradient(620px 220px at 92% 0%, rgba(var(--bs-secondary-rgb), .08), transparent 70%);
}
.product-main-wrap {
  background: #fff;
  border: 1px solid rgba(var(--bs-primary-rgb), .08);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}
.product-media-pane .product-gallery-main,
.product-media-pane .gallery-thumb {
  border-color: rgba(var(--bs-primary-rgb), .15) !important;
}
.product-media-sticky {
  z-index: 1010;
}
.product-info-pane h1 {
  letter-spacing: -.01em;
}
.checkout-summary-sticky {
  z-index: 1010;
}
.product-tabs {
  border-bottom-color: rgba(var(--bs-primary-rgb), .18);
}
.product-tabs .nav-link {
  border: 0;
  color: #5f6b7c;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.product-tabs .nav-link.active {
  color: var(--shop-primary);
  border-bottom-color: var(--shop-primary);
  background: transparent;
  font-weight: 600;
}
.product-tab-content {
  background: #fff;
  border: 1px solid rgba(var(--bs-primary-rgb), .08);
  border-radius: .9rem;
  padding: 1rem;
}
.product-related-wrap .card-img-top {
  border-bottom: 1px solid rgba(var(--bs-primary-rgb), .08);
}

/* ── Homepage polish ─────────────────────────────────────────── */
.home-shell {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(var(--bs-primary-rgb), .10), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(var(--bs-secondary-rgb), .10), transparent 65%),
    var(--shop-bg);
}
.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 45%);
  pointer-events: none;
}
.hero-content-block {
  max-width: 760px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.hero-slide-title {
  color: var(--shop-primary) !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.hero-slide-subtitle {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 2rem;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 999px;
  color: var(--shop-primary) !important;
  background-color: #fff !important;
  border: 2px solid rgba(var(--bs-primary-rgb), .35) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.24), 0 2px 10px rgba(var(--bs-primary-rgb), .25);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.hero-slide-cta:hover,
.hero-slide-cta:focus {
  color: var(--shop-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.28), 0 4px 14px rgba(var(--bs-primary-rgb), .3);
  filter: brightness(.98);
}
.marketing-card {
  border-radius: .9rem;
  position: relative;
}
.marketing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), .08);
  pointer-events: none;
}
.home-card-lift {
  transition: transform .28s ease, box-shadow .28s ease;
}
.home-card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12) !important;
}
.home-section-stack .home-section {
  --home-sep-star-size: 30px;
  --home-sep-star-offset: clamp(-3.62rem, -7vw, -2.8rem);
  margin-bottom: clamp(5.5rem, 12vw, 8rem) !important;
  position: relative;
}
.home-section-stack h2.section-title {
  margin-bottom: 1.35rem;
}

/* ── Home section luxury separators ─────────────────────────── */
.home-section-stack .home-section::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: var(--home-sep-star-offset);
  width: var(--home-sep-star-size);
  height: var(--home-sep-star-size);
  transform: translateX(-50%);
  background:
    radial-gradient(circle at center, rgba(255,255,255,.96) 0 16%, rgba(var(--bs-secondary-rgb), .92) 16% 26%, transparent 27%),
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), .92), rgba(var(--bs-secondary-rgb), .9));
  clip-path: polygon(50% 0%, 61% 34%, 100% 50%, 61% 66%, 50% 100%, 39% 66%, 0% 50%, 39% 34%);
  box-shadow:
    0 0 0 5px rgba(var(--bs-primary-rgb), .08),
    0 8px 14px rgba(0,0,0,.07);
  z-index: 2;
  pointer-events: none;
}

.home-section-stack .home-section::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: calc(var(--home-sep-star-offset) + (var(--home-sep-star-size) / 2));
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(var(--bs-primary-rgb), .28) 12%,
      rgba(var(--bs-secondary-rgb), .35) 50%,
      rgba(var(--bs-primary-rgb), .28) 88%,
      transparent 100%
    );
  z-index: 1;
  pointer-events: none;
}

.home-section-stack .home-section:last-child::before,
.home-section-stack .home-section:last-child::after {
  display: none;
}
.why-choose-surface {
  background:
    linear-gradient(0deg, rgba(255,255,255,.5), rgba(255,255,255,.5)),
    linear-gradient(120deg, var(--shop-primary) 0%, var(--shop-secondary) 100%);
  box-shadow: 0 14px 32px rgba(var(--bs-primary-rgb), .22);
}
.why-choose-fluid-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.why-choose-fluid {
  width: 100%;
  max-width: none;
  border-radius: 0;
  min-height: 0;
}
.why-choose-h-accordion {
  width: 100%;
  height: 40vh;
  min-height: 0;
  display: flex;
  gap: .75rem;
  align-items: stretch;
}
.why-pane {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 1rem;
  overflow: hidden;
  transition: flex .45s ease, transform .32s ease;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
}
.why-pane.is-open {
  flex: 4 1 0;
}
.why-pane-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 3;
  margin: 0;
}
.why-pane-trigger {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(7,18,34,.8), rgba(7,18,34,.22));
  color: #fff;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .92rem 1rem;
  text-align: start;
}
.why-pane-trigger:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
}
.why-pane-trigger.collapsed {
  background: linear-gradient(180deg, rgba(11,29,54,.88), rgba(11,29,54,.3));
}
.why-choose-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--shop-primary), var(--shop-secondary));
  color: #fff;
  box-shadow: 0 6px 14px rgba(var(--bs-primary-rgb), .3);
  flex: 0 0 auto;
}
.why-choose-title {
  line-height: 1.2;
  font-size: clamp(.92rem, .8rem + .22vw, 1.05rem);
}
.why-pane-collapse {
  display: block;
  height: 100%;
}
.why-pane-collapse:not(.show) {
  display: block;
}
.why-pane-body {
  position: relative;
  height: 100%;
  min-height: 0;
}
.why-choose-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-pane-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1.1rem 1.15rem;
  color: #f8fafc;
  background: linear-gradient(180deg, rgba(7,18,34,0) 0%, rgba(7,18,34,.88) 100%);
  font-size: .95rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.why-pane .why-pane-collapse:not(.show) .why-pane-overlay {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 767.98px) {
  .why-choose-fluid-wrap {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
  .why-choose-fluid {
    border-radius: .9rem;
    min-height: 0;
  }
  .why-choose-h-accordion {
    display: block;
    height: auto;
    min-height: 0;
  }
  .why-pane {
    margin-bottom: .85rem;
    box-shadow: 0 10px 22px rgba(0,0,0,.16);
  }
  .why-pane,
  .why-pane.is-open {
    flex: 1 1 auto;
  }
  .why-pane-header {
    position: static;
  }
  .why-pane-trigger,
  .why-pane-trigger.collapsed {
    background: rgba(255,255,255,.97);
    color: #16212f;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), .15);
  }
  .why-pane-body {
    min-height: 260px;
  }
  .why-pane .why-pane-collapse:not(.show) {
    display: none;
  }
  .why-pane .why-pane-collapse:not(.show) .why-pane-overlay {
    opacity: 1;
    visibility: visible;
  }
}

/* ── Product buy bar and mobile CTA ─────────────────────────── */
.product-buy-bar {
  background: transparent;
}
.product-buy-bar .btn,
.product-buy-bar .form-control,
.product-buy-bar .input-group-text,
.shop-toolbar .btn,
.shop-toolbar .form-select,
.filter-sidebar .btn,
.filter-sidebar .form-select,
.filter-sidebar .form-control {
  min-height: 44px;
}
.product-info-pane .variant-option-btn {
  min-height: 42px;
  min-width: 42px;
}
.product-buy-bar .qty-input-group {
  width: 168px;
  flex: 0 0 auto;
}
.product-buy-bar #productQty {
  min-width: 58px;
  font-weight: 700;
  padding-left: .35rem;
  padding-right: .35rem;
}

/* ── Scroll reveal motion ────────────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .62s ease, transform .62s ease;
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible,
  .home-card-lift,
  .home-card-lift:hover {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb-area { background: #fff; border-bottom: 1px solid var(--shop-border); padding: .6rem 0; }

/* ── Category sidebar ─────────────────────────────────────────── */
.filter-sidebar .list-group-item.active { background: var(--shop-primary); border-color: var(--shop-primary); }

/* ── Voice search animation ───────────────────────────────────── */
#voiceSearchBtn.listening { animation: pulse 1s infinite; color: var(--shop-danger); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ── Loading spinner overlay ──────────────────────────────────── */
.spinner-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.7);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}

/* ── Responsive tweaks ────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .product-card .card-img-top { height: 180px; }
  .chatbot-widget { width: 90vw; right: 5vw; }

  .section-title {
    font-size: 1.18rem;
    margin-bottom: 1rem;
  }
  .section-title-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: .82rem;
  }
  .home-section-stack .home-section {
    margin-bottom: 3.4rem !important;
  }

  .home-section-stack .home-section::after {
    width: 24px;
    height: 24px;
    bottom: -3.1rem;
  }

  .home-section-stack .home-section::before {
    left: 6%;
    right: 6%;
    bottom: -2.3rem;
  }

  .shop-shell,
  .product-shell {
    padding-left: .5rem;
    padding-right: .5rem;
  }

  #productQty,
  #qtyMinus,
  #qtyPlus,
  #addToCartBtn {
    min-height: 48px;
  }

  .product-buy-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1030;
    margin-bottom: 0 !important;
    padding: .55rem;
    border-radius: .95rem;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(var(--bs-primary-rgb), .16);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    backdrop-filter: blur(3px);
  }
  .product-buy-bar .qty-input-group {
    width: 154px !important;
    flex: 0 0 auto;
  }
  .product-buy-bar .add-to-cart-btn {
    font-size: .98rem;
    font-weight: 700;
  }
  .product-shell {
    padding-bottom: 6.4rem !important;
  }

  body.product-page {
    --product-mobile-bar-height: 96px;
    --product-mobile-safe-gap: calc(var(--product-mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  body.product-page .whatsapp-float,
  body.product-page .chatbot-toggle-btn {
    bottom: calc(var(--product-mobile-safe-gap) + 12px);
  }

  body.product-page .chatbot-widget {
    bottom: calc(var(--product-mobile-safe-gap) + 72px);
    max-height: calc(100dvh - var(--product-mobile-safe-gap) - 88px);
  }

  body.rtl.product-page .chatbot-widget {
    left: 5vw;
    right: auto;
  }
}

/* ── Footer ───────────────────────────────────────────────────── */
footer.bg-dark .text-muted {
  color: #adb5bd !important; /* light grey — visible on dark bg */
}
footer.bg-dark a.text-muted {
  color: #adb5bd !important;
}
footer.bg-dark a.text-muted:hover {
  color: #ffffff !important;
}

/* ── About page ─────────────────────────────────────────────── */
.about-page {
  background:
    radial-gradient(920px 280px at 10% 0%, rgba(var(--bs-primary-rgb), .09), transparent 72%),
    radial-gradient(920px 280px at 90% 0%, rgba(var(--bs-secondary-rgb), .08), transparent 72%);
}

.about-hero {
  position: relative;
  border: 1px solid rgba(var(--bs-primary-rgb), .12);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.82));
  box-shadow: 0 18px 36px rgba(0,0,0,.08);
  overflow: hidden;
}

.about-hero-media img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.about-hero-content {
  padding: 1.2rem 1.1rem 1.35rem;
}

.about-kicker {
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(var(--bs-primary-rgb), .9);
}

.about-title {
  font-size: clamp(1.55rem, 2.9vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
}

.about-lead {
  color: #5d6874;
  max-width: 920px;
}

.about-panel {
  border: 1px solid rgba(var(--bs-primary-rgb), .1);
  border-radius: .95rem;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  padding: 1rem;
}

.about-section-title {
  font-size: clamp(1.15rem, 2.4vw, 1.58rem);
  font-weight: 700;
  margin-bottom: .65rem;
}

.about-media-card {
  width: 100%;
  border-radius: .8rem;
  border: 1px solid rgba(var(--bs-primary-rgb), .12);
  object-fit: cover;
  max-height: 260px;
}

.about-media-inline {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(var(--bs-primary-rgb), .12);
  max-height: 220px;
  object-fit: cover;
}

.about-fact-card {
  border: 1px solid rgba(var(--bs-primary-rgb), .12);
  border-radius: .85rem;
  background: #fff;
  padding: .95rem;
}

.about-fact-card i {
  display: inline-flex;
  font-size: 1.2rem;
  color: rgba(var(--bs-primary-rgb), .95);
  margin-bottom: .45rem;
}

.about-fact-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 800;
}

.about-fact-card p {
  margin-top: .2rem;
  color: #6b7280;
  font-size: .92rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.about-value-chip {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--bs-primary-rgb), .15);
  background: rgba(var(--bs-primary-rgb), .06);
  padding: .42rem .75rem;
  font-size: .92rem;
  font-weight: 600;
}

.about-value-chip i {
  color: rgba(var(--bs-primary-rgb), .95);
}

.about-team-card {
  text-align: center;
  border: 1px solid rgba(var(--bs-primary-rgb), .12);
  border-radius: .9rem;
  background: #fff;
  padding: .95rem;
}

.about-team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(var(--bs-primary-rgb), .18);
  margin-bottom: .7rem;
}

.about-team-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto .7rem;
  border-radius: 50%;
  border: 3px solid rgba(var(--bs-primary-rgb), .18);
  background: rgba(var(--bs-primary-rgb), .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(var(--bs-primary-rgb), .92);
}

.about-team-card h3 {
  font-size: 1.05rem;
  margin-bottom: .3rem;
}

.about-team-card p {
  color: #6b7280;
  font-size: .92rem;
}

.about-ceo-panel {
  border-color: rgba(var(--bs-primary-rgb), .18);
  background:
    radial-gradient(220px 150px at 12% 0%, rgba(var(--bs-primary-rgb), .1), transparent 75%),
    #fff;
}

.about-ceo-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(var(--bs-primary-rgb), .2);
}

@media (max-width: 991.98px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}
