
/* Shopih Animated Slider / Motion Patch */
.shopih-motion-strip{
    width:100%;
    overflow:hidden;
    padding:18px 0;
    background:linear-gradient(90deg,#0f172a,#1e3a8a,#0f172a);
    color:#fff;
    margin:22px 0 0;
    position:relative;
}
.shopih-motion-strip::before,
.shopih-motion-strip::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
    pointer-events:none;
}
.shopih-motion-strip::before{left:0;background:linear-gradient(90deg,#0f172a,transparent)}
.shopih-motion-strip::after{right:0;background:linear-gradient(270deg,#0f172a,transparent)}
.shopih-motion-track{
    display:flex;
    width:max-content;
    gap:28px;
    animation:shopihMarquee 24s linear infinite;
}
.shopih-motion-track:hover{animation-play-state:paused}
.shopih-motion-item{
    display:inline-flex;
    align-items:center;
    gap:10px;
    white-space:nowrap;
    font-weight:900;
    letter-spacing:.02em;
    opacity:.95;
}
.shopih-motion-item span{
    width:9px;
    height:9px;
    border-radius:999px;
    background:#f59e0b;
    box-shadow:0 0 18px rgba(245,158,11,.8);
}
@keyframes shopihMarquee{
    from{transform:translateX(0)}
    to{transform:translateX(-50%)}
}

.cod-hero-visual::before,
.cod-hero-visual::after{
    content:"";
    position:absolute;
    border-radius:999px;
    filter:blur(2px);
    opacity:.85;
    z-index:0;
}
.cod-hero-visual::before{
    width:110px;
    height:110px;
    background:linear-gradient(135deg,#f59e0b,#f97316);
    top:18px;
    left:20px;
    animation:shopihFloatA 6s ease-in-out infinite;
}
.cod-hero-visual::after{
    width:86px;
    height:86px;
    background:linear-gradient(135deg,#60a5fa,#2563eb);
    right:24px;
    bottom:34px;
    animation:shopihFloatB 7s ease-in-out infinite;
}
@keyframes shopihFloatA{
    0%,100%{transform:translate3d(0,0,0) scale(1)}
    50%{transform:translate3d(18px,24px,0) scale(1.08)}
}
@keyframes shopihFloatB{
    0%,100%{transform:translate3d(0,0,0) scale(1)}
    50%{transform:translate3d(-22px,-20px,0) scale(.94)}
}

.shopih-slider-section{
    max-width:1220px;
    margin:58px auto;
    padding:0 18px;
}
.shopih-slider-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
}
.shopih-slider-head span{
    display:inline-flex;
    padding:7px 12px;
    border-radius:999px;
    background:#fff7ed;
    color:#b45309;
    font-size:12px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:10px;
}
.shopih-slider-head h2{
    margin:0;
    font-size:clamp(30px,4vw,46px);
    letter-spacing:-.05em;
    color:#0f172a;
}
.shopih-slider-head p{
    margin:8px 0 0;
    color:#64748b;
}
.shopih-slider-controls{
    display:flex;
    gap:10px;
}
.shopih-slide-btn{
    width:44px;
    height:44px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#0f172a;
    font-size:20px;
    font-weight:1000;
    cursor:pointer;
    box-shadow:0 12px 28px rgba(15,23,42,.08);
    transition:.2s ease;
}
.shopih-slide-btn:hover{
    transform:translateY(-2px);
    background:#0f172a;
    color:#fff;
}
.shopih-product-slider{
    overflow:hidden;
    border-radius:30px;
}
.shopih-product-track{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(250px, 285px);
    gap:18px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    padding:4px 4px 22px;
}
.shopih-product-track::-webkit-scrollbar{height:8px}
.shopih-product-track::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.shopih-product-track > *{scroll-snap-align:start}

.shopih-auto-showcase{
    max-width:1220px;
    margin:60px auto;
    padding:0 18px;
    overflow:hidden;
}
.shopih-auto-window{
    overflow:hidden;
    border-radius:32px;
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:0 20px 55px rgba(15,23,42,.08);
    padding:22px 0;
}
.shopih-auto-track{
    display:flex;
    gap:18px;
    width:max-content;
    animation:shopihProductsMove 30s linear infinite;
}
.shopih-auto-window:hover .shopih-auto-track{animation-play-state:paused}
.shopih-mini-card{
    width:245px;
    min-height:132px;
    border-radius:24px;
    background:linear-gradient(135deg,#f8fafc,#fff);
    border:1px solid #e5e7eb;
    padding:18px;
    display:flex;
    align-items:center;
    gap:14px;
    box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.shopih-mini-icon{
    width:56px;
    height:56px;
    border-radius:20px;
    display:grid;
    place-items:center;
    font-size:26px;
    background:linear-gradient(135deg,#fff7ed,#eff6ff);
}
.shopih-mini-card strong{display:block;color:#0f172a;margin-bottom:5px}
.shopih-mini-card span{color:#64748b;font-size:13px}
@keyframes shopihProductsMove{
    from{transform:translateX(0)}
    to{transform:translateX(-50%)}
}

.shopih-reveal{
    opacity:0;
    transform:translateY(24px);
    transition:opacity .65s ease, transform .65s ease;
}
.shopih-reveal.is-visible{
    opacity:1;
    transform:translateY(0);
}
.cod-category-card,
.cod-trust-card,
.product-card,
.products-grid article{
    animation:shopihCardIn .55s ease both;
}
@keyframes shopihCardIn{
    from{opacity:0;transform:translateY(18px) scale(.98)}
    to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:760px){
    .shopih-motion-strip{padding:14px 0}
    .shopih-motion-track{animation-duration:18s}
    .shopih-product-track{grid-auto-columns:minmax(220px, 82vw)}
    .shopih-slider-head{align-items:flex-start;flex-direction:column}
    .shopih-mini-card{width:220px}
}
