.premium-btn {
    position: relative;
    background: linear-gradient(135deg, #d4af37 0%, #f7e58e 40%, #c19b2f 100%);
    color: #1a1a1a;
    border: none;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all .25s ease;
    z-index: 1;
}

/* Animated gradient border */
.premium-btn::before {
    content: "";
    position: absolute;
    inset: -2px; /* border thickness */
    border-radius: inherit;
    background: linear-gradient(
        270deg,
        #d4af37,
        #f7e58e,
        #c19b2f,
        #f7e58e,
        #d4af37
    );
    background-size: 400% 400%;
    animation: premiumBorder 10s linear infinite;
    z-index: -1;
}

/* Hover effect */
.premium-btn:hover {
    color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

/* Animation */
@keyframes premiumBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

.premium-gradient {
    background: linear-gradient(87deg, #f0522d 11.97%, #f4801f 37.45%, #fbaf42 59.69%, #852df0 75.31%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Container */
.premium-category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    transition: all 0.4s ease;
    border: 2px solid #e9e9ea;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.premium-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    /* Gradient Border Trick */
    background-image: linear-gradient(white, white),
                      linear-gradient(270deg, #d4af37, #f7e58e, #c19b2f, #f7e58e, #d4af37);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent;
}

/* Extra touch: Hover-e title color-o gold korte paro */
.premium-category-card:hover .category-title {
    color: #c19b2f;
}

/* Image Styling */
.premium-category-card .image-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.premium-category-card .image-wrapper img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.premium-category-card:hover .image-wrapper img {
    transform: scale(1.1);
}

/* Typography */
.premium-category-card .category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    text-decoration: none;
    display: block;
}

.premium-category-card .product-count {
    font-size: 0.85rem;
    color: #6c757d;
    background: #f1f3f5;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* Link reset */
.card-link {
    text-decoration: none !important;
}

@media (max-width: 1199px) {
  .text-mobile-center {
    text-align: center;
  }
}

.modern-product-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #eee;
    overflow: hidden;
    transition: 0.3s all ease;
    height: 100%;
    position: relative;
}

.modern-product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #d4af37; /* Gold border hover-e */
}

/* Image Styling */
.product-img-box {
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.main-img {
    transform: scale(1.05); /* 5% zoom korle border-er gap dekha jabe na */
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.hover-img {
    position: absolute;
    top: 0; left: 0; opacity: 0;
}

.modern-product-card:hover .hover-img { opacity: 1; }
.modern-product-card:hover .main-img { opacity: 0; }

/* Action Buttons Overlay */
.action-overlay {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    transition: 0.4s;
}

.modern-product-card:hover .action-overlay { bottom: 15px; }

.action-overlay a {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
}

.action-overlay a:hover { background: #d4af37; color: #fff; }

/* Details & Typography */
.product-details { padding: 15px; text-align: center; }

.product-title {
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-title a { color: #222; text-decoration: none; }

.current-price { font-size: 16px; font-weight: 700; color: #d4af37; }
.old-price { font-size: 13px; color: #999; text-decoration: line-through; margin-left: 5px; }

/* Badges */
.badge-container { position: absolute; top: 10px; left: 10px; z-index: 2; }
.badge-discount { background: #ff4747; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

/* Mobile Optimization */
@media (max-width: 576px) {
    .product-details { padding: 10px; }
    .product-title { font-size: 12px; height: 35px; }
    .current-price { font-size: 14px; }
    .action-overlay { display: none; } /* Mobile-e overlay disturb kore */
}

.badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Badges er moddhe gap rakhar jonno */
}

.modern-badge {
    padding: 6px 14px;
    border-radius: 20px; /* Pill shape */
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle depth */
    display: inline-block;
    letter-spacing: 0.5px;
}

/* Discount Badge Styling (Vibrant Red Gradient) */
.discount-badge {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    /* Alt: background: #e31a2c; */
}

/* Hot/New Badge Styling (Gold/Orange) */
.hot-badge {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    /* Alt: background: #f57f17; */
}

/* Specific state variations if needed */
.hot-badge.is-hot {
     background: linear-gradient(135deg, #d90429 0%, #ef233c 100%);
}

.hot-badge.is-new {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Container Spacing */
.pagination_style1 {
    gap: 8px; /* Button gulor majhe faka */
}

/* Base Style for Each Page Item */
.pagination_style1 .page-item {
    margin: 0;
}

.pagination_style1 .page-link {
    border: none;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    width: 42px; /* Fixed width & height for perfect circle/square */
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important; /* Premium rounded look */
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 14px;
}

/* Hover Effect */
.pagination_style1 .page-link:hover {
    background: #222;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Active Page Style (Premium Gold Gradient) */
.pagination_style1 .page-item.active .page-link {
    background: linear-gradient(270deg, #d4af37, #f7e58e, #c19b2f);
    border: none;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(193, 155, 47, 0.4);
    border-radius: 10px !important;
}

/* Disabled State */
.pagination_style1 .page-item.disabled .page-link {
    background: #eeeeee;
    color: #bbbbbb;
    opacity: 0.6;
    box-shadow: none;
}

/* Ellipsis (...) Style */
.pagination_style1 .page-item.disabled span.page-link {
    background: transparent;
    border: none;
    letter-spacing: 2px;
}

/* Previous & Next Arrow Special Touch */
.pagination_style1 .page-item:first-child .page-link,
.pagination_style1 .page-item:last-child .page-link {
    font-size: 18px;
    background: #fff;
    border: 1px solid #eee;
}

.premium-description-section {
    padding: 60px 0;
    background-color: #fcfcfc; /* Very light premium gray */
}

.description-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Luxury Side Border Accent */
.description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #d4af37, #f7e58e, #c19b2f);
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    color: #c19b2f;
    margin-bottom: 15px;
    display: block;
}

.category-main-title {
    font-family: 'Playfair Display', serif; /* Jodi google font thake */
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-weight: 400;
}

/* Professional touch for description elements */
.description-content p {
    margin-bottom: 20px;
}

.description-content b, .description-content strong {
    color: #000;
    font-weight: 700;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin-top: 30px;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .description-card {
        padding: 30px 20px;
    }
    .category-main-title {
        font-size: 1.8rem;
    }
    .description-content {
        font-size: 1rem;
    }
}
.mfp-ajax-holder .mfp-content .ajax_quick_view {
    border-radius: 10px;
}
