/**
 * Premium Theme - Consolidated Design System
 * REUSABLE STYLES FOR HERO BANNERS, SIDEBARS, AND HEADERS
 * Source: Extracted from shop.blade.php
 */

/* ── Fix: keep the floating header above the premium elements ── */
header.header-main_area {
    position: relative !important;
    z-index: 9999 !important;
}

/* ── Nav links: white over dark hero, dark once sticky ── */
.header-bottom_area.header-bottom_area-2:not(.sticky) .container-fliud .main-menu_area > nav > ul > li > a,
.header-bottom_area.header-bottom_area-2:not(.sticky) .container-fliud .main-menu_area > nav > ul > li > a:before,
.header-bottom_area.header-bottom_area-2:not(.sticky) .container-fliud .main-menu_area > nav > ul > li > a:after {
    color: #ffffff !important;
}
.header-bottom_area.header-bottom_area-2:not(.sticky) .container-fliud .header-right_area > ul > li > a {
    color: #ffffff !important;
}
.header-bottom_area.header-bottom_area-2:not(.sticky) .container-fliud .main-menu_area > nav > ul > li:hover > a {
    color: #cda557 !important;
}
.header-bottom_area.header-bottom_area-2.sticky .container-fliud .main-menu_area > nav > ul > li > a,
.header-bottom_area.header-bottom_area-2.sticky .container-fliud .header-right_area > ul > li > a {
    color: #000000 !important;
}

/* ── Hero wrapper ── */
.shop-hero.breadcrumb-area {
    background-image: none !important;  /* kill default placeholder */
    background: #0f0d0b !important;
    min-height: 280px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

/* ── Background image panel ── */
.shop-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 48%;
    background-repeat: no-repeat;
    transform: scale(1.03);   /* slight scale to hide edges */
    transition: transform 8s ease;
}
.shop-hero__bg:hover { transform: scale(1.06); }

/* ── Dark gradient overlay ── */
.shop-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,8,6,0.82) 0%,
        rgba(10,8,6,0.55) 55%,
        rgba(10,8,6,0.35) 100%
    );
    z-index: 1;
}

/* ── Inner content ── */
.shop-hero__inner {
    position: relative;
    z-index: 2;
    /* (~85px floating header + breathing room) */
    padding: 109px 0 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ── Gold accent line ── */
.shop-hero__accent {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(205,165,87,0) 0%, #cda557 50%, rgba(205,165,87,0) 100%);
    border-radius: 2px;
    margin-bottom: 16px;
    animation: shop-accent 1.4s ease-out forwards;
}
@keyframes shop-accent {
    from { width: 0; opacity: 0; }
    to   { width: 80px; opacity: 1; }
}

/* ── Tag line ── */
.shop-hero__tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #cda557;
    background: rgba(205,165,87,0.12);
    border: 1px solid rgba(205,165,87,0.3);
    border-radius: 20px;
    padding: 4px 16px;
    margin-bottom: 14px;
}

/* ── Main title ── */
.shop-hero__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
}

/* ── Breadcrumb trail ── */
.shop-hero__crumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.shop-hero__crumbs li {
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}
.shop-hero__crumbs li + li::before {
    content: '›';
    margin: 0 8px;
    color: rgba(205,165,87,0.5);
    font-size: 14px;
}
.shop-hero__crumbs li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color .2s ease;
}
.shop-hero__crumbs li a:hover { color: #cda557; }
.shop-hero__crumbs li[aria-current="page"] { color: rgba(255,255,255,0.8); }

/* ── Responsive ── */
@media (max-width: 1199px) {
    .shop-hero__inner { padding-top: 36px; }
}
@media (max-width: 767px) {
    .shop-hero__inner { padding: 32px 0 36px; }
    .shop-hero__title { font-size: 26px; }
}

/* ── Premium Sidebar Search Widget ── */
.premium-search-widget {
    margin-bottom: 40px;
}
.premium-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #faf6f1;
    border: 1px solid #e0d5c1;
    border-radius: 30px;
    padding: 4px 5px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-search-box:focus-within {
    background: #ffffff;
    border-color: #cda557;
    box-shadow: 0 8px 24px rgba(205, 165, 87, 0.12);
    transform: translateY(-1px);
}
.premium-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    outline: none;
    width: 100%;
}
.premium-search-box .premium-search-btn {
    background: #cda557;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(205, 165, 87, 0.3);
}
.premium-search-box .premium-search-btn:hover {
    background: #be8658;
    transform: scale(1.06);
}

/* ── Scrollable Sidebar Filters ── */
.filter-widget {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}
.filter-search-box {
    position: relative;
    margin-bottom: 12px;
}
.filter-search-box input {
    width: 100%;
    border: 1px solid #e0d5c1;
    padding: 8px 14px 8px 30px;
    font-size: 13px;
    border-radius: 4px;
    background: #faf6f1;
    transition: all 0.3s ease;
    color: #333;
}
.filter-search-box::before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #a09585;
    pointer-events: none;
}
.filter-scroll-area {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -4px;
}
/* Custom scrollbar */
.filter-scroll-area::-webkit-scrollbar { width: 4px; }
.filter-scroll-area::-webkit-scrollbar-track { background: #f5f0e6; border-radius: 4px; }
.filter-scroll-area::-webkit-scrollbar-thumb { background: #dfcbab; border-radius: 4px; }
.filter-scroll-area::-webkit-scrollbar-thumb:hover { background: #cda557; }

/* ── Blog Content Typography & Layout ── */
.blog-short_desc {
    font-size: 16px !important;
    line-height: 1.88 !important;
    color: #444 !important;
}

.blog-short_desc h1, 
.blog-short_desc h2, 
.blog-short_desc h3, 
.blog-short_desc h4, 
.blog-short_desc h5, 
.blog-short_desc h6 {
    color: #000000 !important;
    font-weight: 700 !important;
    margin-top: 2em !important;
    margin-bottom: 0.85em !important;
    letter-spacing: -0.015em !important;
    line-height: 1.2 !important;
}

.blog-short_desc h1 { font-size: 32px !important; }
.blog-short_desc h2 { font-size: 28px !important; }
.blog-short_desc h3 { font-size: 24px !important; }
.blog-short_desc h4 { font-size: 20px !important; }

.blog-short_desc p {
    margin-bottom: 1.7em !important;
    color: #4f4f4f !important;
}

.blog-short_desc blockquote {
    position: relative;
    padding: 18px 32px !important;
    margin: 40px 0 !important;
    border-left: 5px solid #cda557 !important;
    background: #fdfaf5 !important;
    font-style: italic !important;
    color: #555555 !important;
    border-radius: 0 8px 8px 0;
    font-size: 1.05em !important;
}

.blog-short_desc blockquote p {
    margin-bottom: 0 !important;
}

/* Enhancing horizontal lines if present */
.blog-short_desc hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(205,165,87,0) 0%, rgba(205,165,87,0.4) 50%, rgba(205,165,87,0) 100%);
    margin: 40px 0;
}

/* Ensure images within content look premium */
.blog-short_desc img {
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    margin: 32px auto !important;
    display: block;
    max-width: 100% !important;
}
