/* =====================================================================================
   Heaven Grocery website: brand colours and the small pieces the Fastkart theme
   does not have (Blazor-driven strips, toasts, empty states, skeletons).
   Loaded after assets/css/style.css.
   ===================================================================================== */

/* ---- brand colours (Heaven Grocery app green) ---- */
:root,
.theme-color-heaven {
  --theme-color: #3fa24f;
  --theme-color-rgb: 63, 162, 79;
  --theme-color1: #1e7a2e;
  --theme-color1-rgb: 30, 122, 46;
  --theme-color2: linear-gradient(90.56deg, #1e7a2e 8.46%, #3fa24f 62.97%);
  --hg-yellow: #f5c400;
  --hg-soft: #eef8f0;
  --hg-text: #222;
  --hg-muted: #6b7280;
  --hg-border: #ececec;
}

body {
  background-color: #fff;
}

body.hg-no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
}

.hg-main {
  min-height: 60vh;
}

/* ---- start-up screen (before Blazor is ready) ---- */
.hg-boot {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  font-family: "Public Sans", sans-serif;
  color: var(--hg-muted);
}

.hg-boot img {
  animation: hg-pulse 1.6s ease-in-out infinite;
}

.hg-boot__bar {
  width: 180px;
  height: 4px;
  border-radius: 4px;
  background: var(--hg-soft);
  overflow: hidden;
}

.hg-boot__bar span {
  display: block;
  height: 100%;
  width: var(--blazor-load-percentage, 10%);
  background: var(--theme-color);
  transition: width 0.2s ease;
}

@keyframes hg-pulse {
  50% { transform: scale(0.96); opacity: 0.85; }
}

#blazor-error-ui {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  padding: 12px 20px;
  background: #fff4d6;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
  font-size: 15px;
}

#blazor-error-ui .reload {
  margin-left: 8px;
  font-weight: 600;
  color: var(--theme-color1);
}

#blazor-error-ui .dismiss {
  float: right;
  cursor: pointer;
}

/* ---- header ---- */
.hg-logo img,
.hg-header .web-logo img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.hg-header .header-icon i {
  font-size: 21px;
  color: #222;
}

.hg-header .option-list .header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hg-header .navbar-toggler-icon i {
  font-size: 22px;
}

.hg-header .dropdown-category i {
  font-size: 17px;
}

.hg-header .searchbar-box .search-button i {
  font-size: 17px;
  color: #fff;
}

.hg-header .category-list .category-name img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hg-header .category-title-box h5 a {
  color: inherit;
}

.hg-header .nav-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #222;
  font-weight: 600;
}

.hg-header .nav-number i {
  font-size: 20px;
}

body.hg-scrolled .hg-header .top-nav {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.hg-minicart-empty {
  padding: 18px 8px;
  text-align: center;
  color: var(--hg-muted);
}

.hg-minicart-empty i {
  font-size: 30px;
  color: var(--theme-color);
  margin-bottom: 6px;
}

.hg-minicart-more {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--hg-muted);
}

/* category drawer on phones: open the sub-list of the tapped category */
@media (max-width: 767px) {
  .category-dropdown .onhover-category-list .onhover-category-box {
    display: none;
  }

  .category-dropdown .onhover-category-list.hg-expanded .onhover-category-box {
    display: block;
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding: 6px 12px 12px 44px;
  }

  .category-dropdown .onhover-category-list.hg-expanded > .category-name i {
    transform: rotate(90deg);
  }
}

/* main menu as a side drawer under 1200px */
@media (max-width: 1199px) {
  #primaryMenu.offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1045;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  #primaryMenu.offcanvas-collapse.hg-menu-open {
    transform: none;
    visibility: visible;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
  }

  #primaryMenu .offcanvas-header {
    display: flex;
  }

  #primaryMenu .offcanvas-body {
    padding: 0 16px 16px;
    overflow-y: auto;
  }
}

/* ---- backgrounds from Blazor (replaces the theme's .bg-img script) ---- */
.hg-bg {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hg-banner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 160px;
}

.hg-banner-main {
  min-height: 420px;
}

.hg-banner-small {
  min-height: 200px;
}

.hg-banner-offer {
  min-height: 260px;
}

.hg-banner__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 7%;
}

.hg-banner__text h3,
.hg-banner__text h5 {
  color: #222;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.hg-hero .home-contain.hg-bg {
  min-height: 300px;
}

@media (max-width: 767px) {
  .hg-banner-main {
    min-height: 220px;
  }
}

/* ---- section titles ---- */
.hg-section {
  padding-top: calc(25px + 25 * (100vw - 320px) / 1600);
}

.hg-subtitle {
  margin: 4px 0 0;
  color: var(--hg-muted);
}

.hg-view-all {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--theme-color);
  white-space: nowrap;
}

.hg-view-all i {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.hg-view-all:hover i {
  transform: translateX(3px);
}

/* ---- sideways strips ---- */
.hg-strip {
  position: relative;
}

.hg-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--hg-strip-items) - 1) * 16px) / var(--hg-strip-items));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}

.hg-strip__track::-webkit-scrollbar {
  display: none;
}

.hg-strip__item {
  scroll-snap-align: start;
  min-width: 0;
}

.hg-strip__arrow {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hg-border);
  border-radius: 50%;
  background: #fff;
  color: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hg-strip__arrow:hover {
  background: var(--theme-color);
  color: #fff;
}

.hg-strip__arrow--prev {
  left: -14px;
}

.hg-strip__arrow--next {
  right: -14px;
}

@media (max-width: 1399px) {
  .hg-strip__track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .hg-strip--categories .hg-strip__track,
  .hg-strip--brands .hg-strip__track { grid-auto-columns: calc((100% - 6 * 16px) / 7); }
}

@media (max-width: 1199px) {
  .hg-strip__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .hg-strip--categories .hg-strip__track,
  .hg-strip--brands .hg-strip__track { grid-auto-columns: calc((100% - 5 * 16px) / 6); }
}

@media (max-width: 991px) {
  .hg-strip__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .hg-strip--categories .hg-strip__track,
  .hg-strip--brands .hg-strip__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .hg-strip__arrow { display: none; }
}

@media (max-width: 575px) {
  .hg-strip__track { grid-auto-columns: 46%; gap: 12px; }
  .hg-strip--categories .hg-strip__track,
  .hg-strip--brands .hg-strip__track { grid-auto-columns: 30%; }
}

.hg-strip--categories .shop-category-box img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

/* brand tiles */
.hg-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 120px;
  padding: 14px;
  border: 1px solid var(--hg-border);
  border-radius: 12px;
  background: #fff;
  color: #222;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hg-brand:hover {
  border-color: var(--theme-color);
  box-shadow: 0 6px 16px rgba(var(--theme-color-rgb), 0.12);
}

.hg-brand img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

/* ---- product card ---- */
.hg-card .product-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.hg-card .product-option li a i {
  font-size: 15px;
  color: #4a5568;
}

.hg-card .product-option li a.hg-wish-on i,
.buy-box a.hg-wish-on i {
  color: #e74c3c;
}

.hg-card .label-new label {
  margin: 0;
}

.hg-card .name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.hg-variant-select {
  max-width: 250px;
  border-radius: 50px;
  font-size: 13px;
  color: #4a5568;
}

.hg-soldout-note {
  margin-top: 10px;
  padding: 9px 0;
  max-width: 250px;
  border-radius: 50px;
  background: #fdf0f0;
  color: #c0392b;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
}

.hg-card--soldout .product-image img {
  opacity: 0.55;
}

.hg-card .add-to-cart-box .btn-add-cart:disabled {
  opacity: 0.7;
}

/* ---- shop page ---- */
.hg-search-page {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--hg-border);
  border-radius: 12px;
  background: #fff;
}

.hg-search-page i {
  color: var(--hg-muted);
}

.hg-search-page input {
  border: 0;
  box-shadow: none !important;
}

.hg-result-count {
  color: #4a5568;
}

.hg-shop .top-filter-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hg-shop .top-filter-menu .dropdown-item.active,
.hg-shop .top-filter-menu .dropdown-item:active {
  background: var(--hg-soft);
  color: var(--theme-color1);
}

.hg-shop .filter-category ul li a i {
  font-size: 11px;
}

.hg-price-inputs {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.hg-price-inputs label {
  flex: 1;
  margin: 0;
  font-size: 12px;
  color: var(--hg-muted);
}

.hg-price-inputs .form-control {
  padding: 6px 8px;
  font-size: 14px;
}

.hg-price-dash {
  padding-bottom: 8px;
}

.hg-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.hg-price-presets button {
  padding: 4px 10px;
  border: 1px solid var(--hg-border);
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  color: #4a5568;
}

.hg-price-presets button.active,
.hg-price-presets button:hover {
  border-color: var(--theme-color);
  color: var(--theme-color1);
  background: var(--hg-soft);
}

.hg-shop .left-box .rating {
  display: inline-flex;
  gap: 2px;
}

/* ---- product page ---- */
.hg-gallery__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8f8f8;
  overflow: hidden;
}

.hg-gallery__main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.hg-gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--theme-color);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.hg-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hg-gallery__thumbs .sidebar-image {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f8f8f8;
  overflow: hidden;
}

.hg-gallery__thumbs .sidebar-image.active {
  border-color: var(--theme-color);
}

.hg-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

@media (max-width: 1399px) {
  .hg-gallery__thumbs { flex-direction: row; overflow-x: auto; }
  .hg-gallery__thumbs .sidebar-image { flex: 0 0 72px; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hg-gallery__thumbs { flex-direction: column; }
}

.hg-tax-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--hg-muted);
}

.hg-product .select-package {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.hg-product .select-package a.hg-pack--out {
  opacity: 0.5;
  text-decoration: line-through;
}

.hg-product .buy-box a i {
  font-size: 16px;
  margin-right: 6px;
}

.hg-out-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fdf0f0;
  color: #c0392b;
}

.hg-out-box i {
  font-size: 22px;
}

.hg-out-box span {
  display: block;
  color: #7a3b33;
  font-size: 14px;
}

.hg-promise {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hg-promise li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--hg-border);
  color: #4a5568;
}

.hg-promise i {
  width: 20px;
  color: var(--theme-color);
}

.hg-info-table td:first-child {
  width: 180px;
  color: var(--hg-muted);
}

.hg-variant-table th {
  color: var(--hg-muted);
  font-weight: 600;
}

.hg-star {
  color: #ffb321;
  font-size: 0.8em;
  margin-left: 4px;
}

.hg-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--hg-soft);
  color: var(--theme-color1);
  font-weight: 700;
  font-size: 18px;
}

.hg-verified {
  margin-left: 8px;
  font-size: 12px;
  color: var(--theme-color);
}

.hg-review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hg-review-photos img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.hg-link-btn {
  padding: 2px 0;
  color: var(--theme-color);
  font-weight: 600;
}

.hg-admin-reply {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--theme-color);
  border-radius: 6px;
  background: var(--hg-soft);
  font-size: 14px;
}

.hg-admin-reply p {
  margin: 4px 0 0;
}

/* ---- cart ---- */
.hg-row-out td {
  opacity: 0.7;
}

.hg-cart-note {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--hg-muted);
}

.cart-section .summery-contain ul li {
  display: flex;
  justify-content: space-between;
}

.cart-section .summery-total li {
  display: flex;
  justify-content: space-between;
}

.cart-section .button-group ul {
  padding: 0;
  list-style: none;
}

.cart-section .proceed-btn:disabled {
  opacity: 0.65;
}

/* ---- footer ---- */
.hg-foot-logo img {
  height: 54px;
  width: auto;
}

.hg-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #111;
  color: #fff !important;
}

.hg-app-badge i {
  font-size: 22px;
}

.hg-app-badge small {
  display: block;
  font-size: 10px;
  opacity: 0.8;
}

.hg-pay li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-weight: 700;
  font-size: 12px;
}

.hg-pay li i {
  font-size: 22px;
}

.footer-section-2 .inform-box i {
  width: 18px;
  color: var(--theme-color);
}

/* ---- empty states, skeletons, toasts, back to top ---- */
.hg-empty {
  max-width: 460px;
  margin: 30px auto;
  padding: 36px 24px;
  text-align: center;
  color: var(--hg-muted);
}

.hg-empty i {
  font-size: 46px;
  color: var(--theme-color);
  margin-bottom: 14px;
}

.hg-empty h4 {
  color: #222;
  font-weight: 700;
  margin-bottom: 6px;
}

.hg-empty--small {
  margin: 10px auto;
  padding: 16px;
}

.hg-skeleton-card {
  padding: 14px;
  border-radius: 10px;
  background: #fff;
}

.hg-skel {
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f1f1 25%, #e8e8e8 50%, #f1f1f1 75%);
  background-size: 200% 100%;
  animation: hg-shimmer 1.2s infinite;
}

.hg-skel--img {
  aspect-ratio: 1;
  margin-bottom: 12px;
}

.hg-skel--line {
  height: 12px;
  margin-top: 8px;
}

@keyframes hg-shimmer {
  to { background-position: -200% 0; }
}

.hg-toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 36px));
}

.hg-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #222;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  animation: hg-toast-in 0.25s ease;
}

.hg-toast--success i:first-child { color: #7ee08c; }
.hg-toast--error i:first-child { color: #ff8b7e; }
.hg-toast--info i:first-child { color: #9fd3ff; }

.hg-toast span {
  flex: 1;
}

.hg-toast a {
  color: var(--hg-yellow);
  font-weight: 700;
  white-space: nowrap;
}

.hg-toast__close {
  border: 0;
  background: none;
  color: #bbb;
  padding: 0 2px;
}

@keyframes hg-toast-in {
  from { transform: translateY(10px); opacity: 0; }
}

.hg-to-top {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 1000;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--theme-color-rgb), 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.hg-scrolled .hg-to-top {
  opacity: 1;
  visibility: visible;
}

/* ---- phone bottom bar ---- */
.mobile-menu ul li a i {
  display: block;
  margin: 0 auto 2px;
  font-size: 19px;
  color: #fff;
}

.mobile-menu ul li.active a span {
  font-weight: 700;
}

.mobile-menu .hg-mobile-cart {
  position: relative;
}

.hg-mobile-badge {
  position: absolute;
  top: -4px;
  left: 55%;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

@media (max-width: 767px) {
  .hg-toasts { bottom: 80px; }
  .hg-to-top { bottom: 140px; }
  body { padding-bottom: 64px; }
}

/* ---- header fixes on top of the theme ---- */
/* the theme puts a dropdown arrow on every menu link; ours are plain links */
.hg-header .navbar.navbar-expand-xl .navbar-nav .nav-link::before {
  content: none;
}

.hg-header .navbar-nav .nav-link {
  white-space: nowrap;
}

.hg-header .navbar-nav .nav-link.active {
  color: var(--theme-color) !important;
}

/* the theme hides list items by position (it has five icons, we have three) */
.hg-header .rightside-menu .option-list > ul > li:not(.d-xl-none) {
  display: block !important;
}

@media (max-width: 1199px) {
  .hg-header .rightside-menu .option-list > ul > li.d-xl-none {
    display: block !important;
  }

  .hg-header .rightside-menu .option-list > ul > li .header-icon.search-icon {
    display: inline-flex !important;
  }
}

.hg-header .dropdown-category i {
  color: var(--theme-color);
  margin-right: 8px;
}

.hg-header .dropdown-category span {
  white-space: nowrap;
}

.hg-pay li {
  line-height: 1;
}

.footer-section-2 .footer-address .inform-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-section-2 .footer-address .inform-box i {
  margin-top: 3px;
}

/* product column next to the shop filters (the theme ships it as "col-custom-") */
.col-custom-9 { width: 78%; }
@media (max-width: 1399px) { .col-custom-9 { width: 75%; } }
@media (max-width: 1199px) { .col-custom-9 { width: 70%; } }
@media (max-width: 991px) { .col-custom-9 { width: 100%; } }

.hg-shop .filter-button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.hg-shop .filter-button a i {
  color: #fff;
}

/* ---- home slider (Components/HeroSlider.razor) ---- */
.hg-hero-slider {
  padding-top: 24px;
}

.hg-slider {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #f3f5f3;
  aspect-ratio: 16 / 5;
}

.hg-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.hg-slide {
  flex: 0 0 100%;
  height: 100%;
}

.hg-slide a,
.hg-slide picture {
  display: block;
  height: 100%;
}

.hg-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hg-slide--welcome {
  display: flex;
  align-items: center;
  padding: 0 6%;
}

.hg-slide__welcome h1 {
  margin: 6px 0;
}

.hg-slider--loading .hg-skel {
  width: 100%;
  height: 100%;
}

.hg-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hg-slider:hover .hg-slider__arrow,
.hg-slider__arrow:focus-visible {
  opacity: 1;
}

.hg-slider__arrow:hover {
  background: var(--theme-color);
  color: #fff;
}

.hg-slider__arrow--prev { left: 16px; }
.hg-slider__arrow--next { right: 16px; }

.hg-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.hg-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.hg-slider__dots button.active {
  width: 26px;
  background: #fff;
}

@media (max-width: 991px) {
  .hg-slider { aspect-ratio: 16 / 7; }
  .hg-slider__arrow { opacity: 1; width: 36px; height: 36px; }
}

@media (max-width: 767px) {
  .hg-hero-slider { padding-top: 14px; }
  .hg-slider { aspect-ratio: 16 / 9; border-radius: 10px; }
  .hg-slider__arrow { display: none; }
  .hg-slider__dots { bottom: 8px; }
}
