/* Shaqawa («شقاوة», Ecomus home-kids). Parent: Rigali (header, tabs grid, lookbook). */
body.shaqawa { --sq-red: var(--primary, #db1215); }

/* hero: centred text, round button */
body.shaqawa .sq-hero .wrap-slider img { width: 100%; height: clamp(360px, 46vw, 700px); object-fit: cover; display: block; }
body.shaqawa .sq-hero .wrap-slider::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.18); pointer-events: none; }
body.shaqawa .sq-hero .box-content { position: absolute; inset: 0; top: 0 !important; transform: none !important; display: flex; align-items: center; justify-content: center; z-index: 2; }
body.shaqawa .sq-hero .box-content .heading { font-size: clamp(32px, 5vw, 72px); line-height: 1.15; margin-bottom: 14px; }
body.shaqawa .sq-hero .box-content p { font-size: clamp(14px, 1.4vw, 20px); margin-bottom: 30px; }
body.shaqawa .sq-hero .tf-btn.btn-primary { background: var(--sq-red); border-color: var(--sq-red); color: #fff; }
body.shaqawa .sq-hero .wrap-pagination { position: absolute; bottom: 24px; inset-inline: 0; z-index: 3; }

/* flash sale frame */
body.shaqawa .sq-flash-frame { border: 1.5px solid var(--sq-red); border-radius: 10px; padding: 50px 20px 30px; position: relative; }
body.shaqawa .sq-flash-title { position: absolute; top: -26px; inset-inline-start: 30px; background: #fff; padding: 0 14px; display: flex; align-items: center; gap: 10px; color: var(--sq-red); font-size: 40px; line-height: 50px; }
body.shaqawa .sq-flash-title .icon { font-size: 28px; }
body.shaqawa .sq-card .card-product { border: 1px solid #ebebeb; border-radius: 10px; padding: 8px 8px 14px; }
body.shaqawa .sq-card .card-product-wrapper { border-radius: 8px; }
body.shaqawa .sq-card .pr-stock { margin-top: 10px; font-size: 13px; padding: 0 6px; }
body.shaqawa .sq-card .progress { height: 4px; background: #eee; margin-bottom: 6px; }
body.shaqawa .sq-card .progress-bar { background: var(--sq-red); }
body.shaqawa .sq-flash .card-product .tf-btn, body.shaqawa .sq-flash .card-product .add-to-cart-btn { border-radius: 999px; }
body.shaqawa .sq-picks-head { margin-bottom: 40px; }
body.shaqawa .sq-picks-head .nav-sw { border: 1px solid #ccc; cursor: pointer; }
body.shaqawa .sq-dots { margin-top: 20px; }

/* category cards */
body.shaqawa .sq-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
body.shaqawa .sq-card-tile { position: relative; display: block; border-radius: 10px; overflow: hidden; color: #000; }
body.shaqawa .sq-card-tile img { width: 100%; aspect-ratio: 450 / 600; object-fit: cover; display: block; }
body.shaqawa .sq-card-top { position: absolute; top: 26px; inset-inline-start: 30px; }
body.shaqawa .sq-card-top .heading { font-size: 28px; margin-bottom: 6px; }
body.shaqawa .sq-card-top .subheading { font-size: 18px; }
body.shaqawa .sq-card-bottom { position: absolute; bottom: 26px; inset-inline-start: 30px; }

/* photo with text */
body.shaqawa .sq-split-grid { border-radius: 10px; overflow: hidden; }
body.shaqawa .sq-split-grid .tf-content-wrap { background: #e9f6f6; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 40px; }
body.shaqawa .sq-split-grid .tf-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px; }

/* features: one bordered box with dividers */
body.shaqawa .sq-icons-box { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #ebebeb; border-radius: 10px; padding: 30px 0; }
body.shaqawa .sq-icons-box .tf-icon-box { padding: 10px 30px; }
body.shaqawa .sq-icons-box .tf-icon-box + .tf-icon-box { border-inline-start: 1px solid #ebebeb; }
body.shaqawa .sq-icons-box .icon { font-size: 40px; color: var(--sq-red); margin-bottom: 14px; }
body.shaqawa .sq-icons-box .title { font-size: 18px; margin-bottom: 6px; }

@media (max-width: 767px) {
    body.shaqawa .sq-flash-frame { padding: 40px 10px 16px; }
    body.shaqawa .sq-flash-title { font-size: 26px; top: -20px; inset-inline-start: 14px; }
    body.shaqawa .sq-cards-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; }
    body.shaqawa .sq-card-tile { flex: 0 0 78%; scroll-snap-align: start; }
    body.shaqawa .sq-card-top .heading { font-size: 22px; }
    body.shaqawa .sq-split-grid .tf-image-wrap img { min-height: 260px; }
    body.shaqawa .sq-icons-box { grid-template-columns: 1fr; padding: 10px 0; }
    body.shaqawa .sq-icons-box .tf-icon-box + .tf-icon-box { border-inline-start: 0; border-top: 1px solid #ebebeb; }
    body.shaqawa .sq-icons-box .tf-icon-box { padding: 18px; }
}
body.shaqawa .sq-hero .wrap-slider { height: auto !important; }

/* category cards: the heading sits on the photo — a soft white fade at the top keeps it readable,
   a dark fade at the bottom for the "shop now" link */
body.shaqawa .sq-card-tile::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 38%; background: linear-gradient(to bottom, rgba(255,255,255,.88), rgba(255,255,255,0)); z-index: 1; pointer-events: none; }
body.shaqawa .sq-card-tile::after { content: ''; position: absolute; inset: auto 0 0 0; height: 26%; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); z-index: 1; pointer-events: none; }
body.shaqawa .sq-card-top, body.shaqawa .sq-card-bottom { z-index: 2; }
body.shaqawa .sq-card-bottom .tf-btn, body.shaqawa .sq-card-bottom .tf-btn span, body.shaqawa .sq-card-bottom .icon { color: #fff !important; }
body.shaqawa .sq-card-bottom .tf-btn::after { background: #fff !important; }

/* "Shop the look ✧" band: medium, regular weight (Rigali's closing line is huge and bold) */
body.shaqawa .rg-marquee { padding: 43px 0; }
body.shaqawa .rg-marquee .marquee-item .text { font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); }
body.shaqawa .rg-marquee .marquee-item svg { width: clamp(20px, 2vw, 30px); }

body.shaqawa { --rg-m-gap: .6; }
@media (max-width: 767px) {
    body.shaqawa .sq-hero .wrap-slider img { height: 400px; }
    body.shaqawa .rg-marquee .marquee-item .text { font-size: 32px; }
    body.shaqawa .rg-marquee { padding: 13px 0; }
}
