/* STK2DAY Homepage Plugin Styles */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@400;700;900&display=swap');

.stk2day-homepage *{box-sizing:border-box;margin:0;padding:0}
.stk2day-homepage{font-family:'Cairo',sans-serif;direction:rtl;color:#1a1a1a;background:#f7f5f2;width:100%}

/* ── HERO ── */
.shp-hero{
  position:relative;
  min-height:520px;
  background:linear-gradient(135deg,#0f0f0f 0%,#1e1e1e 60%,#2a1a1a 100%);
  display:flex;align-items:center;
  padding:70px 5%;
  overflow:hidden;
}
.shp-hero::before{
  content:'';position:absolute;top:-120px;left:-80px;
  width:600px;height:600px;border-radius:50%;
  background:radial-gradient(circle,rgba(230,51,18,.28) 0%,transparent 65%);
  pointer-events:none;
}
.shp-hero::after{
  content:'';position:absolute;bottom:-100px;right:10%;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,107,53,.14) 0%,transparent 65%);
  pointer-events:none;
}
.shp-hero-overlay{position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");}
.shp-hero-content{position:relative;z-index:2;max-width:700px}
.shp-hero-badge{
  display:inline-block;background:#e63312;color:#fff;
  padding:6px 18px;border-radius:20px;font-size:13px;font-weight:700;
  margin-bottom:22px;letter-spacing:.3px;
}
.shp-hero-title{
  font-family:'Tajawal',sans-serif;
  font-size:clamp(32px,6vw,60px);
  font-weight:900;color:#fff;
  line-height:1.15;margin-bottom:16px;
}
.shp-hero-title span{color:#e63312}
.shp-hero-sub{font-size:16px;color:rgba(255,255,255,.65);margin-bottom:32px;line-height:1.7}
.shp-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:40px}
.shp-btn-primary{
  background:#e63312;color:#fff;
  padding:14px 30px;border-radius:30px;
  text-decoration:none;font-weight:700;font-size:15px;
  transition:all .25s;display:inline-block;
}
.shp-btn-primary:hover{background:#c42a0e;transform:translateY(-2px);box-shadow:0 8px 24px rgba(230,51,18,.4);color:#fff}
.shp-btn-ghost{
  background:transparent;color:#fff;
  padding:13px 26px;border-radius:30px;
  border:2px solid rgba(255,255,255,.3);
  text-decoration:none;font-weight:600;font-size:15px;
  transition:all .25s;display:inline-block;
}
.shp-btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08);color:#fff}
.shp-hero-stats{
  display:flex;gap:36px;
  padding-top:30px;border-top:1px solid rgba(255,255,255,.12);
  flex-wrap:wrap;
}
.shp-stat strong{display:block;font-size:24px;font-weight:900;color:#e63312}
.shp-stat span{font-size:12px;color:rgba(255,255,255,.55)}

/* ── SECTION BASE ── */
.shp-container{max-width:1300px;margin:0 auto}
.shp-section{padding:60px 5%}
.shp-section-dark{background:#0f0f0f;padding:60px 5%}
.shp-section-cats{background:#f0ede8}
.shp-why{background:#fff}
.shp-section-header{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:32px;flex-wrap:wrap;gap:12px;
}
.shp-section-title{
  font-family:'Tajawal',sans-serif;font-size:26px;font-weight:800;
  position:relative;padding-right:16px;
}
.shp-section-title::before{
  content:'';position:absolute;right:0;top:50%;
  transform:translateY(-50%);
  width:5px;height:28px;background:#e63312;border-radius:3px;
}
.shp-white{color:#fff}
.shp-white::before{background:#e63312}
.shp-see-all{color:#e63312;text-decoration:none;font-size:14px;font-weight:600;transition:gap .2s}
.shp-see-all:hover{text-decoration:underline;color:#e63312}
.shp-see-all-light{color:#ff7755}
.shp-see-all-light:hover{color:#ff7755}

/* ── FILTER ── */
.shp-filter-row{display:flex;gap:10px;align-items:center}
.shp-select{
  font-family:'Cairo',sans-serif;font-size:13px;
  border:1px solid #ddd;border-radius:8px;
  padding:8px 14px;background:#fff;cursor:pointer;
  outline:none;color:#333;
}
.shp-select:focus{border-color:#e63312}

/* ── CATEGORIES GRID ── */
.shp-cats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:14px;
}
.shp-cat-card{
  background:#fff;border-radius:14px;overflow:hidden;
  text-decoration:none;color:#1a1a1a;
  border:1px solid #e8e4df;
  transition:all .3s cubic-bezier(.34,1.56,.64,1);
  cursor:pointer;
}
.shp-cat-card:hover{
  transform:translateY(-6px) scale(1.03);
  box-shadow:0 12px 32px rgba(0,0,0,.12);
  border-color:#e63312;
  color:#1a1a1a;
}
.shp-cat-img{
  aspect-ratio:1;overflow:hidden;
  background:#f0ede8;position:relative;
}
.shp-cat-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.shp-cat-card:hover .shp-cat-img img{transform:scale(1.08)}
.shp-cat-placeholder{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  font-size:36px;
  background:linear-gradient(135deg,#f0ede8,#e0dbd5);
}
.shp-cat-info{padding:10px;text-align:center}
.shp-cat-name{font-size:12px;font-weight:700;line-height:1.4;margin-bottom:3px}
.shp-cat-count{font-size:11px;color:#888}

/* ── PRODUCTS GRID ── */
.shp-products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:18px;
}
.shp-product-card{
  background:#fff;border-radius:14px;overflow:hidden;
  border:1px solid #e8e4df;
  transition:all .3s;cursor:pointer;
  text-decoration:none;color:inherit;display:block;
}
.shp-product-card:hover{
  transform:translateY(-5px);
  box-shadow:0 14px 40px rgba(0,0,0,.13);
  border-color:transparent;
  color:inherit;
}
.shp-product-img{aspect-ratio:1;overflow:hidden;background:#f0ede8;position:relative}
.shp-product-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.shp-product-card:hover .shp-product-img img{transform:scale(1.06)}
.shp-product-badge{
  position:absolute;top:10px;right:10px;
  background:#e63312;color:#fff;
  font-size:10px;font-weight:700;
  padding:3px 8px;border-radius:10px;
  z-index:1;
}
.shp-product-info{padding:12px}
.shp-product-cat{font-size:10px;color:#e63312;font-weight:700;margin-bottom:4px;text-transform:uppercase}
.shp-product-name{
  font-size:13px;font-weight:700;margin-bottom:10px;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.shp-product-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.shp-price-current{font-size:17px;font-weight:900;color:#e63312}
.shp-price-old{font-size:12px;color:#aaa;text-decoration:line-through}
.shp-price-currency{font-size:12px;color:#888}
.shp-product-btn{
  display:block;margin-top:10px;width:100%;
  background:#0f0f0f;color:#fff;border:none;border-radius:8px;
  padding:9px;font-family:'Cairo',sans-serif;font-size:13px;font-weight:600;
  cursor:pointer;transition:background .2s;text-align:center;text-decoration:none;
}
.shp-product-btn:hover{background:#e63312;color:#fff}

/* ── DARK PRODUCT CARD ── */
.shp-section-dark .shp-product-card{background:#1e1e1e;border-color:#2a2a2a}
.shp-section-dark .shp-product-name{color:#fff}
.shp-section-dark .shp-product-btn{background:#e63312}
.shp-section-dark .shp-product-btn:hover{background:#c42a0e}
.shp-section-dark .shp-product-img{background:#2a2a2a}

/* ── PAGINATION ── */
.shp-pagination{
  display:flex;justify-content:center;gap:8px;
  margin-top:40px;flex-wrap:wrap;
}
.shp-page-btn{
  background:#fff;border:1px solid #e8e4df;
  color:#333;padding:8px 16px;border-radius:8px;
  cursor:pointer;font-family:'Cairo',sans-serif;font-size:14px;
  transition:all .2s;
}
.shp-page-btn:hover,.shp-page-btn.active{background:#e63312;color:#fff;border-color:#e63312}

/* ── WHY US ── */
.shp-why-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:24px;
}
.shp-why-card{
  text-align:center;padding:32px 24px;
  border-radius:16px;background:#f7f5f2;
  border:1px solid #e8e4df;transition:all .3s;
}
.shp-why-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08);border-color:#e63312}
.shp-why-icon{font-size:40px;margin-bottom:14px}
.shp-why-card h3{font-size:16px;font-weight:700;margin-bottom:8px}
.shp-why-card p{font-size:13px;color:#666;line-height:1.6}

/* ── SKELETON LOADING ── */
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.shp-skeleton-cat,.shp-skeleton-prod{
  background:#fff;border-radius:14px;overflow:hidden;
  border:1px solid #e8e4df;
}
.shp-section-dark .shp-skeleton-prod{background:#1e1e1e;border-color:#2a2a2a}
.shp-sk-img{
  aspect-ratio:1;
  background:linear-gradient(90deg,#f0ede8 25%,#e8e4df 50%,#f0ede8 75%);
  background-size:200% 100%;
  animation:shimmer 1.5s infinite;
}
.shp-section-dark .shp-sk-img{background:linear-gradient(90deg,#2a2a2a 25%,#333 50%,#2a2a2a 75%);background-size:200% 100%;}
.shp-sk-line{
  height:12px;border-radius:6px;margin:10px 12px;
  background:linear-gradient(90deg,#f0ede8 25%,#e8e4df 50%,#f0ede8 75%);
  background-size:200% 100%;
  animation:shimmer 1.5s infinite;
}
.shp-section-dark .shp-sk-line{background:linear-gradient(90deg,#2a2a2a 25%,#333 50%,#2a2a2a 75%);background-size:200% 100%;}
.shp-sk-short{width:60%;margin-bottom:12px}

/* ── EMPTY STATE ── */
.shp-empty{
  grid-column:1/-1;text-align:center;padding:60px 20px;
  color:#888;font-size:15px;
}

/* ── RESPONSIVE ── */
@media(max-width:768px){
  .shp-hero{padding:50px 4%}
  .shp-hero-stats{gap:20px}
  .shp-section{padding:40px 4%}
  .shp-section-dark{padding:40px 4%}
  .shp-cats-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
  .shp-products-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
  .shp-section-title{font-size:20px}
  .shp-filter-row{width:100%}
  .shp-select{width:100%}
  .shp-section-header{flex-direction:column;align-items:flex-start}
}
@media(max-width:480px){
  .shp-cats-grid{grid-template-columns:repeat(3,1fr)}
  .shp-products-grid{grid-template-columns:repeat(2,1fr)}
  .shp-hero-actions{flex-direction:column}
  .shp-btn-primary,.shp-btn-ghost{text-align:center}
}
