/*
Theme Name: Pyaterochka Inspired Storefront
Theme URI: https://example.com/
Author: OpenAI
Description: Responsive grocery storefront theme recreated from supplied screenshots, with Customizer settings, product and promo post types.
Version: 1.0.0
Text Domain: p5-inspired
*/
:root{--red:#ef2724;--green:#1ca34a;--text:#1d2430;--muted:#8d9096;--bg:#fff;--soft:#f4f4f6;--yellow:#ffd400;--radius:24px;--container:1850px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,"Helvetica Neue",sans-serif;color:var(--text);background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(calc(100% - 64px),var(--container));margin:auto}.topbar{padding:18px 0 8px;font-size:18px}.topbar-inner{display:flex;justify-content:space-between;gap:24px;align-items:center}.location-pill{background:var(--soft);padding:12px 18px;border-radius:999px;font-weight:700}.top-links{display:flex;gap:26px;flex-wrap:wrap}.mainbar{padding:18px 0 34px}.mainbar-inner{display:flex;align-items:center;gap:22px}.brand img{width:62px;height:62px;object-fit:contain}.catalog-btn,.login-btn{background:var(--red);color:white;border:0;border-radius:999px;padding:17px 28px;font-size:20px;font-weight:700}.search{flex:1;background:var(--soft);border-radius:999px;padding:17px 24px;border:0;font-size:20px}.cart-btn{width:58px;height:58px;border-radius:50%;border:0;background:var(--soft);font-size:24px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.hero-card{overflow:hidden;border-radius:22px;background:#eee;aspect-ratio:1.78}.hero-card img{width:100%;height:100%;object-fit:cover}.slider-dots{text-align:center;padding:8px 0 26px;color:#c7c7c7;letter-spacing:7px}.delivery-strip{width:100%;max-width:none;background:linear-gradient(90deg,#ef1d19,#ff3b30);color:#fff;border-radius:999px;padding:18px clamp(18px,3vw,42px);text-align:center;font-size:clamp(16px,1.55vw,24px);line-height:1.25;margin-bottom:70px;min-height:66px;display:flex!important;align-items:center;justify-content:center;gap:.35em;flex-wrap:wrap;overflow-wrap:anywhere}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:70px}.info-card{border-radius:28px;overflow:hidden;background:var(--soft)}.section-title{font-size:34px;margin:0 0 30px;font-weight:800}.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:28px;margin-bottom:70px}.product-card{min-width:0}.product-img{background:var(--soft);border-radius:22px;aspect-ratio:1/1;overflow:hidden;margin-bottom:14px;position:relative}.product-img img{width:100%;height:100%;object-fit:contain}.badge{position:absolute;left:12px;bottom:12px;background:#1e90ff;color:#fff;padding:6px 10px;border-radius:9px;font-weight:700}.discount{background:var(--yellow);color:#111}.rating{font-size:17px;margin-bottom:10px}.rating:before{content:'★';color:#f5c400;margin-right:8px}.product-name{font-size:21px;line-height:1.2;min-height:76px}.weight{color:var(--muted);margin:8px 0 24px;font-size:17px}.old-price{color:#999;text-decoration:line-through;height:22px}.price{font-size:30px;font-weight:800;margin-bottom:18px}.buy-btn{width:100%;border:0;background:var(--soft);border-radius:999px;padding:15px;font-size:17px;font-weight:700}.campaign-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-bottom:90px}.campaign-card{border-radius:28px;overflow:hidden;background:var(--soft);aspect-ratio:1}.campaign-card img{width:100%;height:100%;object-fit:cover}.app-panel{background:var(--soft);border-radius:28px;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;margin-bottom:90px;min-height:560px}.app-copy{padding:64px}.app-copy h2{font-size:36px;margin:0 0 36px;max-width:760px}.feature-list{display:grid;gap:26px;font-size:20px;margin-bottom:42px}.store-row{display:flex;gap:14px;flex-wrap:wrap}.store-badge{background:#242424;color:#fff;border-radius:999px;padding:13px 22px;font-weight:700}.app-image{display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.app-image img{max-height:600px}.footer{padding:0 0 60px}.footer-grid{display:grid;grid-template-columns:240px 1fr 1fr 1.2fr;gap:80px}.footer h3{color:#c6c6c6;font-size:22px;margin:0 0 24px}.footer a{display:block;margin:0 0 18px;font-size:18px}.socials{display:flex;gap:10px;margin-top:20px}.socials span{width:44px;height:44px;border-radius:50%;background:var(--soft);display:grid;place-items:center}.mobile-nav{display:none}
@media(max-width:1100px){.container{width:min(calc(100% - 32px),var(--container))}.top-links{display:none}.hero-grid{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.campaign-grid{grid-template-columns:repeat(2,1fr)}.app-panel{grid-template-columns:1fr}.app-image{max-height:520px}.footer-grid{grid-template-columns:1fr 1fr}.mainbar-inner{flex-wrap:wrap}.search{order:4;flex-basis:100%}}
@media(max-width:640px){body{padding-bottom:76px}.container{width:min(calc(100% - 22px),var(--container))}.topbar{font-size:14px}.mainbar{padding-bottom:18px}.brand img{width:48px;height:48px}.catalog-btn{padding:13px 18px;font-size:16px}.login-btn{padding:13px 18px;font-size:16px}.cart-btn{width:48px;height:48px}.search{font-size:16px;padding:14px 18px}.hero-grid{gap:14px}.hero-card{border-radius:16px}.delivery-strip{font-size:clamp(15px,4.2vw,18px);margin-bottom:40px;min-height:58px;padding:14px 16px;border-radius:28px}.section-title{font-size:28px}.product-grid{display:flex;overflow-x:auto;gap:16px;padding-bottom:12px}.product-card{min-width:72vw}.campaign-grid{display:flex;overflow-x:auto}.campaign-card{min-width:78vw}.app-copy{padding:30px 24px}.app-copy h2{font-size:28px}.feature-list{font-size:17px}.footer-grid{grid-template-columns:1fr;gap:24px}.mobile-nav{position:fixed;left:10px;right:10px;bottom:10px;background:#fff;border:1px solid #eee;border-radius:18px;padding:12px;display:flex;justify-content:space-around;z-index:99;box-shadow:0 8px 35px rgba(0,0,0,.12)}}
/* v1.1 editable links */
a.catalog-btn,a.login-btn,a.cart-btn,a.buy-btn,a.delivery-strip,a.location-pill,a.store-badge{ text-decoration:none; }
a.buy-btn{display:block;text-align:center;box-sizing:border-box}
a.delivery-strip{display:block;text-align:center}
