.scrollable-text-box {
  max-height: 300px; /* Set your desired fixed height */
  overflow-y: auto;  /* Adds a vertical scrollbar if content exceeds max-height */
  overflow-x: hidden; /* Hides horizontal scrollbar */
  padding-right: 15px; /* Optional: Adds some space so text doesn't touch the scrollbar */
}


.category-card {
    background: #f3f6fb;
    overflow: hidden;
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-4px);
}

.card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sub-list {
    padding-left: 18px;
    margin: 0 0 10px;
}

.sub-list li {
    font-size: 14px;
    margin-bottom: 6px;
}

.show-all {
    font-weight: 600;
    text-decoration: none;
    color: #146bb4;
}

.show-all:hover {
    color: #146bb470;
}
.premium-category-grid {
    width: 100%;
}

.premium-card-horizontal {
    display: flex;
    align-items: stretch;
    background: #F5F5F5;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    min-height: 150px;
}

.premium-card-horizontal:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* LEFT IMAGE */
.premium-image-left {
    width: 45%;
    min-width: 45%;
}

.premium-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT CONTENT */
.premium-content-right {
    width: 55%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.premium-list {
    padding-left: 18px;
    margin-bottom: 12px;
}

.premium-list li {
    font-size: 14px;
    margin-bottom: 6px;
    color: #444;
}

.premium-show {
    font-weight: 600;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.premium-show:hover {
    color: #f4a000;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .premium-card-horizontal {
        flex-direction: column;
    }

    .premium-image-left,
    .premium-content-right {
        width: 100%;
    }

    .premium-image-left {
        height: 150px;
    }
}
.premium-list {
    padding-left: 18px;
    margin-bottom: 12px;
}

.premium-list li {
    margin-bottom: 6px;
}

.premium-sub-link {
    font-size: 14px;
    color: #444;
    text-decoration: none;
    transition: 0.3s;
}

.premium-sub-link:hover {
    color: #f4a000;
    padding-left: 3px;
}



.mega-menu-grid {
    display: grid;
    gap: 25px 20px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
}

.mega-menu-item:hover {
    color: #146BB4;
}

.mega-icon img {
    width: 28px;
    height: 28px;
}

.mega-icon i,
.mega-icon svg {
    font-size: 28px;
    color: #f4a000;
}

.mega-title {
    font-size: 12px;
}



.premium-tabs-nav {
    display:flex;
    justify-content:space-between;
    padding:8px;
    border-radius:40px;
}

.premium-tab-btn {
    flex:1;
    border:none;
    padding:12px 20px;
    border-radius:40px;
    cursor:pointer;
    background:transparent;
    font-weight:600;
    transition:.3s;
}

.premium-tab-content {
    display:none;
    margin-top:30px;
}

.premium-tab-content.active {
    display:block;
}

.premium-tab-inner {
    display:flex;
    gap:30px;
    align-items:center;
}

.premium-tab-desc {
    width:40%;
    padding:30px;
    border-radius:20px;
}

.premium-tab-gallery {
    width:60%;
}

.premium-tab-gallery {
    width: 60%;
    overflow: hidden;
    position: relative;
}

.premium-slider {
    width: 100%;
    overflow: hidden;
}

.premium-slider-track {
    display: flex;
    width: max-content;
    animation: premiumScroll 25s linear infinite;
}

.slide {
    flex: 0 0 auto;
    margin-right: 20px;
}

.slide img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
}

/* Infinite scrolling animation */
@keyframes premiumScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* MOBILE */
@media(max-width:767px){
    .premium-tab-inner{
        flex-direction:column;
    }
    .premium-tab-desc,
    .premium-tab-gallery{
        width:100%;
    }
}
@media(max-width:767px){
    .premium-tab-gallery {
        width: 100%;
        margin-top: 20px;
    }

    .slide img {
        width: 200px;
        height: 150px;
    }
}

/* TAB NAV */
.premium-masonry-tabs {
    display:flex;
    justify-content:center;
    gap:40px;
    margin-bottom:30px;
    border-bottom:1px solid #ddd;
}

.masonry-tab-btn {
    background:none;
    border:none;
    padding:10px 0;
    font-weight:600;
    cursor:pointer;
    position:relative;
    color:#555;
}
.masonry-tab-btn:hover {
    background:none;
    color:#0285C0;
   
}
.masonry-tab-btn.active {
    color:#0285C0;
    background:none;
}

.masonry-tab-btn.active::after {
    content:'';
    position:absolute;
    bottom:-1px;
    left:0;
    width:100%;
    height:3px;
    background:#0285C0;
}

/* TAB CONTENT */
.masonry-tab-content {
    display:none;
}

.masonry-tab-content.active {
    display:block;
}

/* GRID */
.masonry-grid {
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap:15px;
}

/* LARGE IMAGE (first one) */
.masonry-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* IMAGE FIT */
.masonry-item img {
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:6px;
    transition:0.3s;
}

.masonry-item img:hover {
    transform:scale(1.05);
}

/* RESPONSIVE */
@media(max-width:1024px){
    .masonry-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:767px){
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .masonry-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}


.premium-expand-wrapper {
    position: relative;
}

.expand-content {
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.expand-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.premium-expand-wrapper.expanded .expand-gradient {
    opacity: 0;
}

.expand-btn {
    margin-top: 20px;
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.expand-btn:hover {
    transform: translateY(-2px);
}

.expand-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.premium-expand-wrapper.expanded .expand-icon {
    transform: rotate(180deg);
}





.wq-grid-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.wq-col {
    width: calc(33.33% - 20px);
}

.wq-product-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.wq-product-card:hover {
    transform: translateY(-5px);
}

.wq-product-image img {
    width: 100%;
}

.wq-product-content {
    padding: 25px;
}

.wq-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #2c2c2c;
    color: #fff;
    border-radius: 40px;
    text-decoration: none;
}
