/* You can add your own custom css here. */

.btn-primary {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #e65a2e;
    border-color: #e65a2e;
}

.section-bg-light {
    background-color: #f8f9fa; /* A light grey background */
    padding-top: 50px;
    padding-bottom: 50px;
}

.section-title-centered {
    text-align: center;
    margin-bottom: 40px;
}

.empty-gallery-promo {
    text-align: center;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background-color: #fff;
}

.empty-gallery-promo .promo-icon {
    font-size: 48px;
    color: #ff6b35;
    margin-bottom: 1.5rem;
}

.empty-gallery-promo h4 {
    font-size: 24px;
    margin-bottom: 1rem;
}

.empty-gallery-promo p {
    font-size: 16px;
    margin-bottom: 2rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

/* Fix for small product layout */
.small_product .single_product {
    display: flex;
    align-items: center; /* Vertically align items in the middle */
}

.small_product .single_product .product_content {
    flex-grow: 1; /* Allow content to take up available space */
}

.small_product .single_product .product_thumb {
    flex-shrink: 0; /* Prevent image from shrinking */
    width: 80px; /* Or any specific width you prefer for the thumb */
    margin-left: 15px; /* Add some space between text and image */
}

.small_product .product_meta {
    margin: 5px 0; /* Add some vertical spacing */
}

.small_product .product_meta span {
    display: block; /* Each item on a new line */
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* Constrain the height of the large sample product image */
.sample_product .product_thumb {
    max-height: 280px;
    overflow: hidden; /* Hide any part of the image that overflows */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample_product .product_thumb img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Equal height for product cards - updated */
.product_area .single_product .product_name h3 {
    min-height: 48px; /* Adjusted for two lines of text + breathing room */
    margin-bottom: 1px;
}

/* Equal height for product cards */
#special-offers-carousel .product_item .product_content h4,
#new-products-carousel .product_item .product_content h4,

/* Home Page Product Box Styling (Manufacturer Style) */
.product_area .single_product {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.product_area .single_product:hover {
    border-color: #dd1c37;
    box-shadow: 0 8px 25px rgba(221, 28, 55, 0.15);
    transform: translateY(-2px);
}

.product_area .single_product .product_name.grid_name {
    margin-bottom: 15px;
}

.product_area .single_product .product_name.grid_name h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product_area .single_product .product_name.grid_name h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product_area .single_product .product_name.grid_name h3 a:hover {
    color: #dd1c37;
}

.product_area .single_product .product_name.grid_name p.manufacture_product {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}

.product_area .single_product .product_name.grid_name p.manufacture_product a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product_area .single_product .product_name.grid_name p.manufacture_product a:hover {
    color: #dd1c37;
}

.product_area .single_product .product_thumb {
    position: relative;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.product_area .single_product .product_thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product_area .single_product:hover .product_thumb img {
    transform: scale(1.05);
}

.product_area .single_product .product_content.grid_content {
    padding: 0;
}

.product_area .single_product .product_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
}

.product_area .single_product .price_box {
    flex: 1;
}

.product_area .single_product .price_box span {
    display: block;
    font-weight: 600;
}

.product_area .single_product .price_box .current_price {
    color: #dd1c37;
    font-size: 18px;
}

.product_area .single_product .price_box .regular_price {
    color: #333;
    font-size: 18px;
}

.product_area .single_product .price_box .old_price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    margin-top: 2px;
}

.product_area .single_product .add_to_cart a {
    background: #dd1c37;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.product_area .single_product .add_to_cart a:hover {
    background: #b91c3a;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(221, 28, 55, 0.3);
}

.product_area .single_product .add_to_cart .out-of-stock {
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: not-allowed;
}

.product_area .single_product .add_to_cart .out-of-stock:hover {
    background: #5a6268;
    transform: none;
    box-shadow: none;
}

/* Special Offers and New Products Carousel Styling */
#special-offers-carousel .single_product,
#new-products-carousel .single_product {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
    margin: 0 5px;
}

#special-offers-carousel .single_product:hover,
#new-products-carousel .single_product:hover {
    border-color: #dd1c37;
    box-shadow: 0 8px 25px rgba(221, 28, 55, 0.15);
    transform: translateY(-2px);
}

#special-offers-carousel .single_product .product_name.grid_name,
#new-products-carousel .single_product .product_name.grid_name {
    margin-bottom: 15px;
}

#special-offers-carousel .single_product .product_name.grid_name h3,
#new-products-carousel .single_product .product_name.grid_name h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#special-offers-carousel .single_product .product_name.grid_name h3 a,
#new-products-carousel .single_product .product_name.grid_name h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

#special-offers-carousel .single_product .product_name.grid_name h3 a:hover,
#new-products-carousel .single_product .product_name.grid_name h3 a:hover {
    color: #dd1c37;
}

#special-offers-carousel .single_product .product_thumb,
#new-products-carousel .single_product .product_thumb {
    position: relative;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}

#special-offers-carousel .single_product .product_thumb img,
#new-products-carousel .single_product .product_thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

#special-offers-carousel .single_product:hover .product_thumb img,
#new-products-carousel .single_product:hover .product_thumb img {
    transform: scale(1.05);
}

#special-offers-carousel .single_product .add_to_cart a,
#new-products-carousel .single_product .add_to_cart a {
    background: #dd1c37;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

#special-offers-carousel .single_product .add_to_cart a:hover,
#new-products-carousel .single_product .add_to_cart a:hover {
    background: #b91c3a;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(221, 28, 55, 0.3);
}
#featured-products-carousel .product_item .product_content h4 {
    min-height: 40px;
    margin-bottom: 5px;
}

/* Profile Dashboard Styles */
.account_dashboard {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

/* Dashboard Sidebar */
.dashboard_sidebar {
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 100%);
    color: white;
    padding: 0;
    height: 100%;
    min-height: 600px;
}

.user_profile_card {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user_avatar {
    margin-bottom: 15px;
}

.user_avatar i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.user_info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.user_info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.member_since {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* Dashboard Navigation */
.dashboard_nav {
    padding: 20px 0;
}

.dashboard_nav .nav-item {
    margin-bottom: 5px;
}

.dashboard_nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    border: none;
    background: transparent;
}

.dashboard_nav .nav-link:hover,
.dashboard_nav .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.dashboard_nav .nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.dashboard_nav .nav-link span {
    flex: 1;
    font-weight: 500;
}

.dashboard_nav .nav-link .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: auto;
}

.dashboard_nav .nav-link .credit-badge {
    background: #27ae60;
    font-weight: 600;
}

.logout-link {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.logout-link:hover {
    background: rgba(231, 76, 60, 0.2) !important;
    color: #e74c3c !important;
}

/* Tab Content */
.dashboard_content {
    padding: 30px;
    background: #fff;
}

.tab_header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.tab_header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.tab_header h3 i {
    margin-right: 12px;
    color: #ff6b35;
}

.tab_header p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

/* Orders Grid */
.orders_grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.order_card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.order_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.order_info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.order_date {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.order_summary {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.summary_item {
    display: flex;
    flex-direction: column;
}

.summary_item .label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 2px;
}

.summary_item .value {
    font-weight: 600;
    color: #2c3e50;
}

.order_actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Tickets Grid */
.tickets_grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.ticket_card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ticket_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ticket_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ticket_info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.ticket_id {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.ticket_meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.meta_item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.meta_item i {
    margin-right: 8px;
    color: #ff6b35;
}

.create_ticket_section {
    margin-top: 30px;
    text-align: center;
}

/* Store Credit Styles */
.credit_summary_card {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credit_balance {
    text-align: center;
}

.balance_amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.balance_amount .currency {
    font-size: 24px;
    font-weight: 300;
    margin-right: 5px;
}

.balance_amount .amount {
    font-size: 48px;
    font-weight: 700;
}

.balance_label {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.credit_stats {
    display: flex;
    gap: 30px;
}

.stat_item {
    text-align: center;
}

.stat_value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat_label {
    font-size: 14px;
    opacity: 0.8;
}

.credit_history h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.credit_transactions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction_item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.transaction_item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.transaction_icon {
    margin-right: 15px;
}

.transaction_icon i {
    font-size: 20px;
}

.transaction_details {
    flex: 1;
}

.transaction_details h5 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.transaction_date {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 5px;
}

.transaction_details small {
    color: #ff6b35;
}

.transaction_amount {
    text-align: right;
}

.transaction_amount .amount {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.transaction_amount .amount.positive {
    color: #27ae60;
}

.transaction_amount .amount.negative {
    color: #e74c3c;
}

.transaction_amount .expiry {
    color: #6c757d;
    font-size: 12px;
}

/* Reviews Grid */
.reviews_grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.review_card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.product_info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product_info h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.product_info h4 a:hover {
    color: #ff6b35;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating i {
    color: #ffc107;
    font-size: 14px;
}

.rating i.filled {
    color: #ffc107;
}

.rating i:not(.filled) {
    color: #e9ecef;
}

.rating_text {
    font-size: 14px;
    color: #6c757d;
    margin-left: 5px;
}

.review_content {
    margin-top: 15px;
}

.review_comment {
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review_date {
    color: #6c757d;
    font-size: 14px;
}

/* Addresses Grid */
.addresses_grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.address_card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
}

.address_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.address_card.default_address {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f8fff9 0%, #f0fff4 100%);
}

.address_title_section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.default_badge {
    background: #27ae60;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.address_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.address_header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.address_actions {
    display: flex;
    gap: 8px;
}

.contact_info {
    margin-bottom: 15px;
}

.contact_info p {
    margin-bottom: 5px;
    color: #495057;
}

.contact_info p strong {
    color: #2c3e50;
}

.contact_info p i {
    color: #ff6b35;
    margin-right: 8px;
}

.address_details {
    margin-bottom: 15px;
}

.address_details p {
    color: #495057;
    margin-bottom: 3px;
    line-height: 1.5;
}

.address_actions_bottom {
    text-align: center;
}

.add_address_section {
    margin-top: 30px;
    text-align: center;
}

/* Account Forms */
.account_forms {
    max-width: 800px;
}

.form_section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form_section h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.form_section h4 i {
    margin-right: 12px;
    color: #ff6b35;
}

.modern_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form_group {
    display: flex;
    flex-direction: column;
}

.form_group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form_group .required {
    color: #e74c3c;
}

.form_group input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form_group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.checkbox_group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox_label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.checkbox_label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox_label input[type="checkbox"]:checked + .checkmark {
    background: #ff6b35;
    border-color: #ff6b35;
}

.checkbox_label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.form_text {
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
}

.form_actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

/* Empty States */
.empty_state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.empty_icon {
    margin-bottom: 20px;
}

.empty_icon i {
    font-size: 64px;
    color: #6c757d;
    opacity: 0.5;
}

.empty_state h4 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.empty_state p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard_sidebar {
        margin-bottom: 20px;
        min-height: auto;
    }
    
    .user_profile_card {
        padding: 20px;
    }
    
    .user_avatar i {
        font-size: 48px;
    }
    
    .user_info h4 {
        font-size: 16px;
    }
    
    .dashboard_content {
        padding: 20px;
    }
    
    .tab_header h3 {
        font-size: 20px;
    }
    
    .orders_grid,
    .tickets_grid,
    .reviews_grid,
    .addresses_grid {
        grid-template-columns: 1fr;
    }
    
    .credit_summary_card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .credit_stats {
        justify-content: center;
    }
    
    .form_row {
        grid-template-columns: 1fr;
    }
    
    .order_header,
    .ticket_header,
    .review_header,
    .address_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order_actions,
    .ticket_actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .transaction_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .transaction_amount {
        text-align: left;
        width: 100%;
    }
    
        .address_header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .address_title_section {
        justify-content: space-between;
    }

    .address_actions {
        flex-direction: column;
        width: 100%;
    }

    .address_actions .btn {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .dashboard_content {
        padding: 15px;
    }
    
    .form_section {
        padding: 20px;
    }
    
    .credit_summary_card {
        padding: 20px;
    }
    
    .balance_amount .amount {
        font-size: 36px;
    }
    
    .order_card,
    .ticket_card,
    .review_card,
    .address_card {
        padding: 15px;
    }
}

/*
================================
15. Quick View Modal Styles
================================
*/
.quick-view-image {
    position: relative;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    overflow: hidden;
}

.quick-view-image .label_product {
    top: 15px;
    left: 15px;
}

.quick-view-image img {
    width: 100%;
    height: auto;
}

.modal_right {
    padding-left: 15px;
}

.quick-view-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.quick-view-manufacturer {
    font-size: 14px;
    margin-bottom: 15px;
    color: #777;
}

.quick-view-manufacturer a {
    color: #555;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.quick-view-manufacturer a:hover {
    color: #c09578;
}

.quick-view-price {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #c09578;
}

.quick-view-price .old_price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.quick-view-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.quick-view-meta {
    margin-bottom: 20px;
    font-size: 14px;
}

.quick-view-meta .meta-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.quick-view-meta .meta-item strong {
    margin-right: 8px;
    color: #333;
}

.quick-view-meta .meta-item a {
    color: #c09578;
    transition: all 0.3s ease;
}
.quick-view-meta .meta-item a:hover {
    text-decoration: underline;
}


.quick-view-meta .stock-status {
    font-weight: 600;
}

.quick-view-meta .stock-status.in-stock {
    color: #28a745;
}
.quick-view-meta .stock-status.in-stock .fa {
    color: #28a745;
    margin-right: 5px;
}

.quick-view-meta .stock-status.out-of-stock {
    color: #dc3545;
}
.quick-view-meta .stock-status.out-of-stock .fa {
    color: #dc3545;
    margin-right: 5px;
}

.modal_add_to_cart form {
    display: flex;
    margin-bottom: 20px;
}

.quick-view-quantity {
    width: 80px;
    height: 45px;
    padding: 0 10px;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    margin-right: 10px;
    text-align: center;
}

.modal_add_to_cart .add-to-cart-btn {
    height: 45px;
    line-height: 45px;
    padding: 0 25px;
    background: #333;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
    border: none;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.modal_add_to_cart .add-to-cart-btn:hover {
    background: #c09578;
}

.modal_add_to_cart .add-to-cart-btn:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
}


.quick-view-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e1e1e1;
    padding-top: 15px;
}

.quick-view-links a {
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-view-links a:hover {
    color: #c09578;
}

.quick-view-links .add-to-wishlist-btn i {
    margin-right: 5px;
}

.quick-view-links .full-details-link i {
    margin-left: 5px;
}

/*
================================
16. Cart Page Styles
================================
*/
/* Cart Summary Box */
.cart-summary {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    padding: 30px;
    border-radius: 5px;
}
.cart-summary h3 {
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}
.cart-summary .coupon_inner .cart_subtotal {
    border-top: 1px solid #e1e1e1;
    padding-top: 15px;
    margin-top: 15px;
}
.cart-summary .coupon_inner .cart_subtotal:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
.cart-summary .coupon_inner .cart_subtotal p {
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.cart-summary .cart_total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    border-top: 2px solid #ddd;
    margin-top: 15px;
    padding-top: 15px;
}

.cart-summary .cart_amount span {
    font-style: italic;
    font-size: 14px;
    color: #777;
    font-weight: 400;
}

.cart-summary .checkout_btn a {
    background: #28a745;
    text-align: center;
    display: block;
    width: 100%;
    color: #fff;
    padding: 12px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.3s ease;
}
.cart-summary .checkout_btn a:hover {
    background: #218838;
}

/* Coupon Form */
.coupon_code.left .coupon_inner input {
    margin-bottom: 15px;
}

.coupon_code.left .coupon_inner button {
    width: 100%;
}

/*
    Cart Page
*/

.table-cart .product-col {
    width: 40%;
}

.table-cart .product {
    display: flex;
    align-items: center;
}

.table-cart .product-media {
    max-width: 100px; 
}

.table-cart .product-media img {
    width: 100%;
    height: auto;
    border: 1px solid #e7e7e7;
}

.table-cart .product-title a {
    color: #333;
    font-weight: 500;
}

.table-cart .product-title a:hover {
    color: #c96;
}

/* Cleanup previous cart page styles that are no longer needed */
.cart-summary,
.page-header-bg,
.cart-actions,
.coupon-form {
    /* These styles were for the previous design and are no longer needed */
    /* They are kept here empty to override or can be removed if not conflicting */
}

/* Wishlist-style coupon and totals section */
.coupon_area {
    margin-top: 30px;
}

.coupon_code.left, .coupon_code.right {
    border: 1px solid #ddd;
    padding: 20px;
}

.coupon_code h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    text-transform: capitalize;
}

.coupon_inner p {
    margin-bottom: 10px;
}

.coupon_inner input {
    width: 100%;
    border: 1px solid #ddd;
    height: 40px;
    padding: 0 10px;
}

.coupon_inner button {
    background: #333;
    border: 0;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    height: 38px;
    line-height: 38px;
    padding: 0 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
    margin-top: 10px;
}

.coupon_inner button:hover {
    background: #c96;
}

.coupon_code.right .coupon_inner .cart_subtotal,
.coupon_code.right .coupon_inner .cart_total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.coupon_code.right .coupon_inner .cart_total {
    border-bottom: none;
    font-size: 16px;
    font-weight: bold;
}

.checkout_btn a {
    background: #c96;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 40px;
    margin-top: 20px;
    text-transform: uppercase;
    transition: .3s;
}

.checkout_btn a:hover {
    background: #333;
}

.cart-empty-page {
    padding: 5rem 0;
}

.cart-empty-page .icon-cart {
    font-size: 6rem;
    color: #ccc;
}

.cart-empty-page p {
    margin-bottom: 1.5rem;
    font-size: 18px;
}

/* Mini Cart Minimal Design */
.cart_item.minimal {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.cart_img.minimal {
    width: 50px; /* Smaller image width */
    height: 50px;
    margin-right: 10px;
}

.cart_img.minimal img {
    max-width: 100%;
    height: auto;
}

.cart_info {
    flex-grow: 1;
}

.cart_info a {
    font-size: 14px;
    line-height: 1.3;
}

.cart_info a .quantity {
    font-weight: 600;
    margin-right: 5px;
}

.cart_info .price_cart {
    font-size: 12px;
    display: block; /* Ensure price appears on a new line for clarity */
    margin-top: 3px;
}

.cart_remove {
    margin-left: 10px;
}

/*
================================
Cart Page Modern Design
================================
*/

/* General Cart Styles */
.table_desc table thead th {
    text-align: center;
}
.table_desc table tbody td {
    vertical-align: middle;
    text-align: center;
}
.product_name {
    text-align: left !important;
}
.product-price .old-price,
.product_total .old-total {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9em;
    display: block;
}
.product-price .new-price,
.product_total .new-total {
    font-weight: bold;
    color: #c96; /* Or your theme's primary color */
}
.product_quantity input {
    text-align: center;
}
.discount-value {
    color: #28a745; /* Green for discount */
    font-weight: bold;
}
.no-discount {
    color: #888;
}
.old-total {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9em;
    display: block;
}
.new-total {
    font-weight: bold;
    color: #28a745;
}
.coupon-applied-row {
    background-color: #f8f9fa;
    border-left: 3px solid #28a745;
}

/* Modern Coupon Card Design */
.coupon-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #dee2e6;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 20px;
}

.coupon-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.coupon-header {
    background: #2c3e50;
    color: white;
    padding: 18px 25px 16px;
    border-bottom: 3px solid #e74c3c;
}

.coupon-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ecf0f1;
}

.coupon-title i {
    font-size: 1.1rem;
    color: #e74c3c;
}

.coupon-body {
    padding: 25px;
}

/* Applied Coupon State */
.applied-coupon {
    text-align: center;
}

.coupon-success {
    background: linear-gradient(90deg, #e8f5e8, #f0f8f0);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
    margin-bottom: 15px;
}

.success-icon {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 10px;
}

.success-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.success-content p {
    color: #27ae60;
    font-weight: 500;
    margin-bottom: 8px;
}

.savings-amount {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.remove-coupon-btn {
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.remove-coupon-btn:hover {
    background: #c0392b;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Coupon Input State */
.coupon-input {
    text-align: center;
}

.coupon-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.coupon-description i {
    color: #3498db;
}

.input-group {
    display: flex;
    margin-bottom: 15px;
}

.coupon-input-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.coupon-input-field:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.apply-coupon-btn {
    background: #3498db;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.apply-coupon-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.coupon-tips {
    color: #6c757d;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.coupon-tips i {
    color: #f39c12;
}

/* Modern Cart Totals Design */
.cart-totals-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #dee2e6;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.cart-totals-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.cart-totals-header {
    background: #2c3e50;
    color: white;
    padding: 18px 25px 16px;
    position: relative;
    border-bottom: 3px solid #3498db;
}

.cart-totals-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ecf0f1;
}

.cart-totals-title i {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #3498db;
}

.savings-badge {
    position: absolute;
    top: 12px;
    right: 15px;
    background: #27ae60;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.cart-totals-body {
    padding: 25px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding: 0;
}

.total-line:last-child {
    margin-bottom: 0;
}

.total-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #495057;
}

.total-label i {
    width: 18px;
    text-align: center;
    color: #6c757d;
}

.total-amount {
    font-weight: 600;
    color: #212529;
    font-size: 1.1rem;
}

.coupon-line {
    background: linear-gradient(90deg, #e8f5e8, #f8f9fa);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #28a745;
}

.coupon-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coupon-name {
    font-weight: 600;
    color: #28a745;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.coupon-desc {
    color: #6c757d;
    font-size: 0.8rem;
}

.discount-amount {
    color: #28a745 !important;
    font-weight: 700;
    font-size: 1.2rem;
}

.savings-info {
    background: linear-gradient(90deg, #fff3cd, #fef7e0);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #ffc107;
}

.savings-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #856404;
    font-size: 0.9rem;
    font-weight: 500;
}

.savings-text i {
    color: #ffc107;
}

.total-divider {
    height: 2px;
    background: linear-gradient(90deg, #e9ecef, #dee2e6, #e9ecef);
    margin: 20px 0;
    border-radius: 1px;
}

.final-total {
    background: linear-gradient(90deg, #f8f9fa, #ffffff);
    padding: 18px 15px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    margin-top: 15px;
}

.final-total .total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}

.final-total .total-label i {
    color: #2c3e50;
}

.final-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.original-total {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
    font-weight: 500;
}

.current-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.cart-totals-footer {
    background: #f8f9fa;
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.security-badge i {
    color: #28a745;
}

.checkout-btn {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    cursor: pointer;
}

.checkout-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

.checkout-btn:active {
    transform: translateY(0);
}

.checkout-btn i:first-child {
    font-size: 1rem;
}

.checkout-btn i:last-child {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.checkout-btn:hover i:last-child {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-totals-card {
        margin-top: 30px;
    }
    
    .cart-totals-header {
        padding: 15px 20px 12px;
    }
    
    .cart-totals-title {
        font-size: 1.1rem;
    }
    
    .savings-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 8px;
        display: inline-flex;
        font-size: 0.7rem;
    }
    
    .cart-totals-body {
        padding: 18px;
    }
    
    .total-line {
        margin-bottom: 14px;
    }
    
    .current-total {
        font-size: 1.2rem;
    }
    
    .checkout-btn {
        font-size: 0.95rem;
        padding: 13px 18px;
    }
    
    .coupon-card {
        margin-bottom: 15px;
    }
    
    .coupon-header {
        padding: 15px 20px 12px;
    }
    
    .coupon-title {
        font-size: 1.1rem;
    }
    
    .coupon-body {
        padding: 18px;
    }
}

.alert {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/*
================================
News & FAQ Modern Styles
================================
*/

/* News Page */
.single_blog {
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.single_blog:hover {
    transform: translateY(-5px);
}

.blog_thumb {
    overflow: hidden;
    border-radius: 8px;
}

.blog_thumb img {
    transition: transform 0.3s ease;
}

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

.post_image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tag-link {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0 4px 4px 0;
    display: inline-block;
    font-size: 0.85rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #3498db;
    color: white;
    text-decoration: none;
}

.social_share .btn {
    margin: 5px 5px 5px 0;
}

/* FAQ Page */
.faq-category-section {
    margin-bottom: 40px;
}

.category-title {
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-title i {
    color: #3498db;
}

.accordion-button {
    font-weight: 500;
    color: #2c3e50;
}

.accordion-button:not(.collapsed) {
    background-color: #e3f2fd;
    border-color: #3498db;
    color: #1976d2;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Support Ticket Form */
.contact_message.form h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact_message.form h3 i {
    color: #3498db;
}

.support-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.support-info h6 {
    margin-top: 10px;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
}

.support-info small {
    color: #6c757d;
}

.contact_message form input,
.contact_message form select,
.contact_message form textarea {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.contact_message form input:focus,
.contact_message form select:focus,
.contact_message form textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact_message form .is-invalid {
    border-color: #e74c3c;
}

.btn-primary.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Pagination Styles */
.pagination_style {
    margin-top: 40px;
    text-align: center;
}

.pagination_style .pagination {
    justify-content: center;
}

.pagination_style .pagination .page-link {
    color: #2c3e50;
    border-color: #dee2e6;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.pagination_style .pagination .page-link:hover {
    color: #fff;
    background-color: #3498db;
    border-color: #3498db;
}

.pagination_style .pagination .page-item.active .page-link {
    background-color: #3498db;
    border-color: #3498db;
}

/* Alert Enhancements */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background: linear-gradient(90deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(90deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background: linear-gradient(90deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/*
================================
Manufacturer Products Page
================================
*/

/* Simple Page Title */
.simple_page_title {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.simple_page_title .page-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.simple_page_title .product-count {
    font-size: 1rem;
    font-weight: 400;
}

.manufacturer-subtitle {
    font-size: 1rem;
    line-height: 1.5;
}

.manufacturer-logo-small {
    flex-shrink: 0;
}

.manufacturer-logo-small img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar Toggle */
.sidebar-toggle button {
    position: relative;
    font-weight: 600;
}

.sidebar-toggle button i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.sidebar-toggle button[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Minimal Widget System */
.sidebar_widget {
    background: transparent;
}

.widget_card {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 30px;
    overflow: visible;
}

.widget_card:hover {
    box-shadow: none;
    transform: none;
}

.widget_header {
    background: transparent;
    padding: 0 0 15px 0;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.widget_header h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.widget_header h3 i {
    color: #dd1c37;
    font-size: 1rem;
}

.widget_header small {
    color: #6c757d;
    font-size: 0.85rem;
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.widget_body {
    padding: 0;
}

/* Minimal Search Widget */
.widget_search {
    margin-bottom: 25px;
}

.widget_search .widget_header {
    display: none; /* Header'ı gizle */
}

.widget_search .widget_body {
    padding: 0;
}

/* Minimal Price Widget */
.widget_price .widget_header {
    display: none; /* Header'ı gizle */
}

.widget_price .widget_body {
    padding: 0;
}

/* Ultra Minimal Search */
.search-form {
    position: relative;
}

.search-input {
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    height: auto !important;
}

.search-input:focus {
    border-color: #dd1c37 !important;
    box-shadow: 0 0 0 2px rgba(221, 28, 55, 0.1) !important;
    outline: none !important;
}

.search-input::placeholder {
    color: #adb5bd;
    font-style: italic;
    font-size: 0.85rem;
}

/* Minimal Price Filter */
.price-filter-title h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.price-filter-title h4 i {
    color: #dd1c37;
}

/* Corporate Color for Icons */
.text-corporate {
    color: #dd1c37 !important;
}

.price-filter-title small {
    color: #6c757d;
    font-size: 0.85rem;
}

.price-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.price-form .form-control:focus {
    border-color: #dd1c37;
    box-shadow: 0 0 0 2px rgba(221, 28, 55, 0.1);
    outline: none;
}

.price-form .form-control::placeholder {
    color: #adb5bd;
    font-size: 0.85rem;
}

.price-form .btn {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.price-form .btn:hover {
    background: #dd1c37;
    border-color: #dd1c37;
    color: white;
    transform: translateY(-1px);
}

/* Unified Filter List Style - Categories & Substances */
.category-list,
.substance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.substance-list li {
    margin-bottom: 3px;
}

.category-list a,
.substance-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: #495057;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    font-size: 0.9rem;
}

.category-list a:hover,
.substance-list a:hover {
    color: #dd1c37;
    padding-left: 5px;
}

.category-list a.active,
.substance-list a.active {
    color: #dd1c37;
    font-weight: 600;
    border-bottom-color: #dd1c37;
    padding-left: 5px;
}

.category-name,
.substance-name {
    flex: 1;
}

.category-count,
.substance-count {
    background: #f8f9fa;
    color: #6c757d;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.category-list a.active .category-count,
.substance-list a.active .substance-count {
    background: rgba(221, 28, 55, 0.1);
    color: #dd1c37;
}

/* Stock List (Different Style - Blue Theme) */
.stock-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stock-list li {
    margin-bottom: 3px;
}

.stock-list a {
    display: flex;
    align-items: center;
    padding: 6px 0;
    color: #495057;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    gap: 8px;
    font-size: 0.9rem;
}

.stock-list a:hover {
    color: #3498db;
    padding-left: 5px;
}

.stock-list a.active {
    color: #3498db;
    font-weight: 600;
    border-bottom-color: #3498db;
    padding-left: 5px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.all {
    background: #6c757d;
}

.status-indicator.in-stock {
    background: #27ae60;
}

.status-indicator.out-of-stock {
    background: #e74c3c;
}

/* Legacy CSS - Kept for compatibility */

/* Navigation Sidebar (Separate from Filters) */
.navigation_sidebar {
    margin-top: 40px;
}

.nav_sidebar_inner {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid #dd1c37;
}

.nav_sidebar_title {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.nav_brands_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav_brand_link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #e9ecef;
}

.nav_brand_link:hover {
    color: #dd1c37;
    background: #fff;
    border-color: #dd1c37;
    transform: translateX(5px);
}

.nav_brand_link small {
    color: #6c757d;
    font-size: 0.75rem;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 500;
}

.nav_view_all_link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    color: #dd1c37;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fff;
    border: 2px dashed #dd1c37;
    margin-top: 5px;
}

.nav_view_all_link:hover {
    background: #dd1c37;
    color: white;
    border-style: solid;
    transform: translateY(-1px);
}

/* Minimal Active Filters */
.active_filters {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
}

.active_filters .widget_header {
    display: none; /* Header'ı gizle */
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 20px;
}

.filter-tag {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.filter-tag .remove-filter {
    background: transparent;
    color: #6c757d;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-left: 2px;
}

.filter-tag .remove-filter:hover {
    background: #dc3545;
    color: white;
}

.filter-tag:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.clear-all-filters {
    background: transparent;
    color: #6c757d !important;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.clear-all-filters:hover {
    background: #dd1c37;
    color: white !important;
    border-color: #dd1c37;
    text-decoration: none;
}

/*
================================
Product Grid Equal Height Fix
================================
*/

/* Manufacturer Products Grid - Equal Height Solution */
.shop_wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.shop_wrapper .col-lg-4,
.shop_wrapper .col-md-4,
.shop_wrapper .col-12 {
    padding: 0 10px;
    margin-bottom: 20px;
    display: flex;
}

.shop_wrapper .single_product {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shop_wrapper .single_product:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
    border-color: #dd1c37;
}

/* Product Name - Fixed Height for 2 Lines */
.shop_wrapper .product_name.grid_name {
    order: 1;
    padding: 15px 15px 10px 15px;
    min-height: 85px; /* Space for 2 lines of text */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.shop_wrapper .product_name.grid_name h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    line-height: 1.3;
    height: 2.6em; /* Exactly 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
    color: #2c3e50;
}

.shop_wrapper .product_name.grid_name h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop_wrapper .product_name.grid_name h3 a:hover {
    color: #dd1c37;
}

.shop_wrapper .product_name.grid_name p.manufacture_product {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.shop_wrapper .product_name.grid_name p.manufacture_product a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop_wrapper .product_name.grid_name p.manufacture_product a:hover {
    color: #dd1c37;
}

/* Product Thumbnail */
.shop_wrapper .product_thumb {
    order: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.shop_wrapper .product_thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop_wrapper .single_product:hover .product_thumb img {
    transform: scale(1.05);
}

/* Product Content - Footer */
.shop_wrapper .product_content.grid_content {
    order: 3;
    margin-top: auto;
    padding: 15px;
    border-top: 1px solid #e9ecef;
}

.shop_wrapper .product_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shop_wrapper .price_box {
    flex: 1;
}

.shop_wrapper .price_box span {
    font-weight: 600;
    font-size: 1rem;
}

.shop_wrapper .price_box .current_price {
    color: #dd1c37;
}

.shop_wrapper .price_box .regular_price {
    color: #2c3e50;
}

.shop_wrapper .price_box .old_price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 5px;
}

/* Add to Cart Button */
.shop_wrapper .add_to_cart a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dd1c37;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #dd1c37;
}

.shop_wrapper .add_to_cart a:hover {
    background: white;
    color: #dd1c37;
    transform: scale(1.1);
}

.shop_wrapper .add_to_cart .out-of-stock {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

.shop_wrapper .add_to_cart .out-of-stock:hover {
    background: #6c757d;
    color: white;
    transform: none;
}

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

/* Price Range Widget */
.widget_price {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.widget_price h2 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-inputs .form-control {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.price-inputs .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.1rem rgba(52, 152, 219, 0.25);
}

.price-info {
    color: #6c757d;
    font-size: 0.85rem;
}





/* Manufacturer Info Banner */
.manufacturer_info_banner {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 12px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.manufacturer-card {
    text-align: center;
}

.manufacturer-logo {
    margin-bottom: 15px;
}

.manufacturer-logo img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.manufacturer-info h4 {
    color: #3498db;
    font-weight: 700;
    margin-bottom: 10px;
}

.manufacturer-info p {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.5;
}

.manufacturer-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.manufacturer-stats .stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.manufacturer-stats .stat i {
    color: #3498db;
}

/* Shop Toolbar Improvements */
.shop_toolbar_wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.shop_toolbar_btn button {
    background: white;
    border: 2px solid #dee2e6;
    color: #6c757d;
    padding: 10px 12px;
    border-radius: 6px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.shop_toolbar_btn button:hover {
    border-color: #3498db;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

/* Product Grid Tablet Responsive */
@media (max-width: 992px) and (min-width: 769px) {
    .shop_wrapper .product_name.grid_name h3 {
        font-size: 0.95rem;
    }
    
    .shop_wrapper .product_thumb {
        min-height: 200px;
    }
    
    .shop_wrapper .product_thumb img {
        height: 180px;
    }
}

/* Minimal Mobile Responsive */
@media (max-width: 768px) {
    .simple_page_title .page-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .manufacturer-logo-small {
        order: -1;
        align-self: center;
        margin-bottom: 10px;
    }
    
    .manufacturer-subtitle {
        text-align: center;
    }
    
    .sidebar-toggle {
        position: sticky;
        top: 20px;
        z-index: 10;
        background: white;
        padding: 10px 0;
        margin-bottom: 0 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
    
    .widget_card {
        margin-bottom: 20px;
    }
    
    .widget_header {
        padding: 0 0 10px 0;
        margin-bottom: 15px;
    }
    
    .widget_header h3 {
        font-size: 1rem;
    }
    
    .widget_body {
        padding: 0;
    }
    
    /* Unified Categories & Substances Mobile */
    .category-list a,
    .substance-list a {
        padding: 5px 0;
        font-size: 0.85rem;
    }
    
    .category-count,
    .substance-count {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
    
    /* Stock List Mobile (Different Style) */
    .stock-list a {
        padding: 5px 0;
        font-size: 0.85rem;
    }
    
    .filter-tags {
        justify-content: flex-start;
        margin-bottom: 15px;
    }
    
    .filter-tag {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    .search-input {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
    }
    
    /* Navigation Sidebar Mobile */
    .navigation_sidebar {
        margin-top: 25px;
    }
    
    .nav_sidebar_inner {
        padding: 15px;
    }
    
    .nav_sidebar_title {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .nav_brands_list {
        gap: 6px;
    }
    
    .nav_brand_link {
        padding: 5px 8px;
        font-size: 0.85rem;
    }
    
    .nav_brand_link small {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
    
    .nav_view_all_link {
        padding: 6px 8px;
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    .price-form .form-control {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .price-filter-title h4 {
        font-size: 1rem;
    }
    
    .product-grid-toolbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .toolbar-left,
    .toolbar-right {
        width: 100%;
        justify-content: center;
    }
    
    .pagination-container {
        justify-content: center;
    }
    
    /* Product Grid Mobile Responsive */
    .shop_wrapper {
        margin: 0 -5px;
    }
    
    .shop_wrapper .col-lg-4,
    .shop_wrapper .col-md-4,
    .shop_wrapper .col-12 {
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .shop_wrapper .product_name.grid_name {
        padding: 12px 12px 8px 12px;
        min-height: 75px;
    }
    
    .shop_wrapper .product_name.grid_name h3 {
        font-size: 0.9rem;
        height: 2.4em;
    }
    
    .shop_wrapper .product_name.grid_name p.manufacture_product {
        font-size: 0.8rem;
    }
    
    .shop_wrapper .product_thumb {
        min-height: 180px;
    }
    
    .shop_wrapper .product_thumb img {
        height: 160px;
    }
    
    .shop_wrapper .product_content.grid_content {
        padding: 12px;
    }
    
    .shop_wrapper .price_box span {
        font-size: 0.9rem;
    }
    
    .shop_wrapper .add_to_cart a {
        width: 35px;
        height: 35px;
    }
}

.shop_toolbar_btn button.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* Product Cards Improvements */
.single_product {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

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

.single_product .product_thumb {
    position: relative;
    overflow: hidden;
}

.single_product .product_thumb img {
    transition: transform 0.3s ease;
}

.single_product:hover .product_thumb img {
    transform: scale(1.05);
}

.label_stock {
    background: #dc3545 !important;
    color: white;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.rating-count {
    color: #6c757d;
    font-size: 0.8rem;
    margin-left: 5px;
}

.category-tag {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 5px;
    display: inline-block;
}

.in-stock {
    color: #28a745;
    font-weight: 600;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

.out-of-stock-btn {
    background: #6c757d !important;
    color: white !important;
    cursor: not-allowed;
}

/* Empty State */
.no_products_found {
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
}

.empty-state p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.empty-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-actions .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.empty-actions .btn:hover {
    transform: translateY(-2px);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .manufacturer_header {
        padding: 20px;
        text-align: center;
    }
    
    .manufacturer_header .page-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .manufacturer-logo-large {
        max-height: 80px;
        margin-top: 15px;
    }
    
    .shop_toolbar_wrapper {
        padding: 15px;
    }
    
    .shop_toolbar_wrapper .row {
        text-align: center;
    }
    
    .shop_toolbar_btn {
        margin-bottom: 15px;
    }
    
    .filter-tags {
        justify-content: center;
    }
    
    .manufacturer-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .manufacturer-stats .stat {
        flex: 1;
        min-width: 120px;
    }
}

/* Out of Stock Button Styles */
.out-of-stock {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: not-allowed;
    opacity: 0.6;
    text-decoration: none;
}

.out-of-stock:hover {
    background-color: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
}

.out-of-stock span {
    color: #6c757d;
}

/* Add to Cart Button Improvements */
.add-to-cart-btn {
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Product Box Stock Status */
.product_box .out-of-stock {
    position: relative;
}

.product_box .out-of-stock::after {
    content: "Out of Stock";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product_box .out-of-stock:hover::after {
    opacity: 1;
}

/* Warehouse Information Styles */
.text-info .fa-warehouse {
    color: #17a2b8;
    margin-right: 3px;
}

.cart_info .text-info {
    font-size: 11px;
    color: #17a2b8;
    display: block;
    margin-top: 2px;
}

.product_name .text-info {
    font-size: 11px;
    color: #17a2b8;
    display: block;
    margin-top: 2px;
}

/* Cart Warehouse Badge */
.warehouse-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

.warehouse-badge i {
    margin-right: 2px;
}

/* Mini Cart Warehouse Info */
.cart_item .text-info {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 1px;
}

/* Product Detail Styles */
.add-to-cart-btn {
    background-color: #dd1c37 !important;
    border-color: #dd1c37 !important;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #b91c2e !important;
    border-color: #b91c2e !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(221, 28, 55, 0.3);
}

/* Package Selection Styles */
.package-selection {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.package-option {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.package-option:hover {
    border-color: #dd1c37;
    box-shadow: 0 2px 8px rgba(221, 28, 55, 0.1);
}

.package-option .form-check-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.package-price {
    font-weight: bold;
    color: #dd1c37;
    font-size: 1.1em;
}

.package-savings {
    color: #28a745;
    font-size: 0.9em;
    font-weight: 500;
}

/* Warehouse Selection Improvements */
.warehouse-selection {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.warehouse-dropdown {
    margin-top: 10px;
}

.warehouse-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.warehouse-select:focus {
    border-color: #dd1c37;
    box-shadow: 0 0 0 0.2rem rgba(221, 28, 55, 0.25);
    outline: none;
}

.warehouse-select:hover {
    border-color: #dd1c37;
}

/* Address Form Styles */
.address_form_card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
}

.form_header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.form_header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form_header h2 i {
    margin-right: 12px;
    color: #ff6b35;
}

.form_header p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

.modern_address_form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modern_address_form .form_section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.modern_address_form .form_section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.modern_address_form .form_section h4 i {
    margin-right: 10px;
    color: #ff6b35;
}

.modern_address_form .form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modern_address_form .form_group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.modern_address_form .form_group:last-child {
    margin-bottom: 0;
}

.modern_address_form .form_group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.modern_address_form .form_group .required {
    color: #e74c3c;
}

.modern_address_form .form_group input,
.modern_address_form .form_group select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.modern_address_form .form_group input:focus,
.modern_address_form .form_group select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.modern_address_form .form_group input::placeholder {
    color: #adb5bd;
}

.modern_address_form .form_group select {
    cursor: pointer;
}

.modern_address_form .form_text {
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
}

.modern_address_form .form_actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.modern_address_form .form_actions .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modern_address_form .form_actions .btn i {
    margin-right: 8px;
}

/* Responsive Design for Address Forms */
@media (max-width: 768px) {
    .address_form_card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .form_header h2 {
        font-size: 24px;
    }
    
    .modern_address_form .form_section {
        padding: 20px;
    }
    
    .modern_address_form .form_row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modern_address_form .form_actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .modern_address_form .form_actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .address_form_card {
        padding: 15px;
    }
    
    .form_header {
        margin-bottom: 30px;
    }
    
    .form_header h2 {
        font-size: 20px;
    }
    
    .modern_address_form {
        gap: 20px;
    }
    
    .modern_address_form .form_section {
        padding: 15px;
    }
    
    .modern_address_form .form_group input {
    padding: 10px 14px;
    font-size: 14px;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.3s ease-out;
}

.alert i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert ul li {
    margin-bottom: 5px;
}

.alert ul li:last-child {
    margin-bottom: 0;
}

.alert .btn-close {
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.alert .btn-close:hover {
    opacity: 1;
}

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

/* Auto-hide animation */
.alert.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

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

/* ========================================
   Sidebar Filter Styling - Enhanced
   ======================================== */





/* Enhanced Filter Tags */
.filter-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(221, 28, 55, 0.1);
    color: #dd1c37;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin: 2px;
    border: 1px solid rgba(221, 28, 55, 0.2);
}

.filter-tag i {
    margin-right: 4px;
    font-size: 10px;
}

.filter-tag .remove-filter {
    margin-left: 6px;
    color: #dd1c37;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
}

.filter-tag .remove-filter:hover {
    color: #b91c3a;
}

/* Widget Header Enhancements */
.widget_header h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.widget_header small {
    font-size: 11px;
    color: #999;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .filter-tag {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ========================================
   Page Content Styling - Enhanced
   ======================================== */

.page_content_area {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
}

.page_content_wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.page_header {
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 50%, #8b1538 100%);
    color: white;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page_header::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;
}

.page_title_section {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

.page_title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.page_subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 0;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page_featured_image {
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.page_featured_image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.page_content {
    padding: 50px 40px;
    background: white;
}

.content_wrapper {
    line-height: 1.8;
    color: #2c3e50;
    font-size: 1.05rem;
}

.content_wrapper h1,
.content_wrapper h2,
.content_wrapper h3,
.content_wrapper h4,
.content_wrapper h5,
.content_wrapper h6 {
    color: #2c3e50;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.content_wrapper h1 {
    font-size: 2.2rem;
    border-bottom: 3px solid #dd1c37;
    padding-bottom: 15px;
    position: relative;
}

.content_wrapper h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dd1c37, #b91c3a);
    border-radius: 2px;
}

.content_wrapper h2 {
    font-size: 1.9rem;
    color: #dd1c37;
    border-left: 4px solid #dd1c37;
    padding-left: 15px;
}

.content_wrapper h3 {
    font-size: 1.6rem;
    color: #34495e;
}

.content_wrapper p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: #555;
}

.content_wrapper ul,
.content_wrapper ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.content_wrapper li {
    margin-bottom: 10px;
    color: #555;
}

.content_wrapper blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #dd1c37;
    padding: 25px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.content_wrapper blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #dd1c37;
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
    opacity: 0.3;
}

.content_wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content_wrapper table th,
.content_wrapper table td {
    border: 1px solid #dee2e6;
    padding: 15px;
    text-align: left;
}

.content_wrapper table th {
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.content_wrapper table tr:nth-child(even) {
    background: #f8f9fa;
}

.content_wrapper table tr:hover {
    background: #e9ecef;
    transition: background 0.3s ease;
}

.content_wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content_wrapper img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.page_meta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 35px 40px;
    border-top: 1px solid #dee2e6;
}

.meta_description h4,
.meta_keywords h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta_description h4 i,
.meta_keywords h4 i {
    color: #dd1c37;
    font-size: 1.1rem;
}

.meta_description p {
    color: #666;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.keyword_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword_tag {
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(221, 28, 55, 0.3);
    transition: all 0.3s ease;
}

.keyword_tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 28, 55, 0.4);
}

.page_footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 25px 40px;
    position: relative;
}

.page_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dd1c37, #b91c3a, #8b1538);
}

.page_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.page_date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.page_date i {
    color: #dd1c37;
    font-size: 1.1rem;
}

.page_actions .btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page_actions .btn:hover {
    background: #dd1c37;
    border-color: #dd1c37;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 28, 55, 0.3);
}

.page_actions .btn i {
    margin-right: 8px;
}

/* Enhanced Breadcrumbs */
.breadcrumbs_area {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 20px 0;
    border-bottom: 3px solid #dd1c37;
}

.breadcrumb_content ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb_content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
    font-size: 0.95rem;
}

.breadcrumb_content ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb_content ul li a:hover {
    color: #dd1c37;
}

.breadcrumb_content ul li i.fa-angle-right {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.breadcrumb_content ul li:last-child {
    color: #dd1c37;
    font-weight: 600;
}

/* Responsive Page Design */
@media (max-width: 768px) {
    .page_content_area {
        padding: 40px 0;
    }
    
    .page_header {
        padding: 35px 20px;
    }
    
    .page_title {
        font-size: 2.2rem;
    }
    
    .page_content {
        padding: 35px 20px;
    }
    
    .page_meta {
        padding: 25px 20px;
    }
    
    .page_footer {
        padding: 20px;
    }
    
    .page_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .breadcrumb_content ul {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .page_title {
        font-size: 1.8rem;
    }
    
    .page_content {
        padding: 25px 15px;
    }
    
    .content_wrapper h1 {
        font-size: 1.6rem;
    }
    
    .content_wrapper h2 {
        font-size: 1.4rem;
    }
    
    .page_meta {
        padding: 20px 15px;
    }
    
    .keyword_tags {
        gap: 8px;
    }
    
    .keyword_tag {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
}

/* ========================================
   Page Special Offers - Home Style Design
   ======================================== */

/* Page Special Offers Carousel - Same as Home */
#page-special-offers-carousel .single_product,
#new-products-carousel .single_product {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin: 10px;
}

#page-special-offers-carousel .single_product:hover,
#new-products-carousel .single_product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #dd1c37;
}

#page-special-offers-carousel .single_product .product_name.grid_name,
#new-products-carousel .single_product .product_name.grid_name {
    padding: 15px 15px 0;
}

#page-special-offers-carousel .single_product .product_name.grid_name h3,
#new-products-carousel .single_product .product_name.grid_name h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

#page-special-offers-carousel .single_product .product_name.grid_name h3 a,
#new-products-carousel .single_product .product_name.grid_name h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

#page-special-offers-carousel .single_product .product_name.grid_name h3 a:hover,
#new-products-carousel .single_product .product_name.grid_name h3 a:hover {
    color: #dd1c37;
}

#page-special-offers-carousel .single_product .product_thumb,
#new-products-carousel .single_product .product_thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 15px 0;
}

#page-special-offers-carousel .single_product .product_thumb img,
#new-products-carousel .single_product .product_thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#page-special-offers-carousel .single_product:hover .product_thumb img,
#new-products-carousel .single_product:hover .product_thumb img {
    transform: scale(1.05);
}

#page-special-offers-carousel .single_product .add_to_cart a,
#new-products-carousel .single_product .add_to_cart a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(221, 28, 55, 0.3);
}

#page-special-offers-carousel .single_product .add_to_cart a:hover,
#new-products-carousel .single_product .add_to_cart a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(221, 28, 55, 0.4);
}

#page-special-offers-carousel .single_product .out-of-stock,
#new-products-carousel .single_product .out-of-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Page Special Offers Section Spacing */
.product_area.mb-50 {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.product_area.mb-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dd1c37, #b91c3a, #8b1538);
}

/* Responsive Page Special Offers */
@media (max-width: 768px) {
    .product_area.mb-50 {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    #page-special-offers-carousel .single_product .product_thumb img,
    #new-products-carousel .single_product .product_thumb img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .product_area.mb-50 {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    #page-special-offers-carousel .single_product .product_thumb img,
    #new-products-carousel .single_product .product_thumb img {
        height: 160px;
    }
}

/* Header Dropdown Width Improvements */
.dropdown_currency, .dropdown_language, .dropdown_links {
    min-width: 180px !important;
}

@media only screen and (max-width: 767px) {
    .dropdown_currency, .dropdown_language, .dropdown_links {
        min-width: 200px !important;
    }
}

/* Main Menu Dropdown Width Improvements */
.main_menu nav > ul > li ul.sub_menu {
    min-width: 220px !important;
}

.main_menu nav > ul > li .mega_menu {
    min-width: 800px !important;
}

/* Offcanvas Menu Dropdown Width Improvements */
.offcanvas_main_menu li ul.sub-menu {
    min-width: 200px !important;
}

/* Categories Menu Dropdown Width Improvements */
.categories_menu_toggle > ul > li ul.categories_mega_menu {
    min-width: 250px !important;
}

/* Ensure text doesn't wrap in dropdowns */
.dropdown_currency li a,
.dropdown_language li a,
.dropdown_links li a,
.main_menu nav > ul > li ul.sub_menu li a,
.offcanvas_main_menu li ul.sub-menu li a,
.categories_menu_toggle > ul > li ul.categories_mega_menu > li > a {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Search Suggestions Styling */
.search-container {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 5px;
    backdrop-filter: blur(10px);
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.search-suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.search-suggestion-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-decoration: none;
    color: #2c3e50;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-suggestion-item:hover::before {
    transform: scaleY(1);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestions .suggestion-icon {
    width: 32px !important;
    height: 32px !important;
    margin-right: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.search-suggestions .search-suggestion-item:hover .suggestion-icon {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.search-suggestions .suggestion-icon.product {
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 100%) !important;
}

.search-suggestions .suggestion-icon.category {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
}

.search-suggestions .suggestion-icon.manufacturer {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

.search-suggestions .suggestion-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.search-suggestions .suggestion-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    margin-bottom: 4px !important;
    color: #2c3e50 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.search-suggestions .suggestion-details {
    font-size: 13px !important;
    color: #6c757d !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.search-suggestions .suggestion-price {
    font-weight: 700 !important;
    color: #dd1c37 !important;
    font-size: 15px !important;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #ffebeb !important;
    box-shadow: 0 2px 4px rgba(221, 28, 55, 0.1) !important;
    margin-left: 10px !important;
    white-space: nowrap !important;
}

.search-suggestions .suggestion-count {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #495057 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: 1px solid #dee2e6 !important;
    margin-left: 10px !important;
    white-space: nowrap !important;
}

/* Search Input Styling */
.search-input {
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #dd1c37;
    box-shadow: 0 0 0 0.2rem rgba(221, 28, 55, 0.25);
}

.search-submit {
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: #c41830;
}

/* Loading State */
.search-suggestions.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #dd1c37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* No Suggestions State */
.search-suggestion-item.no-suggestions {
    background: linear-gradient(135deg, #dd1c37 0%, #b91c3a 100%);
    color: white;
    border-radius: 8px;
    margin: 8px;
    text-align: center;
    padding: 15px;
    border: none;
    box-shadow: 0 2px 8px rgba(221, 28, 55, 0.2);
}

.search-suggestion-item.no-suggestions .suggestion-title {
    color: white;
    font-weight: 600;
    margin: 0;
}

.search-suggestion-item.no-suggestions:hover {
    background: linear-gradient(135deg, #c41830 0%, #a01832 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 28, 55, 0.3);
}

/* Error State */
.search-suggestion-item.error-state {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border-radius: 8px;
    margin: 8px;
    text-align: center;
    padding: 15px;
    border: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.search-suggestion-item.error-state .suggestion-title {
    color: white;
    font-weight: 600;
    margin: 0;
}

.search-suggestion-item.error-state:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-suggestions {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        max-height: 300px;
    }
    
    .search-suggestion-item {
        padding: 15px;
    }
    
    .suggestion-title {
        font-size: 16px;
    }
    
    .suggestion-details {
        font-size: 14px;
    }
