/* =========================================================
   ESSENTILY SHOP V1.4 — PREMIUM VISUAL POLISH
   Visual-only refinement. No catalogue / visibility logic changes.
   ========================================================= */

:root{
    --shop-ink:#17191b;
    --shop-copy:#667079;
    --shop-border:#e7e1db;
    --shop-orange:#ff520f;
    --shop-green:#155631;
    --shop-green-dark:#0d3f25;
    --shop-cream:#fff8f1;
    --shop-mint:#f3f8f1;
    --shop-soft:#f6f7f4;
    --shop-shadow:0 22px 56px rgba(30,27,23,.07);
    --shop-shadow-strong:0 28px 72px rgba(30,27,23,.11);
}

/* -----------------------------
   HERO
   ----------------------------- */
.shop-page-hero{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 84% 18%,rgba(98,168,91,.13),transparent 28%),
        radial-gradient(circle at 8% 90%,rgba(255,82,15,.08),transparent 24%),
        linear-gradient(135deg,#fff9f4 0%,#fff 48%,#f2f8ef 100%);
    border-bottom:1px solid #eee9e3;
}
.shop-page-hero__grid{
    display:grid;
    grid-template-columns:.94fr 1.06fr;
    gap:70px;
    align-items:center;
    min-height:590px;
    padding-top:64px;
    padding-bottom:88px;
}
.shop-page-hero__copy{max-width:720px}
.shop-page-hero__copy h1{
    margin:16px 0 20px;
    color:var(--shop-ink);
    font:900 clamp(58px,5.4vw,82px)/.95 Nunito,sans-serif;
    letter-spacing:-.052em;
}
.shop-page-hero__copy h1 em{color:var(--shop-orange);font-style:normal}
.shop-page-hero__copy>p{
    max-width:690px;
    margin:0;
    color:var(--shop-copy);
    font-size:15.5px;
    line-height:1.84;
}
.shop-page-hero__stats{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:26px;
}
.shop-page-hero__stats span{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:38px;
    padding:0 13px;
    border:1px solid rgba(25,30,27,.09);
    border-radius:999px;
    background:rgba(255,255,255,.84);
    color:#727b81;
    font-size:10.5px;
    box-shadow:0 8px 22px rgba(35,31,26,.04);
    backdrop-filter:blur(8px);
}
.shop-page-hero__stats strong{color:var(--shop-ink);font-size:12.5px}

.shop-page-hero__visual{
    position:relative;
    min-height:430px;
    isolation:isolate;
}
.shop-page-hero__orb{
    position:absolute;
    z-index:0;
    left:50%;
    top:50%;
    width:370px;
    height:370px;
    border-radius:50%;
    transform:translate(-50%,-50%);
    background:
        radial-gradient(circle at center,#fff 0 25%,transparent 26%),
        radial-gradient(circle at center,transparent 0 42%,rgba(255,82,15,.09) 43% 60%,transparent 61%),
        radial-gradient(circle at center,transparent 0 63%,rgba(103,170,93,.10) 64% 82%,transparent 83%);
}
.shop-page-hero__bag{
    position:absolute;
    z-index:4;
    left:50%;
    top:50%;
    display:grid;
    place-items:center;
    width:148px;
    height:148px;
    border:1px solid rgba(21,39,26,.08);
    border-radius:38px;
    background:rgba(255,255,255,.94);
    box-shadow:0 30px 80px rgba(34,33,28,.13);
    transform:translate(-50%,-50%) rotate(2deg);
}
.shop-page-hero__bag img{width:94px;height:94px;border-radius:26px}
.shop-page-hero__category,
.shop-page-hero__card{
    position:absolute;
    z-index:5;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border:1px solid rgba(30,36,31,.09);
    border-radius:17px;
    background:rgba(255,255,255,.93);
    box-shadow:0 18px 42px rgba(28,31,27,.08);
    backdrop-filter:blur(12px);
}
.shop-page-hero__category-media{
    flex:0 0 42px;
    width:42px;
    height:42px;
    padding:4px;
    border-radius:12px;
    background:#faf8f3;
}
.shop-page-hero__category span:last-child b,
.shop-page-hero__category span:last-child small,
.shop-page-hero__card span,
.shop-page-hero__card small{display:block}
.shop-page-hero__category b,
.shop-page-hero__card span{font:900 9px Nunito,sans-serif;color:#24282b}
.shop-page-hero__category small,
.shop-page-hero__card small{margin-top:2px;color:#8a9297;font-size:6.5px}
.shop-page-hero__category--1{left:2%;top:16%}
.shop-page-hero__category--2{right:0;top:26%}
.shop-page-hero__category--3{left:5%;bottom:13%}
.shop-page-hero__card--two{right:4%;bottom:14%}

/* -----------------------------
   FILTER BAR
   ----------------------------- */
.shop-controls{
    position:sticky;
    z-index:30;
    top:88px;
    margin-top:-34px;
    padding:0 0 6px;
    background:transparent;
}
.shop-controls>.v11-shell{
    padding:13px;
    border:1px solid rgba(31,36,32,.08);
    border-radius:24px;
    background:rgba(255,255,255,.96);
    box-shadow:0 20px 55px rgba(25,29,26,.10);
    backdrop-filter:blur(18px);
}
.shop-filter-form{
    display:grid;
    grid-template-columns:minmax(0,1fr) 190px auto auto;
    gap:10px;
    align-items:stretch;
}
.shop-search-field,
.shop-city-field{
    display:flex;
    align-items:center;
    min-height:52px;
    border:1px solid #e5e1dc;
    border-radius:16px;
    background:#fff;
    transition:border-color .2s ease,box-shadow .2s ease;
}
.shop-search-field:focus-within,
.shop-city-field:focus-within{border-color:#f1aa89;box-shadow:0 0 0 4px rgba(255,82,15,.07)}
.shop-search-field{gap:11px;padding:0 16px}
.shop-search-field svg{width:18px;height:18px;fill:none;stroke:#818990;stroke-width:1.8}
.shop-search-field input{
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:var(--shop-ink);
    font:600 12px Poppins,sans-serif;
}
.shop-search-field input::placeholder{color:#a0a7ac}
.shop-city-field{position:relative;padding:0 13px}
.shop-city-field>span{
    position:absolute;
    left:13px;
    top:7px;
    color:#a0a7ac;
    font-size:6px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.shop-city-field select{
    width:100%;
    padding:15px 22px 0 0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--shop-ink);
    font:700 11px Poppins,sans-serif;
}
.shop-filter-submit{
    min-width:118px;
    border:0;
    border-radius:16px;
    background:#181b1d;
    color:#fff;
    font:800 11px Poppins,sans-serif;
    cursor:pointer;
    transition:transform .2s ease,box-shadow .2s ease;
}
.shop-filter-submit:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(23,25,27,.14)}
.shop-filter-clear{display:grid;place-items:center;padding:0 10px;color:#737b81;font-size:10px;font-weight:700}

/* -----------------------------
   CATEGORY SECTION
   ----------------------------- */
.shop-category-section{padding:118px 0 88px;background:#fff}
.shop-section-heading{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:70px;
    align-items:end;
}
.shop-section-heading h2{
    margin:12px 0 0;
    color:var(--shop-ink);
    font:900 clamp(44px,4.2vw,60px)/1 Nunito,sans-serif;
    letter-spacing:-.045em;
}
.shop-section-heading__aside>span{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 10px;
    border-radius:999px;
    background:#f0f6ec;
    color:#2c753d;
    font-size:8.5px;
    font-weight:800;
}
.shop-section-heading__aside p,
.shop-section-heading>p{
    margin:10px 0 0;
    color:var(--shop-copy);
    font-size:12px;
    line-height:1.72;
}
.shop-category-scroll{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-top:36px;
}
.shop-category-pill{
    position:relative;
    display:grid;
    grid-template-columns:58px minmax(0,1fr) 34px;
    gap:13px;
    align-items:center;
    min-height:108px;
    padding:16px;
    overflow:hidden;
    border:1px solid var(--shop-border);
    border-radius:22px;
    background:#fff;
    color:inherit;
    box-shadow:0 11px 30px rgba(38,32,26,.035);
    transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
.shop-category-pill:hover{transform:translateY(-3px);border-color:#d9d0c7;box-shadow:0 22px 42px rgba(38,32,26,.07)}
.shop-category-pill.is-active{
    border-color:#ff8a58;
    background:linear-gradient(145deg,#fff4eb,#fff);
    box-shadow:0 20px 44px rgba(255,82,15,.08);
}
.shop-category-pill__media,
.shop-category-pill__all{
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    margin:0;
    padding:6px;
    border-radius:17px;
    background:linear-gradient(145deg,#fff7ef,#f3f8ef);
    color:var(--shop-orange);
    font:900 20px Nunito,sans-serif;
}
.shop-category-pill__copy{min-width:0}
.shop-category-pill__copy strong,
.shop-category-pill__copy small{display:block}
.shop-category-pill strong{font:900 13.5px/1.2 Nunito,sans-serif;color:var(--shop-ink)}
.shop-category-pill small{margin-top:5px;color:#92999e;font-size:8.5px}
.shop-category-pill__arrow{
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    border-radius:50%;
    background:#f6f6f3;
    color:#5a646a;
    font-size:13px;
    transition:background .2s ease,color .2s ease,transform .2s ease;
}
.shop-category-pill:hover .shop-category-pill__arrow,
.shop-category-pill.is-active .shop-category-pill__arrow{background:#181b1d;color:#fff;transform:translateX(2px)}
.shop-category-pill__media .public-category-media__fallback,
.shop-category-pill__media .public-category-media__remote{padding:3px}

.shop-coming-categories{margin-top:18px}
.shop-coming-categories details{
    border:1px solid #ebe6df;
    border-radius:18px;
    background:#fafbf8;
    overflow:hidden;
}
.shop-coming-categories summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:48px;
    padding:0 16px;
    list-style:none;
    color:#70797f;
    font-size:10px;
    font-weight:700;
    cursor:pointer;
}
.shop-coming-categories summary::-webkit-details-marker{display:none}
.shop-coming-categories summary b{color:#24282b;font-size:9px}
.shop-coming-categories__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    padding:0 12px 12px;
}
.shop-coming-categories__grid article{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:62px;
    padding:8px 10px;
    border:1px solid #ece8e2;
    border-radius:14px;
    background:#fff;
}
.shop-coming-categories__media{flex:0 0 42px;width:42px;height:42px;padding:4px;border-radius:12px;background:#f7f7f3}
.shop-coming-categories__grid strong,.shop-coming-categories__grid small{display:block}
.shop-coming-categories__grid strong{font:900 10.5px Nunito,sans-serif}
.shop-coming-categories__grid small{margin-top:2px;color:#959ca1;font-size:7.5px}

/* -----------------------------
   STORE SECTION
   ----------------------------- */
.shop-store-section{
    padding:92px 0 110px;
    background:linear-gradient(180deg,#f7f8f5 0%,#f4f6f2 100%);
    border-top:1px solid #ecefe9;
    border-bottom:1px solid #ecefe9;
}
.shop-section-heading--stores{align-items:center}
.shop-store-results{
    display:grid;
    grid-template-columns:auto 1fr;
    column-gap:10px;
    align-items:center;
    justify-self:end;
    min-width:265px;
    padding:14px 16px;
    border:1px solid #dfe4de;
    border-radius:18px;
    background:rgba(255,255,255,.78);
}
.shop-store-results strong{
    grid-row:1/3;
    color:var(--shop-orange);
    font:900 32px/1 Nunito,sans-serif;
}
.shop-store-results span{font:900 11px Nunito,sans-serif;color:#24282b}
.shop-store-results small{color:#8c9499;font-size:8px}

.shop-store-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    margin-top:34px;
}
.shop-store-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:500px;
    overflow:hidden;
    border:1px solid #e2ddd7;
    border-radius:28px;
    background:#fff;
    box-shadow:0 18px 44px rgba(37,32,27,.055);
    transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.shop-store-card:hover{transform:translateY(-5px);border-color:#d5cdc5;box-shadow:var(--shop-shadow-strong)}
.shop-store-card__banner{
    position:relative;
    height:132px;
    overflow:hidden;
    background:linear-gradient(135deg,#e9f3e7,#fff0e5);
}
.shop-store-card__banner-fallback{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    padding:18px;
    color:rgba(255,255,255,.88);
    font:900 22px Nunito,sans-serif;
    background:linear-gradient(135deg,#477e58,#d67a41);
}
.shop-store-card__banner>img{
    position:absolute;
    inset:-7px;
    width:calc(100% + 14px);
    height:calc(100% + 14px);
    object-fit:cover;
    opacity:.66;
    filter:saturate(.72) contrast(.9) brightness(.76) blur(1.7px);
    transform:scale(1.05);
}
.shop-store-card__banner:after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(180deg,rgba(10,17,13,.06),rgba(10,17,13,.42));
}
.shop-store-card__banner-label{
    position:absolute;
    z-index:3;
    left:16px;
    bottom:13px;
    max-width:58%;
    overflow:hidden;
    padding:6px 9px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    background:rgba(255,255,255,.90);
    color:#2f3a32;
    font-size:7.8px;
    font-weight:800;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.shop-store-card__status{
    position:absolute;
    z-index:4;
    right:12px;
    top:12px;
    padding:7px 9px;
    border-radius:999px;
    font-size:7.6px;
    font-weight:800;
    box-shadow:0 7px 20px rgba(0,0,0,.08);
}
.shop-store-card__status.is-open{background:#e9f8e7;color:#28713a}
.shop-store-card__status.is-paused{background:#fff0ee;color:#b74c3d}
.shop-store-card__body{display:flex;flex:1;flex-direction:column;padding:0 20px 20px}
.shop-store-card__identity{display:flex;gap:12px;align-items:flex-end;margin-top:-27px;position:relative;z-index:5}
.shop-store-card__logo{
    position:relative;
    flex:0 0 64px;
    width:64px;
    height:64px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:4px solid #fff;
    border-radius:19px;
    background:#fff;
    color:var(--shop-orange);
    font:900 22px Nunito,sans-serif;
    box-shadow:0 12px 24px rgba(26,28,26,.12);
}
.shop-store-card__logo img{position:absolute;inset:0;width:100%;height:100%;padding:5px;object-fit:contain;background:#fff}
.shop-store-card__identity>div:last-child{min-width:0;padding-bottom:3px}
.shop-store-card__category{display:block;margin-bottom:3px;color:var(--shop-orange);font-size:7.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.shop-store-card h3{margin:0;color:var(--shop-ink);font:900 21px/1.05 Nunito,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-store-card__description{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:38px;
    margin:16px 0 0;
    color:#626c73;
    font-size:10.8px;
    line-height:1.65;
}
.shop-store-card__location{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-top:13px;
    padding-top:13px;
    border-top:1px solid #eee9e4;
    color:#626c73;
    font-size:9.5px;
    line-height:1.55;
}
.shop-store-card__location svg{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:#ff7541;stroke-width:1.7}
.shop-store-card__location span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-store-card__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.shop-store-card__meta>span{min-width:0;padding:9px 9px;border-radius:12px;background:#f7f8f5}
.shop-store-card__meta small,.shop-store-card__meta strong{display:block}
.shop-store-card__meta small{color:#969da2;font-size:6.8px}
.shop-store-card__meta strong{margin-top:3px;color:#24282b;font-size:10px}
.shop-store-card__footer{margin-top:auto;padding-top:16px}
.shop-store-card__footer>span{display:block;margin-bottom:9px;color:#8a9297;font-size:8.4px;line-height:1.45}
.shop-store-card__cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:42px;
    padding:0 13px;
    border-radius:13px;
    background:#181b1d;
    color:#fff;
    font-size:9.5px;
    font-weight:800;
    transition:background .2s ease,transform .2s ease;
}
.shop-store-card__cta:hover{background:#ff520f;transform:translateY(-1px)}
.shop-store-card__cta b{font-size:14px}

.shop-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:34px}
.shop-pagination a,.shop-pagination span{display:grid;place-items:center;min-height:38px;padding:0 13px;border:1px solid #dfe3dd;border-radius:999px;background:#fff;color:#3a4348;font-size:9px;font-weight:700}
.shop-pagination .is-disabled{opacity:.45}
.shop-empty-state{padding:56px 30px;text-align:center}
.shop-empty-state__icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:18px;background:#fff0e8;color:#ff520f;font:900 28px Nunito,sans-serif}
.shop-empty-state h3{margin:0;font:900 28px Nunito,sans-serif}
.shop-empty-state p{color:#737d83;font-size:12px}

/* -----------------------------
   APP CTA
   ----------------------------- */
.shop-app-cta{padding:95px 0;background:#fff}
.shop-app-cta__panel{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:.88fr 1.12fr;
    gap:70px;
    align-items:center;
    min-height:520px;
    padding:58px 68px;
    border-radius:40px;
    background:
        radial-gradient(circle at 83% 25%,rgba(149,224,124,.14),transparent 27%),
        radial-gradient(circle at 18% 90%,rgba(255,141,65,.09),transparent 28%),
        #103f25;
    color:#fff;
    box-shadow:0 30px 80px rgba(14,54,31,.13);
}
.shop-app-cta h2{margin:13px 0 17px;color:#fff;font:900 clamp(46px,4.6vw,66px)/.98 Nunito,sans-serif;letter-spacing:-.045em}
.shop-app-cta h2 em{color:#b9f18f;font-style:normal}
.shop-app-cta p{max-width:590px;margin:0 0 23px;color:#c9d8cc;font-size:13px;line-height:1.82}
.shop-app-cta__phones{display:flex;align-items:flex-end;justify-content:center;gap:18px;min-height:400px}
.shop-app-cta__phones img{width:220px;height:420px;object-fit:cover;object-position:top;border:6px solid #202326;border-radius:31px;box-shadow:0 26px 60px rgba(0,0,0,.25)}
.shop-app-cta__phones img:first-child{transform:rotate(-4deg) translateY(18px)}
.shop-app-cta__phones img:last-child{transform:rotate(4deg)}

/* -----------------------------
   RESPONSIVE
   ----------------------------- */
@media(max-width:1180px){
    .shop-page-hero__grid{grid-template-columns:1fr 1fr;gap:44px}
    .shop-section-heading{grid-template-columns:1fr 360px;gap:44px}
    .shop-category-scroll{grid-template-columns:repeat(2,minmax(0,1fr))}
    .shop-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .shop-coming-categories__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
    .shop-page-hero__grid{grid-template-columns:1fr;gap:18px;min-height:auto;padding-top:70px}
    .shop-page-hero__copy{text-align:center;margin-inline:auto}
    .shop-page-hero__copy .v11-eyebrow{justify-content:center}
    .shop-page-hero__copy>p{margin-inline:auto}
    .shop-page-hero__stats{justify-content:center}
    .shop-page-hero__visual{min-height:330px}
    .shop-controls{top:72px}
    .shop-filter-form{grid-template-columns:1fr 180px auto}
    .shop-filter-clear{grid-column:1/-1}
    .shop-section-heading{grid-template-columns:1fr;gap:16px}
    .shop-section-heading__aside{max-width:680px}
    .shop-section-heading--stores{grid-template-columns:1fr auto}
    .shop-app-cta__panel{grid-template-columns:1fr;text-align:center;padding:54px 40px}
    .shop-app-cta .v11-eyebrow{justify-content:center}
    .shop-app-cta p{margin-inline:auto}
}
@media(max-width:720px){
    .shop-page-hero__grid{padding-top:58px;padding-bottom:68px}
    .shop-page-hero__copy h1{font-size:48px}
    .shop-page-hero__copy>p{font-size:14px}
    .shop-page-hero__visual{min-height:245px}
    .shop-page-hero__orb{width:250px;height:250px}
    .shop-page-hero__bag{width:104px;height:104px;border-radius:29px}
    .shop-page-hero__bag img{width:68px;height:68px}
    .shop-page-hero__category{padding:7px 8px;border-radius:13px;gap:7px}
    .shop-page-hero__category-media{width:32px;height:32px;flex-basis:32px}
    .shop-page-hero__category--1{left:0;top:13%}
    .shop-page-hero__category--2{right:0;top:19%}
    .shop-page-hero__category--3{left:2%;bottom:10%}
    .shop-page-hero__card--two{right:0;bottom:10%}
    .shop-controls{position:relative;top:auto;margin-top:-22px}
    .shop-filter-form{grid-template-columns:1fr}
    .shop-filter-submit{min-height:50px}
    .shop-category-section{padding:82px 0 70px}
    .shop-section-heading h2{font-size:40px}
    .shop-category-scroll{display:flex;overflow-x:auto;gap:10px;padding-bottom:7px;scroll-snap-type:x proximity}
    .shop-category-pill{flex:0 0 255px;scroll-snap-align:start}
    .shop-coming-categories__grid{grid-template-columns:1fr}
    .shop-store-section{padding:75px 0 90px}
    .shop-section-heading--stores{grid-template-columns:1fr}
    .shop-store-results{justify-self:start;min-width:0}
    .shop-store-grid{grid-template-columns:1fr}
    .shop-store-card{min-height:0}
    .shop-app-cta{padding:70px 0}
    .shop-app-cta__panel{padding:44px 24px;border-radius:30px}
    .shop-app-cta h2{font-size:45px}
    .shop-app-cta__phones{min-height:330px;gap:7px}
    .shop-app-cta__phones img{width:155px;height:300px;border-width:5px;border-radius:24px}
}

/* Motion never controls visibility. */
@media(prefers-reduced-motion:no-preference){
    .shop-page-hero__bag{animation:shopFloat 5.5s ease-in-out infinite}
    @keyframes shopFloat{0%,100%{translate:0 0}50%{translate:0 -7px}}
}

/* =========================================================
   ESSENTILY SHOP V1.4.1 — STORE CARD CORRECTION
   Fixes the two visible V1.4 regressions:
   1) category/banner label colliding with store identity
   2) large artificial blank gap above the card CTA
   ========================================================= */

/* Cards size from content instead of being forced to 500px. */
.shop-store-grid{
    align-items:start!important;
}
.shop-store-card{
    min-height:0!important;
}

/* Banner is decorative only. No category pill is allowed to sit on the
   lower banner edge where the logo/name begins. */
.shop-store-card__banner{
    height:118px!important;
    flex:0 0 118px;
    background:linear-gradient(135deg,#e9f3e7,#fff0e5)!important;
}
.shop-store-card__banner>img{
    inset:0!important;
    width:100%!important;
    height:100%!important;
    opacity:1!important;
    object-fit:cover!important;
    filter:saturate(.78) contrast(.94) brightness(.74)!important;
    transform:none!important;
}
.shop-store-card__banner:after{
    background:linear-gradient(180deg,rgba(10,17,13,.04),rgba(10,17,13,.25))!important;
}
.shop-store-card__banner-fallback{
    inset:0!important;
    display:flex!important;
    flex-direction:column;
    align-items:flex-start!important;
    justify-content:flex-end;
    gap:3px;
    padding:18px 20px!important;
    background:linear-gradient(135deg,#376f4a,#bf7044)!important;
}
.shop-store-card__banner-fallback strong{
    color:#fff;
    font:900 18px/1.1 Nunito,sans-serif;
}
.shop-store-card__banner-fallback small{
    color:rgba(255,255,255,.78);
    font-size:9px;
    font-weight:700;
}
.shop-store-card__banner-label{
    display:none!important;
}
.shop-store-card__status{
    top:12px!important;
    right:12px!important;
    padding:7px 10px!important;
    font-size:8px!important;
}

/* Identity belongs fully inside the white content area. */
.shop-store-card__body{
    display:block!important;
    flex:initial!important;
    padding:18px 20px 20px!important;
}
.shop-store-card__identity{
    position:relative!important;
    z-index:2!important;
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:13px!important;
    align-items:center!important;
    margin-top:0!important;
}
.shop-store-card__logo{
    width:58px!important;
    height:58px!important;
    flex-basis:58px!important;
    border:1px solid #ece6df!important;
    border-radius:17px!important;
    box-shadow:0 8px 22px rgba(26,28,26,.08)!important;
}
.shop-store-card__logo img{
    padding:5px!important;
}
.shop-store-card__identity>div:last-child{
    padding-bottom:0!important;
}
.shop-store-card__category{
    margin-bottom:5px!important;
    color:var(--shop-orange)!important;
    font-size:8.2px!important;
    line-height:1.2!important;
}
.shop-store-card h3{
    font-size:22px!important;
    line-height:1.08!important;
}

/* Content density: readable, compact and predictable. */
.shop-store-card__description{
    min-height:0!important;
    margin:14px 0 0!important;
    color:#5f6970!important;
    font-size:12px!important;
    line-height:1.6!important;
}
.shop-store-card__location{
    margin-top:14px!important;
    padding-top:14px!important;
    font-size:10.5px!important;
    line-height:1.55!important;
}
.shop-store-card__location svg{
    margin-top:1px;
}
.shop-store-card__meta{
    margin-top:14px!important;
    gap:8px!important;
}
.shop-store-card__meta>span{
    padding:10px!important;
    border-radius:12px!important;
}
.shop-store-card__meta small{
    font-size:7.6px!important;
}
.shop-store-card__meta strong{
    margin-top:4px!important;
    font-size:11px!important;
}

/* This is the key blank-space fix: the footer follows the metadata normally.
   No margin-top:auto, no forced vertical spacer. */
.shop-store-card__footer{
    margin-top:16px!important;
    padding-top:14px!important;
    border-top:1px solid #eee9e4;
}
.shop-store-card__footer>span{
    margin-bottom:10px!important;
    color:#778188!important;
    font-size:9.4px!important;
    line-height:1.5!important;
}
.shop-store-card__cta{
    min-height:44px!important;
    padding:0 14px!important;
    font-size:10.5px!important;
}

@media(max-width:720px){
    .shop-store-card__banner{
        height:108px!important;
        flex-basis:108px;
    }
    .shop-store-card__body{
        padding:16px!important;
    }
    .shop-store-card h3{
        font-size:20px!important;
    }
}

/* =========================================================
   ESSENTILY SHOP V1.4.2 — EQUAL STORE CARD HEIGHTS
   Goal: keep all cards in the same row the same height, while
   preserving a clean flow and avoiding awkward empty blocks.
   ========================================================= */

.shop-store-grid{
    align-items:stretch!important;
}

.shop-store-card{
    height:100%!important;
    min-height:0!important;
}

.shop-store-card__body{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
}

.shop-store-card__identity{
    min-height:58px;
}

.shop-store-card__description{
    min-height:38px!important;
}

.shop-store-card__description.is-placeholder{
    color:#879097!important;
}

.shop-store-card__location{
    min-height:56px!important;
}

.shop-store-card__meta{
    min-height:72px!important;
    align-items:stretch!important;
}

.shop-store-card__footer{
    margin-top:auto!important;
}

.shop-store-card__footer>span{
    min-height:28px;
}

@media(max-width:720px){
    .shop-store-card__identity,
    .shop-store-card__description,
    .shop-store-card__location,
    .shop-store-card__meta,
    .shop-store-card__footer>span{
        min-height:0!important;
    }
}

/* =========================================================
   ESSENTILY SHOP V1.4.3 — STORE META POLISH
   - remove min-order tile
   - replace with store-status tile
   - separate footer note from meta boxes more cleanly
   ========================================================= */

.shop-store-card__meta{
    gap:10px!important;
}

.shop-store-card__meta>span{
    padding:11px 11px!important;
    border:1px solid #f0ebe5;
    background:linear-gradient(180deg,#faf9f6 0%,#f5f4f0 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}

.shop-store-card__footer{
    margin-top:auto!important;
    padding-top:14px!important;
    border-top:none!important;
}

.shop-store-card__footer>span{
    margin-bottom:12px!important;
    padding:10px 12px!important;
    border:1px solid #efe7e1;
    border-radius:12px;
    background:#fcfbf8;
    color:#7f878d!important;
}


/* =========================================================
   ESSENTILY SHOP V1.4.4 — SEARCH FIELD CORRECTION
   The accessible search name now lives on the input itself.
   These rules keep the icon and placeholder on one clean line.
   ========================================================= */
.shop-search-field{
    min-width:0!important;
}
.shop-search-field svg{
    flex:0 0 18px!important;
}
.shop-search-field input{
    min-width:0!important;
    flex:1 1 auto!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
