/* =========================================================
   QuickShop Home Page
   ========================================================= */

.qs-home {
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #1f2937;
}

/* ---------------------------------------------------------
   Common
   --------------------------------------------------------- */

.qs-home-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.qs-home a {
    text-decoration: none;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.qs-home-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 2149 / 731;
    min-height: 0;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.82) 0%,
            rgba(15, 23, 42, 0.62) 45%,
            rgba(15, 23, 42, 0.18) 100%
        ),
        url("/public/images/slider/krishna-jeyanth.webp") center center / cover no-repeat;
}

.qs-home-hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 60px 0;
}

.qs-home-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.qs-home-hero h1 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.qs-home-hero p {
    max-width: 570px;
    margin: 20px 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
}

.qs-home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.qs-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.qs-home-btn:hover {
    transform: translateY(-2px);
}

.qs-home-btn-primary {
    background: #fff;
    color: #111827;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.qs-home-btn-primary:hover {
    color: #111827;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.qs-home-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    backdrop-filter: blur(8px);
}

.qs-home-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   Shop by Category
   ========================================================= */

.qs-home-category-section {
    padding: 58px 0 70px;
    background: #fffaf2;
}

.qs-home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.qs-home-section-label {
    display: block;
    margin-bottom: 4px;
    color: #f97316;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.qs-home-section-heading {
    margin: 0;
    color: #172033;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 800;
}

.qs-home-section-subtitle {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

.qs-home-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f97316;
    font-size: 15px;
    font-weight: 750;
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.qs-home-view-all:hover {
    color: #ea580c;
    gap: 11px;
}

.qs-home-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.qs-home-category {
    display: block;
    overflow: hidden;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(120, 53, 15, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.qs-home-category:hover {
    transform: translateY(-5px);
    border-color: #fdba74;
    box-shadow: 0 15px 32px rgba(120, 53, 15, 0.13);
}

.qs-home-category-image {
    width: 100%;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(
            circle at center,
            #fff7d6 0%,
            #fffaf0 48%,
            #fff 100%
        );
    overflow: hidden;
}

.qs-home-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.qs-home-category:hover .qs-home-category-image img {
    transform: scale(1.06);
}

.qs-home-category-content {
    padding: 16px 18px 18px;
    border-top: 1px solid #fff0d5;
}

.qs-home-category-content h3 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 750;
}

.qs-home-category-content span {
    color: #f97316;
    font-size: 13px;
    font-weight: 650;
}

/* =========================================================
   QuickShop CTA
   ========================================================= */

.qs-home-cta {
    padding: 0 0 65px;
    background: #fffaf2;
}

.qs-home-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 245px;
    padding: 42px 48px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        #f97316 0%,
        #fb8c00 55%,
        #fbbf24 100%
    );
    box-shadow: 0 16px 38px rgba(154, 52, 18, 0.18);
}

.qs-home-cta-box::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -100px;
    top: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
}

.qs-home-cta-box::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: 180px;
    bottom: -125px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.qs-home-cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.qs-home-cta-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.qs-home-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 800;
}

.qs-home-cta p {
    max-width: 650px;
    margin: 0 0 23px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

.qs-home-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    background: #fff;
    color: #ea580c;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(120, 53, 15, 0.18);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.qs-home-cta-button:hover {
    color: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(120, 53, 15, 0.25);
}

.qs-home-cta-offer {
    position: relative;
    z-index: 2;
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(120, 53, 15, 0.2);
    text-align: center;
}

.qs-home-cta-offer-value {
    color: #ea580c;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.qs-home-cta-offer-title {
    margin-top: 5px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.qs-home-cta-offer-subtitle {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

/* ---------------------------------------------------------
   Products
   --------------------------------------------------------- */

.qs-home-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.qs-home-product-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.qs-home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.qs-home-product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.qs-home-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.qs-home-product-card:hover .qs-home-product-image img {
    transform: scale(1.04);
}

.qs-home-product-content {
    padding: 16px;
}

.qs-home-product-name {
    margin: 0 0 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.qs-home-product-price {
    color: #111827;
    font-size: 17px;
    font-weight: 800;
}

/* ---------------------------------------------------------
   Why QuickShop
   --------------------------------------------------------- */


.qs-home-why {
    padding: 68px 0 75px;
    background: #fffaf2;
}

.qs-home-why-header {
    max-width: 720px;
    margin-bottom: 30px;
}

.qs-home-why .qs-home-section-heading {
    max-width: 650px;
}

.qs-home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.qs-home-benefit {
    min-height: 205px;
    padding: 25px 22px;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(120, 53, 15, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.qs-home-benefit:hover {
    transform: translateY(-5px);
    border-color: #fdba74;
    box-shadow: 0 14px 30px rgba(120, 53, 15, 0.12);
}

.qs-home-benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #fff7d6,
        #ffedd5
    );
    color: #ea580c;
    font-size: 20px;
    font-weight: 800;
}

.qs-home-benefit h3 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
}

.qs-home-benefit p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   Responsive — Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {
    .qs-home-hero {
        min-height: 390px;
    }

    .qs-home-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qs-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

     .qs-home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qs-home-cta-box {
        padding: 32px;
    }
}

/* ---------------------------------------------------------
   Responsive — Mobile
   --------------------------------------------------------- */

@media (max-width: 640px) {
    .qs-home-container,
    .qs-home-hero-content {
        width: min(100% - 24px, 1200px);
    }

    .qs-home-hero {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .qs-home-hero-content {
        padding: 45px 0;
    }

    .qs-home-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .qs-home-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .qs-home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .qs-home-btn {
        width: 100%;
    }

    .qs-home-section {
        padding: 48px 0;
    }

    .qs-home-section-header {
        display: block;
        margin-bottom: 22px;
    }

    .qs-home-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .qs-home-category,
    .qs-home-category img {
        min-height: 190px;
    }

    .qs-home-category-overlay {
        padding: 45px 13px 13px;
    }

    .qs-home-category-title {
        font-size: 16px;
    }

    .qs-home-category-link {
        font-size: 12px;
    }

     .qs-home-cta {
        padding-bottom: 50px;
    }

    .qs-home-cta-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        min-height: auto;
        padding: 30px 24px;
        border-radius: 18px;
    }

    .qs-home-cta h2 {
        font-size: 27px;
    }

    .qs-home-cta p {
        font-size: 14px;
    }

    .qs-home-cta-offer {
        width: 115px;
        height: 115px;
        flex-basis: 115px;
        border-width: 4px;
        align-self: flex-end;
    }

    .qs-home-cta-offer-value {
        font-size: 24px;
    }

    .qs-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .qs-home-product-content {
        padding: 13px;
    }

    .qs-home-product-name {
        font-size: 14px;
    }

    .qs-home-product-price {
        font-size: 15px;
    }

    .qs-home-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qs-home-benefit {
        padding: 20px;
    }
}

/* ---------------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 380px) {
    .qs-home-hero h1 {
        font-size: 32px;
    }

    .qs-home-categories {
        grid-template-columns: 1fr;
    }

    .qs-home-category,
    .qs-home-category img {
        min-height: 220px;
    }

    .qs-home-products {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Popular Products
   ========================================================= */

.qs-home-popular-section {
    padding: 65px 0 70px;
    background: #ffffff;
}

.qs-home-popular-section .qs-home-section-header {
    margin-bottom: 28px;
}

.qs-home-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* Product card */

.qs-home-product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(120, 53, 15, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.qs-home-product-card:hover {
    transform: translateY(-5px);
    border-color: #fdba74;
    box-shadow: 0 15px 32px rgba(120, 53, 15, 0.13);
}

.qs-home-product-image {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            #fff7d6 0%,
            #fffaf0 52%,
            #ffffff 100%
        );
}

.qs-home-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.qs-home-product-card:hover
.qs-home-product-image img {
    transform: scale(1.06);
}

.qs-home-product-content {
    padding: 16px 17px 18px;
    border-top: 1px solid #fff0d5;
}

.qs-home-product-name {
    margin: 0 0 7px;
    color: #172033;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 750;
}

.qs-home-product-price {
    color: #ea580c;
    font-size: 18px;
    font-weight: 800;
}

.qs-home-product-old-price {
    margin-left: 7px;
    color: #9ca3af;
    font-size: 13px;
    text-decoration: line-through;
}

/* Mobile */

@media (max-width: 991px) {

    .qs-home-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

}

@media (max-width: 767px) {

    .qs-home-popular-section {
        padding: 48px 0 55px;
    }

    .qs-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .qs-home-product-image {
        height: 190px;
        padding: 13px;
    }

    .qs-home-product-content {
        padding: 13px 14px 15px;
    }

    .qs-home-product-name {
        font-size: 14px;
    }

    .qs-home-product-price {
        font-size: 16px;
    }

}

@media (max-width: 380px) {

    .qs-home-product-image {
        height: 165px;
    }

}

.qs-home-featured-section {
    padding: 58px 0 70px;
    
}

@media (max-width: 640px) {

    .qs-home-why {
        padding: 48px 0 55px;
    }

    .qs-home-why-header {
        margin-bottom: 22px;
    }

    .qs-home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .qs-home-benefit {
        min-height: 185px;
        padding: 19px 16px;
        border-radius: 14px;
    }

    .qs-home-benefit-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .qs-home-benefit h3 {
        font-size: 18px;
    }

    .qs-home-benefit p {
        font-size: 14px;
        line-height: 1.55;
    }

}