* {
    box-sizing: border-box;
}

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

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

img {
    max-width: 100%;
}

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


/* HEADER */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    white-space: nowrap;
}

.logo span,
.footer-logo span {
    color: #ff6200;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover {
    color: #ff6200;
}

.header-search {
    width: 210px;
}

.header-search input {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #ddd;
    border-radius: 7px;
}


/* COMMON */

.section {
    padding: 34px 0;
}

.section-white {
    background: #ffffff;
}

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

.section-heading h2 {
    margin: 0;
    font-size: 25px;
}

.section-heading a {
    color: #ff6200;
    font-size: 14px;
    font-weight: 700;
}


/* DEAL GRID */

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


/* DEAL CARD */

.deal-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
}

.deal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.deal-image-wrap {
    height: 220px;
    background: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.deal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.deal-no-image {
    color: #999;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53b2f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 9px;
    border-radius: 5px;
}

.deal-card-body {
    padding: 15px;
}

.deal-badge {
    color: #ff6200;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.deal-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 12px;
    min-height: 42px;
}

.deal-title a:hover {
    color: #ff6200;
}

.deal-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.sale-price {
    font-size: 20px;
    font-weight: 800;
}

.mrp {
    color: #888;
    text-decoration: line-through;
    font-size: 13px;
}

.deal-extra,
.deal-bank {
    font-size: 12px;
    margin-bottom: 6px;
}

.deal-extra {
    color: #087f23;
}

.deal-bank {
    color: #555;
}

.deal-button {
    display: block;
    margin-top: 13px;
    background: #ff6200;
    color: #fff;
    text-align: center;
    padding: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.deal-button:hover {
    background: #e45600;
}


/* FOOTER */

.site-footer {
    margin-top: 50px;
    background: #17202a;
    color: #d9dee3;
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 27px;
    font-weight: 800;
    color: #fff;
}

.footer-grid h4 {
    color: #fff;
    margin-top: 0;
}

.footer-grid a {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 30px;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}


/* TABLET */

@media (max-width: 950px) {

    .main-nav {
        display: none;
    }

    .header-search {
        margin-left: auto;
    }

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


/* MOBILE */

@media (max-width: 650px) {

    .container {
        width: min(100% - 20px, 1180px);
    }

    .header-inner {
        min-height: 62px;
        gap: 12px;
    }

    .logo {
        font-size: 22px;
    }

    .header-search {
        width: auto;
        flex: 1;
    }

    .deal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .deal-image-wrap {
        height: 155px;
        padding: 10px;
    }

    .deal-card-body {
        padding: 10px;
    }

    .deal-title {
        font-size: 13px;
        min-height: 37px;
    }

    .sale-price {
        font-size: 17px;
    }

    .mrp {
        font-size: 11px;
    }

    .deal-button {
        padding: 9px 5px;
        font-size: 13px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}


/* HERO */

.hero-section {
    padding: 24px 0 10px;
}

.hero-box {
    min-height: 300px;
    border-radius: 14px;
    padding: 42px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #32115f,
            #741271,
            #d74c00
        );
    color: #fff;
    overflow: hidden;
}

.hero-content {
    max-width: 620px;
}

.hero-kicker {
    display: inline-block;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffd76a;
}

.hero-content h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.05;
}

.hero-content p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 560px;
}

.hero-button {
    display: inline-block;
    margin-top: 10px;
    background: #ff6200;
    color: white;
    padding: 13px 20px;
    border-radius: 7px;
    font-weight: 700;
}


/* CATEGORY STRIP */

.category-strip {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.category-box {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.category-box img,
.category-placeholder {
    width: 66px;
    height: 66px;
    margin: 0 auto 8px;
    border-radius: 10px;
    object-fit: contain;
    background: #f1f3f5;
}

.category-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 800;
    color: #ff6200;
}


/* CATEGORY GRID */

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

.category-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    font-weight: 700;
}

.category-card img,
.category-placeholder.large {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 12px;
}

.category-placeholder.large {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border-radius: 8px;
    font-size: 50px;
    color: #ff6200;
}


/* BOTTOM SALE BANNER */

.sale-bottom-banner {
    background:
        linear-gradient(
            90deg,
            #5a0b76,
            #b31445,
            #ed6900
        );
    color: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sale-bottom-banner strong {
    font-size: 24px;
}

.sale-bottom-banner p {
    margin: 5px 0 0;
}

.sale-bottom-banner a {
    background: #fff;
    color: #d94f00;
    padding: 12px 18px;
    border-radius: 7px;
    font-weight: 800;
    white-space: nowrap;
}


/* RESPONSIVE */

@media (max-width: 950px) {

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

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

    .hero-content h1 {
        font-size: 36px;
    }
}


@media (max-width: 650px) {

    .hero-section {
        padding-top: 14px;
    }

    .hero-box {
        min-height: 240px;
        padding: 24px 20px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

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

    .category-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .category-box img,
    .category-placeholder {
        width: 54px;
        height: 54px;
    }

    .category-box {
        font-size: 10px;
    }

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

    .category-card {
        padding: 10px;
        font-size: 12px;
    }

    .category-card img,
    .category-placeholder.large {
        height: 105px;
    }

    .sale-bottom-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sale-bottom-banner strong {
        font-size: 20px;
    }
}

/* PAGE HEADERS */

.page-header {
    margin-bottom: 28px;
}

.page-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
}

.page-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.breadcrumb {
    margin-bottom: 14px;
    font-size: 13px;
    color: #777;
}

.breadcrumb a {
    color: #ff6200;
}

.breadcrumb span {
    margin: 0 7px;
}

.empty-state {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #777;
}

@media (max-width: 650px) {

    .page-header h1 {
        font-size: 25px;
    }

}

.budget-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.budget-tabs a {
    background: #fff;
    border: 1px solid #ddd;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.budget-tabs a:hover {
    border-color: #ff6200;
    color: #ff6200;
}

.search-page-form {
    display: flex;
    max-width: 650px;
    margin-bottom: 30px;
}

.search-page-form input {
    flex: 1;
    padding: 13px 15px;
    border: 1px solid #ddd;
    border-radius: 7px 0 0 7px;
    font-size: 15px;
}

.search-page-form button {
    border: 0;
    background: #ff6200;
    color: #fff;
    padding: 0 22px;
    font-weight: 700;
    border-radius: 0 7px 7px 0;
    cursor: pointer;
}

/* SINGLE DEAL PAGE */

.single-deal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 35px;
}

.single-deal-image {
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-deal-image img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.single-discount {
    position: absolute;
    top: 0;
    left: 0;
    background: #e53b2f;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
}

.single-deal-info h1 {
    margin: 8px 0 18px;
    font-size: 30px;
    line-height: 1.3;
}

.single-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.single-sale-price {
    font-size: 34px;
    font-weight: 800;
}

.single-mrp {
    font-size: 17px;
    color: #888;
    text-decoration: line-through;
}

.saving-text {
    color: #16823a;
    font-weight: 700;
    margin-bottom: 18px;
}

.single-offer-box {
    background: #f7f8fa;
    border-left: 4px solid #ff6200;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 14px;
}

.single-deal-button {
    display: inline-block;
    margin-top: 12px;
    background: #ff6200;
    color: #fff;
    padding: 14px 25px;
    border-radius: 7px;
    font-weight: 800;
}

.single-deal-button:hover {
    background: #e45600;
}

.deal-meta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #555;
    font-size: 14px;
}

.deal-meta p {
    margin: 7px 0;
}

.deal-disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 20px;
}

.expired-box {
    margin-top: 15px;
    background: #fff1f1;
    color: #a00;
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
}

@media (max-width: 750px) {

    .single-deal {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px;
    }

    .single-deal-image {
        min-height: 280px;
    }

    .single-deal-image img {
        max-height: 280px;
    }

    .single-deal-info h1 {
        font-size: 23px;
    }

    .single-sale-price {
        font-size: 28px;
    }

}

/* AMAZON SALE PAGE */

.sale-hero {
    padding: 24px 0 10px;
}

.sale-hero-box {
    min-height: 330px;
    border-radius: 14px;
    padding: 45px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #25004d,
            #7d0f67,
            #f06b00
        );
    color: #fff;
}

.sale-hero-box > div {
    max-width: 650px;
}

.sale-label {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    padding: 7px 10px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 12px;
}

.sale-hero h1 {
    margin: 0 0 12px;
    font-size: 45px;
    line-height: 1.08;
}

.sale-hero p {
    font-size: 17px;
    line-height: 1.6;
}

.sale-hero-button {
    display: inline-block;
    margin-top: 10px;
    background: #ff6200;
    padding: 13px 20px;
    border-radius: 7px;
    color: #fff;
    font-weight: 800;
}

.sale-note {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 25px;
}

.sale-note h3 {
    margin-top: 0;
}

.sale-note p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

@media (max-width: 650px) {

    .sale-hero-box {
        min-height: 260px;
        padding: 25px 20px;
    }

    .sale-hero h1 {
        font-size: 30px;
    }

    .sale-hero p {
        font-size: 14px;
    }

}