/* ============================================================
   Matendes Premium Homepage Theme — custom CSS
   Loaded only on the matendes_premium homepage.
   Bootstrap utilities and AIZ classes are preferred; only
   theme-specific visuals live here.
   ============================================================ */

/* Slider helpers (kept identical to matendes_mart layout) */
.matendes-premium .home-slider {
    max-width: 100% !important;
}

.matendes-premium .home-banner-area .aiz-category-menu .sub-cat-menu {
    width: calc(100% - 290px);
    left: 280px;
}

.matendes-premium #section_home_categories .slick-slider .slick-list .slick-slide {
    margin-bottom: -4px;
}

.matendes-premium .home-category-banner .home-category-name {
    bottom: -50px;
}

@media (max-width: 991px) {
    .matendes-premium .home-banner-area .container {
        min-width: 0;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 767px) {
    .matendes-premium #flash_deal .flash-deals-baner {
        height: 203px !important;
    }
}

/* Section header */
.matendes-premium .premium-section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.matendes-premium .premium-section-subtitle {
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

/* Circular category icons */
.matendes-premium .premium-cat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.matendes-premium .premium-cat-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.matendes-premium .premium-cat-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

/* Trust badges */
.matendes-premium .premium-trust-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    height: 100%;
}

.matendes-premium .premium-trust-card .trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff3ed;
    color: var(--primary, #ff6a00);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

/* Campaign cards */
.matendes-premium .premium-campaign-card {
    border-radius: 12px;
    color: #fff;
    padding: 22px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: transform .25s ease;
    text-decoration: none;
}

.matendes-premium .premium-campaign-card:hover {
    transform: translateY(-4px);
    color: #fff;
    text-decoration: none;
}

.matendes-premium .premium-campaign-card .pcc-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.matendes-premium .premium-campaign-card .pcc-cta {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    font-size: 13px;
}

/* Store cards */
.matendes-premium .premium-store-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.matendes-premium .premium-store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.matendes-premium .premium-store-card .store-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: #f6f7fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matendes-premium .premium-store-card .store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Coupon */
.matendes-premium .premium-coupon {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe7c7 100%);
    border: 1px dashed #f0a040;
    border-radius: 10px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.matendes-premium .premium-coupon .coupon-code {
    display: inline-block;
    background: #fff;
    color: #d56300;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: .5px;
    margin-top: 8px;
}

/* Brand tile */
.matendes-premium .premium-brand-tile {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eef0f4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: border-color .2s ease, transform .25s ease;
}

.matendes-premium .premium-brand-tile:hover {
    border-color: var(--primary, #ff6a00);
    transform: translateY(-3px);
}

.matendes-premium .premium-brand-tile img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
}

/* Tab pills (Bootstrap nav-pills replacement) */
.matendes-premium .premium-tab {
    display: inline-block;
    padding: 8px 18px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #e6e8ee;
    cursor: pointer;
    transition: all .2s ease;
}

.matendes-premium .premium-tab.active,
.matendes-premium .premium-tab:hover {
    background: var(--primary, #ff6a00);
    color: #fff;
    border-color: var(--primary, #ff6a00);
}

/* Sell CTA */
.matendes-premium .premium-sell-cta {
    background: linear-gradient(135deg, #1e1f29 0%, #2b2d3a 100%);
    color: #fff;
    border-radius: 14px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

/* Stat numbers */
.matendes-premium .premium-stat {
    text-align: center;
    padding: 18px 10px;
}

.matendes-premium .premium-stat .stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary, #ff6a00);
    line-height: 1.1;
}

.matendes-premium .premium-stat .stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* Testimonial */
.matendes-premium .premium-testimonial {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    height: 100%;
}

.matendes-premium .premium-testimonial .quote {
    font-style: italic;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* App + Newsletter */
.matendes-premium .premium-app-cta {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    color: #fff;
    border-radius: 14px;
    padding: 30px;
    height: 100%;
}

.matendes-premium .premium-newsletter {
    background: #1e1f29;
    color: #fff;
    border-radius: 14px;
    padding: 30px;
    height: 100%;
}

.matendes-premium .premium-newsletter .input-group input {
    border: none;
    padding: 10px 14px;
}

.matendes-premium .premium-newsletter .input-group .btn {
    background: var(--primary, #ff6a00);
    color: #fff;
    border: none;
    font-weight: 600;
}

/* Product card */
.matendes-premium .premium-product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.matendes-premium .premium-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.matendes-premium .premium-product-card .product-img {
    height: 180px;
    overflow: hidden;
    background: #f6f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matendes-premium .premium-product-card .product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.matendes-premium .premium-product-card .product-body {
    padding: 12px;
}

/* Collection cards */
.matendes-premium .premium-collection-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
    text-decoration: none;
}

.matendes-premium .premium-collection-card:hover {
    color: #fff;
    text-decoration: none;
}

.matendes-premium .premium-collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .65) 100%);
}

.matendes-premium .premium-collection-card > * {
    position: relative;
    z-index: 1;
}

/* Surface utilities */
.matendes-premium .premium-surface-soft {
    background: #f7f8fb;
    border-radius: 12px;
}

.matendes-premium .premium-vendor-banner {
    border-radius: 12px;
    color: #fff;
    padding: 28px;
    min-height: 160px;
    display: block;
    text-decoration: none;
}

.matendes-premium .premium-vendor-banner:hover {
    color: #fff;
    text-decoration: none;
}

.matendes-premium .premium-vendor-banner.bg-dark-grad {
    background: linear-gradient(135deg, #232526, #414345);
}

.matendes-premium .premium-vendor-banner.bg-warm-grad {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

/* Flash deal soft background fallback */
.matendes-premium .premium-flash-wrap {
    background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%);
    border-radius: 12px;
    overflow: hidden;
}
