/**
 * Custom WordPress Theme – Component Styles
 * Header, Footer, Post Grid, Cards, Mobile Menu, Widgets
 */

/* ============================================================
   HEADER
   ============================================================ */
/* CTA BUTTONS */
.mt-header-btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.mt-header-btn:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mt-header-btn.style-2 {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.mt-header-btn.style-2:hover {
  background: var(--primary);
  color: #fff;
}

/* ── HEADER VISIBILITY SYSTEM ── */

/* 1. Global: Force-hide all variants first */
body .desktop-header-only,
body .tablet-header-only,
body .mobile-header-only {
  display: none !important;
}

/* 2. Desktop Mode (1043px and wider) */
@media (min-width: 1043px) {
  body .desktop-header-only {
    display: flex !important;
  }
}

/* 3. Tablet Mode (iPad: 769px to 1042px) */
@media (max-width: 1042px) and (min-width: 769px) {
  body .tablet-header-only {
    display: flex !important;
  }
}

/* 4. Mobile Mode (768px and smaller) */
@media (max-width: 768px) {
  body .mobile-header-only {
    display: flex !important;
  }
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  transition: background 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    padding 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 80px;
}

/* Logo */
.site-branding a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.site-branding img {
  height: 40px;
  width: auto;
}

/* Primary Nav */
#site-navigation ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-navigation ul li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

#site-navigation ul li a:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--secondary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-icon {
  position: relative;
  font-size: 1.2rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  border-radius: var(--radius-sm);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Vertical Line */
.header-vertical-line {
  width: 1px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.08);
  align-self: center;
}

/* Search Style 2: Box Field with Live Search */
.header-search-style-2 {
  position: relative;
  width: 240px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 4px 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.search-input-wrapper:focus-within {
  background: #fff;
  border-color: var(--secondary);
}

.search-field-live {
  border: none;
  background: transparent;
  padding: 8px 0;
  width: 100%;
  font-size: 14px;
  outline: none;
  color: var(--foreground);
}

.search-submit-live {
  background: none;
  border: none;
  padding: 0;
  margin-left: 10px;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.search-submit-live:hover {
  color: var(--secondary);
}

/* Live results dropdown */
.live-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 1100;
  overflow: hidden;
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-origin: top center;
  animation: mt-fade-in-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mt-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-search-results.is-active {
  display: block;
}

.live-search-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.live-search-item {
  transition: background 0.2s;
}

.live-search-item:hover {
  background: #f9fafb;
}

.live-search-link {
  display: flex;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  gap: 14px;
}

.live-search-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}

.live-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-search-content {
  flex: 1;
  min-width: 0;
}

.live-search-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827;
  letter-spacing: -0.01em;
}

/* Search Style 1 Popup (Modern Top-down) */
.search-popup-style-1 {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 9999;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 60px 0;
  display: none;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.search-popup-style-1.is-active {
  display: block;
  pointer-events: all;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.search-popup-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.search-popup-style-1 .search-form {
  flex: 1;
  position: relative;
}

.search-popup-style-1 .search-field {
  width: 100% !important;
  border: none !important;
  border-bottom: 2px solid var(--primary) !important;
  background: transparent !important;
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 300 !important;
  padding: 20px 0 !important;
  color: var(--primary) !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  letter-spacing: -0.02em !important;
}

.search-popup-close {
  background: none !important;
  border: none !important;
  font-size: 64px !important;
  line-height: 1 !important;
  color: var(--primary) !important;
  cursor: pointer !important;
  padding: 0 !important;
  opacity: 0.3 !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 200 !important;
}

.search-popup-close:hover {
  opacity: 1 !important;
  transform: rotate(90deg);
}

.search-popup-style-1 .live-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-height: 60vh;
  overflow-y: auto;
}

@keyframes mt-slide-down {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.live-search-desc {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.live-search-view-all {
  padding: 12px;
  text-align: center;
  border-top: 1px solid #f3f4f6;
  font-size: 13px;
  font-weight: 600;
}

.live-search-view-all a {
  color: var(--secondary);
  text-decoration: none;
}

.live-search-view-all a:hover {
  text-decoration: underline;
}

.live-search-results.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.no-results {
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.no-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu styles removed - controlled by main.css for modern design */

/* ============================================================
   POSTS GRID
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
  margin-block: 3rem;
}

/* ============================================================
   POST CARD
   ============================================================ */
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition-base),
    transform var(--transition-base);
}

.post-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.post-card-thumbnail {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card-thumbnail img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.post-card-title {
  font-size: 1.2rem;
  line-height: 1.3;
}

.post-card-title a:hover {
  color: var(--secondary);
}

.post-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  flex: 1;
}

.post-card-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */

.entry-header {
  margin-bottom: 2rem;
}

.entry-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.entry-meta {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.entry-thumbnail {
  margin-block: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.entry-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
  margin-block: 2.5rem 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--light-gray);
  color: var(--primary);
  font-size: 18px;
}

footer {
  padding: 60px 0;
}

footer .top-content,
footer .bottom-content {
  display: flex;
  gap: 20px;
}

footer .column {
  width: 50%;
}

footer .column.column-menu {
  width: 70%;
}

footer .column.column-about {
  width: 70%;
  padding-right: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

footer .column.column-about img {
  width: 250px;
  margin-bottom: 30px;
}

footer .column.column-copyright,
footer .column.column-contact {
  width: 30%;
}

footer .bottom-content {
  border-top: 1px solid var(--primary);
  padding-top: 50px;
  margin-top: 60px;
}

footer .column-copyright {
  text-align: right;
  font-size: 14px;
}

.column-contact .custom-contact-widget {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 50px;
}

.column-contact p {
  display: flex;
  gap: 10px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand .site-branding a {
  color: #fff;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 18px;
  max-width: 280px;
}

.footer-menus {
  display: contents;
}

.footer-nav .footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav .footer-menu-list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-nav .footer-menu-list a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.875rem;
}

.copyright a {
  color: rgba(255, 255, 255, 0.8);
}

.copyright a:hover {
  color: #fff;
}

footer p {
  margin-block-end: 0 !important;
}

/* ============================================================
   WIDGETS
   ============================================================ */

.widget-title {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

/* ============================================================
   PAGE HEADER (Archive / Search / 404)
   ============================================================ */
.page-header {
  padding-block: 8rem 0;
}

.page-title {
  font-size: clamp(1.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* ============================================================
   404 Page
   ============================================================ */
.error-404 {
  text-align: center;
  padding-block: 10rem;
}

.error-404 .page-title {
  font-size: clamp(6rem, 20vw, 14rem);
  line-height: 1;
  color: var(--secondary);
  opacity: 0.15;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/*=== big ipad 13 inch ===*/
@media (max-width: 1042px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    font-size: 16px;
  }

  footer .column.column-about {
    width: 60%;
    padding-right: 16%;
  }

  footer .column.column-contact {
    width: 40%;
  }

  footer .bottom-content {
    flex-direction: column;
  }

  footer .column.column-menu {
    width: 100%;
  }

  footer .column.column-menu ul li a {
    font-size: 13px !important;
  }

  footer .column {
    width: 100%;
  }

  footer .bottom-content {
    flex-direction: column;
  }

  footer .column {
    width: 100%;
  }

  footer .column-copyright {
    text-align: left;
  }
}

/*=== ipad : small 11 ===*/
@media (max-width: 867px) {
  footer .column.column-about img {
    width: 210px;
  }

  footer .column.column-about {
    width: 60%;
    padding-right: 40px;
  }

  footer .column.column-contact {
    width: 40%;
  }

  footer .bottom-content {
    flex-direction: column;
  }

  footer .column {
    width: 100%;
  }

  footer .column-copyright {
    text-align: left;
  }
}

/*=== mobile ===*/
@media (max-width: 768px) {
  :root {
    --section-padding: 5rem 0;
  }

  #site-navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-col {
    gap: 10px !important;
  }

  /* footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  /* footer */
  .site-footer {
    font-size: 16px;
  }

  footer {
    padding: 30px 0;
  }

  footer .top-content,
  footer .bottom-content {
    flex-direction: column;
  }

  footer .column {
    width: 100% !important;
    padding: 10px 0 !important;
  }

  footer .column.column-about img {
    width: 170px;
    margin-bottom: 30px;
  }

  #menu-custom_nav_menu_widget-2 ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px !important;
  }

  footer .column-copyright {
    text-align: left;
  }

  .social-icons-wrapper {
    justify-content: flex-start !important;
  }

  footer .bottom-content {
    padding-top: 20px;
    margin-top: 20px;
  }
}

/* ============================================================
   PREMIUM 404 & NO RESULTS
   ============================================================ */
.error-page-premium {
  padding: 120px 0;
  background: #fff;
}

.error-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.error-col-visual {
  flex: 1;
  text-align: right;
  position: relative;
}

.error-big-text {
  font-size: 280px;
  font-weight: 900;
  line-height: 0.8;
  color: #f0f0f0;
  letter-spacing: -10px;
  user-select: none;
}

.error-line {
  width: 100px;
  height: 4px;
  background: var(--secondary);
  display: inline-block;
  margin-top: 20px;
}

.error-col-content {
  flex: 1.2;
}

.error-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 15px;
}

.error-title {
  font-size: 45px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--primary);
}

.error-text {
  font-size: 20px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
}

.error-search-minimal .search-form {
  border-bottom: 2px solid #eee;
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  transition: border-color 0.3s;
}

.error-search-minimal .search-form:focus-within {
  border-color: var(--primary);
}

.error-search-minimal .search-field {
  flex: 1;
  border: none;
  padding: 15px 0;
  font-size: 18px;
  background: none;
  outline: none;
}

.error-search-minimal .search-submit {
  background: none;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  color: var(--primary);
}

/* NO RESULTS MINIMAL */
.no-results-minimal {
  padding: 100px 0;
  max-width: 700px;
  margin: 0 auto;
}

.no-results-icon-wrap {
  margin-bottom: 20px;
  color: var(--secondary);
  opacity: 0.6;
}

.no-results-minimal .no-results-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
}

.no-results-minimal .no-results-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.no-results-search-form form label {
  width: 70%;
}

.no-results-minimal .no-results-search-form .search-form {
  background: #f8f8f8;
  padding: 5px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.no-results-minimal .no-results-search-form .search-form:focus-within {
  background: #fff;
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.no-results-minimal .search-field {
  flex: 1;
  width: 100%;
  background: none;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  outline: none;
}

.no-results-minimal .search-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 35px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.no-results-minimal .search-submit:hover {
  background: var(--secondary);
}

@media (max-width: 1024px) {
  .error-wrapper {
    gap: 40px;
    padding: 0 40px;
  }

  .error-big-text {
    font-size: 200px;
  }

  .error-title {
    font-size: 42px;
  }

  footer ul.menu {
    gap: 20px !important;
  }

  footer ul.menu li a {
    font-size: 13px !important;
  }
}

@media (max-width: 768px) {
  .error-page-premium {
    padding: 80px 0;
  }

  .error-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
  }

  .error-col-visual {
    text-align: center;
    order: 1;
  }

  .error-col-content {
    order: 2;
  }

  .error-big-text {
    font-size: 140px;
    letter-spacing: -5px;
    margin-bottom: 20px;
  }

  .error-line {
    display: none;
  }

  .error-title {
    font-size: 32px;
  }

  .error-text {
    font-size: 18px;
  }

  /* No Results Mobile */
  .no-results-minimal {
    padding: 60px 20px;
  }

  .no-results-minimal .no-results-title {
    font-size: 32px;
  }

  .no-results-minimal .no-results-search-form .search-form {
    flex-direction: column;
    border-radius: 15px;
    background: #f8f8f8;
    padding: 10px;
    gap: 10px;
  }

  .no-results-minimal .search-submit {
    width: 100%;
    padding: 15px;
  }
}

/* ── BACK TO TOP (AWWWARDS STYLE) ── */
.mt-back-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.03);
  color: #000;
}

.mt-back-to-top.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mt-back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.mt-btt-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.mt-back-to-top:hover .mt-btt-icon {
  transform: translateY(-2px);
}

/* Progress Circle */
.mt-btt-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mt-btt-progress path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  box-sizing: border-box;
  stroke-dasharray: 307.919, 307.919;
  stroke-dashoffset: 307.919;
  transition: stroke-dashoffset 0.1s linear;
}

.mt-back-to-top:hover .mt-btt-progress path {
  stroke: #fff;
  opacity: 0.2;
}

@media (max-width: 768px) {
  .mt-back-to-top {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}