/*
Theme Name: BuyLanka - Product Cards & Store Banner Stylesheet
Description: Consolidated component styles including product cards, grids, WhatsApp buttons, title truncation, responsive breakpoints, with store hero banner styles placed at the bottom.
File Name: style-card.css
Version: 1.1.3

*/

/* ==========================================================================
   1. Shared Product Card WhatsApp Action Buttons
   ========================================================================== */
.whatsapp-btn { 
    background-color: var(--whatsapp-green, #25D366); 
    color: #ffffff !important; 
    padding: 9px 12px; 
    border-radius: 6px; 
    font-weight: 600; 
    text-align: center; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    margin-top: auto; 
    font-size: 13px; 
    transition: background-color 0.2s ease;
}

.whatsapp-btn:hover { 
    background-color: #128c7e; 
}

.btn-seller-wa,
.btn-whatsapp-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.2s ease;
    width: 100%;
    cursor: pointer;
}

.btn-seller-wa:hover,
.btn-whatsapp-card:hover {
    background: #1eb956;
}

/* ==========================================================================
   2. Unified Product Grid & Standard Product Card Components
   ========================================================================== */
.catalog-grid,
.product-grid {
    display: grid;
    gap: 16px;
    padding: 15px 0;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-card img {
    border-radius: 6px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.product-price { 
    font-weight: 700; 
    color: var(--brand-orange, #F15A24); 
}

.product-price .old-price { 
    color: #94a3b8; 
    text-decoration: line-through; 
    font-weight: normal; 
}

/* ==========================================================================
   3. Mini Product Card (.card-mini-product)
   ========================================================================== */
.card-mini-product {
	background: #ffffff;
	border-radius: 6px;
	padding: 1px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-mini-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-mini-image-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.card-mini-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-mini-product .discount-badge {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    background-color: #0369a1 !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    z-index: 3 !important;
    text-transform: uppercase !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
}

.card-mini-visitor-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-mini-visitor-badge i.fa-eye {
    font-size: 0.6rem;
    opacity: 0.9;
}

.card-mini-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 10px 8px 10px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.card-mini-title-overlay h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.card-mini-title-overlay h3 a {
    text-decoration: none;
    color: inherit;
}

.card-mini-title-overlay h3 a:hover {
    color: #38bdf8;
}

.card-mini-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: #f97316;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.card-mini-price .old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 400;
}

/* ==========================================================================
   4. Trending Product Card (.trending-product-card) & Ticker Animation
   ========================================================================== */
.trending-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trending-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trending-card-image-wrap {
    position: relative;
    width: 100%;
    height: 150px;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.trending-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-product-card .discount-badge {
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    background-color: #0369a1 !important;
    color: #e0f2fe !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 9px !important;
    z-index: 3 !important;
    text-transform: uppercase !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.trending-visitor-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-visitor-badge i.fa-eye {
    font-size: 0.65rem;
    opacity: 0.9;
}

.trending-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.trending-card-title a {
    text-decoration: none;
    color: inherit;
}

.trending-card-title a:hover {
    color: #0284c7;
}

.trending-card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trending-card-price .old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 400;
}

/* Trending Card Lower-Left Image Ticker Animation */
.trending-info-ticker {
    position: absolute;
    bottom: 6px;
    left: 8px;
    height: 16px;
    overflow: hidden;
    z-index: 4;
    background: transparent !important;
    pointer-events: none;
}

.trending-ticker-track {
    display: flex;
    flex-direction: column;
    animation: slowTickerScroll 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-play-state: paused; 
}

.trending-product-card:hover .trending-ticker-track,
.trending-product-card:active .trending-ticker-track {
    animation-play-state: running;
}

.trending-ticker-item {
    height: 16px;
    line-height: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    background: transparent !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.trending-ticker-item.rating { color: #22c55e !important; }
.trending-ticker-item.reviews { color: #f9e016 !important; }
.trending-ticker-item.verified { color: #3b82f6 !important; }

@keyframes slowTickerScroll {
    0%, 26% { transform: translateY(0); }
    33%, 59% { transform: translateY(-16px); }
    66%, 92% { transform: translateY(-32px); }
    100% { transform: translateY(0); }
}

/* ==========================================================================
   5. Hot Deal Product Card (.hot-deal-card)
   ========================================================================== */
.hot-deal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 12px 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
}

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

.hot-deal-image-wrapper {
    position: relative;
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #f8fafc;
}

.hot-deal-image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.hot-deal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hd-isolated-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e11d48;
    color: #ffffff;
    padding: 6px 10px;
    border-bottom-right-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    box-sizing: border-box;
}

.hd-isolated-badge .hd-badge-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
    margin-bottom: 2px;
    white-space: nowrap;
}

.hd-isolated-badge .hd-badge-timer {
    font-weight: 700;
    font-size: 11px;
    font-family: monospace, monospace;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.hot-deal-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.hot-deal-title a {
    color: inherit;
    text-decoration: none;
}

.hot-deal-pricing {
    margin-bottom: 12px;
}

.hot-deal-current-price {
    font-size: 16px;
    font-weight: 700;
    color: #ea580c;
}

.hot-deal-old-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

/* ==========================================================================
   6. Featured Product Card (.featured-product-card)
   ========================================================================== */
.featured-product-card {
    border: 2px solid #00a0e9 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.featured-product-card .featured-card-media {
    position: relative !important;
    width: 100% !important;
    height: 145px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-color: #f1f5f9;
}

.featured-product-card .featured-card-media a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.featured-product-card .featured-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.featured-product-card .featured-offer-label {
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    background-color: #0369a1 !important;
    color: #e0f2fe !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 9px !important;
    z-index: 3 !important;
    text-transform: uppercase !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.featured-product-card .featured-card-title-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%) !important;
    padding: 14px 10px 8px 10px !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
}

.featured-product-card .featured-card-title-overlay h3 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
}

.featured-product-card .featured-card-title-overlay h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.featured-product-card .featured-card-title-overlay h3 a:hover {
    text-decoration: underline !important;
}

.featured-product-card .featured-card-body {
    padding: 10px 12px 12px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.featured-product-card .featured-card-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #f25621 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.featured-product-card .featured-card-price .old-price {
    text-decoration: line-through !important;
    color: #94a3b8 !important;
    font-size: 0.78rem !important;
    font-weight: 400 !important;
}

.featured-product-card .featured-card-action {
    width: 100% !important;
    margin-top: auto !important;
}

.featured-product-card .featured-card-action a,
.featured-product-card .featured-card-action button,
.featured-product-card .featured-card-action .whatsapp-btn,
.featured-product-card .featured-card-action .buylanka-wa-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   7. Compact Product Card (.compact-product-card)
   ========================================================================== */
.compact-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.compact-card-image-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    background: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.compact-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compact-product-card .discount-badge {
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    background-color: #0369a1 !important;
    color: #e0f2fe !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 9px !important;
    z-index: 3 !important;
    text-transform: uppercase !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.compact-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.compact-card-title a {
    text-decoration: none;
    color: inherit;
}

.compact-card-title a:hover {
    color: #0284c7;
}

.compact-card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.compact-card-price .old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 400;
}

/* ==========================================================================
   8. Catalog Card, Seller Catalog & New Product Cards
   ========================================================================== */
.catalog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.catalog-card .discount-badge {
    position: absolute !important;
    top: 3px !important;
    right: 3px !important;
    background-color: #0369a1 !important;
    color: #e0f2fe !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 9px !important;
    z-index: 3 !important;
    text-transform: uppercase !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.catalog-card-image {
    height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.catalog-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.catalog-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.catalog-card-title {
    margin: 0 0 8px 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.catalog-card-title a {
    text-decoration: none;
    color: inherit;
}

.catalog-card-title a:hover {
    color: #0284c7;
}

.catalog-card-price {
    font-weight: 700;
    color: #f97316;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.catalog-card-price .old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 400;
}

.seller-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.seller-catalog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    position: relative !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.seller-catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.seller-offer-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background-color: #0088cc !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    pointer-events: none;
}

.new-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.new-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.new-card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* ==========================================================================
   10. Global 2-Line Title Truncation with Ellipsis (...) for All Product Cards
   ========================================================================== */
.product-card h3,
.trending-card-title,
.compact-card-title,
.catalog-card-title,
.featured-product-card .featured-card-title-overlay h3,
.hot-deal-title,
.card-mini-title-overlay h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;       /* Restricts to exactly 2 lines */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word;                 /* Prevents long words from breaking layout */
}

/* ==========================================================================
   11. Product Cards Responsive Grid Breakpoints
   ========================================================================== */
.card-mini-grid {
    display: grid;
    gap: 12px;
    padding: 15px 0;
}

@media (min-width: 1400px) {
    .catalog-grid,
    .product-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 18px;
    }
}

@media (min-width: 1001px) {
    .catalog-grid,
    .product-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    .card-mini-grid {
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 8px;
    }
    .new-card-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
}

@media (max-width: 900px) {
    .seller-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .new-card-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .card-mini-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 6px;
    }
    .new-card-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .seller-catalog-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        padding: 6px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    }

    .seller-catalog-card img {
        height: 110px !important;
        object-fit: cover !important;
    }
}

@media (max-width: 640px) {
    .seller-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .new-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 481px) {
    .new-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

@media (max-width: 412px) {
    .card-mini-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px;
    }
}

@media (max-width: 599px) and (orientation: portrait), (max-width: 480px) {
    .catalog-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
}

/* ==========================================================================
   12. Store Hero Banner Styles (Non-Product Card Styles placed at the bottom)
   ========================================================================== */
.store-hero-banner {
    width: 100%;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-color: #0f172a;
}

.store-hero-banner .banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-overlay-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.banner-profile-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 24px;
    width: 100%;
    color: #ffffff;
}

.store-meta-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-avatar-wrap {
    flex-shrink: 0;
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 4;
}

.seller-avatar-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    background: #ffffff;
}

.seller-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-right: 85px;
}

.seller-title-row h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.verified-check {
    background: #3b82f6;
    color: #ffffff;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
}

.seller-email-line {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 1px;
}

.vendor-role-badge {
    color: #2dd4bf;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vendor-role-badge svg,
.vendor-role-badge i {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0;
}

.seller-stats {
    font-size: 0.83rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.seller-stats strong { 
    color: #ffffff; 
}

.seller-bio-text {
    font-size: 0.88rem;
    color: #e2e8f0;
    margin: 6px 0 0 0;
    line-height: 1.35;
    max-width: 750px;
}

@media (max-width: 768px) {
    .banner-profile-content {
        padding: 12px;
    }
    .store-avatar-wrap {
        top: 16px;
        right: 16px;
    }
    .seller-avatar-img {
        width: 62px;
        height: 62px;
    }
    .seller-title-row {
        padding-right: 70px;
    }
    .store-hero-banner {
        min-height: 190px;
    }
}