/* Shop mini-site (shop.dakhel48.com or /shop) — RTL Arabic */
:root {
  --sp-bg: #f6f7fb;
  --sp-surface: #ffffff;
  --sp-ink: #0f172a;
  --sp-muted: #64748b;
  --sp-line: rgba(15, 23, 42, 0.08);
  --sp-brand: #0f766e;
  --sp-brand-2: #115e59;
  --sp-accent: #c2410c;
  --sp-radius: 16px;
  --sp-font: "Cairo", system-ui, sans-serif;
}
.sp-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sp-font);
  background: var(--sp-bg);
  color: var(--sp-ink);
  line-height: 1.65;
}
.sp-skip {
  position: absolute;
  inset-inline-start: 8px;
  top: 8px;
  padding: 0.35rem 0.65rem;
  background: var(--sp-brand);
  color: #fff;
  border-radius: 8px;
  z-index: 50;
  transform: translateY(-120%);
  transition: transform 0.15s ease;
}
.sp-skip:focus {
  transform: translateY(0);
}
.sp-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sp-line);
}
.sp-head__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  font-size: 1.05rem;
}
.sp-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sp-brand), var(--sp-brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
}
.sp-nav-toggle {
  margin-inline-start: auto;
  display: none;
  border: 1px solid var(--sp-line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.sp-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}
.sp-nav a {
  color: var(--sp-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}
.sp-nav a:hover,
.sp-nav a.is-active {
  color: var(--sp-brand);
  background: rgba(15, 118, 110, 0.08);
}
@media (max-width: 900px) {
  .sp-nav-toggle {
    display: inline-flex;
  }
  .sp-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }
  .sp-nav.is-open {
    display: flex;
  }
}
.sp-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.1rem 3rem;
}
.sp-hero {
  border-radius: calc(var(--sp-radius) + 4px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: radial-gradient(120% 120% at 100% 0%, rgba(15, 118, 110, 0.14), transparent 55%),
    linear-gradient(135deg, #fff, #f1f5f9);
  border: 1px solid var(--sp-line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
  margin-bottom: 2rem;
}
.sp-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 820px) {
  .sp-hero__grid {
    grid-template-columns: 1fr;
  }
}
.sp-hero__kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-brand);
  margin-bottom: 0.5rem;
}
.sp-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height:1.2;
  font-weight: 900;
}
.sp-hero p {
  margin: 0 0 1.25rem;
  color: var(--sp-muted);
  max-width: 46ch;
}
.sp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.sp-btn--primary {
  background: var(--sp-brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
}
.sp-btn--primary:hover {
  filter: brightness(1.05);
}
.sp-btn--ghost {
  background: #fff;
  border-color: var(--sp-line);
  color: var(--sp-ink);
}
.sp-panel {
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
.sp-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}
.sp-section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}
.sp-section-head a {
  font-weight: 700;
  color: var(--sp-brand);
  text-decoration: none;
}
.sp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.sp-cat-card {
  display: block;
  padding: 1rem 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sp-line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sp-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}
.sp-cat-card__name {
  font-weight: 800;
  margin: 0 0 0.25rem;
}
.sp-cat-card__meta {
  font-size: 0.8rem;
  color: var(--sp-muted);
}
.sp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.sp-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sp-line);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}
.sp-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: #e2e8f0;
}
.sp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-card__ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}
.sp-card__badge {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  background: var(--sp-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}
.sp-card__body {
  padding: 0.75rem 0.9rem 0.95rem;
}
.sp-card__cat {
  font-size: 0.72rem;
  color: var(--sp-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.sp-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-card__meta {
  font-size: 0.78rem;
  color: var(--sp-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.sp-card__price {
  font-weight: 900;
  color: var(--sp-brand);
  margin-top: 0.35rem;
  font-size: 0.95rem;
}
.sp-card__price .neg {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sp-muted);
  margin-inline-start: 0.35rem;
}
.sp-foot {
  margin-top: 3rem;
  padding: 2rem 1.1rem;
  border-top: 1px solid var(--sp-line);
  background: #fff;
}
.sp-foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--sp-muted);
}
.sp-foot a {
  color: var(--sp-brand);
  text-decoration: none;
  font-weight: 600;
}
.sp-foot h3 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--sp-ink);
}
.sp-breadcrumb {
  font-size: 0.85rem;
  color: var(--sp-muted);
  margin-bottom: 1rem;
}
.sp-breadcrumb a {
  color: var(--sp-brand);
  text-decoration: none;
  font-weight: 600;
}
.sp-prod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .sp-prod {
    grid-template-columns: 1fr;
  }
}
.sp-gallery {
  border-radius: var(--sp-radius);
  overflow: hidden;
  border: 1px solid var(--sp-line);
  background: #fff;
}
.sp-gallery__main {
  aspect-ratio: 4/3;
  background: #e2e8f0;
}
.sp-gallery__main img,
.sp-gallery__main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-gallery__thumbs {
  display: flex;
  gap: 0.45rem;
  padding: 0.5rem;
  overflow-x: auto;
}
.sp-gallery__thumbs button {
  flex: 0 0 72px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #e2e8f0;
}
.sp-gallery__thumbs button.is-on {
  border-color: var(--sp-brand);
}
.sp-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-prod__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.25;
}
.sp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.sp-chip {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--sp-muted);
}
.sp-chip--ok {
  background: rgba(15, 118, 110, 0.12);
  color: var(--sp-brand-2);
}
.sp-chip--sold {
  background: rgba(194, 65, 12, 0.12);
  color: #9a3412;
}
.sp-prod__price {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--sp-brand);
  margin-bottom: 0.75rem;
}
.sp-prod__desc {
  color: var(--sp-muted);
  margin-bottom: 1.25rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.sp-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.sp-pagination {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.sp-pagination nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.sp-page-prose h2 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
}
.sp-page-prose ul {
  padding-inline-start: 1.25rem;
}
.sp-filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.sp-filters label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--sp-muted);
  margin-bottom: 0.25rem;
}
.sp-filters input,
.sp-filters select {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--sp-line);
  font-family: inherit;
}
.sp-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

/* Pagination (matches pagination/site.blade.php) */
.sp-main .pagination-nav {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.sp-main .pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.sp-main .pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  color: var(--sp-ink);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--sp-line);
  background: #fff;
  box-sizing: border-box;
}
.sp-main a.pagination-link:hover {
  border-color: var(--sp-brand);
  color: var(--sp-brand);
}
.sp-main .pagination-item.is-active .pagination-link {
  background: var(--sp-brand);
  color: #fff;
  border-color: var(--sp-brand);
}
.sp-main .pagination-item.is-disabled .pagination-link {
  opacity: 0.45;
  pointer-events: none;
}
.sp-main .pagination-link--ellipsis {
  border: none;
  background: transparent;
  color: var(--sp-muted);
}
.sp-main .pagination-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sp-muted);
  text-align: center;
}
