/* Global Product Card Styles */
.product-card-modern {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.10), 0 0 0 1px rgba(255,107,53,0.15);
    border-color: transparent;
}

.product-card-modern .product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.product-card-modern .product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card-modern:hover .product-img-wrapper img {
    transform: scale(1.06);
}

/* Product Labels - hidden on product cards due to layout issues */
.product-card-modern .product-labels,
.product-card-modern .product-labels-outside {
    display: none !important;
}

.product-card-modern .caption {
    padding: 18px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.product-card-modern .name a,
.product-layout .name a,
.product-thumb .name a,
.product-grid .name a,
.products-list .name a {
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    max-height: calc(1.45em * 2) !important;
}

.product-card-modern .name a:hover {
    color: #ff6b35 !important;
}

.product-card-modern .price {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #ff6b35;
    letter-spacing: -0.3px;
}

.product-card-modern .price-new {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ff6b35 !important;
}

.product-card-modern .price-old {
    color: #b0b0b0 !important;
    text-decoration: line-through !important;
    font-size: 14px !important;
    margin-left: 6px !important;
    font-weight: 400 !important;
}

.product-card-modern .price-normal {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1f2937 !important;
}

.product-card-modern .rating {
    margin-top: 6px;
    color: #fbbf24;
    font-size: 13px;
}
.product-card-modern .rating .fa-star-o { color: #e5e7eb; }

/* Button Group Styling */
.product-card-modern .buttons-wrapper {
    margin-top: auto;
    padding-top: 12px;
}

.product-card-modern .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.product-card-modern .btn-cart {
    background: #ff6b35 !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    transition: all 0.25s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(255,107,53,0.2) !important;
}

.product-card-modern .btn-cart:hover {
    background: #e85a26 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255,107,53,0.35) !important;
}

.product-card-modern .btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s !important;
    border: none !important;
    cursor: pointer;
    font-size: 14px !important;
}

.product-card-modern .btn-wishlist:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.product-card-modern .btn-compare:hover {
    background: #eff6ff !important;
    color: #3b82f6 !important;
}

/* Quickview button - disabled in settings, hidden completely */
.product-card-modern .quickview-button {
    display: none !important;
}
.product-card-modern .btn-quickview {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 10px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border: none !important;
}
.product-card-modern .btn-quickview:hover {
    background: #ff6b35 !important;
    color: #fff !important;
}

/* Force show buttons on product cards */
.main-products-style.product-grid .product-thumb .buttons-wrapper {
    display: block !important;
}
.main-products-style.product-grid .product-thumb .cart-group {
    display: flex !important;
}
.main-products-style.product-grid .product-thumb .btn-wishlist {
    display: flex !important;
}
.main-products-style.product-grid .product-thumb .btn-cart {
    height: auto !important;
}

/* Side Product Styles */
.side-product-modern {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #f0f0f0;
}

.side-product-modern:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #e0e0e0;
    transform: translateY(-2px);
}

.side-product-modern .image {
    width: 80px;
    flex-shrink: 0;
    margin-right: 15px;
}

.side-product-modern .image img {
    border-radius: 6px;
    width: 100%;
}

.side-product-modern .caption {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.side-product-modern .name a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    text-decoration: none;
    margin-bottom: 5px;
    display: block;
}

.side-product-modern .name a:hover {
    color: #ff6b35;
}

.side-product-modern .price {
    font-size: 15px;
    font-weight: 700;
    color: #ff6b35;
}

.side-product-modern .price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
}

.side-product-modern .rating {
    font-size: 11px;
    color: #ffc107;
    margin-bottom: 5px;
}

/* Banners Grid Enhancements */
.banners-grid .slide-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banners-grid .slide-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.banners-grid img {
    border-radius: 12px;
}

/* Home layout: Yatay banner - 2 (274) & Yatay banner - 2 Copy (276) */
.grid-row.grid-row-bottom-4,
.grid-row.grid-row-bottom-6 {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

.module-banners-274,
.module-banners-276 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.module-banners-274 .banners-grid,
.module-banners-276 .banners-grid {
    max-width: 92% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.module-banners-274 .banners-grid img,
.module-banners-276 .banners-grid img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

@media (max-width: 767px) {
    .grid-row.grid-row-bottom-4,
    .grid-row.grid-row-bottom-6 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .module-banners-274 .banners-grid,
    .module-banners-276 .banners-grid {
        max-width: 96% !important;
    }
}

/* Slider Enhancements */
.slider-wrapper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.6;
    transition: all 0.3s;
}

.slider-wrapper .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 5px;
    background: #ff6b35 !important;
    opacity: 1;
}

.slider-wrapper .swiper-button-prev,
.slider-wrapper .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.slider-wrapper .swiper-button-prev:after,
.slider-wrapper .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

.slider-wrapper .swiper-button-prev:hover,
.slider-wrapper .swiper-button-next:hover {
    background-color: #ff6b35;
    color: #fff;
}

/* Category Card Styles */
.category-thumb {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid #eee;
}

.category-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #ff6b35;
}

.category-thumb .image {
    overflow: hidden;
}

.category-thumb .image img {
    transition: transform 0.5s ease;
    width: 100%;
}

.category-thumb:hover .image img {
    transform: scale(1.08);
}

.category-thumb .caption {
    padding: 15px;
    text-align: center;
}

.category-thumb .name a {
    font-weight: 700;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.category-thumb .name a:hover {
    color: #ff6b35;
}

.category-thumb .description {
    color: #777;
    margin-top: 5px;
    font-size: 13px;
}

/* Blog Post Card Styles */
.post-layout .post-thumb {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-layout .post-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #ff6b35;
}

.post-layout .image {
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.post-layout .image img {
    transition: transform 0.5s ease;
    width: 100%;
}

.post-layout .post-thumb:hover .image img {
    transform: scale(1.05);
}

.post-layout .caption {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-layout .name {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.post-layout .name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.post-layout .name a:hover {
    color: #ff6b35;
}

.post-layout .description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.post-layout .post-stats {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

.post-layout .btn-read-more {
    display: inline-block;
    color: #ff6b35;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-top: 10px;
}


