/* Dealstop public theme — matches the homepage orange, black, and white system. */
:root {
    --brand-orange: #FF5F00;
    --brand-orange-hover: #e65300;
    --ink: #111;
    --muted: #696969;
    --line: #e7e7e7;
    --surface: #f8f8f7;
    --warm: #f7f6f4;
    --radius: 5px;
}

body {
    color: var(--ink);
    background: #fff;
    font-family: 'Open Sans', sans-serif;
}

#main a,
.page a,
.page-wrapper a {
    color: var(--brand-orange);
}

#main h1,
#main h2,
#main h3,
#main h4,
.page h1,
.page-wrapper h1 {
    color: var(--ink);
}

.btn-view,
.btn-get-deal,
.hero-search-btn,
.newsletter-btn,
.show-btn,
.submit-btn,
.btn-primary-custom,
#main .btn-primary,
#main .btn-success,
#main .btn-success.mt-3,
.feature-box .btn-primary {
    background: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
    color: #fff !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.btn-view:hover,
.show-btn:hover,
.submit-btn:hover,
.btn-primary-custom:hover,
#main .btn-primary:hover,
#main .btn-success:hover,
.feature-box .btn-primary:hover {
    background: var(--brand-orange-hover) !important;
    border-color: var(--brand-orange-hover) !important;
    color: #fff !important;
}

/* Inner page banners follow the homepage cream hero, not a dark photo overlay. */
#main .banner.banner3 {
    min-height: 0;
    padding: 42px 0 28px;
    overflow: hidden;
    background: var(--warm) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--line);
}

#main .banner.banner3:before,
#main .banner.banner3:after {
    display: none !important;
}

#main .banner.banner3 h1 {
    color: var(--ink) !important;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.6px;
}

/* Blog list: homepage article cards, not the old green theme. */
.blog_sec {
    padding: 42px 0;
    background: #fff;
}

.blog_heading h1,
.blog_sec h1 {
    color: var(--ink) !important;
}

.post_category,
.btn-read,
.home-blog-category,
.home-blog-read-more {
    color: var(--brand-orange) !important;
    border-bottom-color: var(--brand-orange) !important;
}

.blog_title h2 {
    color: var(--ink) !important;
}

.blog-card,
.home-blog-card,
.category-card,
.featured-store-card,
.top-deal-card,
.coupon-card,
.offer-holder .col,
.feature-box,
.detail_box,
.commentForm,
.relaed_post li,
.page,
.page-wrapper,
.error-card,
.sidebar-box,
.related-card {
    border: 1px solid var(--line);
    border-radius: var(--radius) !important;
    box-shadow: none !important;
}

.blog-card:hover,
.category-card:hover,
.home-blog-card:hover {
    transform: translateY(-2px);
    border-color: #d5d5d5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .055);
}

/* Store A-Z and legal pages */
.abc-list li a:hover {
    color: var(--brand-orange) !important;
    background: #fff5ef !important;
}

.page h2,
.page-wrapper h2 {
    color: var(--ink) !important;
    border-color: var(--line);
}

.page .highlight-box,
.page-wrapper .highlight-box,
.about-page .contact-card {
    background: #fff8f3 !important;
    border-left-color: var(--brand-orange) !important;
}

/* Single store page — compact homepage cards instead of large pill UI */
.hero,
.filter-bar,
.coupon-card,
.sidebar-box,
.related-card,
.store-logo,
.error-card {
    border-radius: var(--radius) !important;
}

.filter-bar button,
.filter-bar .filter-btn {
    border-radius: 4px !important;
}

.filter-bar button.active,
.filter-bar .filter-btn.active {
    background: var(--brand-orange) !important;
    color: #fff !important;
}

.verified-badge {
    background: #fff1e8 !important;
    color: #c44b00 !important;
}

.error-section,
.search-page,
.about-page,
.blog_sec.detail {
    background: #fff !important;
}

.error-card,
.page,
.page-wrapper {
    background: #fff;
}

.category-hero,
.categories-hero {
    background: var(--warm) !important;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
}

body {
    --primary: #FF5F00;
    --primary-hover: #e65300;
    --primary-green: #FF5F00;
    --dark-green: #111;
    --light-green: #fff1e8;
    --dark: #111;
    --light-bg: #fff;
    --gray-border: #e7e7e7;
    --text-muted: #696969;
    --accent: #FF5F00;
}

/* Homepage container and spacing styles - applied globally */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.section-padding {
    padding: 40px 0;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.header-row h2 {
    margin: 0;
    font-size: 30px;
    color: var(--ink);
}

.header-row p {
    color: #666;
    max-width: 900px;
    line-height: 1.7;
}

/* Button styles from homepage */
.explore-btn {
    background: #FF5F00;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
}

/* Grid layouts from homepage */
.deals-grid-row,
.stores-grid-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-deal-5,
.col-store-5 {
    width: 20%;
    padding: 10px;
}

/* Card styles */
.top-deal-card,
.coupon-card,
.featured-store-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.top-deal-card:hover,
.coupon-card:hover,
.featured-store-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.deal-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.store-mini-logo {
    height: 35px;
    max-width: 90px;
    object-fit: contain;
}

.discount-tag {
    background: #fff3eb;
    color: #f26522;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.store-deal-name,
.coupon-store-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
    text-decoration: none;
}

.store-deal-name:hover,
.coupon-store-name:hover {
    color: var(--brand-orange);
}

.coupon-offer-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.deal-description {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

/* Deal button */
.btn-get-deal {
    background: #FF5F00;
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-get-deal:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
}

/* View all link */
.view-all-link {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Responsive styles from homepage */
@media (max-width: 992px) {
    .col-deal-5,
    .col-store-5 {
        width: 25%;
    }
}

@media (max-width: 768px) {
    .col-deal-5,
    .col-store-5 {
        width: 33.33%;
    }
    
    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-row p {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .col-deal-5,
    .col-store-5 {
        width: 50%;
    }
    
    .section-padding {
        padding: 30px 0;
    }
    
    .header-row h2 {
        font-size: 24px;
    }
}
