/* ==========================================================================
   MOTOMAN SHOP — COMPONENTS STYLING
   ========================================================================== */

/* --- TOP BAR --- */
.mm-topbar {
  background-color: var(--mm-black);
  color: var(--mm-silver);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--mm-charcoal);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.topbar-right a:hover {
  color: var(--mm-white);
}

.topbar-sep {
  color: var(--mm-charcoal);
}

@media (max-width: 768px) {
  .mm-topbar { display: none; } /* Hide on mobile to prioritize main shop navigation */
}

/* --- GLASSMORPHIC STICKY HEADER --- */
.mm-header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: relative;
  z-index: 100;
  padding: 16px 0;
  transition: var(--mm-transition);
}

.mm-header.sticky-header {
  position: sticky;
  top: 0;
}

.mm-header.is-sticky {
  padding: 10px 0;
  box-shadow: var(--mm-shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-wrap {
  flex-shrink: 0;
}

.site-logo {
  max-height: 50px;
  width: auto;
  transition: var(--mm-transition);
}

.mm-header.is-sticky .site-logo {
  max-height: 40px;
}

/* --- MAIN NAV MENU (DESKTOP) --- */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul.menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.main-nav ul.menu li {
  position: relative;
}

.main-nav ul.menu li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mm-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--mm-text);
  padding: 8px 0;
  position: relative;
}

.main-nav ul.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--mm-red);
  transition: var(--mm-transition);
}

.main-nav ul.menu li a:hover {
  color: var(--mm-red);
}

.main-nav ul.menu li a:hover::after {
  width: 100%;
}

.mm-nav-icon svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .main-nav { display: none; } /* Show in offcanvas on tablet and mobile */
}

/* --- HEADER ACTIONS --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search-wrap {
  position: relative;
}

.mm-header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.mm-header-search .search-field {
  padding: 8px 16px 8px 40px;
  border-radius: var(--mm-radius-sm);
  border: 1px solid var(--mm-border);
  font-family: var(--mm-font);
  font-size: 0.9rem;
  width: 220px;
  outline: none;
  background-color: var(--mm-light);
  transition: var(--mm-transition);
}

.mm-header-search .search-field:focus {
  width: 280px;
  border-color: var(--mm-red);
  background-color: var(--mm-white);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.mm-header-search button {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  color: var(--mm-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-header-search button:hover {
  color: var(--mm-red);
}

@media (max-width: 768px) {
  .header-search-wrap { display: none; } /* Search integrated inside offcanvas drawer on mobile */
}

/* CART ICON & CTA */
.header-cart-link {
  display: flex;
  align-items: center;
  position: relative;
}

.header-cart-icon {
  color: var(--mm-text);
  transition: var(--mm-transition);
}

.header-cart-link:hover .header-cart-icon {
  color: var(--mm-red);
}

.header-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--mm-red);
  color: var(--mm-white);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3);
}

.header-cta {
  background: linear-gradient(135deg, var(--mm-red) 0%, var(--mm-red-dark) 100%);
  color: var(--mm-white) !important;
  font-family: var(--mm-font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: var(--mm-radius-sm);
  box-shadow: var(--mm-shadow-sm);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

@media (max-width: 500px) {
  .header-cta { display: none; }
}

/* HAMBURGER TOGGLE */
.mm-menu-toggle {
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.mm-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--mm-black);
  border-radius: 2px;
  transition: var(--mm-transition);
}

@media (max-width: 1024px) {
  button.mm-menu-toggle { display: flex !important; }
}

/* --- MOBILE OFFCANVAS DRAWER --- */
.mm-offcanvas-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--mm-white);
  box-shadow: var(--mm-shadow-lg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden !important;
}

.mm-offcanvas-menu.is-active {
  right: 0;
}

.offcanvas-header {
  padding: 24px;
  border-bottom: 1px solid var(--mm-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offcanvas-title {
  font-family: var(--mm-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--mm-black);
}

.offcanvas-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--mm-gray);
  cursor: pointer;
}

.offcanvas-close:hover {
  color: var(--mm-red);
}

.offcanvas-body {
  padding: 24px;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.offcanvas-search-wrap .woocommerce-product-search {
  position: relative;
}

.offcanvas-search-wrap input.search-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius-sm);
  outline: none;
}

.offcanvas-nav ul.offcanvas-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}

.offcanvas-nav ul.offcanvas-menu-list li {
  border-bottom: 1px solid var(--mm-border);
}

.offcanvas-nav ul.offcanvas-menu-list li:last-child {
  border-bottom: none;
}

.offcanvas-nav ul.offcanvas-menu-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mm-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mm-black);
  padding: 16px 0;
  transition: var(--mm-transition);
}

.offcanvas-nav ul.offcanvas-menu-list li a .mm-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--mm-gray);
  flex-shrink: 0;
  transition: color var(--mm-transition);
}

.offcanvas-nav ul.offcanvas-menu-list li a .mm-nav-icon svg {
  width: 20px;
  height: 20px;
}

.offcanvas-nav ul.offcanvas-menu-list li a:hover {
  color: var(--mm-red);
  padding-left: 6px;
}

.offcanvas-nav ul.offcanvas-menu-list li a:hover .mm-nav-icon {
  color: var(--mm-red);
}

.offcanvas-nav ul.offcanvas-menu-list li ul.sub-menu {
  list-style: none;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.offcanvas-nav ul.offcanvas-menu-list li ul.sub-menu li {
  border-bottom: none;
}

.offcanvas-nav ul.offcanvas-menu-list li ul.sub-menu li a {
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mm-gray);
}

.offcanvas-footer {
  flex: 0 0 auto !important;
  border-top: 1px solid var(--mm-border);
  padding: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
  background-color: var(--mm-white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offcanvas-promo-link {
  background-color: var(--mm-red-light);
  color: var(--mm-red);
  text-align: center;
  padding: 12px;
  font-weight: 700;
  border-radius: var(--mm-radius-sm);
}

.offcanvas-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--mm-gray);
  line-height: 1.5;
}

.offcanvas-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--mm-gray);
  text-decoration: none;
  transition: color var(--mm-transition);
}

a.offcanvas-info-item:hover {
  color: var(--mm-red);
}

.offcanvas-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--mm-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.offcanvas-info-icon svg {
  width: 100%;
  height: 100%;
}

.offcanvas-info-text {
  font-family: var(--mm-font);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.mm-offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(8, 9, 10, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mm-offcanvas-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* --- HOMEPAGE BANNER SLIDER --- */
.banners-carousel-section {
  position: relative;
  overflow: hidden;
  background-color: var(--mm-black);
}

.banners-swiper {
  width: 100%;
  height: 80vh;
  min-height: 550px;
}

.banners-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banners-swiper .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.05); /* parallax scaling effect */
  transition: transform 6s ease;
}

.banners-swiper .swiper-slide-active .slide-bg {
  transform: scale(1);
}

.banners-swiper .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8,9,10,0.85) 0%, rgba(8,9,10,0.4) 100%);
  z-index: 2;
}

.banners-swiper .slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--mm-white);
  max-width: 780px;
  padding: 0 24px;
}

.banners-swiper .slide-title {
  font-family: var(--mm-font-display);
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--mm-white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.banners-swiper .slide-subtitle {
  font-family: var(--mm-font);
  font-size: 1.25rem;
  color: var(--mm-silver);
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.banners-swiper .btn-primary {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

.banners-swiper .swiper-slide-active .slide-title,
.banners-swiper .swiper-slide-active .slide-subtitle,
.banners-swiper .swiper-slide-active .btn-primary {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls */
.banners-swiper .swiper-pagination-bullet {
  background-color: var(--mm-white);
  opacity: 0.4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px !important;
}

.banners-swiper .swiper-pagination-bullet-active {
  background-color: var(--mm-red) !important;
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

.banners-swiper .swiper-button-next,
.banners-swiper .swiper-button-prev {
  color: var(--mm-white);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: var(--mm-transition);
}

.banners-swiper .swiper-button-next:hover,
.banners-swiper .swiper-button-prev:hover {
  background-color: var(--mm-red);
}

.banners-swiper .swiper-button-next::after,
.banners-swiper .swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: 900;
}

@media (max-width: 768px) {
  .banners-swiper { height: 60vh; }
  .banners-swiper .slide-title { font-size: 2.25rem; }
  .banners-swiper .slide-subtitle { font-size: 1rem; }
  .banners-swiper .swiper-button-next, .banners-swiper .swiper-button-prev { display: none; }
}

/* --- CATEGORIES GRID --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--mm-radius);
  overflow: hidden;
  box-shadow: var(--mm-shadow-sm);
  background-color: var(--mm-white);
  transition: var(--mm-transition);
}

.category-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8,9,10,0.6) 0%, rgba(8,9,10,0.1) 100%);
  transition: var(--mm-transition);
}

.category-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mm-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--mm-black);
  padding: 20px;
}

.category-count {
  font-family: var(--mm-font);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--mm-gray);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow-lg);
}

.category-card:hover .category-image {
  transform: scale(1.08);
}

.category-card:hover .category-overlay {
  background-color: rgba(8,9,10,0.3);
}

.category-card:hover .category-name {
  color: var(--mm-red);
}

/* --- PREMIUM FOOTER AND TRUST BLOCKS --- */
.footer-trust-bar {
  background-color: var(--mm-white);
  border-top: 1px solid var(--mm-border);
  border-bottom: 1px solid var(--mm-border);
  padding: 40px 0;
}

.mm-trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.mm-trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mm-trust-badge-icon {
  color: var(--mm-red);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.mm-trust-badge-icon svg {
  width: 100%;
  height: 100%;
}

.mm-trust-badge-title {
  font-family: var(--mm-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--mm-black);
  margin-bottom: 4px;
}

.mm-trust-badge-desc {
  font-size: 0.85rem;
  color: var(--mm-gray);
  margin: 0;
}

/* MAIN FOOTER */
.site-footer {
  background-color: var(--mm-dark);
  color: var(--mm-silver);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--mm-charcoal);
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .footer-widgets {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
  }
}

.footer-title {
  font-family: var(--mm-font-display);
  color: var(--mm-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.footer-links a {
  color: var(--mm-silver);
  font-size: 0.95rem;
  transition: transform var(--mm-transition), color var(--mm-transition);
  display: inline-flex;
}

.footer-links a:hover {
  color: var(--mm-red);
  transform: translateX(4px);
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact-info li a {
  color: var(--mm-white);
  font-weight: 600;
}

.footer-contact-info li a:hover {
  color: var(--mm-red);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mm-gray);
}

/* COPYRIGHT BAR */
.footer-bottom {
  border-top: 1px solid var(--mm-charcoal);
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--mm-gray);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================================
   Hero Slider — Gradient Fallback (shown when no image set)
   ========================================================= */
.slide-bg--gradient {
  background: linear-gradient(135deg, hsl(0, 0%, 10%) 0%, hsl(0, 85%, 22%) 50%, hsl(0, 0%, 8%) 100%);
}

/* --- HOMEPAGE REDESIGN LAYOUT STYLES --- */

/* Fallback Hero Banner */
.hero-fallback {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--mm-white);
    padding: 0 24px;
}

.hero-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 10, 0.6);
    z-index: 1;
}

.hero-fallback .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-fallback h1 {
    font-family: var(--mm-font-display);
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--mm-white);
    line-height: 1.1;
}

.hero-fallback p {
    font-family: var(--mm-font);
    font-size: 1.25rem;
    color: var(--mm-silver);
    margin-bottom: 2rem;
}

/* Trust Badges Row */
.trust-badges-section {
    padding: 60px 0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.badge-card {
    background: var(--mm-white);
    padding: 30px;
    border-radius: var(--mm-radius);
    box-shadow: var(--mm-shadow-sm);
    border: 1px solid var(--mm-border);
    transition: var(--mm-transition);
    text-align: center;
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mm-shadow);
    border-color: var(--mm-red-alpha);
}

.badge-card .icon {
    font-size: 2.5rem;
    color: var(--mm-red);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.badge-card .icon svg {
    width: 100%;
    height: 100%;
}

.badge-card h4 {
    font-family: var(--mm-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mm-black);
    margin-bottom: 8px;
}

.badge-card p {
    font-size: 0.9rem;
    color: var(--mm-gray);
    margin: 0;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
}

.cat-card {
    position: relative;
    border-radius: var(--mm-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: var(--mm-shadow-sm);
    transition: var(--mm-transition);
}

.cat-img-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card:hover .cat-img-bg {
    transform: scale(1.08);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 9, 10, 0.85) 0%, rgba(8, 9, 10, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--mm-white);
    transition: var(--mm-transition);
}

.cat-card:hover .cat-overlay {
    background: linear-gradient(to top, rgba(8, 9, 10, 0.95) 0%, rgba(8, 9, 10, 0.4) 60%, transparent 100%);
}

.cat-overlay h3 {
    font-family: var(--mm-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mm-white);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.cat-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--mm-silver);
    opacity: 0.9;
}

/* Promo Split */
.promo-split-section {
    padding: 60px 0;
}

.promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.promo-box {
    position: relative;
    border-radius: var(--mm-radius);
    overflow: hidden;
    height: 320px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: var(--mm-shadow-sm);
    transition: var(--mm-transition);
}

.promo-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--mm-shadow);
}

.promo-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-box:hover .promo-img {
    transform: scale(1.04);
}

.promo-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: var(--mm-radius-sm);
    margin: 30px;
    max-width: 380px;
    box-shadow: var(--mm-shadow);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.promo-content h3 {
    font-family: var(--mm-font-display);
    color: var(--mm-red);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.promo-content p {
    font-family: var(--mm-font);
    font-size: 0.95rem;
    color: var(--mm-text);
    margin-bottom: 16px;
    line-height: 1.5;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    color: var(--mm-black);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--mm-red);
    padding-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--mm-transition);
}

.promo-box:hover .promo-btn {
    color: var(--mm-red);
    border-color: var(--mm-red-dark);
}

.promo-box.promo-left .promo-content {
    margin-left: auto;
    margin-right: 30px;
}

.promo-box.promo-right .promo-content {
    margin-right: auto;
    margin-left: 30px;
}

/* Featured Products Grid */
.featured-products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--mm-white);
    border-radius: var(--mm-radius);
    overflow: hidden;
    box-shadow: var(--mm-shadow-sm);
    transition: var(--mm-transition);
    border: 1px solid var(--mm-border);
    display: flex;
    flex-direction: column;
}

.mm-products-slider .product-card {
    flex: 0 0 280px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mm-shadow-lg);
    border-color: var(--mm-red-alpha);
}

.product-image-wrap {
    position: relative;
    padding-top: 100%;
    background: var(--mm-light);
    overflow: hidden;
}

.product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-card .on-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--mm-red);
    color: var(--mm-white);
    padding: 6px 12px;
    border-radius: var(--mm-radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
    letter-spacing: 0.05em;
}

.product-details {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.product-title {
    font-family: var(--mm-font);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.4;
}

.product-title a {
    color: var(--mm-black);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--mm-red);
}

.product-price {
    font-family: var(--mm-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--mm-red);
}

.product-price del {
    color: var(--mm-gray);
    font-weight: 400;
    font-size: 0.95rem;
    margin-right: 6px;
}

.product-price ins {
    text-decoration: none;
}

.mm-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mm-black);
    color: var(--mm-white) !important;
    font-family: var(--mm-font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    border-radius: var(--mm-radius-sm);
    transition: var(--mm-transition);
    cursor: pointer;
    border: none;
    margin-top: auto;
}

.mm-buy-btn:hover {
    background-color: var(--mm-red);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* About Section */
.about-info-section {
    padding: 80px 0;
    border-top: 1px solid var(--mm-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text .section-title::after {
    margin: 16px 0 0 0;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--mm-text-muted);
    margin-bottom: 24px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list li {
    font-size: 1.05rem;
    color: var(--mm-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-image {
    position: relative;
    border-radius: var(--mm-radius-lg);
    overflow: hidden;
    box-shadow: var(--mm-shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.mt-5 {
    margin-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .promo-row {
        grid-template-columns: 1fr;
    }
    .promo-box {
        height: 280px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-fallback h1 {
        font-size: 2.25rem;
    }
    .hero-fallback p {
        font-size: 1rem;
    }
    .badge-card {
        padding: 24px;
    }
    .promo-content {
        margin: 20px;
        padding: 24px;
    }
}

/* --- CATEGORIES HORIZONTAL SLIDER --- */
.mm-categories-slider-section {
    padding: 60px 0;
    position: relative;
    background-color: var(--mm-white);
}

.mm-container {
    max-width: 1700px;
    padding: 0 24px;
    margin-inline: auto;
}

.mm-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mm-section-title {
    font-family: var(--mm-font-display);
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--mm-black);
    position: relative;
    margin: 0;
}

.mm-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--mm-accent);
    margin-top: 12px;
    border-radius: 2px;
}

.mm-slider-nav {
    display: none !important;
}

.mm-slider-btn {
    background-color: var(--mm-light);
    color: var(--mm-black);
    border: 1px solid var(--mm-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--mm-transition);
}

.mm-slider-btn:hover {
    background-color: var(--mm-red);
    color: var(--mm-white);
    border-color: var(--mm-red);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.mm-cat-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
    cursor: grab;
    user-select: none;
}

.mm-cat-slider.active-drag {
    cursor: grabbing;
    scroll-behavior: auto !important;
}

.mm-cat-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.mm-cat-card {
    flex: 0 0 220px;
    background: var(--mm-white);
    border-radius: var(--mm-radius);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--mm-border);
    box-shadow: var(--mm-shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--mm-transition);
}

.mm-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mm-shadow-lg);
    border-color: var(--mm-red-alpha);
}

.mm-cat-card__image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--mm-light);
    border: 3px solid var(--mm-border);
    transition: var(--mm-transition);
}

.mm-cat-card:hover .mm-cat-card__image {
    border-color: var(--mm-red);
    transform: scale(1.05);
}

.mm-cat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-cat-card__name {
    font-family: var(--mm-font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mm-black);
    margin-bottom: 6px;
    display: block;
    transition: var(--mm-transition);
}

.mm-cat-card:hover .mm-cat-card__name {
    color: var(--mm-red);
}

.mm-cat-card__count {
    font-size: 0.85rem;
    color: var(--mm-gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .mm-slider-nav {
        display: none; /* Hide scroll buttons on mobile, touch swipe works naturally */
    }
}

/* ==========================================================================
   STANDARD STATIC PAGES STYLING (PREMIUM REDESIGN)
   ========================================================================== */
.page-template-main {
    padding: 60px 0;
    background-color: var(--mm-bg);
}

.page-container {
    max-width: 900px; /* Centered narrow container for readable text layout */
    margin: 0 auto;
}

.static-page-content {
    background: var(--mm-surface);
    padding: 40px;
    border-radius: var(--mm-radius);
    box-shadow: var(--mm-shadow-sm);
    border: 1px solid var(--mm-border);
}

.static-page-content .page-header {
    margin-bottom: 30px;
    text-align: center;
}

.static-page-content .page-title {
    font-family: var(--mm-font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--mm-black);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.static-page-content .page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--mm-red);
    margin: 12px auto 0;
    border-radius: 2px;
}

.page-content-wrapper p {
    font-family: var(--mm-font);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--mm-text);
    margin-bottom: 20px;
}

.page-content-wrapper h2 {
    font-family: var(--mm-font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--mm-black);
    margin: 40px 0 20px;
    text-transform: uppercase;
}

.page-content-wrapper h3 {
    font-family: var(--mm-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mm-black);
    margin: 30px 0 15px;
}

.page-content-wrapper ul, 
.page-content-wrapper ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.page-content-wrapper li {
    font-family: var(--mm-font);
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--mm-text);
    margin-bottom: 12px;
}

.page-content-wrapper strong {
    color: var(--mm-black);
}

.page-content-wrapper a {
    color: var(--mm-red);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--mm-transition);
}

.page-content-wrapper a:hover {
    border-color: var(--mm-red);
}

/* ==========================================================================
   CONTACT PAGE STYLING (PREMIUM REDESIGN)
   ========================================================================== */
.mm-contact-page {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .mm-contact-grid {
        grid-template-columns: 1fr;
    }
}

.mm-contact-info, 
.mm-contact-form {
    background: var(--mm-white);
    padding: 40px;
    border-radius: var(--mm-radius);
    box-shadow: var(--mm-shadow-sm);
    border: 1px solid var(--mm-border);
}

.mm-contact-info h2, 
.mm-contact-form h2 {
    font-family: var(--mm-font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--mm-black);
    margin-bottom: 24px;
    text-transform: uppercase;
    position: relative;
}

.mm-contact-info h2::after, 
.mm-contact-form h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--mm-red);
    margin-top: 8px;
    border-radius: 1.5px;
}

.mm-contact-info p {
    font-family: var(--mm-font);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--mm-text);
    margin-bottom: 30px;
}

.mm-phone-link {
    color: var(--mm-red);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--mm-transition);
}

.mm-phone-link:hover {
    color: var(--mm-red-dark);
}

/* Form Styles */
.mm-contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mm-contact-form input[type="text"], 
.mm-contact-form input[type="email"], 
.mm-contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--mm-border);
    border-radius: var(--mm-radius-sm);
    background-color: var(--mm-light);
    font-family: var(--mm-font);
    font-size: 1rem;
    color: var(--mm-text);
    outline: none;
    transition: var(--mm-transition);
}

.mm-contact-form input[type="text"]:focus, 
.mm-contact-form input[type="email"]:focus, 
.mm-contact-form textarea:focus {
    border-color: var(--mm-red);
    background-color: var(--mm-white);
    box-shadow: 0 0 0 3px var(--mm-red-alpha);
}

.mm-contact-form textarea {
    resize: vertical;
}

.mm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mm-red);
    color: var(--mm-white);
    font-family: var(--mm-font-display);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 32px;
    border-radius: var(--mm-radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
    transition: var(--mm-transition);
}

.mm-button:hover {
    background-color: var(--mm-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.mm-button:active {
    transform: translateY(0);
}

/* Map Section */
.mm-contact-map {
    height: 400px;
    border-radius: var(--mm-radius);
    overflow: hidden;
    box-shadow: var(--mm-shadow-sm);
    border: 1px solid var(--mm-border);
}

/* Alerts */
.mm-alert {
    padding: 16px 20px;
    border-radius: var(--mm-radius-sm);
    font-family: var(--mm-font);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.mm-alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.mm-alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ==========================================================================
   SIZE GUIDE STYLING (PREMIUM REDESIGN)
   ========================================================================== */
.mm-sg-wrap {
    font-family: var(--mm-font);
    color: var(--mm-text);
}

.mm-sg-subtitle {
    font-size: 1.1rem;
    color: var(--mm-text-muted);
    margin-bottom: 30px;
    text-align: center;
}

/* Accordion */
.mm-sg-accordion {
    border: 1px solid var(--mm-border);
    border-radius: var(--mm-radius);
    background-color: var(--mm-light);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--mm-shadow-sm);
}

.mm-sg-accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.mm-sg-accordion-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mm-sg-accordion-icon-left {
    font-size: 1.8rem;
}

.mm-sg-accordion-title strong {
    display: block;
    font-family: var(--mm-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mm-black);
}

.mm-sg-accordion-title small {
    display: block;
    font-size: 0.85rem;
    color: var(--mm-text-muted);
    margin-top: 2px;
}

.mm-sg-accordion-chevron {
    font-size: 1.4rem;
    color: var(--mm-gray);
    transition: transform 0.3s ease;
}

.mm-sg-accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    padding: 0 24px;
}

.mm-sg-accordion-toggle[aria-expanded="true"] + .mm-sg-accordion-body {
    padding-bottom: 24px;
}

/* Tips Grid */
.mm-sg-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.mm-sg-tip-card {
    background: var(--mm-white);
    padding: 20px;
    border-radius: var(--mm-radius-sm);
    border: 1px solid var(--mm-border);
    text-align: center;
}

.mm-sg-tip-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.mm-sg-tip-card strong {
    display: block;
    font-family: var(--mm-font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mm-black);
    margin-bottom: 6px;
}

.mm-sg-tip-card p {
    font-size: 0.85rem;
    color: var(--mm-text-muted);
    line-height: 1.5;
    margin: 0;
}

.mm-sg-warning {
    margin-top: 24px;
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 0 var(--mm-radius-sm) var(--mm-radius-sm) 0;
    font-size: 0.9rem;
    color: #b45309;
    line-height: 1.6;
}

/* Tabs Nav */
.mm-sg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--mm-border);
    padding-bottom: 12px;
}

.mm-sg-tab {
    background: var(--mm-light);
    border: 1px solid var(--mm-border);
    color: var(--mm-text);
    padding: 12px 24px;
    border-radius: var(--mm-radius-sm);
    font-family: var(--mm-font-display);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--mm-transition);
}

.mm-sg-tab:hover {
    background: var(--mm-border);
    border-color: var(--mm-gray);
}

.mm-sg-tab.active {
    background: var(--mm-red);
    color: var(--mm-white);
    border-color: var(--mm-red);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

/* Panels */
.mm-sg-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.mm-sg-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mm-sg-section-title {
    font-family: var(--mm-font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--mm-black);
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* Measure Grid */
.mm-sg-measure-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .mm-sg-measure-grid {
        grid-template-columns: 1fr;
    }
}

.mm-sg-img-col {
    background: var(--mm-light);
    padding: 20px;
    border-radius: var(--mm-radius);
    border: 1px solid var(--mm-border);
    display: flex;
    justify-content: center;
}

.mm-sg-img-col img {
    max-height: 350px;
    width: auto;
}

.mm-sg-cards-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mm-sg-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--mm-text-muted);
    margin-bottom: 10px;
}

.mm-sg-card {
    background: var(--mm-light);
    padding: 16px 20px;
    border-radius: var(--mm-radius-sm);
    border: 1px solid var(--mm-border);
    border-left: 4px solid var(--mm-red);
}

.mm-sg-card-label {
    display: block;
    font-family: var(--mm-font-display);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--mm-black);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.mm-sg-card p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--mm-text);
}

.mm-sg-expert-tip {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    padding: 16px 20px;
    border-radius: var(--mm-radius-sm);
    font-size: 0.92rem;
    line-height: 1.5;
    color: #1e3a8a;
}

.mm-sg-expert-tip strong {
    display: block;
    margin-bottom: 4px;
}

/* Tables styling */
.mm-sg-table-title {
    font-family: var(--mm-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mm-black);
    margin: 30px 0 15px 0;
    text-transform: uppercase;
}

.mm-sg-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--mm-border);
    border-radius: var(--mm-radius-sm);
    box-shadow: var(--mm-shadow-sm);
    margin-bottom: 30px;
}

.mm-sg-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: var(--mm-white);
}

.mm-sg-table th, 
.mm-sg-table td {
    padding: 14px 18px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--mm-border);
}

.mm-sg-table th {
    background: var(--mm-light);
    font-family: var(--mm-font-display);
    font-weight: 700;
    color: var(--mm-black);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.mm-sg-table tbody tr:nth-child(even) {
    background-color: var(--mm-light);
}

.mm-sg-table tbody tr:hover {
    background-color: var(--mm-red-light);
}

.mg-size-pill {
    display: inline-block;
    background: var(--mm-black);
    color: var(--mm-white);
    font-family: var(--mm-font-display);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    min-width: 32px;
}

/* Helper Utilities & Centering overrides */
.text-center {
    text-align: center;
}

.about-text .btn-primary {
    align-self: center;
}
