*{
    box-sizing:border-box;
}

:root{
    --navy:#15213d;
    --navy-dark:#0d1629;
    --blue:#2879f0;
    --blue-dark:#1f63c7;
    --light-blue:#eef5ff;
    --surface:#ffffff;
    --background:#f6f8fb;
    --text:#17213a;
    --muted:#6b7280;
    --border:#e6eaf0;
    --success:#23a36d;
    --shadow:0 18px 45px rgba(31,41,55,.08);
    --radius:22px;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:var(--background);
    color:var(--text);
}

a{
    text-decoration:none;
    color:inherit;
}

button,
input{
    font:inherit;
}

.container{
    width:min(1220px,calc(100% - 34px));
    margin:auto;
}

.promo-bar{
    background:var(--navy-dark);
    color:#fff;
}

.promo-inner{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    min-height:38px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.2px;
}

.site-header{
    background:#fff;
    border-bottom:1px solid var(--border);
}

.header-grid{
    display:grid;
    grid-template-columns:285px minmax(320px,1fr) auto;
    align-items:center;
    gap:26px;
    min-height:92px;
}

.brand{
    display:flex;
    align-items:center;
    gap:13px;
}

.brand-logo{
    width:56px;
    height:56px;
    border-radius:17px;
    display:grid;
    place-items:center;
    background:linear-gradient(
        145deg,
        var(--blue),
        #5598ff
    );
    color:white;
    font-weight:900;
    font-size:19px;
    box-shadow:0 10px 25px rgba(40,121,240,.25);
}

.brand-copy strong{
    display:block;
    font-size:16px;
    letter-spacing:.2px;
}

.brand-copy span{
    display:block;
    margin-top:4px;
    color:var(--muted);
    font-size:12px;
}

.search-box{
    display:flex;
    overflow:hidden;
    background:#f1f4f8;
    border:1px solid #edf0f4;
    border-radius:15px;
}

.search-box input{
    flex:1;
    border:0;
    background:transparent;
    outline:none;
    min-width:0;
    padding:15px 18px;
    color:var(--text);
}

.search-box button{
    border:0;
    background:var(--blue);
    color:white;
    padding:0 23px;
    font-weight:800;
    cursor:pointer;
}

.search-box button:hover{
    background:var(--blue-dark);
}

.header-actions{
    display:flex;
    gap:18px;
    align-items:center;
    white-space:nowrap;
}

.header-link,
.cart-link{
    font-size:14px;
    font-weight:800;
}

.cart-count{
    display:inline-grid;
    place-items:center;
    min-width:24px;
    height:24px;
    padding:0 6px;
    margin-left:5px;
    border-radius:999px;
    background:var(--blue);
    color:white;
    font-size:11px;
}

.main-nav{
    background:#fff;
    box-shadow:0 8px 24px rgba(31,41,55,.04);
}

.nav-scroll{
    display:flex;
    gap:30px;
    align-items:center;
    min-height:48px;
    overflow-x:auto;
    scrollbar-width:none;
}

.nav-scroll::-webkit-scrollbar{
    display:none;
}

.nav-scroll a{
    white-space:nowrap;
    font-size:13px;
    font-weight:800;
}

.nav-scroll a:hover{
    color:var(--blue);
}

.nav-offer{
    color:#e84b4b;
}

.hero{
    padding:62px 0 34px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.04fr .96fr;
    align-items:center;
    gap:58px;
}

.eyebrow{
    display:inline-block;
    color:var(--blue);
    font-weight:900;
    font-size:12px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.hero h1{
    margin:0;
    max-width:700px;
    font-size:62px;
    line-height:1.02;
    letter-spacing:-2.5px;
}

.hero-content > p{
    max-width:650px;
    margin:24px 0 0;
    color:var(--muted);
    font-size:19px;
    line-height:1.65;
}

.hero-actions{
    display:flex;
    gap:13px;
    margin-top:30px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:51px;
    padding:0 24px;
    border-radius:14px;
    font-weight:900;
    font-size:14px;
}

.btn-primary{
    background:var(--blue);
    color:#fff;
    box-shadow:0 11px 26px rgba(40,121,240,.22);
}

.btn-primary:hover{
    background:var(--blue-dark);
}

.btn-light{
    background:#fff;
    border:1px solid var(--border);
}

.hero-benefits{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:34px;
}

.hero-benefits > div{
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:15px;
}

.hero-benefits strong{
    display:block;
    font-size:13px;
}

.hero-benefits span{
    display:block;
    margin-top:5px;
    color:var(--muted);
    font-size:11px;
}

.hero-visual{
    position:relative;
    min-height:525px;
    border-radius:36px;
    background:
        linear-gradient(
            145deg,
            #d9eaff,
            #f4f8ff
        );
    overflow:hidden;
    box-shadow:var(--shadow);
}

.hero-shape{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.56);
}

.hero-shape-one{
    width:320px;
    height:320px;
    right:-75px;
    top:-55px;
}

.hero-shape-two{
    width:250px;
    height:250px;
    left:-85px;
    bottom:-80px;
}

.hero-main-card{
    position:absolute;
    width:285px;
    min-height:300px;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    background:#fff;
    border-radius:32px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:30px;
    text-align:center;
    box-shadow:0 25px 55px rgba(20,44,83,.16);
}

.hero-paw{
    width:92px;
    height:92px;
    display:grid;
    place-items:center;
    border-radius:28px;
    background:var(--light-blue);
    font-size:50px;
    margin-bottom:23px;
}

.hero-main-card strong{
    font-size:23px;
    line-height:1.2;
}

.hero-main-card span{
    margin-top:10px;
    color:var(--muted);
    line-height:1.5;
}

.pet-card{
    position:absolute;
    width:200px;
    background:rgba(255,255,255,.95);
    padding:17px;
    border-radius:18px;
    box-shadow:0 16px 35px rgba(20,44,83,.11);
}

.pet-card span{
    display:block;
    font-size:10px;
    color:var(--blue);
    font-weight:900;
    letter-spacing:1.3px;
}

.pet-card strong{
    display:block;
    margin-top:7px;
    font-size:14px;
}

.pet-card-dog{
    left:30px;
    top:60px;
}

.pet-card-cat{
    right:28px;
    bottom:55px;
}

.section{
    padding:55px 0;
}

.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:26px;
}

.section-heading h2{
    margin:0;
    font-size:37px;
    letter-spacing:-1px;
}

.section-link{
    font-size:13px;
    font-weight:900;
    color:var(--blue);
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.category-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:27px;
    min-height:205px;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.category-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
}

.category-icon{
    width:48px;
    height:48px;
    border-radius:14px;
    background:var(--light-blue);
    display:grid;
    place-items:center;
    font-size:23px;
    margin-bottom:25px;
}

.category-card strong{
    display:block;
    font-size:21px;
}

.category-card span{
    display:block;
    margin-top:8px;
    color:var(--muted);
    line-height:1.5;
    font-size:13px;
}

.category-card small{
    display:block;
    margin-top:18px;
    color:var(--blue);
    font-weight:900;
}

.brands-section{
    background:#fff;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.brands-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:14px;
}

.brand-card{
    min-height:92px;
    display:grid;
    place-items:center;
    background:#fafbfc;
    border:1px solid var(--border);
    border-radius:17px;
    text-align:center;
    padding:14px;
    font-size:15px;
    font-weight:900;
    transition:.2s ease;
}

.brand-card:hover{
    border-color:#c9d9f3;
    background:var(--light-blue);
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.product-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    overflow:hidden;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.product-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
}

.product-image{
    height:260px;
    position:relative;
    display:grid;
    place-items:center;
    background:
        linear-gradient(
            145deg,
            #f2f5f9,
            #e9f1fb
        );
}

.product-placeholder{
    width:120px;
    height:120px;
    border-radius:34px;
    display:grid;
    place-items:center;
    background:#fff;
    box-shadow:0 15px 35px rgba(31,41,55,.08);
    font-size:56px;
}

.product-badge{
    position:absolute;
    left:14px;
    top:14px;
    padding:7px 11px;
    background:#fff;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
}

.product-body{
    padding:19px;
}

.product-brand{
    color:var(--blue);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:1px;
}

.product-body h3{
    margin:9px 0 19px;
    min-height:45px;
    font-size:17px;
    line-height:1.35;
}

.product-price-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
}

.product-price{
    display:block;
    font-size:21px;
}

.old-price{
    display:block;
    margin-top:3px;
    color:#9aa0aa;
    text-decoration:line-through;
    font-size:12px;
}

.add-button{
    border:0;
    background:var(--blue);
    color:#fff;
    font-weight:900;
    border-radius:12px;
    padding:11px 15px;
    cursor:pointer;
}

.promo-card{
    min-height:310px;
    display:grid;
    grid-template-columns:1.3fr .7fr;
    align-items:center;
    background:
        linear-gradient(
            135deg,
            #1c6ee5,
            #4899ff
        );
    border-radius:30px;
    color:#fff;
    padding:48px 56px;
    overflow:hidden;
    position:relative;
}

.eyebrow-light{
    color:#d9eaff;
}

.promo-card h2{
    max-width:620px;
    margin:0;
    font-size:42px;
    letter-spacing:-1.2px;
}

.promo-card p{
    max-width:590px;
    color:#e9f2ff;
    line-height:1.6;
    font-size:16px;
}

.btn-white{
    margin-top:10px;
    background:#fff;
    color:var(--blue);
}

.promo-paw{
    text-align:center;
    font-size:150px;
    opacity:.2;
    transform:rotate(-12deg);
}

.branches-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.branch-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:30px;
}

.branch-card > span{
    color:var(--blue);
    text-transform:uppercase;
    font-size:10px;
    letter-spacing:1.2px;
    font-weight:900;
}

.branch-card strong{
    display:block;
    margin-top:8px;
    font-size:22px;
}

.branch-card p{
    color:var(--muted);
    line-height:1.6;
    max-width:520px;
}

.branch-card a{
    color:var(--blue);
    font-weight:900;
    font-size:13px;
}

.trust-section{
    padding-top:15px;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.trust-grid > div{
    background:#fff;
    border:1px solid var(--border);
    border-radius:19px;
    padding:22px;
}

.trust-icon{
    width:39px;
    height:39px;
    display:grid;
    place-items:center;
    background:var(--light-blue);
    color:var(--blue);
    border-radius:12px;
    font-weight:900;
    margin-bottom:15px;
}

.trust-grid strong{
    display:block;
    font-size:14px;
}

.trust-grid span{
    display:block;
    margin-top:6px;
    color:var(--muted);
    font-size:12px;
    line-height:1.4;
}

.site-footer{
    margin-top:50px;
    background:var(--navy-dark);
    color:#fff;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr repeat(3,1fr);
    gap:45px;
    padding:55px 0;
}

.footer-grid strong{
    display:block;
    font-size:14px;
}

.footer-brand strong{
    font-size:19px;
}

.footer-grid p{
    color:#aeb8ca;
    max-width:320px;
}

.footer-grid a{
    display:block;
    margin-top:13px;
    color:#cbd3df;
    font-size:13px;
}

.footer-grid a:hover{
    color:#fff;
}

.footer-bottom{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    color:#909caf;
    padding:19px;
    font-size:11px;
}

@media(max-width:1050px){

    .header-grid{
        grid-template-columns:1fr;
        padding:18px 0;
    }

    .header-actions{
        position:absolute;
        right:20px;
        top:60px;
    }

    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:52px;
    }

    .category-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .brands-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .trust-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:650px){

    .container{
        width:min(100% - 24px,1220px);
    }

    .promo-inner{
        justify-content:flex-start;
        overflow:auto;
        gap:22px;
    }

    .header-actions{
        display:none;
    }

    .hero{
        padding-top:38px;
    }

    .hero h1{
        font-size:42px;
        letter-spacing:-1.5px;
    }

    .hero-content > p{
        font-size:16px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .hero-benefits{
        grid-template-columns:1fr;
    }

    .hero-visual{
        min-height:430px;
    }

    .hero-main-card{
        width:240px;
        min-height:260px;
    }

    .pet-card{
        width:165px;
    }

    .pet-card-dog{
        left:14px;
        top:25px;
    }

    .pet-card-cat{
        right:14px;
        bottom:25px;
    }

    .section{
        padding:42px 0;
    }

    .section-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .section-heading h2{
        font-size:31px;
    }

    .category-grid,
    .brands-grid,
    .products-grid,
    .branches-grid,
    .trust-grid{
        grid-template-columns:1fr;
    }

    .promo-card{
        grid-template-columns:1fr;
        padding:34px 28px;
    }

    .promo-card h2{
        font-size:34px;
    }

    .promo-paw{
        position:absolute;
        right:-15px;
        bottom:-35px;
        font-size:120px;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:420px){

    .brand-copy span{
        display:none;
    }

    .brand-logo{
        width:49px;
        height:49px;
    }

    .search-box{
        width:100%;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }
}
