/**
 * StoreLab Vendor Magazine Stylesheet
 */

/* Base layout */
.sl-full-magazine {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #111;
    padding: 10px 0 40px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px !important;
    margin: 0 auto;
}

.sl-full-magazine *, 
.sl-full-magazine *::before, 
.sl-full-magazine *::after {
    box-sizing: inherit;
}

.sl-section-margin {
    margin-bottom: 35px;
}

.sl-full-magazine img {
    max-width: 100%;
    height: auto;
}

/* Editorial header */
.sl-page-header { 
    text-align: center; 
    margin-bottom: 30px; 
    padding-bottom: 30px;
    padding-top: 20px;
    border-bottom: 1px solid #eaeaea; 
}

.sl-page-header h1.sl-mag-h1 { 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: #222; 
    margin: 0 0 8px 0; 
    line-height: 1.2; 
    text-transform: uppercase; 
    letter-spacing: -0.5px; 
}

.sl-page-header p.sl-subtitle { 
    font-size: 1.05rem; 
    color: #666; 
    margin: 0; 
    font-weight: 400; 
}

/* Hero grid */
.sl-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 15px;
    height: 420px;
    margin-bottom: 40px;
}

.sl-hero-left {
    height: 100%;
    display: block;
}

.sl-hero-right {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 100%;
}

.sl-hero-nested {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 100%;
    margin-right: -15px !important;
}

.sl-card-wide {
    grid-column: span 2;
}

.sl-card-big, 
.sl-card-wide, 
.sl-card-small {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-decoration: none !important;
    border-radius: 8px !important;
    background: #111;
}

.sl-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.sl-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.sl-card-big:hover .sl-bg, 
.sl-card-wide:hover .sl-bg, 
.sl-card-small:hover .sl-bg {
    transform: scale(1.04);
}

.sl-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: #fff;
    z-index: 2;
}

.sl-overlay h2 {
    font-size: 1.4rem;
    color: #fff !important;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 2px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    width: 100%;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block;
}

.sl-overlay h3 {
    font-size: 1.05rem;
    color: #fff !important;
    font-weight: 400 !important;
    line-height: 1.25;
    margin: 0 0 2px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    width: 100%;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block;
}

.sl-hero-date {
    color: #cbd5e1;
    font-size: 0.72rem;
    margin-top: 3px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    display: block;
}

/* Badges & vendor icons */
.sl-badge-text-top {
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
    background-color: var(--slm-primary, #CC3692);
    letter-spacing: 0.5px;
}

.sl-badge-overlay {
    position: absolute;
    bottom: 10px;
    left: 12px;
    z-index: 10;
    margin: 0;
    pointer-events: none;
    background: transparent !important;
}

.sl-vendor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    pointer-events: none;
    margin-bottom: 8px;
}

html body .sl-full-magazine .sl-vendor-badge img.sl-badge-icon,
html body .sl-full-magazine .sl-badge-overlay img.sl-badge-icon,
html body .sl-full-magazine img.sl-badge-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    object-fit: cover !important;
    background-color: #ffffff !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    clip-path: none !important;
}

.sl-badge-text {
    background: transparent !important;
    color: #fff !important;
    padding: 0 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sl-corner-triangle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: 10;
}

.sl-corner-triangle span {
    position: absolute;
    bottom: 3px;
    right: 4px;
    color: #fff;
    font-weight: 900;
    font-size: 0.7rem;
}

/* Layout & sidebar */
.sl-main-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 30px;
}

.sl-main-left {
    min-width: 0;
}

.sl-main-right {
    min-width: 0;
    width: 310px;
    max-width: 310px;
	height: 100%;
}

.sl-sidebar-sticky {
    position: -webkit-sticky;
	position: sticky;
    top: 20px;
    width: 100%;
}

/* Sidebar author card */
.sl-modern-unified-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    margin-bottom: 25px;
    width: 100%;
}

.sl-muc-author {
    padding: 24px 20px 18px;
    text-align: center;
    background: #fcfcfc;
    border-bottom: 1px solid #f1f5f9;
}

.sl-muc-badge {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--slm-primary, #CC3692);
    margin-bottom: 12px;
}

.sl-muc-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto; 
    position: relative;
    display: block;
}

.sl-muc-avatar a {
    display: block;
    width: 100%;
    height: 100%;
}

.sl-muc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sl-muc-trophy {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 20px;
    background: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    line-height: 1;
    z-index: 2;
}

.sl-muc-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.sl-muc-name a {
    color: #0f172a;
    text-decoration: none;
}

.sl-muc-stats {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Sidebar products slider */
.sl-muc-products {
    padding: 18px 20px 24px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.sl-muc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    margin-bottom: 12px;
    height: 32px;
}

.sl-muc-slider-header h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    position: relative;
    padding-bottom: 6px;
}

.sl-muc-slider-header h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--slm-primary, #CC3692);
    border-radius: 2px;
}

.sl-slider-nav {
    display: flex;
    gap: 6px;
    align-items: center;
	margin-top: -10px;
}

.sl-slider-btn {
    background: #f1f5f9 !important;
    border: none !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    color: #475569 !important;
    transition: background-color 0.2s, color 0.2s;
    outline: none !important;
    margin: 0 0 0 5px;
}

.sl-slider-btn svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    display: block !important;
}

.sl-slider-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.sl-feat-slider { 
    display: flex !important; 
    overflow-x: auto !important; 
	overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important; 
    gap: 0 !important; 
    padding: 0 0 15px 0 !important; 
    margin: 0 !important; 
    width: 100% !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
}

.sl-feat-slider::-webkit-scrollbar { 
    display: none !important; 
}

.sl-muc-product-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

.sl-muc-product-card a {
    text-decoration: none !important;
    display: block !important;
}

.sl-muc-product-card img {
    height: auto;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.sl-muc-product-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sl-muc-product-price {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: block !important;
}

/* Sidebar recent comments */
.sl-recent-comments {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 16px;
    border-radius: 12px;
    margin-top: 25px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    width: 100%;
}

.sl-sidebar-title {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

.sl-comments-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sl-comment-item,
.sl-comments-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f8fafc;
}

.sl-comments-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sl-comment-avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
}

.sl-comment-avatar img {
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    object-fit: cover !important;
    display: block !important;
}

.sl-comment-body,
.sl-comment-content {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.35;
}

.sl-comment-body a {
    color: var(--slm-primary, #CC3692);
    text-decoration: none;
    font-weight: 600;
}

/* Custom Dynamic Widget Sidebar */
.sl-custom-sidebar-wrapper .sl-widget {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    width: 100%;
}

.sl-custom-sidebar-wrapper .sl-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sl-custom-sidebar-wrapper .sl-widget ul li {
    list-style-type: none !important;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f8fafc;
    color: #475569;
    font-size: 0.85rem;
}

.sl-custom-sidebar-wrapper .sl-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sl-custom-sidebar-wrapper .sl-widget a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sl-custom-sidebar-wrapper .sl-widget a:hover {
    color: var(--slm-primary, #CC3692);
}

.sl-custom-sidebar-wrapper .widget {
	list-style: none;
}

/* Ad banners */
.sl-ad-wrapper {
    text-align: center;
    width: 100%;
}

.sl-ad-wrapper img {
    height: auto;
    max-width: 100% !important;
    display: block;
    margin: 0 auto;
    border-radius: 6px !important;
    border: 1px solid #eaeaea;
}

.sl-ad-horizontal {
    width: 100% !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.sl-ad-horizontal img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

.sl-sidebar-sticky .sl-ad-wrapper {
    margin-bottom: 25px;
}

/* Tabs logic */
.sl-tabs-section {
    position: relative;
    margin-bottom: 35px;
}

.sl-tabs-header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
    gap: 12px;
}

.sl-title-badge {
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: var(--slm-primary, #CC3692);
}

.sl-tab-nav {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
}

.sl-tab-radio {
    display: none !important;
}

.sl-tab-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b !important;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    text-transform: uppercase;
    opacity: 0.85;
}

.sl-tab-label:hover {
    color: #000000 !important;
    opacity: 1;
}

.sl-tab-panel, 
.sl-news-panel {
    display: none;
}

/* Tab active toggles */
#tab-radio-0:checked ~ .sl-tab-content-wrapper .sl-tab-panel:nth-of-type(1),
#tab-radio-1:checked ~ .sl-tab-content-wrapper .sl-tab-panel:nth-of-type(2),
#tab-radio-2:checked ~ .sl-tab-content-wrapper .sl-tab-panel:nth-of-type(3),
#tab-radio-3:checked ~ .sl-tab-content-wrapper .sl-tab-panel:nth-of-type(4),
#tab-radio-4:checked ~ .sl-tab-content-wrapper .sl-tab-panel:nth-of-type(5) {
    display: block !important;
}

#tab-radio-0:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-0"],
#tab-radio-1:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-1"],
#tab-radio-2:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-2"],
#tab-radio-3:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-3"],
#tab-radio-4:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-4"] {
    color: var(--slm-primary, #CC3692) !important;
    opacity: 1;
}

#tab-radio-0:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-0"]::after,
#tab-radio-1:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-1"]::after,
#tab-radio-2:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-2"]::after,
#tab-radio-3:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-3"]::after,
#tab-radio-4:checked ~ .sl-tabs-header .sl-tab-nav label[for="tab-radio-4"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--slm-primary, #CC3692);
}

.sl-tab2-header-title {
    border-bottom: 2px solid var(--slm-primary, #CC3692);
    padding-bottom: 8px;
    margin-bottom: 18px;
    font-weight: 800;
}

#news-tab-0:checked ~ .sl-news-content-wrapper .sl-news-panel:nth-of-type(1),
#news-tab-1:checked ~ .sl-news-content-wrapper .sl-news-panel:nth-of-type(2),
#news-tab-2:checked ~ .sl-news-content-wrapper .sl-news-panel:nth-of-type(3),
#news-tab-3:checked ~ .sl-news-content-wrapper .sl-news-panel:nth-of-type(4) {
    display: block !important;
}

/* Tab content grids */
.sl-tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.sl-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Cards & main feed */
.sl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eaeaea; 
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s, transform 0.2s;
    content-visibility: auto;
}

.sl-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.sl-card .sl-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 175px !important;
}

.sl-tab2-grid .sl-card .sl-img-wrap,
.sl-featured .sl-card .sl-img-wrap {
    height: 250px !important;
}

.sl-card .sl-img-wrap > img:not(.sl-badge-icon) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.sl-card .sl-img-wrap img.sl-badge-icon,
.sl-vendor-badge img.sl-badge-icon,
html body img.sl-badge-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    object-fit: cover !important;
    background-color: #ffffff !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.sl-card .sl-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.sl-card-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sl-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    line-height: 1.3;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block;
    width: 100%;
    text-align: left;
}

.sl-title a {
    color: #0f172a;
    text-decoration: none;
}

.sl-excerpt {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.35;
}

.sl-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #888;
    margin-top: auto;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 10px !important;
}

.sl-comments {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    line-height: 1 !important;
}

.sl-comments svg {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

.sl-small-card {
    display: flex;
    gap: 10px;
    align-items: center;
    border: none;
    padding: 0;
    background: transparent;
}

.sl-thumb-small {
    flex-shrink: 0;
    display: block;
    width: 75px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.sl-thumb-small img {
    width: 75px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block;
}

.sl-body .sl-title {
    font-size: 0.82rem;
    margin-bottom: 4px;
    border: none;
    padding: 0;
    white-space: normal;
}

/* Grid & filters */
.sl-feed-title {
    padding-bottom: 8px; 
    margin-bottom: 16px; 
    font-weight: 800;
    color: #0f172a;
    border-bottom: 2px solid var(--slm-primary, #CC3692);
    width: 100%;
}

.sl-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
    width: 100%;
}

.sl-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: center;
}

.sl-filter-btn {
    padding: 0 16px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 1px solid #e2e8f0;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    height: 34px;
    box-sizing: border-box;
}

.sl-filter-btn:hover, 
.sl-filter-btn.active {
    background: var(--slm-primary, #CC3692);
    color: #fff;
    border-color: var(--slm-primary, #CC3692);
}

.sl-filter-dropdown { 
    height: 34px; 
    padding: 0 32px 0 14px; 
    background-color: #f1f5f9; 
    color: #475569; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 700; 
    border: 1px solid #e2e8f0; 
    outline: none; 
    cursor: pointer; 
    appearance: none; 
    -webkit-appearance: none; 
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23475569%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%208l4%204%204-4%22%2F%3E%3C%2Fsvg%3E'); 
    background-repeat: no-repeat; 
    background-position: right 10px center; 
    background-size: 16px auto; 
}

/* Grid columns (1 to 5) */
.sl-grid-cols-1 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.sl-grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sl-grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sl-grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sl-grid-cols-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.sl-tab2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Pagination */
.sl-pagination-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 30px;
    margin-bottom: 35px !important;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

.sl-pagination-container {
    display: inline-flex !important;
    gap: 6px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.sl-pagination-container .page-numbers {
    padding: 0 12px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: 13px;
    margin: 0 !important;
}

.sl-pagination-container .page-numbers.current {
    background: var(--slm-primary, #CC3692);
    color: #fff;
    border-color: var(--slm-primary, #CC3692);
}

.sl-pagination-info {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    margin-left: auto !important;
}

.sl-tab2-footer {
    margin-top: 28px;
    text-align: center;
    width: 100%;
    clear: both;
}

.sl-tab2-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    color: var(--slm-primary);
    background: transparent;
    border: 1px solid var(--slm-primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.sl-tab2-more-link:hover {
    background-color: var(--slm-primary);
    color: #ffffff;
}

/* Smooth arrow animation */
.sl-tab2-more-link svg {
    transition: transform 0.2s ease;
}

.sl-tab2-more-link:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .sl-grid-cols-4, .sl-grid-cols-5 { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 980px) {
    .sl-ad-horizontal {
        max-width: 100% !important;
    }
}

@media (max-width: 991px) {
    .sl-main-layout {
        grid-template-columns: 1fr;
    }
    .sl-main-right {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .sl-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .sl-card-big {
        height: 260px;
    }
    .sl-hero-right {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .sl-card-wide {
        height: 200px;
    }
    .sl-hero-nested {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        height: 150px;
        margin-right: 0px !important;
    }
    .sl-tab-grid {
        grid-template-columns: 1fr;
    }
    .sl-tab2-grid {
        grid-template-columns: 1fr;
    }
    .sl-pagination-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .sl-grid-cols-3, .sl-grid-cols-4, .sl-grid-cols-5 { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 480px) {
    .sl-grid-cols-2, .sl-grid-cols-3, .sl-grid-cols-4, .sl-grid-cols-5 { 
        grid-template-columns: 1fr; 
    }
}