/* General Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: white;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
}

.header-container {
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

@media (max-width: 991px) {
    .header-container .container {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }

    .navbar {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }

    .navbar-brand {
        padding-left: 1.25rem;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 0;
    }
}

.navbar {
    padding: 0.75rem 0;
    margin: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Search form */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.input-group .form-control,
.input-group .btn {
    height: 38px;
    line-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
}

.input-group .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0.5rem 1rem;
    }
    
    .navbar-nav {
        margin-bottom: 1rem !important;
    }
    
    .d-flex {
        flex-direction: column;
        width: 100%;
    }
    
    .form-control {
        margin-bottom: 0.5rem;
    }
}

/* Navigation */
.navbar {
    background-color: white !important;
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Navbar and navigation */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hide these elements on tablet and mobile */
@media (max-width: 991px) {
    .nav-link[data-bs-toggle="dropdown"],
    .dropdown-menu {
        width: 100%;
        text-align: center;
    }

    #search-form,
    #user-account,
    #shopping-cart {
        display: none !important;
    }

    .navbar > .container {
        justify-content: space-between;
    }

    /* Show these elements in the burger menu */
    #main-nav {
        margin-top: 1rem;
    }

    #main-nav .navbar-nav {
        text-align: center;
    }

    #main-nav .nav-item {
        padding: 0.5rem 0;
    }

    /* Move search into burger menu */
    #main-nav #search-form-mobile {
        width: 100%;
        padding: 1rem 0;
    }

    #main-nav #search-form-mobile .input-group {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Mobile navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        padding: 0.5rem 0;
    }

    .navbar-nav .dropdown-menu {
        text-align: center;
        border: none;
        background: transparent;
    }

    .input-group {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-black {
    background: white;
    color: var(--text-color) !important;
    border: 2px solid var(--text-color);
    font-weight: 500;
}

.btn-outline-black:hover {
    background: var(--text-color);
    color: white !important;
}

/* Forms */
.form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Product Cards */
.card {
    border: none !important;
    background-color: transparent;
}

.card-footer {
    background-color: transparent;
    border-top: none;
}

/* Messages */
.message-container {
    position: fixed;
    top: 72px;
    right: 15px;
    z-index: 99999999999;
}

.custom-toast {
    overflow: visible;
}

.toast-capper {
    height: 2px;
}

.toast {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.toast-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Mobile Toast Styles */
@media (max-width: 767px) {
    .message-container {
        top: 60px;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        max-width: 300px;
    }

    .custom-toast {
        width: 100%;
        margin: 0 auto;
    }

    .toast-body {
        padding: 0.75rem;
    }

    /* Ensure product preview image doesn't overflow */
    .toast img.w-100 {
        max-width: 100px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/* Content Container */
.content-container {
    min-height: calc(100vh - 76px); /* Subtract navbar height */
    padding-top: 76px; /* Add padding for navbar */
    background: white;
}

/* Auth pages */
.auth-container {
    min-height: calc(100vh - 76px);
    padding-top: 76px;
    background: white;
}

/* Cart and Checkout */
.cart-wrapper {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Product cards */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card img {
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Homepage Styles */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    margin-top: -2rem;
}

.hero-section h1 {
    color: white;
    font-weight: 700;
}

.hero-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: var(--light-bg);
    transform: translateY(-3px);
}

.featured-products {
    background-color: var(--light-bg);
}

.category-card {
    background: white;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--box-shadow);
}

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

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.why-choose-us {
    background-color: var(--light-bg);
}

/* Slogan Styling */
.slogan {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 500;
}

.slogan .smaller {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
}

/* Responsive slogan */
@media (max-width: 768px) {
    .slogan {
        font-size: 1.2rem;
    }
    .slogan .smaller {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    position: relative;
    margin-top: 4rem;
    width: 100%;
    overflow-x: hidden;
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-color);
    background-color: var(--light-bg);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

.footer .social-links i {
    font-size: 1.2rem;
    line-height: 1;
}

.footer hr {
    background-color: rgba(0,0,0,0.1);
}

.footer .contact-info i {
    color: var(--secondary-color);
}

/* Footer Layout */
.footer .container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.footer .row {
    margin-left: 0;
    margin-right: 0;
}

.footer .col {
    padding-left: 15px;
    padding-right: 15px;
}

.input-group.newsletter-input-group {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .input-group.newsletter-input-group {
        margin-left: 0;
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .input-group.newsletter-input-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: flex-start;
    }

    .input-group.newsletter-input-group .form-control {
        min-width: 200px;
        width: 100%;
    }

    .input-group.newsletter-input-group .btn {
        width: 100%;
        margin-left: 0;
    }
}

/* For mobile devices only, center everything */
@media (max-width: 575px) {
    .social-links {
        justify-content: center;
    }
    
    .input-group.newsletter-input-group {
        justify-content: center;
    }
}

/* Responsive Design */
@media (min-width: 992px) {
    .fixed-top-desktop-only {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }
}

@media (max-width: 991px) {
    .auth-form {
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.5rem 1rem;
    }
}

main {
    flex: 1;
    margin-top: 76px; /* Height of the header */
}

@media (max-width: 991.98px) {
    main {
        margin-top: 60px;
    }
}

/* Homepage styles */
.container.h-100 {
    min-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    main {
        margin-top: 60px; /* Smaller header height for mobile */
    }

    /* Reduce homepage spacing on mobile */
    .container.h-100 {
        min-height: auto !important;
        padding: 2rem 1rem;
    }

    .display-4 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .lead {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }

    .lead .smaller {
        font-size: 0.9rem;
        margin-top: 0.25rem !important;
    }

    .shop-now-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem;
    }

    .my-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Newsletter Form */
.newsletter-signup {
    max-width: 100%;
}

.input-group.newsletter-input-group {
    display: flex;
    align-items: stretch;
}

.input-group.newsletter-input-group .form-control {
    height: 38px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group.newsletter-input-group .btn {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    white-space: nowrap;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.newsletter-btn .spinner-border {
    margin-left: 0.25rem;
}

@media (max-width: 576px) {
    .input-group.newsletter-input-group .form-control,
    .input-group.newsletter-input-group .btn {
        height: 36px;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        padding: 0.25rem 0.5rem;
    }
}

.newsletter-signup .input-group {
    display: flex;
    width: 100%;
    max-width: 320px;
}

.newsletter-signup .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    min-width: 0;
    flex: 1;
    padding-right: 8px;
}

.newsletter-signup .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
    padding-left: 12px;
    padding-right: 12px;
}

.newsletter-signup p {
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
}

@media (min-width: 992px) and (max-width: 1399px) {
    .newsletter-signup p {
        font-size: 0.9rem;
    }
}

/* Social Links */
.social-links-container {
    margin-top: 1.5rem;
}

/* Default left alignment */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Center alignment for small tablets */
@media (min-width: 576px) and (max-width: 767px) {
    .social-links {
        justify-content: center;
    }
}

/* Mobile devices */
@media (max-width: 575px) {
    .social-links {
        justify-content: center;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: var(--text-color);
    background-color: var(--light-bg);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1rem;
}

@media (max-width: 576px) {
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
}

/* Quantity buttons */
.btn-black {
    background: var(--primary-color);
    color: white;
    height: 38px;
}

.btn-black:hover,
.btn-black:active,
.btn-black:focus {
    background: var(--secondary-color);
    color: white;
}

.input-group>.form-control {
    height: 38px;
}

.quantity-group {
    max-width: 140px;  /* Adjusted to match typical button width */
    width: 140px;
}

.quantity-group.btn {
    padding-left: 0;
    padding-right: 0;
}

.qty_input {
    text-align: center;
    width: 60px;
}

.increment-qty,
.decrement-qty {
    padding: .25rem .5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Homepage sections */
.hero-section {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.products-section {
    background-color: white;
    padding: 4rem 0;
}

.category-card {
    transition: transform 0.3s ease;
    height: 100%;
}

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

@media (max-width: 991px) {
    .hero-section {
        min-height: calc(100vh - 60px);
        padding: 2rem 1rem;
    }

    .products-section {
        padding: 2rem 0;
    }

    .display-4 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .lead {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }

    .lead .smaller {
        font-size: 0.9rem;
        margin-top: 0.25rem !important;
    }

    .shop-now-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem;
    }

    .my-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Product Detail Mobile Styles */
@media (max-width: 767px) {
    .product-details-container {
        text-align: center;
    }

    .product-details-container .text-muted {
        display: inline-block;
    }

    .product-details-container p.description {
        text-align: left;
        max-width: 90%;
        margin: 1rem auto;
    }

    .product-details-container .form-row {
        justify-content: center;
    }

    .product-details-container .quantity-group {
        justify-content: center;
        display: flex;
    }

    .product-details-container .form-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .product-details-container .input-group {
        width: 140px;
        margin: 0 auto;
    }

    /* Center plus and minus icons in their boxes */
    .product-details-container .input-group button span {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-details-container .btn[type="submit"] {
        margin: 0 auto;
        display: block;
        width: 140px;
    }

    .product-details-container .col-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Cart page buttons and totals */
.cart-total {
    text-align: right;
    padding: 1rem 0;
}

.cart-buttons {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
    justify-content: flex-end;  /* Align buttons to the right */
}

/* Specific button styles to ensure they take precedence */
.cart-buttons .btn.btn-lg.rounded-0 {
    min-width: 260px !important;
    width: 260px !important;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.375rem 1.5rem;
}

.cart-buttons .btn i {
    margin: 0 0.75rem;
}

@media (max-width: 768px) {
    .cart-buttons {
        flex-direction: column;
        width: 100%;
        justify-content: center;  /* Center buttons on mobile */
    }
    .cart-buttons .btn.btn-lg.rounded-0 {
        width: 100% !important;
    }
}

/* Tablet-specific styles */
@media (min-width: 769px) and (max-width: 991px) {
    .cart-buttons .btn.btn-lg.rounded-0 {
        min-width: 180px !important;
        width: 180px !important;
    }
}

/* Footer Styles */
/* Desktop styles (default) */
.footer .newsletter-signup p {
    white-space: nowrap;
    max-width: 100%;
}

@media (max-width: 767px) {
    .footer .col {
        text-align: center;
    }

    .footer .list-unstyled {
        display: inline-block;
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }

    .footer .list-unstyled li {
        text-align: center;
    }

    .footer .list-unstyled li a {
        display: inline-block;
    }

    .footer h5 {
        text-align: center;
    }

    .footer .newsletter-signup {
        text-align: center;
    }

    .footer .newsletter-signup form {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Mobile styles */
    .footer .newsletter-signup p {
        white-space: normal;
        word-wrap: break-word;
    }
}

/* Allauth form formatting */
.allauth-form-inner-content {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.allauth-form-inner-content input {
    border-color: #000;
    border-radius: 0;
}

.allauth-form-inner-content .custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.allauth-form-inner-content .form-check-input {
    margin-top: 0;
}

.allauth-form-inner-content button,
.allauth-form-inner-content input[type='submit'] {
    /* btn */
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    background-color: #000;
    padding: .375rem 2rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    border: 1px solid #000;

    /* standard bootstrap btn transitions */
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.allauth-form-inner-content button:hover,
.allauth-form-inner-content input[type='submit']:hover {	
    color: #fff;
    background-color: #222;
    border-color: #222;
}

/* Footer credit link styling */
.footer .col-12.text-center a {
    color: inherit;
    text-decoration: none;
    position: relative;
}

.footer .col-12.text-center a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease-in-out;
}

.footer .col-12.text-center a:hover::after {
    width: 100%;
}

/* Cart page buttons */
.cart-buttons {
    display: inline-flex;
    gap: 20px;
}

.cart-buttons .btn {
    width: 220px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.375rem 1rem;
}

.cart-buttons .btn .icon {
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .cart-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cart-buttons .btn {
        width: 100%;
    }
}

/* Cart page styles */
.cart-table {
    min-width: 100%;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    /* Mobile cart styles */
    .cart-mobile-item {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid #dee2e6;
    }

    .cart-mobile-image {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    .cart-mobile-details {
        text-align: center;
        margin: 1rem 0;
    }

    .cart-mobile-price,
    .cart-mobile-subtotal {
        text-align: center;
        margin: 0.5rem 0;
    }

    .cart-mobile-quantity {
        margin: 0 auto;
        max-width: 150px;
    }

    .cart-total {
        text-align: center !important;
        margin: 1rem 0;
    }

    .cart-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cart-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Hide table headers on mobile */
    .cart-table thead {
        display: none;
    }

    .table-responsive {
        border: none;
        margin: 0;
        padding: 0;
    }
}

/* Cart remove button */
.remove-item {
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease-in-out;
}

.remove-item:hover {
    transform: scale(1.1);
    color: #dc3545 !important;
}

.cart-mobile-remove {
    margin-top: 1rem;
}

.cart-mobile-remove .remove-item {
    font-size: 1.4rem;
}

/* Cart summary styles */
.cart-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 2rem;
}

.cart-total {
    text-align: right;
    margin-bottom: 1rem;
}

.cart-buttons {
    display: flex;
    gap: 20px;
    margin-top: 1rem;
}

/* Specific button styles to ensure they take precedence */
.cart-buttons .btn.btn-lg.rounded-0 {
    min-width: 260px !important;
    width: 260px !important;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.375rem 1.5rem;
}

.cart-buttons .btn i {
    margin: 0 0.75rem;
}

@media (max-width: 768px) {
    .cart-summary {
        align-items: center;
    }

    .cart-total {
        text-align: center;
    }

    .cart-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cart-buttons .btn.btn-lg.rounded-0 {
        width: 100% !important;
    }
}
