/* =========================================
   PAWKART HOME PAGE
   Brand Colours
========================================= */

:root {
    --paw-blue: #3D45AA;
    --paw-red: #DA3D20;
    --paw-orange: #F8843F;
    --paw-yellow: #FFF19B;

    --paw-dark: #25264A;
    --paw-text: #55566C;
    --paw-white: #FFFFFF;
    --paw-cream: #FFF9E8;
}


/* =========================================
   GENERAL HOME PAGE SETTINGS
========================================= */

.home-hero,
.home-categories,
.home-promo,
.home-bestsellers,
.home-shop-pet,
.home-essentials,
.home-services,
.home-lifestyle,
.home-benefits,
.home-testimonials,
.home-newsletter {
    width: 100%;
    position: relative;
}

.home-hero *,
.home-categories *,
.home-promo *,
.home-bestsellers *,
.home-shop-pet *,
.home-essentials *,
.home-services *,
.home-lifestyle *,
.home-benefits *,
.home-testimonials *,
.home-newsletter * {
    box-sizing: border-box;
}

.section-padding {
    padding: 85px 6%;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 38px;
}

.section-heading h2 {
    color: var(--paw-blue);
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0;
}

.section-heading p {
    color: var(--paw-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.section-eyebrow {
    color: var(--paw-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.section-link {
    color: var(--paw-blue);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--paw-red);
}

.section-heading-center {
    justify-content: center;
    text-align: center;
}


/* =========================================
   BUTTONS
========================================= */

.home-hero .btn,
.home-essentials .btn,
.home-lifestyle .btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-hero .btn-primary,
.home-essentials .btn-primary,
.home-lifestyle .btn-primary {
    background: var(--paw-blue);
    color: var(--paw-white);
    box-shadow: 0 8px 20px rgba(61, 69, 170, 0.2);
}

.home-hero .btn-primary:hover,
.home-essentials .btn-primary:hover,
.home-lifestyle .btn-primary:hover {
    background: var(--paw-red);
    transform: translateY(-3px);
}

.home-hero .btn-secondary {
    border: 2px solid var(--paw-blue);
    color: var(--paw-blue);
    background: transparent;
}

.home-hero .btn-secondary:hover {
    background: var(--paw-blue);
    color: var(--paw-white);
}


/* =========================================
   1. HERO SECTION
========================================= */

.home-hero {
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 65px 6%;
    background:
        linear-gradient(115deg, #FFF19B 0%, #FFE5A1 48%, #F9C18E 100%);
}

.hero-container {
    width: 100%;
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 45px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px;
    background: var(--paw-white);
    color: var(--paw-red);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
    box-shadow: 0 5px 15px rgba(70, 45, 20, 0.08);
}

.hero-label-icon {
    font-size: 17px;
}

.hero-content h1 {
    color: var(--paw-blue);
    font-family: "Poppins", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.13;
    margin: 25px 0 20px;
    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;
    color: var(--paw-red);
}

.hero-content>p {
    max-width: 510px;
    color: #514D42;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 42px;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--paw-white);
    border-radius: 50%;
    font-size: 19px;
}

.hero-highlight strong,
.hero-highlight small {
    display: block;
}

.hero-highlight strong {
    color: var(--paw-dark);
    font-size: 12px;
}

.hero-highlight small {
    color: #6D665B;
    font-size: 10px;
    margin-top: 3px;
}

.hero-visual {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-main {
    width: min(100%, 480px);
    height: 430px;
    overflow: hidden;
    border-radius: 48% 48% 35% 35%;
    border: 9px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 45px rgba(74, 51, 28, 0.15);
    background: #F8C48F;
    transform: rotate(2deg);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    background: var(--paw-white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(39, 35, 65, 0.13);
}

.hero-floating-card>span {
    font-size: 25px;
}

.hero-floating-card strong,
.hero-floating-card small {
    display: block;
}

.hero-floating-card strong {
    color: var(--paw-blue);
    font-size: 12px;
}

.hero-floating-card small {
    color: var(--paw-text);
    font-size: 10px;
    margin-top: 3px;
}

.hero-card-top {
    top: 60px;
    left: -5px;
}

.hero-card-bottom {
    bottom: 40px;
    right: -5px;
}

.hero-decoration {
    position: absolute;
    color: var(--paw-red);
    font-size: 35px;
    opacity: 0.5;
}

.hero-paw-one {
    top: 10px;
    right: 10px;
    transform: rotate(20deg);
}

.hero-paw-two {
    bottom: 15px;
    left: 20px;
    transform: rotate(-20deg);
}

.hero-background-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    pointer-events: none;
}

.hero-shape-one {
    width: 260px;
    height: 260px;
    background: var(--paw-orange);
    top: -130px;
    right: 20%;
}

.hero-shape-two {
    width: 170px;
    height: 170px;
    background: var(--paw-white);
    bottom: -90px;
    left: 30%;
}



/* =========================================
   2. CATEGORY SECTION
========================================= */

.home-categories {
    background: var(--paw-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card {
    min-height: 220px;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    padding: 23px;
    border-radius: 23px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(38, 39, 80, 0.13);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Full-card image */
.category-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Dark gradient for text readability */
.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top,
            rgba(25, 26, 48, 0.82) 0%,
            rgba(25, 26, 48, 0.35) 45%,
            rgba(25, 26, 48, 0.05) 100%);
}

/* Keep text above image */
.category-card h3 {
    position: relative;
    z-index: 1;
    color: var(--paw-white);
    font-size: 19px;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.65);
}

.category-card>span {
    position: relative;
    z-index: 1;
    color: #FFF19B;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Hover effect */
.category-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(38, 39, 80, 0.22);
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

/* Original colours retained as image-loading fallbacks */
.category-food {
    background: #FFF0B8;
}

.category-toys {
    background: #FCE0D3;
}

.category-clothing {
    background: #DDE1FF;
}

.category-grooming {
    background: #D8F0E7;
}

.category-beds {
    background: #F7DDE5;
}

.category-accessories {
    background: #FFE2BD;
}



/* =========================================
   3. PROMOTIONAL BANNER
========================================= */

.home-promo {
    padding: 45px 6%;
    background: #FFF9E8;
}

.promo-container {
    max-width: 1350px;
    min-height: 330px;
    margin: auto;
    padding: 40px 7%;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 30px;
    background: var(--paw-red);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-tag {
    color: #FFE6A7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.promo-content h2 {
    color: var(--paw-white);
    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 4vw, 51px);
    line-height: 1.2;
    margin: 15px 0;
}

.promo-content h2 span {
    display: block;
    color: var(--paw-yellow);
}

.promo-content p {
    max-width: 450px;
    color: #FFF2E8;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 23px;
}

.promo-content .btn-light {
    display: inline-flex;
    align-items: center;
    padding: 13px 23px;
    border-radius: 50px;
    background: var(--paw-yellow);
    color: var(--paw-blue);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-content .btn-light:hover {
    background: var(--paw-white);
    transform: translateY(-3px);
}

.promo-image {
    height: 260px;

    position: relative;
    z-index: 2;
}

.promo-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.promo-decoration {
    position: absolute;
    top: 20px;
    right: 35%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 100px;
}


/* =========================================
   4. BESTSELLER PRODUCTS
========================================= */

.home-bestsellers {
    background: #FFF9F3;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    overflow: hidden;
    background: var(--paw-white);
    border-radius: 20px;
    box-shadow: 0 7px 25px rgba(48, 44, 75, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(48, 44, 75, 0.12);
}

.product-image {
    height: 235px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-bg-one {
    background: #FFF0B8;
}

.product-bg-two {
    background: #FCE0D3;
}

.product-bg-three {
    background: #DDE1FF;
}

.product-bg-four {
    background: #D8F0E7;
}

/* Bestselling product image fitting */
.home-bestsellers .product-image>img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.home-bestsellers .product-image {
    overflow: hidden;
}

.product-card:hover .product-image>img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    padding: 7px 12px;
    background: var(--paw-red);
    color: var(--paw-white);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 900;
}

.wishlist-btn {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--paw-white);
    color: var(--paw-red);
    font-size: 23px;
    cursor: pointer;
}

.product-info {
    padding: 19px;
}

.product-category {
    color: var(--paw-red);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.product-info h3 {
    color: var(--paw-dark);
    font-size: 15px;
    line-height: 1.5;
    margin: 8px 0;
}

.product-rating {
    color: #ECA52A;
    font-size: 13px;
    letter-spacing: 1px;
}

.product-rating span {
    color: #858597;
    font-size: 10px;
    letter-spacing: 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 13px 0;
}

.product-price strong {
    color: var(--paw-blue);
    font-size: 20px;
}

.product-price del {
    color: #9695A0;
    font-size: 12px;
}

.add-cart-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: var(--paw-blue);
    color: var(--paw-white);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-cart-btn:hover {
    background: var(--paw-red);
}


/* =========================================
   5. SHOP BY PET
========================================= */

.home-shop-pet {
    background: var(--paw-white);
}

.shop-pet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.shop-pet-card {
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 30px;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.shop-pet-card:hover {
    transform: translateY(-6px);
}

.dog-card {
    background: #FFE2B9;
}

.cat-card {
    background: #DDE1FF;
}

.shop-pet-content {
    max-width: 55%;
    position: relative;
    z-index: 2;
}

.shop-pet-content>span {
    color: var(--paw-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.shop-pet-content h3 {
    color: var(--paw-blue);
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    margin: 13px 0;
}

.shop-pet-content p {
    color: #55566C;
    font-size: 13px;
    line-height: 1.7;
}

.shop-pet-content strong {
    display: inline-block;
    margin-top: 12px;
    color: var(--paw-red);
    font-size: 13px;
}

/* Card setup */
.shop-pet-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Image starts as a quarter-circle in the bottom-right */
.shop-pet-card>img {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 250px;
    height: 250px;

    object-fit: cover;
    object-position: center;

    clip-path: circle(100% at 100% 100%);

    z-index: -1;

    transition:
        width 0.55s ease,
        height 0.55s ease,
        clip-path 0.55s ease;
}

/* Expand image across the whole card on hover */
.shop-pet-card:hover>img {
    width: 100%;
    height: 100%;
    clip-path: circle(150% at 100% 100%);
}

.shop-pet-card:hover>img {
    transform: scale(1.08);
}


/* =========================================
   6. PET ESSENTIALS
========================================= */

.home-essentials {
    background: #E5E7FF;
}

.essentials-container {
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.essentials-visual {
    min-height: 420px;
    background: #F7DDE5;
    border-radius: 35px;
    position: relative;
    overflow: hidden;
}

.essentials-visual>img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: contain;
}

.essentials-sticker {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    background: var(--paw-yellow);
    color: var(--paw-blue);
    border-radius: 17px;
    box-shadow: 0 8px 20px rgba(40, 40, 70, 0.1);
}

.essentials-sticker span {
    font-size: 23px;
}

.essentials-sticker strong {
    font-size: 13px;
}

.essentials-sticker small {
    font-size: 9px;
    margin-top: 4px;
}

.essentials-content h2 {
    color: var(--paw-blue);
    font-family: "Poppins", sans-serif;
    font-size: clamp(29px, 3.4vw, 42px);
    line-height: 1.25;
    margin: 15px 0;
}

.essentials-content>p {
    color: var(--paw-text);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.essential-features {
    display: grid;
    gap: 17px;
    margin-bottom: 28px;
}

.essential-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.essential-feature>span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--paw-white);
    border-radius: 14px;
    font-size: 23px;
}

.essential-feature strong,
.essential-feature small {
    display: block;
}

.essential-feature strong {
    color: var(--paw-dark);
    font-size: 14px;
}

.essential-feature small {
    color: var(--paw-text);
    font-size: 11px;
    margin-top: 4px;
}


/* =========================================
   7. SERVICES
========================================= */

.home-services {
    background: #FFF8E9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.service-card {
    overflow: hidden;
    background: var(--paw-white);
    border-radius: 22px;
    text-decoration: none;
    box-shadow: 0 7px 25px rgba(40, 40, 70, 0.07);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
}

.service-image {
    height: 220px;
    overflow: hidden;
    background: #FCE0D3;
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-info {
    padding: 23px;
}

.service-info>span {
    color: var(--paw-orange);
    font-size: 12px;
    font-weight: 900;
}

.service-info h3 {
    color: var(--paw-blue);
    font-size: 20px;
    margin: 10px 0;
}

.service-info p {
    color: var(--paw-text);
    font-size: 13px;
    line-height: 1.7;
}

.service-info strong {
    display: inline-block;
    margin-top: 10px;
    color: var(--paw-red);
    font-size: 12px;
}


/* =========================================
   8. LIFESTYLE COLLECTION
========================================= */

.home-lifestyle {
    padding: 75px 6%;
    background: #F8DFD3;
}

.lifestyle-container {
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.lifestyle-image {
    height: 390px;
    overflow: hidden;
    border-radius: 35px 100px 35px 35px;
    background: #F4B78E;
}

.lifestyle-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.lifestyle-content h2 {
    color: var(--paw-blue);
    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    margin: 17px 0;
}

.lifestyle-content h2 span {
    display: block;
    color: var(--paw-red);
}

.lifestyle-content>p {
    color: #57505A;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.lifestyle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.lifestyle-tags span {
    padding: 9px 14px;
    background: var(--paw-white);
    color: var(--paw-blue);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================
   9. BENEFITS
========================================= */

.home-benefits {
    background: var(--paw-blue);
}

.home-benefits .section-eyebrow {
    color: var(--paw-yellow);
}

.home-benefits .section-heading h2 {
    color: var(--paw-white);
}

.home-benefits .section-heading p {
    color: #E0E1FF;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.benefit-card {
    padding: 27px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.17);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    background: var(--paw-yellow);
    border-radius: 18px;
    font-size: 27px;
}

.benefit-card h3 {
    color: var(--paw-white);
    font-size: 16px;
    margin: 10px 0;
}

.benefit-card p {
    color: #E6E6FF;
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}


/* =========================================
   10. TESTIMONIALS
========================================= */

.home-testimonials {
    background: #FFF5EB;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    background: var(--paw-white);
    border-radius: 20px;
    box-shadow: 0 7px 22px rgba(40, 40, 70, 0.06);
}

.testimonial-pet {
    width: 105px;
    height: 125px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50px;
    background: #FFE1B8;
}

.testimonial-pet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-stars {
    color: #ECA52A;
    font-size: 13px;
    letter-spacing: 2px;
}

.testimonial-content p {
    color: var(--paw-text);
    font-size: 12px;
    line-height: 1.8;
    margin: 10px 0;
}

.testimonial-content strong,
.testimonial-content>span {
    display: block;
}

.testimonial-content strong {
    color: var(--paw-blue);
    font-size: 13px;
}

.testimonial-content>span {
    color: #88889A;
    font-size: 10px;
    margin-top: 4px;
}


/* =========================================
   11. NEWSLETTER
========================================= */

.home-newsletter {
    padding: 65px 6%;
    background: var(--paw-yellow);
}

.newsletter-container {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 45px;
}

.newsletter-visual {
    height: 260px;
    display: grid;
    place-items: center;
}

.newsletter-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.newsletter-content h2 {
    color: var(--paw-blue);
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
    margin: 13px 0;
}

.newsletter-content>p {
    color: #55503D;
    font-size: 14px;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding: 7px;
    background: var(--paw-white);
    border-radius: 50px;
    max-width: 560px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 18px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--paw-dark);
    font-size: 13px;
}

.newsletter-form button {
    padding: 13px 22px;
    border: none;
    border-radius: 40px;
    background: var(--paw-red);
    color: var(--paw-white);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--paw-blue);
}

.newsletter-content>small {
    display: block;
    margin-top: 12px;
    color: #625C49;
    font-size: 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* Large Tablets */

@media (max-width: 1100px) {

    .section-padding {
        padding: 70px 5%;
    }

    .hero-container {
        gap: 25px;
    }

    .hero-content h1 {
        font-size: 51px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .hero-image-main {
        height: 370px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

}


/* Tablets */

@media (max-width: 768px) {

    .section-padding {
        padding: 60px 5%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .home-hero {
        padding: 55px 5%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(39px, 8vw, 56px);
    }

    .hero-content>p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-highlights {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
        margin-top: 10px;
    }

    .hero-image-main {
        max-width: 400px;
        height: 360px;
    }

    .hero-card-top {
        left: 2%;
    }

    .hero-card-bottom {
        right: 2%;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-container {
        grid-template-columns: 1fr 0.7fr;
        padding: 35px;
    }

    .promo-image {
        height: 200px;
    }

    .shop-pet-grid {
        grid-template-columns: 1fr;
    }

    .essentials-container,
    .lifestyle-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .essentials-visual {
        min-height: 350px;
    }

    .essentials-visual>img {
        height: 350px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:last-child {
        grid-column: 1 / -1;
    }

    .lifestyle-image {
        height: 330px;
    }

    .newsletter-container {
        grid-template-columns: 0.7fr 1.3fr;
        gap: 20px;
    }

    .newsletter-visual {
        height: 200px;
    }

}


/* Mobile */

@media (max-width: 520px) {

    .section-padding {
        padding: 48px 5%;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .home-hero {
        padding: 45px 5%;
    }

    .hero-content h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-content>p {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-highlights {
        gap: 14px;
    }

    .hero-highlight {
        gap: 6px;
    }

    .highlight-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .hero-highlight strong {
        font-size: 10px;
    }

    .hero-highlight small {
        font-size: 9px;
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-image-main {
        height: 290px;
        max-width: 310px;
        border-width: 6px;
    }

    .hero-floating-card {
        padding: 9px 11px;
    }

    .hero-floating-card>span {
        font-size: 19px;
    }

    .hero-floating-card strong {
        font-size: 10px;
    }

    .hero-floating-card small {
        font-size: 8px;
    }

    .hero-card-top {
        top: 20px;
        left: -5px;
    }

    .hero-card-bottom {
        bottom: 10px;
        right: -5px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-card {
        min-height: 175px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 14px;
        gap: 5px;
    }

    .category-image {
        width: 100%;
        height: 90px;
    }

    .category-card h3 {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .category-card>span {
        font-size: 9px;
    }

    .home-promo {
        padding: 30px 5%;
    }

    .promo-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 22px;
        gap: 5px;
    }

    .promo-content h2 {
        font-size: 34px;
    }

    .promo-content p {
        font-size: 12px;
    }

    .promo-image {
        height: 180px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-image {
        height: 155px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 12px;
    }

    .product-category {
        font-size: 8px;
    }

    .product-price strong {
        font-size: 16px;
    }

    .product-price del {
        font-size: 10px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        padding: 5px 8px;
        font-size: 8px;
    }

    .wishlist-btn {
        top: 7px;
        right: 7px;
        width: 29px;
        height: 29px;
        font-size: 19px;
    }

    .add-cart-btn {
        padding: 10px 5px;
        font-size: 10px;
    }

    .shop-pet-card {
        min-height: 225px;
        padding: 19px;
    }

    .shop-pet-content {
        max-width: 58%;
    }

    .shop-pet-content h3 {
        font-size: 23px;
    }

    .shop-pet-content p {
        font-size: 11px;
    }

    .shop-pet-card>img {
        height: 170px;
    }

    .essentials-visual {
        min-height: 260px;
    }

    .essentials-visual>img {
        height: 260px;
    }

    .essentials-sticker {
        right: 10px;
        bottom: 10px;
        padding: 10px;
    }

    .essentials-content h2 {
        font-size: 29px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:last-child {
        grid-column: auto;
    }

    .service-image {
        height: 200px;
    }

    .lifestyle-container {
        gap: 25px;
    }

    .lifestyle-image {
        height: 250px;
        border-radius: 25px 65px 25px 25px;
    }

    .lifestyle-content h2 {
        font-size: 33px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .benefit-card {
        padding: 20px 12px;
    }

    .benefit-card h3 {
        font-size: 13px;
    }

    .benefit-card p {
        font-size: 10px;
    }

    .testimonial-card {
        align-items: flex-start;
        padding: 15px;
        gap: 12px;
    }

    .testimonial-pet {
        width: 75px;
        height: 90px;
    }

    .testimonial-content p {
        font-size: 11px;
    }

    .home-newsletter {
        padding: 45px 5%;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .newsletter-visual {
        height: 180px;
    }

    .newsletter-content h2 {
        font-size: 29px;
    }

    .newsletter-content>p {
        font-size: 12px;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 18px;
        padding: 10px;
    }

    .newsletter-form input {
        width: 100%;
        text-align: center;
        padding: 13px;
    }

    .newsletter-form button {
        width: 100%;
    }

}


/* Small Mobile */

@media (max-width: 360px) {

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-highlights {
        flex-direction: column;
        align-items: center;
    }

    .category-grid {
        gap: 9px;
    }

    .category-card {
        padding: 10px;
    }

    .product-grid {
        gap: 9px;
    }

    .shop-pet-card {
        padding: 13px;
    }

    .shop-pet-content h3 {
        font-size: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   HOME PAGE - HORIZONTAL OVERFLOW FIX
========================================= */

/* Prevent page-level horizontal scrolling */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* Keep home page sections within viewport */
body[data-page="home"] main,
body[data-page="home"] main section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Prevent grid and flex children from expanding */
.home-hero *,
.home-categories *,
.home-promo *,
.home-bestsellers *,
.home-shop-pet *,
.home-essentials *,
.home-services *,
.home-lifestyle *,
.home-benefits *,
.home-testimonials *,
.home-newsletter * {
    min-width: 0;
}

/* Keep images inside their containers */
body[data-page="home"] main img {
    max-width: 100%;
}

/* Prevent long content from expanding sections */
.home-hero,
.home-categories,
.home-promo,
.home-bestsellers,
.home-shop-pet,
.home-essentials,
.home-services,
.home-lifestyle,
.home-benefits,
.home-testimonials,
.home-newsletter {
    overflow-x: clip;
}

/* Keep hero floating cards inside the hero */
.hero-visual {
    min-width: 0;
}

.hero-floating-card {
    max-width: calc(100% - 10px);
}

/* Prevent product and category grids from overflowing */
.category-grid,
.product-grid,
.shop-pet-grid,
.services-grid,
.benefits-grid,
.testimonial-grid {
    min-width: 0;
    width: 100%;
}

/* Keep newsletter form within its container */
.newsletter-form {
    min-width: 0;
    max-width: 100%;
}

/* HOME PAGE BASE RESET */
body[data-page="home"] {
    margin: 0;
    padding: 0;
}

body[data-page="home"] *,
body[data-page="home"] *::before,
body[data-page="home"] *::after {
    box-sizing: border-box;
}