/* Sports Home Variant */

/* ── Hero ── */
.spt-hero { position: relative; overflow: hidden; background: #111; }
.spt-hero-track { position: relative; height: 520px; }
.spt-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .6s ease;
}
.spt-hero-slide.active { opacity: 1; }
.spt-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 60%, transparent 100%); }
.spt-hero-caption {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 100%;
}
.spt-hero-label {
  display: inline-block;
  background: var(--molla-accent); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  padding: 5px 14px; margin-bottom: 16px;
}
.spt-hero-title {
  font-size: 3rem; font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: 1px;
  max-width: 560px;
}
.spt-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--molla-accent); color: #fff;
  padding: 14px 30px; font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px;
  text-decoration: none; transition: opacity .15s;
}
.spt-hero-btn:hover { color: #fff; opacity: .9; }
.spt-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; background: rgba(255,255,255,.15);
  border: none; color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.spt-hero-arrow:hover { background: var(--molla-accent); }
.spt-hero-prev { left: 20px; }
.spt-hero-next { right: 20px; }
.spt-hero-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.spt-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.spt-hero-dot.active { background: var(--molla-accent); transform: scale(1.3); }

/* ── Services ── */
.spt-services { padding: 18px 0; background: var(--molla-accent); }
.spt-services-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.spt-service-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; color: #fff;
  border-right: 1px solid rgba(255,255,255,.2);
}
.spt-service-item:last-child { border-right: none; }
.spt-service-item > i { font-size: 26px; flex-shrink: 0; opacity: .9; }
.spt-svc-title { font-size: 13px; font-weight: 700; }
.spt-svc-desc { font-size: 12px; opacity: .8; }

/* ── Shared section styles ── */
.spt-products-section { padding: 60px 0; }
.spt-section-alt { background: #f7f7f7; }
.spt-cats-section { padding: 60px 0; background: #f7f7f7; }
.spt-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.spt-section-title {
  font-size: 22px; font-weight: 800; color: #111;
  text-transform: uppercase; letter-spacing: .5px;
  position: relative; padding-bottom: 10px;
}
.spt-section-title::after {
  content: ''; display: block; position: absolute; bottom: 0; left: 0;
  width: 36px; height: 3px; background: var(--molla-accent);
}
.spt-view-all {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--molla-accent); text-decoration: none;
  display: flex; align-items: center; gap: 5px;
}
.spt-view-all:hover { opacity: .8; color: var(--molla-accent); }

/* ── Category Grid ── */
.spt-cats-grid { display: grid; grid-template-columns: repeat(8,1fr); gap: 16px; }
.spt-cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.spt-cat-img {
  width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  background: #e8e8e8; transition: box-shadow .2s;
}
.spt-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.spt-cat-item:hover .spt-cat-img img { transform: scale(1.08); }
.spt-cat-item:hover .spt-cat-img { box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.spt-cat-img-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #aaa; }
.spt-cat-name { font-size: 12px; font-weight: 600; color: #333; text-align: center; }

/* ── Products Grid ── */
.spt-products-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.spt-products-grid .molla-product-card {
  position: relative;
  overflow: hidden;
}
.spt-products-grid .molla-product-img {
  position: relative;
  overflow: hidden;
}
.spt-products-grid .molla-product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.95);
  transform: translateY(102%);
  transition: transform .3s ease;
  z-index: 3;
}
.spt-products-grid .molla-product-card:hover .molla-product-actions {
  transform: translateY(0);
}
.spt-products-grid .molla-action-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-right: 1px solid #e8e8e8;
  background: transparent;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
  flex: 0 0 42px;
  box-sizing: border-box;
}
.spt-products-grid .molla-action-btn:last-child {
  border-right: none;
}
.spt-products-grid .molla-action-btn:hover {
  background: #333;
  color: #fff;
}
.spt-products-grid .molla-action-add-cart {
  flex: 1 !important;
  width: auto;
  border-right: 1px solid #e8e8e8;
}

/* ── Promo Banner ── */
.spt-promo { padding: 0 0 60px; margin-top: 0; }
.spt-promo-inner {
  display: block; border-radius: 8px; overflow: hidden;
  background-size: cover; background-position: center;
  min-height: 220px; position: relative; text-decoration: none;
}
.spt-promo-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.spt-promo-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; width: 100%; }
.spt-promo-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--molla-accent);
  text-align: center;
  display: block;
  width: 100%;
  padding-top: 24px;
}
.spt-promo-title { font-size: 1.3rem; font-weight: 900; color: #fff; text-align: center; text-transform: uppercase; letter-spacing: 1px; width: 100%; padding: 0 15px; line-height: 1.4; }
.spt-promo-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--molla-accent); color: #fff;
  padding: 12px 28px; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ── Blog ── */
.spt-blog-section { padding: 60px 0; background: #111; }
.spt-blog-section .spt-section-title { color: #fff; }
.spt-blog-section .spt-view-all { color: var(--molla-accent); }
.spt-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.spt-blog-card { display: block; text-decoration: none; color: inherit; background: #1e1e1e; border-radius: 6px; overflow: hidden; transition: transform .2s; }
.spt-blog-card:hover { transform: translateY(-4px); color: inherit; }
.spt-blog-img { aspect-ratio: 16/9; overflow: hidden; }
.spt-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.spt-blog-card:hover .spt-blog-img img { transform: scale(1.05); }
.spt-blog-body { padding: 18px; }
.spt-blog-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.spt-blog-excerpt { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 12px; }
.spt-blog-more { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--molla-accent); letter-spacing: .5px; display: flex; align-items: center; gap: 5px; }

/* ── Responsive ── */
@media (max-width: 1199px) {
  .spt-products-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 1024px) {
  .spt-cats-grid { grid-template-columns: repeat(4,1fr); }
  .spt-products-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .spt-hero-track { height: 360px; }
  .spt-hero-title { font-size: 2rem; }
  .spt-services-grid { grid-template-columns: repeat(2,1fr); }
  .spt-service-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .spt-cats-grid { grid-template-columns: repeat(4,1fr); }
  .spt-products-grid { grid-template-columns: repeat(2,1fr); }
  .spt-blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .spt-hero-track { height: 260px; }
  .spt-hero-title { font-size: 1.5rem; }
  .spt-services-grid { grid-template-columns: 1fr; }
  .spt-cats-grid { grid-template-columns: repeat(4,1fr); gap: 10px; }
  .spt-products-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .spt-blog-grid { grid-template-columns: 1fr; }
}

/* ── Brands ── */
.spt-brands-section { padding: 40px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; background: #fff; margin-bottom: 60px; }
.spt-brands-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.spt-brand-item { display: flex; align-items: center; justify-content: center; opacity: .45; transition: opacity .2s; text-decoration: none; }
.spt-brand-item:hover { opacity: 1; }
.spt-brand-item img { max-height: 36px; max-width: 100px; object-fit: contain; filter: grayscale(100%); transition: filter .2s; }
.spt-brand-item:hover img { filter: grayscale(0%); }
.spt-brand-name { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #555; }
@media (max-width: 576px) { .spt-brands-inner { gap: 24px; } .spt-brand-item img { max-height: 28px; } }
