/* ==========================================================================
   Sceed.ng storefront theme — loaded after the vendor (eShop modern) CSS.
   Keep overrides here so vendor updates can be applied without merging.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --sc-green: #0a9038;
  --sc-green-600: #087a30;
  --sc-green-700: #066428;
  --sc-green-50: #ecf8f0;
  --sc-green-100: #d5f0de;
  --sc-ink: #0f172a;
  --sc-ink-2: #334155;
  --sc-muted: #64748b;
  --sc-line: #e5e9ef;
  --sc-bg: #f6f8f7;
  --sc-card: #ffffff;
  --sc-accent: #f59e0b;
  --sc-radius: 14px;
  --sc-radius-sm: 10px;
  --sc-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --sc-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --sc-font: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--sc-font);
  color: var(--sc-ink-2);
  background: var(--sc-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-1, .display-2, .display-3, .display-4 {
  font-family: var(--sc-font);
  color: var(--sc-ink);
  letter-spacing: -.01em;
  font-weight: 700;
}
a { transition: color .15s ease; }
a:hover { color: var(--sc-green); }
.content-wrapper { background: var(--sc-bg); }
.wrapper.bg-light, .bg-light { background-color: var(--sc-bg) !important; }
::selection { background: var(--sc-green-100); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; letter-spacing: .01em; }
.btn-primary,
.btn-primary:focus {
  background: var(--sc-green) !important;
  border-color: var(--sc-green) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px -8px rgba(10, 144, 56, .7);
}
.btn-primary:hover,
.btn-primary:active {
  background: var(--sc-green-600) !important;
  border-color: var(--sc-green-600) !important;
  transform: translateY(-1px);
}
.btn-outline-primary { color: var(--sc-green) !important; border-color: var(--sc-green) !important; }
.btn-outline-primary:hover { background: var(--sc-green) !important; color: #fff !important; }
.text-primary, .link-color { color: var(--sc-green) !important; }
.bg-primary, .badge.bg-primary { background-color: var(--sc-green) !important; }

/* ---------- Header ---------- */
header.wrapper,
header.wrapper.bg-soft-primary { background: #fff !important; }
header .navbar {
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--sc-line);
}
header .navbar.fixed { box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35); }
header .navbar .navbar-nav .nav-link {
  color: var(--sc-ink) !important;
  font-weight: 600;
  font-size: .95rem;
  position: relative;
}
header .navbar .navbar-nav .nav-link:hover,
header .navbar .navbar-nav .nav-item.active > .nav-link { color: var(--sc-green) !important; }
@media (min-width: 992px) {
  header .navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .9rem; right: .9rem; bottom: .35rem;
    height: 2px; border-radius: 2px;
    background: var(--sc-green);
    transform: scaleX(0);
    transition: transform .2s ease;
  }
  header .navbar .navbar-nav .nav-link:hover::after,
  header .navbar .navbar-nav .nav-item.active > .nav-link::after { transform: scaleX(1); }
}
header .navbar .uil { color: var(--sc-ink); }
.badge-cart { background: var(--sc-accent) !important; color: #111 !important; font-weight: 700; }

/* top utility strip (app links / sign in) */
.top-header, .topbar, header .top-bar {
  background: var(--sc-ink) !important;
  color: #cbd5e1;
}

/* ---------- Page title band / breadcrumbs ---------- */
.wrapper.bg-soft-primary,
.bg-soft-primary,
.wrapper.bg-soft-grape,
.bg-soft-grape {
  background: linear-gradient(135deg, var(--sc-green-50) 0%, #f3faf6 55%, #fff 100%) !important;
}
.breadcrumb { font-weight: 500; }
.breadcrumb-item a { color: var(--sc-ink-2); }
.breadcrumb-item.active { color: var(--sc-green); }

/* ---------- Section headings ---------- */
.section-title, .featured-section-title, .title-section h2, h2.h3 {
  font-weight: 800;
}

/* ---------- Hero slider ---------- */
/* vendor forces 500px + object-fit:cover, which crops the 1648x610 banners */
.swiper-slide:has(> .slide-img),
.slide-img,
.slide-img img.image-fit {
  height: auto !important;
}
.slide-img img.image-fit {
  aspect-ratio: 1648 / 610;
  width: 100%;
  object-fit: cover;
  border-radius: 20px !important;
}

/* ---------- Category & brand tiles ---------- */
.category-image-container, .categories .swiper-slide figure, .brand-slider .swiper-slide figure,
.swiper-slide .category-image, .swiper-slide .brand-image {
  border-radius: var(--sc-radius) !important;
  overflow: hidden;
}
.swiper-slide figure img,
.swiper-slide .card img { border-radius: var(--sc-radius); }
.swiper-slide figure,
.swiper-slide .card {
  background: var(--sc-card);
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius) !important;
  box-shadow: var(--sc-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.swiper-slide:hover figure,
.swiper-slide:hover .card {
  transform: translateY(-3px);
  box-shadow: var(--sc-shadow);
  border-color: var(--sc-green-100);
}

/* ---------- Product cards ---------- */
.project.item {
  padding-bottom: .5rem;
}
.project.item > figure.rounded,
.project.item figure.rounded {
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius) !important;
  overflow: hidden;
  box-shadow: var(--sc-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.project.item:hover > figure.rounded {
  transform: translateY(-3px);
  box-shadow: var(--sc-shadow);
  border-color: var(--sc-green-100);
}
.project.item figure img.image-fit { background: #f1f5f4; }
.project.item .post-header { padding: 0 .15rem; }
.project.item .post-title,
.project.item .post-header h2,
.project.item .post-header h3,
.project.item .post-header a {
  color: var(--sc-ink);
  font-weight: 600;
  line-height: 1.35;
}
.project.item .post-header .post-title,
.project.item .post-header h2 a,
.project.item .post-header h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal !important;
}
.project.item .price,
.project.item .price ins,
.project.item .post-header .price span {
  color: var(--sc-green) !important;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}
.project.item .price del { color: var(--sc-muted); font-weight: 500; font-size: .85rem; }
/* hover action bar on cards */
.desktop_quick_view a.add_to_cart,
.item-cart {
  background: var(--sc-green) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700;
}
.desktop_quick_view a.item-like,
.desktop_quick_view a.item-view,
.desktop_quick_view a.item-compare {
  background: #fff !important;
  color: var(--sc-ink) !important;
  box-shadow: var(--sc-shadow-sm);
}
.desktop_quick_view a.item-like:hover,
.desktop_quick_view a.item-view:hover,
.desktop_quick_view a.item-compare:hover { color: var(--sc-green) !important; }

/* ---------- Listing sidebar / filters ---------- */
.shop-sidebar, .filter-sidebar, aside.sidebar, .product-filter, #product-filters {
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  padding: 1.25rem;
}
.form-control, .form-select, .select2-container .select2-selection {
  border-radius: var(--sc-radius-sm) !important;
  border-color: var(--sc-line) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sc-green) !important;
  box-shadow: 0 0 0 .2rem rgba(10, 144, 56, .15) !important;
}

/* ---------- Product page ---------- */
.product-details .price, .product-price, .product-page-price,
.col-md-5 > .post-header .price,
.post-header p.price.text-muted {
  color: var(--sc-green) !important;
  font-weight: 800 !important;
  font-size: 1.6rem;
}
.post-header p.price.text-muted del { color: var(--sc-muted) !important; font-size: 1rem; font-weight: 500; }
/* attribute value buttons were fixed at 60px (w-11) and clipped values like "UK Used (Grade A)" */
.btn-group-toggle label.btn,
.btn-group-toggle label.btn.w-11 {
  width: auto !important;
  max-width: none !important;
  min-width: 2.75rem;
  height: auto !important;
  white-space: nowrap;
  overflow: visible !important;
  padding: .45rem .9rem !important;
  font-size: .8rem !important;
  font-weight: 600;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--sc-ink) !important;
  border: 1.5px solid var(--sc-line) !important;
  box-shadow: none !important;
}
.btn-group-toggle label.btn:hover { border-color: var(--sc-green) !important; color: var(--sc-green) !important; }
.btn-group-toggle label.btn.active,
.btn-group-toggle label.btn:has(input:checked) {
  background: var(--sc-green-50) !important;
  border-color: var(--sc-green) !important;
  color: var(--sc-green-700) !important;
}
.nav-tabs .nav-link.active { color: var(--sc-green) !important; border-bottom-color: var(--sc-green) !important; }
.product-description table { width: 100%; border-radius: var(--sc-radius-sm); overflow: hidden; }
.product-description table th { background: var(--sc-green-50); color: var(--sc-ink); font-weight: 600; }

/* ---------- App download section ---------- */
.app-download-section, section.app-download {
  background: linear-gradient(135deg, var(--sc-green-700), var(--sc-green)) !important;
  color: #e9f7ee;
}

/* ---------- Footer ---------- */
footer, footer.text-inverse {
  background: #0b1f17 !important;
  color: #b8c7bf;
}
footer .widget-title, footer h4, footer h5 { color: #fff !important; font-weight: 700; }
footer a, footer .text-inverse a { color: #b8c7bf !important; }
footer a:hover { color: #fff !important; }
footer img.brand-logo-link,
footer .footer-logo img,
footer .footer-logo-footer img {
  background: #fff;
  padding: .6rem .8rem;
  border-radius: var(--sc-radius-sm);
  max-height: 64px;
  width: auto;
}
footer .social a {
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
}
footer .social a:hover { background: var(--sc-green); }
/* the curved divider above the footer */
.overflow-hidden .divider svg, .divider svg path { fill: #0b1f17 !important; }

/* ---------- Misc ---------- */
.progress-wrap::after { color: var(--sc-green) !important; }
.progress-wrap svg.progress-circle path { stroke: var(--sc-green) !important; }
.swiper-pagination-bullet-active { background: var(--sc-green) !important; }
.card { border-radius: var(--sc-radius); border-color: var(--sc-line); }

/* Mobile */
@media (max-width: 767.98px) {
  .project.item .post-header .post-title { font-size: .9rem; }
  .project.item .price { font-size: .98rem; }
}
