/* Products Page Styles */
.shop_sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sidebar_widget {
    margin-bottom: 25px;
}

.sidebar_widget:last-child {
    margin-bottom: 0;
}

.widget_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.sidebar_widget ul li {
    margin-bottom: 8px;
}

.sidebar_widget ul li a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar_widget ul li a:hover,
.sidebar_widget ul li a.active {
    color: #007bff;
}

.sidebar_widget ul li a .count {
    font-size: 12px;
    color: #999;
}

.shop_listing_header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.view_switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.view_switcher span {
    font-weight: 500;
    color: #666;
    margin-right: 8px;
}

.view_switcher .btn {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

.view_switcher .btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.view_switcher .btn.active {
    background: #D97706;
    border-color: #D97706;
    color: white;
}

/* Product Grid Styles */
.shop_item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.shop_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.shop_item .thumb {
    position: relative;
    overflow: hidden;
    padding-bottom: 2px;
    background: #f8f9fa;
}

.shop_item .thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.shop_item:hover .thumb img {
    transform: scale(1.05);
}

/* Offer Badge Styles */
.offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.discount-percentage {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Button Styles */
.shop_item_cart_btn {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 10;
}

.shop_item_cart_btn .btn {
    font-size: 9px;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 2px solid #fff;
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.shop_item_cart_btn .btn:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 3px 12px rgba(217, 119, 6, 0.4);
    transform: translateY(-1px);
}

/* Small Style Variations */
.shop_item.small_style .shop_item_cart_btn {
    bottom: 6px;
    width: auto;
}

.shop_item.small_style .shop_item_cart_btn .btn {
    font-size: 8px;
    padding: 3px 8px;
    border-radius: 12px;
}

/* Product Details */
.shop_item .details {
    padding: 1px;
    background: white;
}

.shop_item .details .title {
    margin-bottom: 10px;
}

.shop_item .details .title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop_item .details .title a:hover {
    color: #D97706;
}

/* Creative Single Line Pricing */
.shop_item .si_footer {
    margin-top: 10px;
}

.shop_item .price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.shop_item .current-price {
    font-size: 16px;
    font-weight: 700;
    color: #D97706;
    background: linear-gradient(135deg, #D97706, #FDE68A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.shop_item .original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    white-space: nowrap;
}

.shop_item .discount-amount {
    font-size: 11px;
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(220, 53, 69, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Professional Product Detail Styling */
.product-info {
    padding: 20px;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-description {
    margin: 15px 0;
}

.product-description p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    font-weight: 400;
}

/* Professional Product Detail Page Pricing */
.product-price {
    margin: 20px 0;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-container .current-price {
    font-size: 24px;
    font-weight: 600;
    color: #D97706; /* Deep saffron orange */
    margin: 0;
    line-height: 1.2;
}

.price-details {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.price-details .original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.discount-badge {
    color: #666;
    font-weight: 400;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}

.save-text {
    font-size: 12px;
    color: #dc3545; /* Red text */
    font-weight: 500;
    background: #ffe6e6; /* Light pink/red background */
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid #ffcccc; /* Light red border */
    box-shadow: 0 1px 2px rgba(220, 53, 69, 0.1);
}

/* Professional and Creative Variation Section */
.variation-selector {
    margin: 25px 0;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.variation-selector label {
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-size: 16px;
    color: #333;
    text-transform: capitalize;
}

.variation-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.variation-option {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    min-width: 120px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.variation-option:hover {
    border-color: #D97706;
    background: #FDE68A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217,119,6,0.15);
}

.variation-option.selected {
    border-color: #D97706;
    background: #D97706;
    color: white;
    box-shadow: 0 4px 15px rgba(217,119,6,0.25);
}

.variation-option img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto 8px auto;
}

.variation-option:hover img {
    border-color: #D97706;
    transform: scale(1.05);
}

.variation-option.selected img {
    border-color: white;
    transform: scale(1.1);
}

.variation-option .variation-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.variation-option .variation-price {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    display: block;
}

.variation-option.selected .variation-price {
    opacity: 1;
    color: #fff;
}

/* Professional Quantity Selector */
.quantity-selector {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector label {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin: 0;
    min-width: 80px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #D97706;
    color: white;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 80px;
    text-align: center;
    border: none;
    background: white;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    outline: none;
}

.quantity-input:focus {
    background: #FDE68A;
}

/* Professional Add to Cart Button */
.product-actions {
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.add-to-cart-btn {
    width: auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, #D97706, #78350F);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(217,119,6,0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #78350F, #92400E);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217,119,6,0.4);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(217,119,6,0.3);
}

.add-to-cart-btn i {
    font-size: 18px;
}

.add-to-cart-btn span {
    font-weight: 700;
}

/* Creative Product Tabs */
.product-tabs {
    margin-top: 60px;
    background: linear-gradient(135deg, #FDE68A, #FEF3C7);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.1);
    border: 2px solid #D97706;
}

.product-tabs .nav-tabs {
    border: none;
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-tabs .nav-item {
    margin: 0;
}

.product-tabs .nav-link {
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D97706, #78350F);
    transition: left 0.3s ease;
    z-index: -1;
}

.product-tabs .nav-link:hover {
    color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.product-tabs .nav-link.active {
    background: linear-gradient(135deg, #D97706, #78350F);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    transform: translateY(-2px);
}

.product-tabs .nav-link.active::before {
    left: 0;
}

.product-tabs .tab-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.product-tabs .tab-pane {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Description Content Styling */
.description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.description-content p {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 8px;
    border-left: 4px solid #D97706;
}

/* Features Content Styling */
.features-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.features-content p {
    margin-bottom: 15px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 8px;
    border-left: 4px solid #D97706;
    position: relative;
}

.features-content p::before {
    content: '✓';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    background: #D97706;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* No Content Message Styling */
.no-content-message {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 12px;
    border: 2px dashed #D97706;
}

.no-content-message i {
    font-size: 48px;
    color: #D97706;
    margin-bottom: 20px;
    display: block;
}

.no-content-message p {
    font-size: 16px;
    color: #78350F;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

/* Specifications Styling */
.specs-group {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #D97706;
}

.specs-group h5 {
    color: #78350F;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D97706;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.specs-table th,
.specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
}

.specs-table th {
    background: linear-gradient(135deg, #D97706, #78350F);
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table td {
    background: white;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.specs-table tr:hover td {
    background: #FEF3C7;
    transition: background 0.3s ease;
}

.specs-table tr:last-child td,
.specs-table tr:last-child th {
    border-bottom: none;
}

/* Toast Alert Styling */
.toast-alert {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 16px 20px;
    margin-bottom: 10px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid #D97706;
}

.toast-alert.success {
    border-left-color: #D97706;
}

.toast-alert.error {
    border-left-color: #dc3545;
}

.toast-alert .toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-alert .toast-content i {
    font-size: 18px;
    color: #D97706;
}

.toast-alert.success .toast-content i {
    color: #D97706;
}

.toast-alert.error .toast-content i {
    color: #dc3545;
}

.toast-alert .toast-content span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.toast-alert .toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.toast-alert .toast-close:hover {
    background: #f8f9fa;
    color: #666;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Disabled button styling */
.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Variation Selector - Updated for inline design */
.variation-selector {
    margin: 25px 0;
}

.variation-selector label {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

.variation-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.variation-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.variation-option:hover {
    border-color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217,119,6,0.15);
}

.variation-option.selected {
    border-color: #D97706;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    box-shadow: 0 4px 15px rgba(217,119,6,0.2);
}

.variation-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.variation-price {
    font-size: 14px;
    font-weight: 600;
    color: #D97706;
    line-height: 1.2;
}

/* Professional Product Features */
.product-features {
    margin: 20px 0;
}

.product-features h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.features-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Pagination */
.pagination_wrapper {
    margin-top: 40px;
}

.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop_item .thumb img {
        height: 180px;
    }
    
    .shop_item .details {
        padding: 12px;
    }
    
    .shop_item .details .title a {
        font-size: 13px;
    }
    
    .shop_item .current-price {
        font-size: 14px;
    }
    
    .shop_item .original-price {
        font-size: 12px;
    }
    
    .shop_item .discount-amount {
        font-size: 10px;
    }
    
    .price-container .current-price {
        font-size: 24px;
    }
    
    .price-details .original-price {
        font-size: 16px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-description p {
        font-size: 16px;
    }
    
    .variation-option {
        min-width: 100px;
        padding: 10px 15px;
    }
    
    .variation-option img {
        width: 30px;
        height: 30px;
    }
}

/* List View Styles */
.list-view .shop_item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
}

.list-view .shop_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #D97706;
}

.list-view .shop_item .thumb {
    width: 140px;
    flex-shrink: 0;
    margin-right: 25px;
    padding-bottom: 0;
    position: relative;
}

.list-view .shop_item .thumb img {
    height: 120px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.list-view .shop_item .details {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-view .shop_item .title {
    margin-bottom: 8px;
}

.list-view .shop_item .title a {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}

.list-view .shop_item .title a:hover {
    color: #D97706;
}

.list-view .shop_item .si_footer {
    margin-top: 0;
}

.list-view .shop_item .price {
    gap: 15px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
}

.list-view .shop_item .price .current-price,
.list-view .shop_item .price .original-price,
.list-view .shop_item .price .discount-amount {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Ensure discount amount is properly styled in table view */
.list-view .shop_item .price .discount-amount {
    font-size: 11px;
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(220, 53, 69, 0.2);
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Debug: Ensure all price elements are visible in table view */
.list-view .shop_item .price * {
    display: inline-block !important;
    visibility: visible !important;
}

/* Additional table view price styling to ensure proper display */
.list-view .shop_item .si_footer {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.list-view .shop_item .price {
    margin: 0;
    padding: 0;
}

/* Force table view price elements to display correctly */
.list-view .shop_item .price .current-price,
.list-view .shop_item .price .original-price,
.list-view .shop_item .price .discount-amount {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.list-view .shop_item .shop_item_cart_btn {
    position: static;
    transform: none;
    width: auto;
    margin-top: 0;
    margin-left: auto;
}

.list-view .shop_item .shop_item_cart_btn .btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.list-view .shop_item .shop_item_cart_btn .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop_listing_header .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .view_switcher {
        justify-content: center;
    }
    
    .list-view .shop_item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .list-view .shop_item .thumb {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .list-view .shop_item .thumb img {
        height: 150px;
    }
    
    .list-view .shop_item .shop_item_cart_btn {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .shop_item .price {
        justify-content: center;
        gap: 8px;
    }
    
    .shop_item .price .discount-amount {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    /* Ensure table view price elements are properly displayed on mobile */
    .list-view .shop_item .price {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .list-view .shop_item .price .discount-amount {
        font-size: 10px;
        padding: 2px 6px;
    }
}

@media (max-width: 576px) {
    .shop_listing_header {
        padding: 12px 15px;
    }
    
    .view_switcher .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .shop_item .price {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
    
    /* Make buttons even smaller on mobile */
    .shop_item_cart_btn .btn {
        font-size: 8px;
        padding: 3px 8px;
        border-radius: 12px;
    }
    
    .shop_item_cart_btn {
        bottom: 6px;
    }
}

/* Professional Category Badges */
.product-category {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-badge {
    background: #D97706;
    color: white;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 7px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(217, 119, 6, 0.2);
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: #78350F;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

/* SKU Display */
.product-sku {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sku-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.sku-code {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Dynamic Category Slider - Image Height Consistency */
.best_item_slider_shop_lising_page .shop_item {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.best_item_slider_shop_lising_page .shop_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.best_item_slider_shop_lising_page .shop_item .thumb {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    height: 280px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.best_item_slider_shop_lising_page .shop_item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.best_item_slider_shop_lising_page .shop_item:hover .thumb img {
    transform: scale(1.05);
}

.best_item_slider_shop_lising_page .shop_item .details {
    padding: 15px;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.best_item_slider_shop_lising_page .shop_item .details .title {
    margin-bottom: 10px;
    min-height: 40px; /* Ensure consistent title height */
    display: flex;
    align-items: center;
}

.best_item_slider_shop_lising_page .shop_item .details .title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.best_item_slider_shop_lising_page .shop_item .si_footer {
    margin-top: auto;
}

.best_item_slider_shop_lising_page .shop_item .price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.best_item_slider_shop_lising_page .shop_item .current-price {
    font-size: 16px;
    font-weight: 700;
    color: #D97706;
}

.best_item_slider_shop_lising_page .shop_item .original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.best_item_slider_shop_lising_page .shop_item .save-amount {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}

/* Offer Badge for Dynamic Slider */
.best_item_slider_shop_lising_page .shop_item .offer-badge {
    position: absolute;
    top: 10px;
    left: 10px; /* Changed from right to left for better visibility */
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Add to Cart Button for Dynamic Slider */
.best_item_slider_shop_lising_page .shop_item .shop_item_cart_btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.best_item_slider_shop_lising_page .shop_item:hover .shop_item_cart_btn {
    opacity: 1;
}

.best_item_slider_shop_lising_page .shop_item .shop_item_cart_btn .btn {
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 2px solid #fff;
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.best_item_slider_shop_lising_page .shop_item .shop_item_cart_btn .btn:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 3px 12px rgba(217, 119, 6, 0.4);
    transform: translateY(-1px);
}

/* Responsive adjustments for the dynamic slider */
@media (max-width: 768px) {
    .best_item_slider_shop_lising_page .shop_item .thumb {
        height: 220px; /* Smaller height on mobile */
    }
    
    .best_item_slider_shop_lising_page .shop_item .details .title a {
        font-size: 13px;
        min-height: 35px;
    }
    
    .best_item_slider_shop_lising_page .shop_item .current-price {
        font-size: 14px;
    }
    
    .best_item_slider_shop_lising_page .shop_item .original-price {
        font-size: 12px;
    }
    
    .best_item_slider_shop_lising_page .shop_item .save-amount {
        font-size: 9px;
        padding: 2px 6px;
    }
}

@media (max-width: 576px) {
    .best_item_slider_shop_lising_page .shop_item .thumb {
        height: 200px; /* Even smaller height on small mobile */
    }
    
    .best_item_slider_shop_lising_page .shop_item .details {
        padding: 12px;
    }
    
    .best_item_slider_shop_lising_page .shop_item .shop_item_cart_btn .btn {
        font-size: 9px;
        padding: 5px 10px;
    }
}

/* Dynamic Call to Action Section */
.deliver-divider-home6 .online_delivery {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    border-radius: 12px;
    padding: 20px !important;
    position: relative;
    overflow: hidden;
}

.deliver-divider-home6 .online_delivery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.deliver-divider-home6 .online_delivery .title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.deliver-divider-home6 .online_delivery .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

.deliver-divider-home6 .online_delivery .cta-button {
    display: inline-block;
    background: white;
    color: #D97706;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid transparent;
}

.deliver-divider-home6 .online_delivery .cta-button:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive adjustments for call to action */
@media (max-width: 768px) {
    .deliver-divider-home6 .online_delivery {
        padding: 16px !important;
    }
    
    .deliver-divider-home6 .online_delivery .title {
        font-size: 16px;
    }
    
    .deliver-divider-home6 .online_delivery .subtitle {
        font-size: 13px;
    }
    
    .deliver-divider-home6 .online_delivery .cta-button {
        font-size: 13px;
        padding: 6px 16px;
    }
}

@media (max-width: 576px) {
    .deliver-divider-home6 .online_delivery {
        padding: 14px !important;
    }
    
    .deliver-divider-home6 .online_delivery .title {
        font-size: 15px;
    }
    
    .deliver-divider-home6 .online_delivery .subtitle {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .deliver-divider-home6 .online_delivery .cta-button {
        font-size: 12px;
        padding: 5px 14px;
    }
}

/* Dynamic 2 Banner Home About Section */
.banner_one.home1_style.color2 {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.banner_one.home1_style.color2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.banner_one.home1_style.color2 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner_one.home1_style.color2:hover img {
    transform: scale(1.05);
}

/* Banner Content Overlay */
.banner-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    padding: 25px 20px 20px;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.banner_one.home1_style.color2:hover .banner-content-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
    transform: translateY(-5px);
}

.banner-content-overlay .banner-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.banner-content-overlay .banner-description {
    font-size: 14px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.banner-content-overlay .banner-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.banner-content-overlay .banner-cta-btn:hover {
    background: transparent;
    color: #D97706;
    border-color: #D97706;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

/* Responsive adjustments for banner section */
@media (max-width: 768px) {
    .banner_one.home1_style.color2 img {
        height: 200px;
    }
    
    .banner-content-overlay {
        padding: 20px 15px 15px;
    }
    
    .banner-content-overlay .banner-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .banner-content-overlay .banner-description {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .banner-content-overlay .banner-cta-btn {
        font-size: 12px;
        padding: 6px 16px;
    }
}

@media (max-width: 576px) {
    .banner_one.home1_style.color2 img {
        height: 180px;
    }
    
    .banner-content-overlay {
        padding: 18px 12px 12px;
    }
    
    .banner-content-overlay .banner-title {
        font-size: 15px;
        margin-bottom: 5px;
    }
    
    .banner-content-overlay .banner-description {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .banner-content-overlay .banner-cta-btn {
        font-size: 11px;
        padding: 5px 14px;
    }
}

/* Newsletter Subscription Styling */
.footer_mailchimp_form {
    position: relative;
}

.footer_mailchimp_form .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer_mailchimp_form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer_mailchimp_form .form-control:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    outline: none;
}

.footer_mailchimp_form .btn-thm {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.footer_mailchimp_form .btn-thm:hover {
    background: transparent;
    border-color: #D97706;
    color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.footer_mailchimp_form .btn-thm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Newsletter Messages */
#newsletterMessage {
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

#newsletterMessage.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

#newsletterMessage.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Animation for messages */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for newsletter */
@media (max-width: 768px) {
    .footer_mailchimp_form .form-control {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .footer_mailchimp_form .btn-thm {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    #newsletterMessage {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .footer_mailchimp_form .form-control {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .footer_mailchimp_form .btn-thm {
        padding: 8px 18px;
        font-size: 12px;
    }
}

.nns p{
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: #fff;
}




 