/* =========================================================
   THE REAL KENNEL PET SHOP
   Common Website Stylesheet
   ========================================================= */

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    background: #f6f7f9;
    color: #172033;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   COMMON CONTAINER
   ========================================================= */

.container {
    width: min(
        1180px,
        calc(100% - 32px)
    );

    margin: 0 auto;
}


/* =========================================================
   COMMON SECTION
   ========================================================= */

.section {
    width: min(
        1180px,
        calc(100% - 32px)
    );

    margin: 0 auto;
    padding-top: 75px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading span {
    display: inline-block;

    color: #d97706;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.section-heading h2 {
    margin: 8px 0 0;

    color: #172033;

    font-size: 32px;

    line-height: 1.2;

    letter-spacing: -.7px;
}

.section-heading p {
    max-width: 700px;

    margin: 12px 0 0;

    color: #64748b;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding:
        0 20px;

    border-radius: 11px;

    border: 0;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #fbbf24;

    color: #111827;
}

.button-primary:hover {
    box-shadow:
        0 10px 25px
        rgba(245, 158, 11, .20);
}

.button-dark {
    background: #111827;

    color: #fff;
}

.button-dark:hover {
    background: #1e293b;
}

.button-outline {
    background: transparent;

    border: 1px solid #dbe1e8;

    color: #172033;
}

.button-outline:hover {
    border-color: #f59e0b;

    color: #b45309;
}


/* =========================================================
   GENERIC CARD
   ========================================================= */

.card {
    background: #fff;

    border:
        1px solid
        #e7eaf0;

    border-radius: 18px;

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, .045);
}

.card:hover {
    box-shadow:
        0 16px 38px
        rgba(15, 23, 42, .08);
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.category-card {
    position: relative;

    overflow: hidden;

    min-height: 125px;

    padding: 20px;

    background: #fff;

    border:
        1px solid
        #e7eaf0;

    border-radius: 18px;

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, .045);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);

    border-color: #fbbf24;

    box-shadow:
        0 16px 35px
        rgba(15, 23, 42, .08);
}

.category-icon {
    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    margin-bottom: 14px;

    border-radius: 13px;

    background: #fff7ed;

    font-size: 22px;
}

.category-card strong {
    display: block;

    font-size: 15px;
}

.category-card small {
    display: block;

    margin-top: 5px;

    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.product-card {
    overflow: hidden;

    background: #fff;

    border:
        1px solid
        #e7eaf0;

    border-radius: 18px;

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, .045);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 38px
        rgba(15, 23, 42, .09);
}

.product-image {
    height: 210px;

    display: grid;

    place-items: center;

    overflow: hidden;

    background: #f8fafc;
}

.product-image img {
    width: 100%;

    height: 100%;

    padding: 12px;

    object-fit: contain;
}

.product-placeholder {
    font-size: 48px;

    opacity: .65;
}

.product-body {
    padding: 17px;
}

.product-category {
    color: #d97706;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .6px;
}

.product-name {
    margin: 6px 0 4px;

    font-size: 16px;

    line-height: 1.35;
}

.product-brand {
    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   PRICE
   ========================================================= */

.price-area {
    margin-top: 14px;
}

.price-row {
    display: flex;

    align-items: baseline;

    flex-wrap: wrap;

    gap: 8px;
}

.price {
    color: #111827;

    font-size: 18px;

    font-weight: 900;
}

.mrp {
    color: #94a3b8;

    font-size: 12px;

    text-decoration: line-through;
}

.pack-label {
    margin-top: 4px;

    color: #64748b;

    font-size: 11px;
}


/* =========================================================
   AVAILABILITY
   ========================================================= */

.availability {
    display: inline-flex;

    margin-top: 10px;

    padding:
        5px 8px;

    border-radius: 7px;

    font-size: 10px;

    font-weight: 800;
}

.availability.available {
    background: #ecfdf5;

    color: #047857;
}

.availability.out-of-stock {
    background: #fef2f2;

    color: #b91c1c;
}

.availability.contact {
    background: #fff7ed;

    color: #c2410c;
}


/* =========================================================
   FOOD PACKAGE LIST
   ========================================================= */

.package-list {
    display: grid;

    gap: 7px;

    margin-top: 12px;
}

.package-row {
    padding: 8px 9px;

    border-radius: 9px;

    background: #f8fafc;
}

.package-row-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;
}

.package-row strong {
    font-size: 11px;
}

.package-row .price {
    font-size: 13px;
}

.package-row .mrp {
    font-size: 10px;
}

.package-row .availability {
    margin-top: 4px;

    font-size: 9px;
}


/* =========================================================
   INFO GRID
   ========================================================= */

.info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.info-card {
    padding: 24px;

    background: #fff;

    border:
        1px solid
        #e7eaf0;

    border-radius: 18px;

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, .045);
}

.info-icon {
    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    margin-bottom: 15px;

    border-radius: 13px;

    background: #fff7ed;

    font-size: 21px;
}

.info-card h3 {
    margin: 0 0 8px;

    font-size: 17px;
}

.info-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    width: min(
        1180px,
        calc(100% - 32px)
    );

    margin:
        75px auto;
}

.cta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 45px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(251, 191, 36, .18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #111827,
            #1e293b
        );

    color: #fff;
}

.cta h2 {
    margin: 0 0 9px;

    font-size: 30px;
}

.cta p {
    max-width: 650px;

    margin: 0;

    color: #cbd5e1;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;

    font-weight: 700;
}

.form-control {
    width: 100%;

    min-height: 45px;

    padding:
        10px 13px;

    border:
        1px solid
        #dbe1e8;

    border-radius: 10px;

    background: #fff;

    color: #172033;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-control:focus {
    border-color: #f59e0b;

    box-shadow:
        0 0 0 3px
        rgba(245, 158, 11, .10);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #111827;

    color: #cbd5e1;

    padding:
        38px 20px;
}

.footer-inner {
    width: min(
        1180px,
        100%
    );

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.footer-inner strong {
    display: block;

    margin-bottom: 6px;

    color: #fff;

    font-size: 15px;
}

.footer-inner p {
    margin: 0;

    color: #94a3b8;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 1500;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-height: 50px;

    padding:
        0 17px;

    border-radius: 999px;

    background: #25d366;

    color: #062b16;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, .18);

    font-size: 13px;

    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.floating-whatsapp:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 16px 35px
        rgba(0, 0, 0, .23);
}

.floating-whatsapp-icon {
    width: 25px;

    height: 25px;

    display: grid;

    place-items: center;

    font-size: 17px;
}


/* =========================================================
   UTILITY
   ========================================================= */

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.hidden {
    display: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

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

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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width:
            calc(100% - 24px);
    }

    .section {
        width:
            calc(100% - 24px);

        padding-top: 50px;
    }

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

    .section-heading p {
        font-size: 14px;
    }

    .category-grid,
    .product-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 220px;
    }

    .cta-section {
        width:
            calc(100% - 24px);

        margin:
            50px auto;
    }

    .cta {
        flex-direction: column;

        align-items: flex-start;

        padding: 28px;
    }

    .cta h2 {
        font-size: 25px;
    }

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .floating-whatsapp {
        right: 15px;

        bottom: 15px;

        width: 54px;

        height: 54px;

        min-height: 54px;

        padding: 0;

        justify-content: center;
    }

    .floating-whatsapp span:last-child {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

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

    .product-image {
        height: 210px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }

}
