/* ============================================================================
   Ajanta Builders Mart — colourful merchandising layer for the homepage
   ============================================================================ */

/* A warmer, more energetic hero while keeping the construction-market navy. */
.home-hero-v4 .home-hero-overlay {
        background: radial-gradient(520px 470px at 88% 28%, rgb(95 46 12 / 24%), transparent 68%),
        radial-gradient(420px 370px at 69% 92%, rgba(249, 115, 22, .22), transparent 70%),
        linear-gradient(104deg, rgb(27 13 7 / 94%) 0%, rgb(95 57 27 / 80%) 48%, rgba(96, 40, 20, .43) 100%);
}

.home-hero-v4 .home-hero-showcase {
    background: linear-gradient(145deg, rgba(30, 113, 165, .34), rgba(249, 115, 22, .12) 70%, rgba(255, 255, 255, .06));
    border-color: rgba(125, 211, 252, .33);
}

.home-hero-v4 .home-hero-eyebrow {
    background: rgba(14, 165, 233, .17);
    border-color: rgba(125, 211, 252, .4);
    color: #CFFAFE;
}

.home-hero-v4 .home-hero-eyebrow i {
    background: #22D3EE;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .2);
}

.home-hero-v4 .home-hero-proof b {
    color: #67E8F9;
}

.home-promise-item:nth-child(1) .promise-icon {
    color: #EA580C;
    background: #FFF0E5;
    border-color: #FFD1B0;
}

.home-promise-item:nth-child(2) .promise-icon {
    color: #0284C7;
    background: #E0F2FE;
    border-color: #BAE6FD;
}

.home-promise-item:nth-child(3) .promise-icon {
    color: #16A34A;
    background: #E7F8ED;
    border-color: #BBF7D0;
}

.home-promise-item:nth-child(4) .promise-icon {
    color: #7C3AED;
    background: #F1EAFF;
    border-color: #DDD6FE;
}

/* ============================ Colourful quick shop ============================ */
.home-color-actions {
    position: relative;
    overflow: hidden;
    padding: 67px 0 72px;
    background:
        radial-gradient(600px 250px at 0% 0%, rgba(251, 146, 60, .15), transparent 70%),
        radial-gradient(650px 260px at 100% 100%, rgba(34, 211, 238, .13), transparent 70%),
        #FFFDF8;
}

.home-color-actions::before {
    content: '';
    position: absolute;
    left: -70px;
    top: 90px;
    width: 160px;
    height: 160px;
    border: 20px solid rgba(249, 115, 22, .06);
    border-radius: 50%;
}

.home-color-actions-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.home-color-actions-head h2 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    letter-spacing: -.04em;
    margin-top: 7px;
}

.home-color-actions-note {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.home-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-action-card {
    position: relative;
    min-width: 0;
    min-height: 198px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    border-radius: 21px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(16, 24, 40, .13);
    transition: transform .22s, box-shadow .22s;
}

.home-action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 19px 33px rgba(16, 24, 40, .2);
}

.home-action-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .03) 10%, rgba(4, 16, 31, .82) 100%);
}

.home-action-card::after {
    content: '';
    position: absolute;
    right: -36px;
    top: -36px;
    z-index: 2;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .33);
    box-shadow: 0 0 0 14px rgba(255, 255, 255, .08);
}

.home-action-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #123A66;
}

.home-action-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .73;
    mix-blend-mode: screen;
    transition: transform .5s;
}

.home-action-card:hover .home-action-art img {
    transform: scale(1.09);
}

.action-cement {
    background: linear-gradient(135deg, #B93810, #F97316);
}

.action-steel {
    background: linear-gradient(135deg, #075985, #06B6D4);
}

.action-finish {
    background: linear-gradient(135deg, #9D174D, #DB2777);
}

.action-site {
    background: linear-gradient(135deg, #166534, #16A34A);
}

.home-action-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 18px 17px;
}

.home-action-content small {
    color: rgba(255, 255, 255, .73);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-action-content strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.home-action-content em {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    margin-top: 4px;
}

/* ============================ Brighter categories + products ============================ */
.home-category-section {
    background: linear-gradient(180deg, #EFF8FF 0%, #F9FBF5 56%, #FFFDF8 100%);
}

.home-category-section .home-section-head {
    position: relative;
}

.visual-category-card {
    border-bottom-width: 4px;
}

.visual-category-card:nth-child(4n+1) {
    border-bottom-color: #FB923C;
}

.visual-category-card:nth-child(4n+2) {
    border-bottom-color: #22D3EE;
}

.visual-category-card:nth-child(4n+3) {
    border-bottom-color: #A78BFA;
}

.visual-category-card:nth-child(4n) {
    border-bottom-color: #4ADE80;
}

.visual-category-card:nth-child(4n+1) .visual-category-body {
    background: linear-gradient(180deg, #FFF 0%, #FFF8F1 100%);
}

.visual-category-card:nth-child(4n+2) .visual-category-body {
    background: linear-gradient(180deg, #FFF 0%, #F0FBFF 100%);
}

.visual-category-card:nth-child(4n+3) .visual-category-body {
    background: linear-gradient(180deg, #FFF 0%, #FAF8FF 100%);
}

.visual-category-card:nth-child(4n) .visual-category-body {
    background: linear-gradient(180deg, #FFF 0%, #F4FFF6 100%);
}

.visual-category-card:nth-child(4n+1) .visual-category-icon {
    color: #EA580C;
}

.visual-category-card:nth-child(4n+2) .visual-category-icon {
    color: #0284C7;
}

.visual-category-card:nth-child(4n+3) .visual-category-icon {
    color: #7C3AED;
}

.visual-category-card:nth-child(4n) .visual-category-icon {
    color: #16A34A;
}

.home-product-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF8EF 0%, #FFF 47%, #F4FBFF 100%);
}

.home-product-section::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -75px;
    top: 55px;
    border: 24px solid rgba(34, 211, 238, .08);
    border-radius: 50%;
}

.home-product-section .home-section-head,
.home-product-section .home-product-shelf {
    position: relative;
    z-index: 1;
}

.home-product-shelf .product-card {
    border-top: 3px solid #FDBA74;
}

.home-product-shelf .product-card:nth-child(4n+2) {
    border-top-color: #67E8F9;
}

.home-product-shelf .product-card:nth-child(4n+3) {
    border-top-color: #C4B5FD;
}

.home-product-shelf .product-card:nth-child(4n) {
    border-top-color: #86EFAC;
}

.home-product-shelf .pc-add-btn {
    background: #381519;
}

.home-product-shelf .product-card:nth-child(4n+2) .pc-add-btn {
    background: #381519;
}

.home-product-shelf .product-card:nth-child(4n+3) .pc-add-btn {
    background: #381519;
}

.home-product-shelf .product-card:nth-child(4n) .pc-add-btn {
    background: #381519;
}

.home-latest-section {
    background: linear-gradient(135deg, #F5F3FF, #FFF 53%, #F0FDFA);
}

/* ============================ Project stage cards ============================ */
.home-project-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0 76px;
    background: linear-gradient(180deg, #FFF 0%, #FFF7ED 100%);
}

.home-project-section::before {
    content: '';
    position: absolute;
    left: -120px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border: 45px solid rgba(167, 139, 250, .08);
    border-radius: 50%;
}

.home-project-section .container {
    position: relative;
    z-index: 1;
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-project-card {
    position: relative;
    min-width: 0;
    height: 265px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-radius: 21px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 11px 25px rgba(16, 24, 40, .13);
    transition: transform .22s, box-shadow .22s;
}

.home-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 19px 35px rgba(16, 24, 40, .2);
}

.home-project-card>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.home-project-card:hover>img {
    transform: scale(1.08);
}

.project-wash {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 24, 40, .03) 20%, rgba(6, 24, 40, .88) 100%);
}

.project-groundwork .project-wash {
    background: linear-gradient(180deg, rgba(87, 42, 13, .05), rgba(87, 42, 13, .9));
}

.project-structure .project-wash {
    background: linear-gradient(180deg, rgba(10, 61, 87, .04), rgba(5, 38, 63, .92));
}

.project-services .project-wash {
    background: linear-gradient(180deg, rgba(31, 20, 73, .03), rgba(39, 20, 95, .91));
}

.project-protection .project-wash {
    background: linear-gradient(180deg, rgba(9, 86, 69, .03), rgba(4, 65, 51, .91));
}

.project-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 19px;
}

.project-content small {
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.project-content strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 21px;
    letter-spacing: -.03em;
}

.project-content em {
    color: rgba(255, 255, 255, .83);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    margin-top: 5px;
}

/* ============================ Benefits ============================ */
.home-benefits-section {
    padding: 71px 0 75px;
    background: linear-gradient(180deg, #F4FAFF 0%, #FFF 100%);
}

.home-benefits-head {
    margin-bottom: 26px;
}

.home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-benefit-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    padding: 21px 19px;
    border: 1px solid rgba(16, 24, 40, .07);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(16, 24, 40, .06);
    transition: transform .2s, box-shadow .2s;
}

.home-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 29px rgba(16, 24, 40, .12);
}

.home-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.benefit-orange::before {
    background: linear-gradient(90deg, #FB923C, #F97316);
}

.benefit-blue::before {
    background: linear-gradient(90deg, #38BDF8, #0284C7);
}

.benefit-green::before {
    background: linear-gradient(90deg, #4ADE80, #16A34A);
}

.benefit-purple::before {
    background: linear-gradient(90deg, #C084FC, #7C3AED);
}

.benefit-orange .benefit-icon {
    color: #EA580C;
    background: #FFF1E5;
}

.benefit-blue .benefit-icon {
    color: #0284C7;
    background: #E0F2FE;
}

.benefit-green .benefit-icon {
    color: #16A34A;
    background: #E7F8ED;
}

.benefit-purple .benefit-icon {
    color: #7C3AED;
    background: #F1EAFF;
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.home-benefit-card strong {
    display: block;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
}

.home-benefit-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    margin-top: 7px;
}

/* ============================ Colourful mobile layout ============================ */
@media (max-width: 767px) {
    .home-color-actions {
        padding: 48px 0 51px;
    }

    .home-color-actions-head {
        display: block;
        margin-bottom: 18px;
    }

    .home-color-actions-head h2 {
        font-size: 24px;
    }

    .home-color-actions-note {
        display: block;
        margin-top: 6px;
        font-size: 12.5px;
    }

    .home-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-action-card {
        min-height: 158px;
        border-radius: 16px;
    }

    .home-action-content {
        padding: 13px 12px;
        gap: 3px;
    }

    .home-action-content small {
        font-size: 13px;
        letter-spacing: .1em;
    }

    .home-action-content strong {
        font-size: 13px;
        line-height: 1.15;
    }

    .home-action-content em {
        font-size: 13px;
        margin-top: 3px;
    }

    .home-action-card::after {
        width: 75px;
        height: 75px;
        right: -27px;
        top: -27px;
        box-shadow: 0 0 0 9px rgba(255, 255, 255, .08);
    }

    .home-project-section {
        padding: 50px 0 53px;
    }

    .home-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-project-card {
        height: 178px;
        border-radius: 16px;
    }

    .project-content {
        padding: 13px;
        gap: 3px;
    }

    .project-content small {
        font-size: 13px;
    }

    .project-content strong {
        font-size: 16px;
    }

    .project-content em {
        font-size: 13px;
        margin-top: 3px;
    }

    .home-benefits-section {
        padding: 51px 0 54px;
    }

    .home-benefits-head {
        margin-bottom: 19px;
    }

    .home-benefits-head .home-color-actions-note {
        display: none;
    }

    .home-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-benefit-card {
        min-height: 177px;
        padding: 16px 13px;
        border-radius: 15px;
    }

    .benefit-icon {
        width: 37px;
        height: 37px;
        border-radius: 11px;
        margin-bottom: 15px;
    }

    .benefit-icon svg {
        width: 19px;
        height: 19px;
    }

    .home-benefit-card strong {
        font-size: 13px;
        line-height: 1.25;
    }

    .home-benefit-card p {
        font-size: 12px;
        line-height: 1.5;
        margin-top: 6px;
    }

    .visual-category-card {
        border-bottom-width: 3px;
    }
}

@media (max-width: 360px) {
    .home-action-content strong {
        font-size: 13px;
    }

    .home-action-content em {
        font-size: 13px;
    }

    .home-project-card {
        height: 166px;
    }

    .home-benefit-card {
        min-height: 186px;
        padding-left: 11px;
        padding-right: 11px;
    }
}

/* Premium neutral card treatment: no rainbow borders and one consistent CTA style. */
.home-product-shelf .product-card,
.visual-category-card,
.home-benefit-card {
    border: 0;
}

.home-product-shelf .product-card {
    box-shadow: 0 7px 20px rgba(16, 24, 40, .08);
}

.home-product-shelf .product-card:hover {
    border: 0;
    box-shadow: 0 15px 30px rgba(16, 24, 40, .13);
}

.home-product-shelf .pc-add-btn,
.home-product-shelf .product-card:nth-child(4n+2) .pc-add-btn,
.home-product-shelf .product-card:nth-child(4n+3) .pc-add-btn,
.home-product-shelf .product-card:nth-child(4n) .pc-add-btn {
    background: #0B2545;
    box-shadow: 0 5px 13px rgba(11, 37, 69, .22);
}

.home-product-shelf .pc-add-btn:hover {
    background: #123A66;
    box-shadow: 0 8px 17px rgba(11, 37, 69, .28);
}

.visual-category-card {
    border-bottom: 0;
    box-shadow: 0 5px 16px rgba(16, 24, 40, .06);
}

.visual-category-card:hover {
    border-bottom: 0;
}

/* The longer Builders Mart name stays compact in the app-like mobile header. */
@media (max-width: 767px) {
    .header-main {
        gap: 8px;
    }

    .header-main .brand {
        flex: 1 1 auto;
        gap: 7px;
        min-width: 0;
    }

    .header-main .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 20px;
    }

    .header-main .brand-text strong {
        font-size: 15.5px;
        letter-spacing: -.02em;
    }

    .header-main .brand-text small {
        font-size: 13px;
        letter-spacing: .02em;
    }

    .header-actions {
        gap: 6px;
    }

    .cart-link {
        width: 42px;
        height: 42px;
    }
}