/**
* Template Name: NiceShop (адаптировано для Undrella)
* Author: BootstrapMade.com
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #000000;
  --accent-color: #252223;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: rgba(255, 255, 255, 0.8);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: #252223;
}

.light-background {
  --background-color: #f6f6f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #232424;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section, .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Section Title
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.5s;
  z-index: 997;
}

.header .top-bar {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  font-size: 14px;
}

.header .top-bar .top-bar-item {
  color: var(--default-color);
}

.header .top-bar .top-bar-item a {
  color: var(--accent-color);
  text-decoration: none;
}

.header .top-bar .top-bar-item a:hover {
  text-decoration: underline;
}

.header .top-bar .announcement-slider {
  color: var(--accent-color);
  font-weight: 500;
  height: 24px;
  overflow: hidden;
}

.header .top-bar .announcement-slider .swiper-wrapper {
  height: auto !important;
}

.header .top-bar .announcement-slider .swiper-slide {
  text-align: center;
  height: 24px;
  line-height: 24px;
}

.header .main-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .main-header .logo {
  line-height: 1;
}

.header .main-header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .main-header .logo h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .header .main-header .logo h1 {
    font-size: 24px;
  }
}

.header .main-header .header-actions {
  gap: 16px;
}

.header .main-header .header-actions .header-action-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--default-color);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header .main-header .header-actions .header-action-btn i {
  font-size: 24px;
}

.header .main-header .header-actions .header-action-btn:hover {
  color: var(--accent-color);
}

.header .header-nav {
  background-color: var(--accent-color);
}

@media (min-width: 1200px) {
  .header .header-nav {
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
}

@media (max-width: 991.98px) {
  .header .main-header .header-actions {
    gap: 0.5rem;
  }
  .header .main-header .header-actions .header-action-btn {
    padding: 0.25rem;
  }
  .header .main-header .header-actions .header-action-btn i {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 0;
    padding: 10px 0;
    margin: 0;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
  }
}

@media (min-width: 1200px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 100px;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 100px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), transparent 94%) 0%, color-mix(in srgb, var(--heading-color), transparent 98%) 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: -1;
}

.hero .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 992px) {
  .hero .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.hero .hero-content {
  z-index: 2;
}

.hero .hero-content .content-wrapper {
  max-width: 600px;
}

.hero .hero-content .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero .hero-content .hero-title {
    font-size: 2.8rem;
  }
}

.hero .hero-content .hero-description {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .hero .hero-content .hero-description {
    font-size: 1.1rem;
  }
}

.hero .hero-content .hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero .hero-content .hero-actions .btn-primary,
.hero .hero-content .hero-actions .btn-secondary {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .hero-content .hero-actions .btn-primary::before,
.hero .hero-content .hero-actions .btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero .hero-content .hero-actions .btn-primary:hover::before,
.hero .hero-content .hero-actions .btn-secondary:hover::before {
  left: 100%;
}

.hero .hero-content .hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  color: var(--contrast-color);
  border: none;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero .hero-content .hero-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero .hero-content .hero-actions .btn-secondary {
  background: transparent;
  color: var(--heading-color);
  border: 2px solid color-mix(in srgb, var(--heading-color), transparent 80%);
}

.hero .hero-content .hero-actions .btn-secondary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.hero .hero-content .features-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero .hero-content .features-list .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .hero-content .features-list .feature-item i {
  font-size: 1.3rem;
  color: var(--accent-color);
}

.hero .hero-content .features-list .feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

.hero .hero-visuals {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .hero-visuals .product-showcase {
  position: relative;
  max-width: 500px;
}

.hero .hero-visuals .product-showcase .product-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hero .hero-visuals .product-showcase .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--default-color), transparent 85%);
}

.hero .hero-visuals .product-showcase .product-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  margin-bottom: 20px;
}

.hero .hero-visuals .product-showcase .product-card .product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero .hero-visuals .product-showcase .product-card .product-info h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.hero .hero-visuals .product-showcase .product-card .product-info .price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .hero-visuals .product-showcase .product-card .product-info .price .sale-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }
  .hero .hero-container {
    padding: 0 15px;
  }
  .hero .hero-content .hero-actions .btn-primary,
  .hero .hero-content .hero-actions .btn-secondary {
    padding: 14px 24px;
    font-size: 1rem;
  }
  .hero .hero-content .features-list {
    gap: 20px;
  }
  .hero .hero-content .features-list .feature-item span {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Promo Cards Section
--------------------------------------------------------------*/
.promo-cards {
  padding-top: 24px;
  --default-color: #666;
  --heading-color: #333;
  padding-bottom: 30px;
}

.promo-cards .category-featured {
  position: relative;
  border-radius: 12px;
  min-height: 500px;
  overflow: hidden;
  background-color: #f8f5ff;
  transition: all 0.4s ease;
}

.promo-cards .category-featured:hover {
  transform: translateY(-5px);
}

.promo-cards .category-featured:hover .category-image img {
  transform: scale(1.05);
}

.promo-cards .category-featured .category-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

.promo-cards .category-featured .category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.promo-cards .category-featured .category-content {
  position: relative;
  z-index: 2;
  padding: 50px;
  max-width: 55%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-cards .category-featured .category-content .category-tag {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-cards .category-featured .category-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.promo-cards .category-featured .category-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.promo-cards .category-featured .category-content .btn-shop {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.promo-cards .category-featured .category-content .btn-shop i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.promo-cards .category-featured .category-content .btn-shop:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.promo-cards .category-featured .category-content .btn-shop:hover i {
  transform: translateX(5px);
}

.promo-cards .category-card {
  position: relative;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.promo-cards .category-card.cat-men {
  background-color: #e6f4ff;
}

.promo-cards .category-card.cat-kids {
  background-color: #fff4e6;
}

.promo-cards .category-card.cat-cosmetics {
  background-color: #ffe6eb;
}

.promo-cards .category-card.cat-accessories {
  background-color: #e6ffe8;
}

.promo-cards .category-card:hover {
  transform: translateY(-5px);
}

.promo-cards .category-card .category-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-cards .category-card .category-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.promo-cards .category-card .category-content p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 15px;
}

.promo-cards .category-card .category-content .card-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.promo-cards .category-card .category-content .card-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.promo-cards .category-card:hover .card-link {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.promo-cards .category-card:hover .card-link i {
  transform: translateX(5px);
}

@media (max-width: 991.98px) {
  .promo-cards .category-featured {
    min-height: 420px;
  }
  .promo-cards .category-featured .category-content {
    padding: 30px;
  }
  .promo-cards .category-featured .category-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .promo-cards .category-featured {
    min-height: auto;
  }
  .promo-cards .category-featured .category-image {
    position: relative;
    width: 100%;
  }
  .promo-cards .category-featured .category-content {
    max-width: 100%;
  }
  .promo-cards .category-featured .category-content h2 {
    font-size: 1.8rem;
  }
  .promo-cards .category-card {
    height: 200px;
  }
  .promo-cards .category-card .category-content {
    width: 65%;
  }
  .promo-cards .category-card .category-content h4 {
    font-size: 1.2rem;
  }
}

/*--------------------------------------------------------------
# Best Sellers / Product Items (used for services, portfolio, etc.)
--------------------------------------------------------------*/
.best-sellers {
  padding-top: 60px;
  padding-bottom: 30px;
}

.best-sellers .product-item {
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 20px;
}

.best-sellers .product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.best-sellers .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
}

.best-sellers .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.best-sellers .product-item:hover .product-image img {
  transform: scale(1.02);
}

.best-sellers .product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background-color: var(--heading-color);
  color: var(--contrast-color);
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--heading-font);
  padding: 0.4em 1em;
  border-radius: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.best-sellers .product-info {
  padding: 30px 20px 25px;
}

.best-sellers .product-category {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.best-sellers .product-name {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 12px;
}

.best-sellers .product-name a {
  color: var(--heading-color);
}

.best-sellers .product-name a:hover {
  color: var(--accent-color);
}

.best-sellers .product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

@media (max-width: 1199.98px) {
  .best-sellers .product-info {
    padding: 25px 18px 22px;
  }
  .best-sellers .product-name {
    font-size: 0.95rem;
  }
}

@media (max-width: 991.98px) {
  .best-sellers .product-item {
    max-width: 320px;
  }
}

@media (max-width: 767.98px) {
  .best-sellers .product-info {
    padding: 22px 16px 20px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-main {
  padding: 70px 0 40px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
}

.footer .footer-main .footer-widget {
  margin-bottom: 30px;
}

.footer .footer-main .footer-widget .logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer .footer-main .footer-widget .logo span {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}

.footer .footer-main .footer-widget p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.footer .footer-main .footer-widget h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-main .footer-widget h4:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer .footer-main .footer-widget h5 {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
}

.footer .footer-main .footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer .footer-main .footer-contact .contact-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 12px;
  margin-top: 3px;
}

.footer .footer-main .footer-contact .contact-item span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.5;
}

.footer .footer-main .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-main .footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}

.footer .footer-main .footer-links li:before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer .footer-main .footer-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: all 0.3s ease;
}

.footer .footer-main .footer-links a:hover {
  color: var(--accent-color);
}

.footer .footer-main .social-links {
  margin-top: 25px;
}

.footer .footer-main .social-links h5 {
  margin-bottom: 15px;
}

.footer .footer-main .social-links .social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer .footer-main .social-links .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer .footer-main .social-links .social-icons a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer .footer-bottom {
  padding: 25px 0;
}

.footer .footer-bottom .copyright p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .footer-bottom .copyright p strong {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.footer .footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .footer-bottom .legal-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer .footer-bottom .legal-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  .footer .footer-main {
    padding: 60px 0 30px;
  }
  .footer .footer-widget h4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .footer .footer-main {
    padding: 50px 0 20px;
  }
  .footer .footer-main .footer-widget {
    text-align: center;
  }
  .footer .footer-main .footer-widget h4:after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer .footer-main .footer-contact .contact-item {
    justify-content: center;
  }
  .footer .footer-main .footer-links li {
    padding-left: 0;
  }
  .footer .footer-main .footer-links li:before {
    display: none;
  }
  .footer .footer-main .social-icons {
    justify-content: center;
  }
  .footer .footer-bottom .copyright {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--default-color);
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.2s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Magnito Effect (from old template)
--------------------------------------------------------------*/
.magnito {
  --offsetX: calc(var(--cursorX) - var(--itemX));
  --offsetY: calc(var(--cursorY) - var(--itemY));
  --distance: calc(sqrt(pow(calc(var(--offsetX)/1px), 2) + pow(calc(var(--offsetY)/1px), 2)));
  --offsetI: min(1, calc(100px / (var(--distance) * 1px)));
  translate: calc(var(--offsetX) * pow(var(--offsetI), 4)) calc(var(--offsetY) * pow(var(--offsetI), 4));
}