/* =========================================
   Floating Contact Buttons & Scroll To Top
   ========================================= */
.floating-contact {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.contact-btn img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.zalo-btn {
    background-color: #fff;
}

.hotline-btn {
    background-color: #dd3333;
    color: #fff;
    font-size: 20px;
    animation: ring-animation 1.5s infinite ease-in-out;
}

@keyframes ring-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(221, 51, 51, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(221, 51, 51, 0);
        transform: scale(1.1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(221, 51, 51, 0);
        transform: scale(1);
    }
}

/* Scroll To Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #ca1515;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    border: 2px solid #fff;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background-color: #333;
}

/* =========================================
   Blog & Article Styles
   ========================================= */
.entry-title-list a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
}

.blog-cat-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    border-bottom: 2px solid #ca1515;
    padding-bottom: 10px;
    display: inline-block;
}

.entry-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hover-primary:hover {
    color: #ca1515 !important;
    text-decoration: none;
}

/* =========================================
   Author Profile Styles
   ========================================= */
.author-header {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex-grow: 1;
}

.author-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    line-height: 1.2;
}

.author-info .social-links {
    margin-bottom: 20px;
}

.author-info .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f4;
    color: #555;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.author-info .social-links a:hover {
    background: #ca1515;
    color: #fff;
    transform: translateY(-3px);
}

.author-bio {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-bio p {
    text-align: justify;
}

@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .author-info h1 {
        font-size: 26px;
    }
}

/* Author Social Image Icons */
.author-info .social-links a.social-icon-img {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    height: auto;
    border-radius: 0;
}

.author-info .social-links a.social-icon-img img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.author-info .social-links a.social-icon-img:hover {
    transform: translateY(-3px);
    background: none;
}


/* =========================================
   Cart Page Styles
   ========================================= */
a.hover-button {
    background-color: transparent;
    border: 2px solid #CA1515;
    color: #CA1515;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    display: inline-block;
}

a.hover-button:hover {
    background-color: #CA1515;
    color: white;
    text-decoration: none;
}

h6.bold-and-big {
    font-size: 50px;
    margin-bottom: 20px;
    color: #333;
}

.cart-item-image {
    height: 90px;
    width: 90px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.cart-total-wrapper {
    text-align: right;
    padding-right: 70px;
    font-size: 18px;
    margin-top: 15px;
}

.cart-proceed-wrapper {
    margin-left: 40px;
    margin-top: 8px;
}

/* =========================================
   Checkout/Address Page Styles
   ========================================= */
.checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.order-form {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.order-form h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    font-weight: 700;
}

.order-form .form-group {
    margin-bottom: 20px;
}

.order-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.order-form input[type="text"],
.order-form select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s;
}

.order-form input[type="text"]:focus,
.order-form select:focus {
    border-color: #CA1515;
    outline: none;
}

.order-form button[type="submit"],
.order-form #placeOrderButton {
    background: #CA1515;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
    width: 100%;
    margin-top: 10px;
}

.order-form button[type="submit"]:hover,
.order-form #placeOrderButton:hover {
    background: #a10f0f;
}

@media (max-width: 600px) {
    .checkout-container {
        padding: 20px 10px;
    }

    .order-form {
        padding: 20px;
    }
}

/* =========================================
   Thank You Page Styles
   ========================================= */
.thank-you-container {
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.thank-you-container h1 {
    font-size: 36px;
    color: #CA1515;
    margin-bottom: 20px;
    font-weight: 700;
}

.thank-you-container p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.purchase-code-text {
    font-weight: 700;
    color: #CA1515;
    font-size: 20px;
    display: inline-block;
    padding: 5px 10px;
    background: #fff0f0;
    border-radius: 4px;
    margin-top: 5px;
}

.thank-you-container .btn-primary {
    background-color: #CA1515;
    border-color: #CA1515;
    padding: 6px 12px;
    font-size: 16px;
    border-radius: 3px;
    transition: all 0.3s;
    color: #fff
}

.thank-you-container .btn-primary:hover {
    background-color: #a10f0f;
    border-color: #a10f0f;
}


/* =========================================
   Sidebar Category Styles
   ========================================= */
.categories__sidebar {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    position: relative;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    max-height: 400px;
}

.categories__sidebar .section-title {
    background: #ca1515;
    margin: -15px -15px 15px -15px;
    /* Extend to edges */
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
}

.categories__sidebar .section-title h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
    display: block;
    font-size: 16px;
    text-transform: uppercase;
}

.categories__list {
    margin-right: -20px;
}

.categories__list li {
    list-style: none;
    margin-bottom: 10px;
}

.categories__list li a {
    color: #000;
    font-size: 16px;
    display: block;
    transition: all 0.3s;
    margin-right: 20px;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
}

.categories__list li a:hover {
    color: #ca1515;
    padding-left: 5px;
}

.categories__list li a span {
    float: right;
    font-size: 13px;
    color: #999;
}

.categories__child {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 850px;
    height: 100%;
    /* Match sidebar height */
    background: #fff;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
    border-radius: 0 4px 4px 4px;
    border: 1px solid #eee;
    overflow-y: auto;
    /* Scroll if content exceeds height */
}

.categories__list li:hover .categories__child {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-content: start;
    /* content at top */
}

.categories__child li {
    margin-bottom: 5px;
    border-bottom: none;
    /* Remove border for grid items */
    padding-bottom: 0;
}

.categories__child li a {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    display: block;
    line-height: 1.5;
}

.categories__child li a:hover {
    color: #ca1515;
    padding-left: 0;
    /* No indent on hover for mega menu items */
}

.categories__list .cat_all a {
    color: #ca1515
}

/* =========================================
   Category Popup Styles
   ========================================= */
.category-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black */
    z-index: 10000;
    /* High z-index to be on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-popup-content {
    background-color: #fff;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #ca1515;
}

.popup-header h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #ca1515;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.popup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.popup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 10px 5px;
    transition: all 0.3s;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.popup-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.popup-item:hover span {
    color: #333;
}

.popup-item span {
    font-size: 14px;
}

.popup-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}


/* =========================================
   User Page Styles
   ========================================= */
@media (min-width: 992px) {
    .col-lg-custom-5 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
    line-height: 1.5;
}

.section-title {
    position: relative;
    border-bottom: 2px solid #ca1515;
    margin-bottom: 20px;
    padding-bottom: 10px;
    background-color: #f37022;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
}

.section-title.section-title-normal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 3px;
}

.section-title h2,
h2.section-title {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    background: #ca1515;
}

.section-title-main {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #ca1515;
    padding: 10px 15px;
    /* Padding for block */
    text-transform: uppercase;
    margin-right: 0;
    line-height: normal;
    display: inline-block;
    position: relative;
}

.section-title-main:after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.hdevvn-show-cats {
    flex-grow: 1;
    /* margin: 10px; */
    padding-bottom: 0;
    background: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    height: auto;
    padding-left: 0;
}

.hdevvn_cats {
    display: inline-block;
    list-style: none;
    /* margin-right: 15px; */
    margin-bottom: 0;
    border-right: 1px solid #fff;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
}

.hdevvn_cats a {
    font-size: 15px;
    color: #fff;
    font-weight: normal;
}

.see-all-link {
    color: #fff;
    font-size: 15px;
    padding: 0 10px;
    transition: 0.3s;
}

.see-all-link:hover {
    color: #ddd;
}

/* =========================================
   Sidebar Support Styles (from sidebar_support.blade.php)
   ========================================= */
.sp-tech {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sp-tech:last-child {
    border-bottom: none;
}

.sp-employee {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    align-items: flex-start;
    /* Align left */
    justify-content: flex-start;
    margin-bottom: 5px;
}

.sp-name {
    font-weight: 500;
    color: #333;
    text-transform: capitalize;
    font-size: 14px;
}

.sp-hotline a {
    color: #025ccb;
    font-weight: 500;
    font-size: 13px;
}

.sp-contact {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.sp-icon a {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.sp-icon a img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    border-radius: 50%;
}

.sp-icon a:hover {
    opacity: 0.8;
}

/* =========================================
   Header Styles (from header.blade.php)
   ========================================= */
.dropdown li a:hover {
    color: blue;
    /* Change 'blue' to your desired hover color */
}

/* =========================================
   Product Details Button Styles (from product.blade.php)
   ========================================= */
/* Default button styles */
.btn-primary {
    background-color: transparent;
    border: 2px solid #007bff;
    /* Blue border color */
    color: #000;
    /* Black text color */
    border-radius: 20px;
    margin-left: 12px;
    transition: background-color 0.3s, color 0.3s;
}

/* Button styles on hover */
.btn-primary:hover {
    background-color: #007bff;
    /* Blue background color */
    color: #fff;
    /* White text color */
}

/* =========================================
   Orders Page Styles (from vieworders.blade.php)
   ========================================= */
.no-orders-message {
    font-size: 30px;
    color: #CA1515;
    padding-top: 30px;
    font-weight: 500;
}

/* Ajax Search Suggestions */
.header__search {
    position: relative;
}

#search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-top: none;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f9f9f9;
}

.suggestion-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.suggestion-info h6 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    font-weight: 500;
}

.suggestion-info span {
    font-size: 13px;
    color: #ca1515;
    font-weight: 700;
}

.shop-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    color: #CA1515;
    border: 2px solid #CA1515;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.orders-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.order-details {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.order-summary {
    flex: 1;
    margin-right: 20px;
}

.order-summary th,
.order-summary td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.order-items {
    width: 100%;
}

.order-items th,
.order-items td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.order-items img {
    max-height: 100px;
    max-width: 100px;
}

.cancel-button {
    background-color: #CA1515;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.cancel-button:hover {
    background-color: #FF0000;
}

/* =========================================
   User Dashboard Details Styles (from userdashboarddetails.blade.php)
   ========================================= */
.chart-container {
    width: 1200px;
    /* Adjust width as needed */
    height: 500px;
    /* Adjust height as needed */
}

/* Renamed to avoid conflict with vieworders */
.dashboard-no-orders-message {
    text-align: center;
    margin-top: 50px;
}

.delivery-status {
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.delivery-status.processing {
    background-color: #FFA500;
    /* Orange */
}

.delivery-status.delivered {
    background-color: #228B22;
    /* Green */
}

.delivery-status.cancelled {
    background-color: #CA1515;
    /* Red */
}

/* =========================================
   Product Details Input Styles (from details.blade.php)
   ========================================= */
/* Hide number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
/* =========================================
   Mobile Menu Tabs Styles
   ========================================= */
.mobile-menu-tabs {
    border-bottom: 2px solid #e1e1e1;
    margin-bottom: 20px;
    display: flex;
    width: 100%;
}

.mobile-menu-tabs .nav-item {
    flex: 1;
    text-align: center;
    margin-bottom: -2px; /* Pull active border down */
}

.mobile-menu-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #555;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    width: 100%;
    background: transparent;
    border-radius: 0;
}

.mobile-menu-tabs .nav-link.active {
    border-bottom: 2px solid #ca1515; /* Active color matches theme */
    color: #ca1515;
    background: transparent;
}

.mobile-category-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-category-list ul li {
    border-bottom: 1px solid #f2f2f2;
}

.mobile-category-list ul li a {
    display: block;
    padding: 10px 0;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-category-list ul li a:hover {
    color: #ca1515;
    padding-left: 5px; /* Subtle slide effect */
}

/* Ensure tab content takes up space properly */
.tab-content {
    width: 100%;
}


/* Mobile Logo Adjustment */
@media only screen and (max-width: 767px) {
    .header__logo img {
        max-width: 200px; /* Adjust size as needed */
    }
}


/* Auth Dropdown Styles (Desktop Only) */
.header__menu .custom-auth-dropdown {
    background: white;
    border: 1px solid #eee;
    padding: 10px 0;
    min-width: 200px;
    display: none; /* Hidden by default on desktop */
    position: absolute;
    z-index: 9999;
    top: 100%;
    right: 0;
}

/* Show when parent is hovered or active (Bootstrap 'show' class or hover) */
/* Desktop: Hover to show */
@media (min-width: 992px) {
    .header__menu li.dropdown:hover .custom-auth-dropdown {
        display: block;
    }
}

/* Mobile/Tablet & Click Fallback: Show when 'show' or 'open' class is present */
.header__menu li.dropdown.show .custom-auth-dropdown,
.header__menu li.dropdown.open .custom-auth-dropdown {
    display: block;
}

/* SlickNav Specifics for this dropdown */
.slicknav_menu .custom-auth-dropdown {
    /* Reset desktop styles for mobile */
    position: static;
    border: none;
    box-shadow: none;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
}


/* Fix double arrow in SlickNav for Auth dropdown */
.slicknav_menu .dropdown-toggle::after {
    display: none !important;
}


/* Fix Auth toggle color on desktop (was black because of span tag) */
.header__menu ul li span.dropdown-toggle {
    color: #fff;
    font-weight: 500; 
    font-size: 13px; 
    text-transform: inherit;
    transition: all 0.3s;
    display: block;
    padding: 0;
}
.header__menu ul li span.dropdown-toggle:hover {
    color: #ca1515;
}


/* Cart Page Styles */
.cart-page {
    margin-top: 50px;
    margin-bottom: 80px;
}
.cart-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.cart-table th {
    border-top: none;
    background-color: #f8f9fa;
    color: #555;
    font-weight: 600;
    text-align: center;
}
.cart-table td {
    vertical-align: middle;
    text-align: center;
}
.cart-table td.product-col {
    text-align: left;
    max-width: 280px;
}
.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #eee;
}
.product-name {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
    white-space: normal;
    line-height: 1.4;
}
.product-name:hover {
    color: #ca1515;
    text-decoration: none;
}
.quantity-group {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.quantity-btn {
    background: #fff;
    border: none;
    padding: 5px 12px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: background 0.2s;
}
.quantity-btn:hover {
    background: #f0f0f0;
    color: #ca1515;
}
.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-weight: 600;
    outline: none;
    color: #333;
    -moz-appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cart-summary {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
}
.summary-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #ca1515;
    display: inline-block;
    padding-bottom: 5px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 18px;
    font-weight: 700;
    color: #ca1515;
}
.btn-checkout {
    background-color: #ca1515;
    color: white;
    font-weight: 500;
    padding: 12px;
    border-radius: 3px;
    transition: all 0.3s;
}
.btn-checkout:hover {
    background-color: #a11111;
    color: white;
}
.btn-continue {
    color: #333;
    font-weight: 400;
    border: 1px solid #ca1515;
    padding: 6px 12px;
    transition: all 0.3s;
    border-radius: 3px;
}
.btn-continue:hover {
    background-color: #ca1515;
    color: white;
    text-decoration: none;  
}
/* Mobile Responsive Cart */
@media (max-width: 767px) {
    .cart-table th, .cart-table td {
        font-size: 13px;
        padding: 8px 4px;
    }
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
            display: none;
    }
    .cart-product-wrap {
        display: block !important;
        text-align: center;
    }
    .product-thumbnail {
        margin-right: 0 !important;
        margin-bottom: 5px;
        width: 60px;
        height: 60px;
    }
    .product-name {
        font-size: 13px;
        text-align: center;
    }
    .quantity-btn {
        padding: 2px 8px;
        font-size: 12px;
    }
    .quantity-input {
        width: 30px;
        font-size: 13px;
        height: 25px;
    }
    .quantity-group {
        display: inline-flex;
        align-items: center;
    }
}


/* Thank You Page */
.thank-you-container {
    margin-top: 80px;
    margin-bottom: 80px;
}
.text-theme {
    color: #ca1515;
}
.btn-theme {
    background-color: #ca1515;
    border-color: #ca1515;
    color: white;
    padding: 10px 30px;
    border-radius: 4px;
    transition: all 0.3s;
}
.btn-theme:hover {
    background-color: #a11111;
    border-color: #a11111;
    color: white;
}
.btn-outline-theme {
    color: #ca1515;
    border-color: #ca1515;
    background-color: white;
    padding: 10px 30px;
    border-radius: 4px;
    transition: all 0.3s;
}
.btn-outline-theme:hover {
    background-color: #ca1515;
    color: white;
}

