/*your custom css goes here*/
.search-input {
    background-color: #f0f0f1 !important;
    border-radius: 10px !important;
    height: 50px !important;
    border: 1px solid #f0f0f1 !important;
    font-size: 14px !important;
    color: #000000 !important;
    font-weight: 400 !important;
    font-family: "Poppins", sans-serif !important;
    outline: none !important;
    padding-right: 20px !important;
}
.deh-secondary-bg {
    background-color: #F5F5F9!important;
}

.deh-shadow {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.deh-shadow-sm {
}

.product-img-border {
    border: 1px solid #e5e5e5;
    padding: 5px;
    border-radius: 5px;
}
.deh-btn-on-the-way {
    display: inline-flex;
    background-color: rgb(230, 231, 239) !important;
    color: #413f41 !important;
    border-radius: 5px !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-align: center !important;
    border: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.deh-btn-paid {
    display: inline-flex;
    background-color: rgb(230, 239, 231) !important;
    color: #413f41 !important;
    border-radius: 5px !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-align: center !important;
    border: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.deh-btn-unpaid {
    display: inline-flex;
    background-color: rgb(239, 230, 231) !important;
    color: #413f41 !important;
    border-radius: 5px !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-align: center !important;
    border: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* RTL/LTR alignment for status buttons */
[dir="rtl"] .deh-btn-on-the-way,
[dir="rtl"] .deh-btn-paid,
[dir="rtl"] .deh-btn-unpaid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

[dir="ltr"] .deh-btn-on-the-way,
[dir="ltr"] .deh-btn-paid,
[dir="ltr"] .deh-btn-unpaid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Status button container alignment - Force alignment */
.status-buttons-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
}

[dir="rtl"] .status-buttons-container {
    align-items: flex-start !important;
}

[dir="ltr"] .status-buttons-container {
    align-items: flex-end !important;
}

/* Force button alignment within containers */
.status-buttons-container .mb-2 {
    width: 100% !important;
    display: flex !important;
}

[dir="rtl"] .status-buttons-container .mb-2 {
    justify-content: flex-end !important;
}

[dir="ltr"] .status-buttons-container .mb-2 {
    justify-content: flex-end !important;
}

/* Override any existing margins/padding */
.status-buttons-container .deh-btn-on-the-way,
.status-buttons-container .deh-btn-paid,
.status-buttons-container .deh-btn-unpaid {
    margin: 0 !important;
    float: none !important;
    display: inline-flex !important;
}

/* Responsive alignment */
@media (min-width: 768px) {
    [dir="rtl"] .status-buttons-container {
        align-items: flex-start !important;
    }

    [dir="ltr"] .status-buttons-container {
        align-items: flex-end !important;
    }
}
/* Desktop Login/Register Button Styling */
.login-btn {
    color: rgb(43, 43, 48);
    padding: 10px !important;
    border-radius: 5px;
    border: 1px solid rgba(171, 169, 171, 0.5);
}

/* Auth Button Container - Make buttons inline */
.auth-button-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* Auth Button Styling for both Desktop and Mobile */
.auth-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 3px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    flex: 1 !important; /* Equal width for both buttons */
}

.auth-button:hover {
    text-decoration: none !important;
    opacity: 0.8 !important;
}

/* Desktop specific styling */
.auth-button-wrapper:not(.mobile-login-btn) .auth-button {
    border-radius: 5px !important;
    min-width: 80px !important;
}

/* Mobile specific styling */
.mobile-login-btn {
    width: 100% !important;
}

.mobile-login-btn .auth-button {
    border-radius: 8px !important;
    min-width: 100px !important;
    padding: 5px !important;
    font-size: 14px !important;
}

/* Icon and text vertical alignment */
.auth-button svg {
    flex-shrink: 0 !important;
}

.auth-text {
    line-height: 1 !important;
    margin: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-login-btn .auth-button {
        min-width: 90px !important;
        padding: 8px !important;
        font-size: 13px !important;
    }

    .mobile-login-btn .auth-button svg {
        width: 18px !important;
        height: 18px !important;
    }
}

.flip-horizontal {
    transform: scaleX(-1) !important;
}

[dir="rtl"] .auth-register {
    padding-right: 10px;
}

/* ================================
   ATTRACTIVE BUTTON STYLES
   ================================ */
.btn {
    border-radius: 10px !important;
}
/* Modern Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #e81c35 0%, #c4182a 100%) !important;
    border: none;
    border-radius: 8px !important;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(232, 28, 53, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #dcdfe2;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 28, 53, 0.35);
    color: white;
    text-decoration: none;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(232, 28, 53, 0.25);
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.35);
    color: white;
    text-decoration: none;
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.35);
    color: white;
    text-decoration: none;
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.35);
    color: white;
    text-decoration: none;
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: #212529;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    color: #212529;
    text-decoration: none;
}

/* Info Button */
.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
    color: white;
    text-decoration: none;
}

/* Light Button */
.btn-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.deh-tab .nav-link {
    background-color: rgb(245, 245, 249) !important;
    color: #413f41 !important;
    margin: 3px !important;
}
.deh-tab .nav-link:hover {
    background-color: rgb(230, 231, 239) !important;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: #495057;
    text-decoration: none;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(52, 58, 64, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 58, 64, 0.3);
    color: white;
    text-decoration: none;
}

/* Outline Button Variants */
.btn-outline-primary {
    background: transparent;
    border: 2px solid #e81c35;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    color: #e81c35;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-primary:hover {
    background: #e81c35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 28, 53, 0.35);
    text-decoration: none;
}

/* Button Sizes */
.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 4px;
}

/* Support for existing button classes used in templates */
.btn-md {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
}

/* Rounded button variants used in templates */
.rounded-0 {
    border-radius: 0 !important;
}

.rounded-2 {
    border-radius: 8px !important;
}

.rounded-4 {
    border-radius: 16px !important;
}

/* Soft button variants */
.btn-soft-primary {
    background: rgba(232, 28, 53, 0.1);
    border: 1px solid rgba(232, 28, 53, 0.2);
    color: #e81c35;
    box-shadow: 0 2px 8px rgba(232, 28, 53, 0.1);
}

.btn-soft-primary:hover {
    background: rgba(232, 28, 53, 0.15);
    border-color: rgba(232, 28, 53, 0.3);
    color: #e81c35;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 28, 53, 0.2);
}

.btn-soft-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
}

.btn-soft-danger:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.btn-soft-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

.btn-soft-success:hover {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.btn-soft-info {
    background: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.1);
}

.btn-soft-info:hover {
    background: rgba(23, 162, 184, 0.15);
    border-color: rgba(23, 162, 184, 0.3);
    color: #17a2b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.2);
}

.btn-soft-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #ffc107;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
}

.btn-soft-warning:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.btn-soft-blue {
    background: rgba(52, 144, 243, 0.1);
    border: 1px solid rgba(52, 144, 243, 0.2);
    color: #3490f3;
    box-shadow: 0 2px 8px rgba(52, 144, 243, 0.1);
}

.btn-soft-blue:hover {
    background: rgba(52, 144, 243, 0.15);
    border-color: rgba(52, 144, 243, 0.3);
    color: #3490f3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 144, 243, 0.2);
}

/* Secondary base button used in templates */
.btn-secondary-base {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary-base:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.35);
    color: white;
    text-decoration: none;
}

/* Block Button */
.btn-block {
    width: 100%;
    justify-content: center;
}

/* Rounded Button */
.btn-rounded {
    border-radius: 50px;
}

/* Button with Icon */
.btn-icon {
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon.btn-sm {
    width: 36px;
    height: 36px;
    padding: 8px;
}

.btn-icon.btn-lg {
    width: 64px;
    height: 64px;
    padding: 16px;
}

/* Floating Action Button */
.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--hov-primary) 100%
    );
    border: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-floating:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

/* Animated Button */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-animated:hover::after {
    width: 300px;
    height: 300px;
}

/* Disabled Button */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled:hover,
.btn.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Loading Button */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* RTL Button Support */
[dir="rtl"] .btn {
    font-family: var(--rtl-primary-font, inherit);
}

[dir="rtl"] .btn-icon {
    flex-direction: row-reverse;
}

/* Responsive Button Adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 11px;
    }

    .btn-floating {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}

/* ================================
   E-COMMERCE SPECIFIC BUTTONS
   ================================ */

/* Add to Cart Button */
.btn-add-to-cart {
    background: linear-gradient(135deg, #e81c35 0%, #c4182a 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(232, 28, 53, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.btn-add-to-cart::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-add-to-cart:hover::before {
    left: 100%;
}

/* Buy Now Button */
.btn-buy-now {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    color: white;
    text-decoration: none;
}

/* Wishlist Button */
.btn-wishlist {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    color: white;
    text-decoration: none;
}

/* Quick View Button */
.btn-quick-view {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-quick-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
    color: white;
    text-decoration: none;
}

/* Checkout Button */
.btn-checkout {
    background: linear-gradient(135deg, #e81c35 0%, #c4182a 100%);
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(232, 28, 53, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

/* Continue Shopping Button */
.btn-continue-shopping {
    background: transparent;
    border: 2px solid #e81c35;
    border-radius: 8px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 14px;
    color: #e81c35;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-continue-shopping:hover {
    background: #e81c35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 28, 53, 0.35);
    text-decoration: none;
}

/* Apply Coupon Button */
.btn-apply-coupon {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    color: #212529;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-apply-coupon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    color: #212529;
    text-decoration: none;
}

/* Product Action Buttons Container */
.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobile Product Actions */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
        justify-content: center;
    }

    .btn-wishlist {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .btn-quick-view {
        padding: 6px 16px;
        font-size: 11px;
    }
}

/* ================================
   FORM CONTROLS & INPUT STYLING
   ================================ */

/* Tailwind-like style for .form-control with !important to override defaults */
.form-control {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    height: 50px !important;
    color: #111827 !important;
    /* Dark text */
    background-color: #f0f0f153 !important;
    border: 1px solid #d1d5db !important;
    /* Light gray border */
    border-radius: 8px !important;
    /* Smooth rounded edges */
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* Placeholder styling */
.form-control::placeholder {
    color: #9ca3af !important;
    /* Light gray placeholder */
    font-size: 14px !important;
}

/* Focus effect */
.form-control:focus {
    border-color: #413f4156 !important;
    /* Blue border on focus */
    box-shadow: 0 0 0 3px rgba(37, 100, 235, 0.027) !important;
    /* Blue glow */
    outline: none !important;
}

/* Disabled inputs */
.form-control:disabled {
    background-color: #f9fafb !important;
    cursor: not-allowed !important;
    color: #9ca3af !important;
}

/* Textarea Styling */
textarea.form-control {
    resize: vertical !important;
    min-height: 100px !important;
}

/* Input Group Styling */
.input-group .form-control {
    border-radius: 12px !important;
}

.input-group .form-control:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-text {
    border-radius: 12px !important;
    border: 2px solid #e8e8e8 !important;
    background-color: #f8f9fa !important;
    color: #666 !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
}

.input-group .input-group-text:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group .input-group-text:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Form Labels */
.form-label,
label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
}

.btn-secondary:hover {
    background-color: #545b62 !important;
    border-color: #545b62 !important;
    transform: translateY(-1px) !important;
}

/* Modal Styling */
.modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.modal-header {
    border-radius: 16px 16px 0 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    padding: 24px !important;
}

.modal-body {
    padding: 24px !important;
}

.modal-footer {
    border-radius: 0 0 16px 16px !important;
    border-top: 1px solid #e8e8e8 !important;
    padding: 20px 24px !important;
}

/* Checkbox and Radio Styling */
.form-check-input {
    border-radius: 6px !important;
    border: 2px solid #e8e8e8 !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
}

.form-check-input:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.form-check-input[type="radio"] {
    border-radius: 50% !important;
}

.form-check-label {
    font-weight: 400 !important;
    color: #374151 !important;
    margin-left: 8px !important;
}

/* Alert Styling */
.alert {
    border-radius: 12px !important;
    border: none !important;
    padding: 16px 20px !important;
    font-weight: 500 !important;
}

.alert-success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}

.alert-warning {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}

.alert-info {
    background-color: #d1ecf1 !important;
    color: #0c5460 !important;
    border-left: 4px solid #17a2b8 !important;
}

/* Pagination Styling */
.page-link {
    border-radius: 8px !important;
    border: 1px solid #e8e8e8 !important;
    color: #e8e8e8 !important;
    padding: 10px 16px !important;
    margin: 0 2px !important;
    font-weight: 500 !important;
}

.page-link:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

.page-item.active .page-link {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* Table Styling */
.table {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e8e8e8 !important;
}

.table th {
    background-color: #f8f9fa !important;
    border-color: #e8e8e8 !important;
    font-weight: 600 !important;
    color: #374151 !important;
    padding: 16px !important;
}

.table td {
    border-color: #e8e8e8 !important;
    padding: 16px !important;
    vertical-align: middle !important;
}

.category-card {
    border-radius: 8px;
    background: #fff;
    margin: 3px;
    padding: 10px;
    border: 1px solid rgba(171, 169, 171, 0.5);
}

.feature-strip {
}

/* Dehafghanan Features Section - Improved Design */
.dehafghanan-features {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.feature-card {
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e81c35;
    background: #f1f5f9;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 5px;
}
.feature-icon svg {
    color: #e81c35 !important;
}

.feature-card:hover .feature-icon {
    background: #e81c35;
    color: white;
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.feature-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Animation for feature cards entrance */
@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: slideInFromBottom 0.5s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive adjustments for features */
@media (max-width: 768px) {
    .dehafghanan-features {
        padding: 2rem 0;
    }

    .feature-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-description {
        font-size: 0.8rem;
    }
}

/* subtle gray like the screenshot */
.feature-item .icon {
    width: 44px;
    height: 44px;

    color: #e81c35;
    /* primary-ish */
}

.feature-item svg {
    width: 100px;
    height: 100px;
}

/* ================================
   PRODUCT BOX STYLE OVERRIDES
   ================================ */

/* Override aiz-card-box hover effects to remove red border */
.aiz-card-box {
    transition: all 0.3s ease !important;

    outline: none !important;
}

.aiz-card-box:hover {
    border-color: transparent !important;
    outline: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Remove any red borders or outlines on hover */
.aiz-card-box:focus,
.aiz-card-box:active,
.aiz-card-box:hover {
    outline: none !important;
    border-color: transparent !important;
}

/* Override hov-scale-img to prevent unwanted scaling */
.hov-scale-img:hover {
    transform: translateY(-2px) !important;
}

/* ================================
   EXPANDING CART BUTTON
   ================================ */

/* Cart button container - positioned below price */
.cart-button-container {
    position: absolute;
    right: 5px;
    bottom: 12px;
    z-index: 10;
}

/* Cart button - starts as a circle */
.cart-button {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e81c35 0%, #c4182a 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
    overflow: hidden;
    position: relative;
}

/* Cart button icon */
.cart-button .cart-icon {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: white;
}

/* Cart button text - hidden by default */
.cart-button .cart-text {
    opacity: 0;
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-left: 0;
    padding-right: 5px;
    line-height: 18;
}

/* Hover effects for cart button - only expand when hovering over the product card */
.aiz-card-box:hover .cart-button {
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #e81c35 0%, #c4182a 100%);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
    transform: translateY(-2px);
}

/* Show text on product card hover */
.aiz-card-box:hover .cart-button .cart-text {
    opacity: 1;
    width: auto;
    margin-left: 8px;
}

/* Icon animation on product card hover */
.aiz-card-box:hover .cart-button .cart-icon {
    transform: scale(1.1);
}

/* Active state */
.cart-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-button {
        width: 36px;
        height: 36px;
    }

    .aiz-card-box:hover .cart-button {
        width: 120px;
    }

    .cart-button .cart-icon {
        width: 16px;
        height: 16px;
    }
}

/* Cart button is always visible by default */
.aiz-card-box .cart-button-container {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Position the cart button below the price section */
.aiz-card-box .p-2.p-md-3 {
    position: relative;
    padding-bottom: 60px !important; /* Make room for the cart button */
}

/* Override any existing cart button styles */
.aiz-card-box .cart-btn {
    display: none !important; /* Hide the old cart button */
}

/* Ensure proper positioning for the new cart button */
.aiz-card-box {
    position: relative;
}

/*. Modal Styles  */

.modal-content {
    border-radius: 10px !important;
}

.cart-label {
    background-color: #f6f6f6;
    width: 80%;
    border-radius: 5px;
    padding-right: 5px;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
        rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
.cart-btn-add {
    text-align: center;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 1px solid #e6fff3 !important;
    background-color: #e6fff3;
    line-height: 1.5;
}
.cart-btn-minus {
    text-align: center;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 1px solid #fff4f8 !important;
    background-color: #fff4f8;
    line-height: 1.5;
}

.cart-btn-minus i {
    line-height: 1.5 !important;
    font-weight: bold;
}
.cart-btn-add i {
    line-height: 1.4 !important;
    font-weight: bold;
}

.menu-cart-item-img {
    border: 1px solid #e5e5e5 !important;
    padding: 5px !important;
    border-radius: 5px !important;
}

.custom-table {
    border-radius: 0px !important;
    border: none !important;
    background-color: #f0f0f1 !important;
}
.custom-table th {
    background-color: #f0f0f1 !important;
    border-bottom: 1px solid rgb(189, 189, 189) !important;
}

.custom-table td {
    border-bottom: 1px solid rgb(189, 189, 189) !important;
}

.bg-dehafghanan {
    background-color: #f0f0f1 !important;
}

.text-secondary {
    color: #413f42 !important;
}

.jssocials-share-link {
    background-color: #413f42 !important;
    color: #fff !important;
    border-radius: 5px !important;
    padding: 5px !important;
    margin-right: 5px !important;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
    font-size: 12px !important;
}

.aiz-megabox .aiz-megabox-elem {
    border-radius: 5px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
        rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.slick-current .carousel-box img {
    border-radius: 5px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
        rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

/* ================================
   COMPACT FEATURE BOXES STYLING
   ================================ */

.feature-box-compact {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 60px;
    min-height: 60px;
}

.feature-box-compact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #e81c35 0%, #c4182a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-box-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #e81c35;
}

.feature-box-compact:hover::before {
    transform: scaleX(1);
}

.feature-icon-compact {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.feature-box-compact:hover .feature-icon-compact {
    transform: scale(1.05);
}

.feature-icon-compact i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.feature-box-compact:hover .feature-icon-compact i {
    transform: scale(1.05);
}

.feature-content-compact {
    flex: 1;
    display: flex;
    align-items: right;
    flex-direction: column;
    vertical-align: middle !important;
}

.feature-content-compact h6 {
    font-weight: 600;
    margin: 0;
    color: #413f41;
    font-size: 14px;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-box-compact {
        padding: 12px 16px;
        height: 55px;
        min-height: 55px;
    }

    .feature-icon-compact {
        width: 35px;
        height: 35px;
    }

    .feature-icon-compact i {
        font-size: 18px;
    }

    .feature-content-compact h6 {
        font-size: 13px;
        color: #413f41 !important;
    }
}

/* Animation for feature boxes entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-box-compact {
    animation: fadeInUp 0.5s ease-out;
}

.feature-box-compact:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-box-compact:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-box-compact:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-box-compact:nth-child(4) {
    animation-delay: 0.4s;
}

/* --- Feature Box Subtitle Animation --- */
.feature-content-compact .feature-subtitle {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
    line-height: 1.3;
    padding-left: 2px;
}

.feature-box-compact:hover .feature-content-compact .feature-subtitle {
    max-height: 60px;
    /* adjust as needed */
    opacity: 1;
    transition-delay: 0.1s;
}

/* Responsive: subtitle font size */
@media (max-width: 768px) {
    .feature-content-compact .feature-subtitle {
        font-size: 11px;
    }
}

/* ===== LOGIN MODAL STYLES ===== */

/* Modal Container */
.login-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Modal Header */
.login-modal-header {
    border: none;
    padding: 20px 30px 10px 30px;
    position: relative;
}

.login-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #666;
}

/* Logo Container */
.login-modal-logo-container {
    width: 60px;
    height: 60px;
    background: #e81e36;
    border-radius: 10px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-logo-svg {
    width: 40px;
    height: 40px;
}

/* Modal Title */
.login-modal-title {
    color: #413f41;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-modal-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

/* Modal Body */
.login-modal-body {
    padding: 20px 30px;
}

/* Form Labels */
.login-form-label {
    color: #413f41;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Form Inputs */
.login-form-input {
    padding-left: 45px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    font-size: 16px;
}

.login-form-input-password {
    padding-left: 45px;
    padding-right: 45px !important;
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    font-size: 16px;
}

/* Form Icons */
.login-form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

.login-form-icon-eye {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

/* Remember Me & Forgot Password */
.login-remember-checkbox {
    display: flex;
    align-items: center;
}

.login-remember-checkbox input {
    margin-left: 8px;
}

.login-remember-text {
    color: #666;
    font-size: 14px;
}

.login-forgot-link {
    color: #e81e36;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Login Button */
.login-submit-btn {
    width: 100%;
    height: 50px;
    background: #e81e36;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Register Section */
.login-register-text {
    color: #666;
    margin-bottom: 5px;
}

.login-register-link {
    color: #e81e36;
    text-decoration: none;
    font-weight: 600;
}

/* Social Login Separator */
.login-social-separator {
    position: relative;
    text-align: center;
}

.login-social-separator hr {
    border: none;
    height: 1px;
    background: #e1e5e9;
    margin: 0;
}

.login-social-separator span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Social Login Buttons */
.login-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.login-social-btn-facebook {
    background: #1877f2;
    color: white;
}

.login-social-btn-google {
    background: white;
    border: 2px solid #e1e5e9;
    color: #413f41;
}

.login-social-icon {
    margin-left: 8px;
}

/* Information Security Section */
.login-security-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e1e5e9;
}

.login-security-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-security-icon {
    color: #28a745;
    font-size: 18px;
}

.login-security-title {
    color: #413f41;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.login-security-text {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
}

/* ===== USER LOGIN PAGE STYLES ===== */

/* Main Container */
.user-login-container {
    min-height: 100vh;
    background: #f8f9fa;
}

/* Card Container */
.user-login-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Right Content Area */
.user-login-content {
    padding: 40px;
    background: white;
}

/* Logo Container */
.user-login-logo-container {
    width: 60px;
    height: 60px;
    background: #e81e36;
    border-radius: 10px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-login-logo-svg {
    width: 40px;
    height: 40px;
}

/* Title Section */
.user-login-title {
    color: #413f41;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.user-login-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Form Labels */
.user-login-form-label {
    color: #413f41;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

/* Form Inputs */
.user-login-form-input {
    padding-left: 45px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    font-size: 16px;
    background: white;
}

.user-login-form-input:focus {
    border-width: 1px !important;
    border-color: #e81e36 !important;
}

/* Form Icons */

:dir(rtl) .user-login-form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    z-index: 10;
}
:dir(ltr) .user-login-form-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    z-index: 10;
}

.user-login-form-icon-eye {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}
input[type="password"] + i.la-lock {
    display: none;
}

/* Use Email Instead Button */
.user-login-email-toggle {
    color: #e81e36;
    text-decoration: none;
    font-size: 12px;
    font-style: italic;
}

/* Remember Me & Forgot Password */
.user-login-remember-checkbox {
    display: flex;
    align-items: center;
}

.user-login-remember-checkbox input {
    margin-left: 8px;
}

.user-login-remember-text {
    color: #666;
    font-size: 12px;
}

.user-login-forgot-link {
    color: #e81e36;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

/* Login Button */
.user-login-submit-btn {
    width: 100%;
    height: 50px;
    background: #e81e36;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.user-login-submit-btn:hover {
    background: #d0172a;
    color: white;
}

/* Demo Mode Table */
.user-login-demo-table {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.user-login-demo-table td {
    padding: 12px 15px;
    border: none;
}

.user-login-demo-btn {
    background: #17a2b8;
    border: none;
    border-radius: 5px;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
}

/* Social Login Separator */
.user-login-social-separator {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.user-login-social-separator span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.user-login-social-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
    z-index: 0;
}

/* Social Login Buttons */
.user-login-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.user-login-social-item {
    display: inline-block;
}

.user-login-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.user-login-social-link.facebook {
    background: #1877f2;
    color: white;
}

.user-login-social-link.google {
    background: white;
    border: 2px solid #e1e5e9;
    color: #413f41;
}

.user-login-social-link.twitter {
    background: #1da1f2;
    color: white;
}

.user-login-social-link.apple {
    background: #000;
    color: white;
}

.user-login-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Register Section */
.user-login-register-text {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.user-login-register-link {
    color: #e81e36;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Back Button */
.user-login-back-btn {
    color: #e81e36;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.user-login-back-btn:hover {
    color: #d0172a;
    text-decoration: none;
}

/* Modern Payment Section Styles */
.payment-section {
    margin-bottom: 2rem;
}

/* ================================
   Modern File Input (AIZ uploader)
   ================================ */
.simple-file {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #f0f0f153 !important;
    overflow: hidden !important;
}

.simple-file .input-group-text.simple-file-btn {
    background: #1f2937 !important; /* slate-800 */
    color: #fff !important;
    border: none !important;
    border-radius: 6px 0 0 6px !important;
    padding: 12px 16px !important;
    font-weight: 600 !important;
}

.simple-file .form-control.file-amount {
    background: #f8fafc !important; /* slate-50 */
    color: #111827 !important;
}

[dir="rtl"] .simple-file .input-group-text.simple-file-btn {
    border-radius: 0 6px 6px 0 !important;
}

.simple-file .form-control.file-amount {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #111827 !important;
}

.simple-file-btn {
    background: #f8f9fa !important;
    color: #495057 !important;
    border-left: 1px solid #e5e7eb !important;
    font-weight: 600 !important;
    padding: 0 14px !important;
}

.simple-file:focus-within {
    border-color: #413f4156 !important;
    box-shadow: 0 0 0 3px rgba(37, 100, 235, 0.027) !important;
}
.modern-file {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #f0f0f153 !important;
    overflow: hidden !important;
    transition: all 0.2s ease-in-out !important;
}

.modern-file:focus-within {
    border-color: #413f4156 !important;
    box-shadow: 0 0 0 3px rgba(37, 100, 235, 0.027) !important;
}

.modern-file-icon {
    background: transparent !important;
    border: none !important;
    color: #6b7280 !important;
    padding-inline: 12px !important;
    display: flex !important;
    align-items: center !important;
}

.modern-file-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #111827 !important;
}

.modern-file-btn {
    background: #e81e36 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    padding: 0 14px !important;
    cursor: pointer !important;
}

.modern-file-preview.box.sm {
    border-radius: 8px !important;
    background: #fff !important;
    border: 1px dashed #e5e7eb !important;
}

.payment-icon {
    color: #e81e36;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(232, 30, 54, 0.1);
    border-radius: 10px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.payment-method-label {
    display: block;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.payment-method-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 80px;
}

.payment-method-label:hover .payment-method-content {
    border-color: #e81e36;
}

.payment-method-label input[type="radio"]:checked + .payment-method-content {
    border-color: #e81e36;
    background: linear-gradient(
        135deg,
        rgba(232, 30, 54, 0.05) 0%,
        rgba(232, 30, 54, 0.02) 100%
    );
    box-shadow: 0 4px 10px rgba(232, 30, 54, 0.2);
}

.payment-method-info {
    flex: 1;
}

.payment-method-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.payment-method-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.payment-method-icon {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 8px;
    margin-left: 1rem;
}

.payment-icon-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-method-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #e81e36;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.payment-method-label input[type="radio"]:checked ~ .payment-method-check {
    opacity: 1;
    transform: scale(1);
}

/* Wallet Payment Section */
.wallet-payment-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

.wallet-balance-info {
    margin-bottom: 1rem;
}

.wallet-label {
    font-size: 14px;
    color: #64748b;
    margin-right: 0.5rem;
}

.wallet-amount {
    font-size: 18px;
    font-weight: 700;
    color: #e81e36;
}

.btn-wallet-pay {
    background: #e81e36;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-wallet-pay:hover {
    background: #d0172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 30, 54, 0.3);
}

.btn-wallet-disabled {
    background: #9ca3af;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: not-allowed;
}

/* Additional Info Section */
/* .additional-info-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
} */

.additional-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.additional-info-icon {
    color: #6b7280;
    margin-right: 0.75rem;
}

.additional-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.additional-info-content {
    margin-top: 1rem;
}

.additional-info-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 14px;
    color: #374151;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.additional-info-textarea:focus {
    outline: none;
    border-color: #e81e36;
    box-shadow: 0 0 0 3px rgba(232, 30, 54, 0.1);
}

.additional-info-textarea::placeholder {
    color: #9ca3af;
}

/* Shipping Section */
.shipping-section {
    margin: 1.5rem 0;
}

.shipping-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.shipping-option-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shipping-option-label {
    display: block;
    cursor: pointer;
    position: relative;
}

.shipping-option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shipping-option-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shipping-option-label:hover .shipping-option-content {
    border-color: #e81e36;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 30, 54, 0.15);
}

.shipping-option-label input[type="radio"]:checked ~ .shipping-option-content {
    border-color: #e81e36;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.shipping-option-info {
    flex: 1;
}

.shipping-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.shipping-address-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.address-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.address-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.address-value {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    flex: 1;
}

.shipping-option-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.btn-edit-address {
    background: #e81e36;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-address:hover {
    background: #c41e3a;
    transform: translateY(-1px);
}

.shipping-option-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #e81e36;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.shipping-option-label input[type="radio"]:checked ~ .shipping-option-check {
    opacity: 1;
    transform: scale(1);
}

/* Add Address Section */
.add-address-section {
    margin-top: 2rem;
}

.add-address-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.add-address-card:hover {
    border-color: #e81e36;
    background: linear-gradient(135deg, #fef2f2 0%, #f8fafc 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 30, 54, 0.15);
}

.add-address-icon {
    width: 48px;
    height: 48px;
    background: #e81e36;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.add-address-card:hover .add-address-icon {
    background: #c41e3a;
    transform: scale(1.1);
}

.add-address-content {
    text-align: center;
}

.add-address-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.add-address-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Address Modal Fixes */
#new-address-modal,
#edit-address-modal {
    z-index: 9999 !important;
}

#new-address-modal .modal-dialog,
#edit-address-modal .modal-dialog {
    z-index: 10000 !important;
}

/* Address modal select elements now use user-login-form-input styling */

/* Ensure modal backdrop has proper z-index */
.modal-backdrop {
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .payment-method-content {
        padding: 1rem;
        min-height: 70px;
    }

    .payment-method-title {
        font-size: 14px;
    }

    .payment-method-desc {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .payment-method-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .payment-method-icon {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Modern Checkout Card Styles */
.modern-payment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.modern-payment-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.payment-section-icon {
    color: #e81e36;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(232, 30, 54, 0.1);
    border-radius: 8px;
}

.modern-payment-body {
    padding: 2rem;
    background: #fafafa;
}

/* Modern Agree Section */
.modern-agree-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.agree-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
}

.modern-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.modern-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 2px solid #706e70;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.modern-checkbox:hover .checkmark {
    border-color: #e81e36;
    box-shadow: 0 0 0 3px rgba(232, 30, 54, 0.1);
}

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

.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agree-text {
    flex: 1;
    line-height: 1.6;
}

.policy-link-inline {
    color: #e81e36;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.policy-link-inline:hover {
    color: #d0172a;
    text-decoration: underline;
}

/* Checkout Actions */
.checkout-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-return-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-return-shop:hover {
    color: #e81e36;
    background: rgba(232, 30, 54, 0.05);
    text-decoration: none;
}

.btn-complete-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e81e36 0%, #d0172a 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(232, 30, 54, 0.3);
}

.btn-complete-order:hover {
    background: linear-gradient(135deg, #d0172a 0%, #b81526 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(232, 30, 54, 0.4);
    color: white;
    text-decoration: none;
}

.btn-complete-order:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(232, 30, 54, 0.3);
}

.btn-complete-order:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-complete-order:disabled:hover {
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}

/* Responsive adjustments for checkout */
@media (max-width: 768px) {
    .modern-payment-body {
        padding: 1rem;
    }

    .checkout-actions .row {
        flex-direction: column;
        gap: 1rem;
    }

    .checkout-actions .col-6 {
        width: 100%;
        text-align: center;
    }

    .btn-complete-order {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-agree-section {
        padding: 1rem;
    }

    .modern-checkbox {
        font-size: 13px;
    }

    .checkmark {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
}

/* Modern Delivery Section Styles */
.delivery-section {
    margin-bottom: 2rem;
}

.delivery-icon {
    color: #e81e36;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(232, 30, 54, 0.1);
    border-radius: 10px;
}

.delivery-details-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.delivery-column {
    flex: 1;
    min-width: 300px;
}

/* Product List Section */
.product-list-section {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
}

.product-list-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem 0;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.product-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.product-quantity {
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: #e81e36;
}

.product-variation {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* Delivery Options Section */
.delivery-options-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
}

.delivery-options-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.delivery-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.delivery-option-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.delivery-option-label {
    display: block;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.delivery-option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-option-content {
    background: #ffffff;
    border: 1px solid #e81e36;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 80px;
}

.delivery-option-label:hover .delivery-option-content {
}

.delivery-option-label input[type="radio"]:checked + .delivery-option-content {
    border-color: #e81e36;
    background: linear-gradient(
        135deg,
        rgba(232, 30, 54, 0.05) 0%,
        rgba(232, 30, 54, 0.02) 100%
    );
    box-shadow: 0 4px 20px rgba(232, 30, 54, 0.2);
}

.delivery-option-icon {
    color: #e81e36;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(232, 30, 54, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.delivery-option-info {
    flex: 1;
}

.delivery-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.delivery-option-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.delivery-option-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: #e81e36;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.delivery-option-label input[type="radio"]:checked ~ .delivery-option-check {
    opacity: 1;
    transform: scale(1);
}

/* Pickup Point Section */
.pickup-point-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.pickup-point-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.modern-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: white;
    transition: all 0.3s ease;
}

.modern-select:focus {
    outline: none;
    border-color: #e81e36;
    box-shadow: 0 0 0 3px rgba(232, 30, 54, 0.1);
}

/* Carrier Section */
.carrier-section {
    margin-top: 1.5rem;
}

.carrier-unavailable {
    text-align: center;
    padding: 2rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

.carrier-unavailable-icon {
    color: #dc2626;
    margin-bottom: 1rem;
}

.carrier-unavailable-title {
    font-size: 18px;
    font-weight: 600;
    color: #dc2626;
    margin: 0 0 0.5rem 0;
}

.carrier-unavailable-desc {
    font-size: 14px;
    color: #7f1d1d;
    margin: 0;
}

.carrier-options {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
}

.carrier-options-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.carrier-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.carrier-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.carrier-label {
    display: block;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.carrier-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.carrier-content {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 80px;
}

.carrier-label:hover .carrier-content {
    border-color: #e81e36;
    box-shadow: 0 4px 12px rgba(232, 30, 54, 0.15);
    transform: translateY(-2px);
}

.carrier-label input[type="radio"]:checked + .carrier-content {
    border-color: #e81e36;
    background: linear-gradient(
        135deg,
        rgba(232, 30, 54, 0.05) 0%,
        rgba(232, 30, 54, 0.02) 100%
    );
    box-shadow: 0 4px 20px rgba(232, 30, 54, 0.2);
}

.carrier-logo {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 8px;
    flex-shrink: 0;
}

.carrier-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carrier-info {
    flex: 1;
}

.carrier-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.carrier-transit {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.carrier-price {
    text-align: right;
}

.carrier-price-amount {
    font-size: 16px;
    font-weight: 700;
    color: #e81e36;
}

.carrier-check {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: #e81e36;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.carrier-label input[type="radio"]:checked ~ .carrier-check {
    opacity: 1;
    transform: scale(1);
}

/* ================================
   TRACK ORDER PAGE STYLES
   ================================ */

/* Track Order Header */
.track-order-header {
    background: #fafbfc;
    border-bottom: 1px solid #e9ecef;
}

/* Track Order Form Card */
.track-order-card {
    border-radius: 8px;
    border: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Track Order Icon */
.track-order-icon {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.track-order-icon i {
    font-size: 32px;
    color: #dc3545;
}

/* Track Order Input with Icon */
.track-order-input {
    position: relative;
}

.track-order-input .form-control {
    padding-left: 45px;
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.track-order-input .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.track-order-input .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
    z-index: 2;
}

/* Track Order Button */
.track-order-btn {
    border-radius: 8px;
    min-width: 200px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
}

/* Order Info Card */
.order-info-card {
    border-radius: 8px;
    border: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Order Status Badge */
.order-status-badge {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
}

/* Product List Card */
.product-list-card {
    border-radius: 8px;
    border: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Product Item */
.product-item {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

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

.product-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.product-thumbnail-placeholder {
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

/* Section Headers */
.section-header {
    padding: 20px;
}

.section-header h3 {
    margin: 0;
    font-weight: 600;
    color: #212529;
}

.section-header .badge {
    font-size: 12px;
    padding: 4px 8px;
}

/* Info Sections */
.info-section {
    padding: 20px;
}

.info-section h5 {
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.info-section h5 i {
    color: #dc3545;
    margin-right: 8px;
}

.info-row {
    margin-bottom: 12px;
}

.info-label {
    color: #6c757d;
    font-weight: 500;
    min-width: 100px;
    margin-right: 12px;
}

.info-value {
    color: #212529;
}

.info-value.fw-600 {
    font-weight: 600;
}

.info-value.text-primary {
    color: #dc3545 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .track-order-icon {
        width: 60px;
        height: 60px;
    }

    .track-order-icon i {
        font-size: 24px;
    }

    .track-order-btn {
        min-width: 150px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .product-thumbnail,
    .product-thumbnail-placeholder {
        width: 40px;
        height: 40px;
    }
}

/* Responsive Design for Delivery */
@media (max-width: 768px) {
    .delivery-details-container {
        flex-direction: column;
        gap: 1rem;
    }

    .delivery-column {
        min-width: 100%;
    }

    .delivery-options-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .delivery-option-content {
        padding: 1rem;
        min-height: 70px;
    }

    .delivery-option-title {
        font-size: 14px;
    }

    .delivery-option-desc {
        font-size: 12px;
    }

    .carrier-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .carrier-price {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .delivery-group-content {
        padding: 1rem;
    }

    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .delivery-option-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .delivery-option-icon {
        margin: 0 auto;
    }

    .shipping-options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .shipping-option-content {
        padding: 1rem;
    }

    .address-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .address-label {
        min-width: auto;
    }

    .add-address-card {
        padding: 1.5rem;
    }
}

/* Toolbar */
.cat-toolbar .cat-search {
    background: #fff;
    border: 1px solid var(--cat-ring);
    border-radius: 14px;
    padding-inline: 0.5rem;
}

.cat-toolbar .cat-search .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.cat-toolbar .cat-search .btn {
    color: #6b7f95;
}

/* Card layout */
.cat-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 200px;
    border: 1px solid var(--cat-ring);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    transition: 0.2s ease;
}

.cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.06);
    border-color: #d7e7f8;
}

/* Visual side */
.cat-visual {
    position: relative;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.cat-visual::after {
    /* soft decorative gradient */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            200px 100px at 80% 10%,
            rgba(10, 110, 180, 0.18),
            transparent 60%
        ),
        radial-gradient(
            180px 90px at 20% 90%,
            rgba(3, 105, 161, 0.12),
            transparent 65%
        );
}

.cat-visual-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cat-visual-bg img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    opacity: 0.75;
}

/* Content */
.cat-body {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cat-buttons {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
}

.cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--cat-soft);
    border: 1px solid #e0ebf9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a6eb4;
}

.cat-title {
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.2;
}

.cat-meta {
    font-size: 0.9rem;
}

/* Chips */
.chips {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.6rem;
    background: var(--cat-chip);
    color: var(--cat-chip-text);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
    background: #e9f2ff;
    border-color: #cfe3ff;
}

.chip-more {
    cursor: pointer;
}

/* Expanded area */
.cat-expand {
    border-top: 1px dashed var(--cat-ring);
    margin-top: 0.75rem;
    padding-top: 0.9rem;
}

.subcard {
    border: 1px solid var(--cat-ring);
    border-radius: 14px;
    padding: 0.8rem;
    background: #fff;
    height: 100%;
}

.subcard-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    font-size: 0.92rem;
}

.sublist a {
    text-decoration: none;
}

.sublist a:hover {
    text-decoration: underline;
}

.sub-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .cat-card {
        grid-template-columns: 160px 1fr;
    }
}

@media (max-width: 575.98px) {
    .cat-card {
        grid-template-columns: 1fr;
    }

    .cat-visual {
        height: 140px;
    }
}

.cat-list-item {
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 10px;
}
.cat-list-item:last-child {
    border-bottom: none !important;
}
.cat-list-item img {
    height: 20px;
    width: 20px;

    border: 1px solid #f1f5f9;
}
.cat-list-item:hover {
    background-color: #f1f5f9;
    border-radius: 10px;

    border-bottom: none;
}
.noUi-handle {
    background-color: #111827 !important;
}

/* Modern Sort Dropdown Styles */
.modern-sort-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 250px;
}

.sort-dropdown {
    position: relative;
    width: 100%;
}

.sort-toggle-btn {
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sort-toggle-btn:hover {
    border-color: #e81e36;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

.sort-toggle-btn:focus {
    outline: none;
    border-color: #e81e36;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.sort-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 4px;
    overflow: hidden;
    min-width: 280px;
}

.sort-header {
    padding: 16px 20px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.sort-options {
    padding: 8px 0;
    max-height: 300px;
    overflow-y: auto;
}

.sort-option {
    display: block;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.sort-option:hover {
    background: #f8f9fa;
}

.sort-option input[type="radio"] {
    display: none;
}

.sort-option-content {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
    transition: all 0.2s ease;
    position: relative;
}

.sort-option-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: all 0.2s ease;
}

.sort-option input[type="radio"]:checked + .sort-option-content {
    background: #e3f2fd;
    color: #1976d2;
}

.sort-option input[type="radio"]:checked + .sort-option-content::before {
    background: #1976d2;
}

.sort-option input[type="radio"]:checked + .sort-option-content i {
    color: #1976d2 !important;
}

.sort-option-text {
    font-weight: 500;
    font-size: 14px;
    flex: 1;
}

.sort-option i {
    width: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

/* Dropdown Animation */
.sort-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.sort-dropdown.show .sort-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Arrow Rotation */
.sort-arrow {
    transition: transform 0.3s ease;
}

.sort-arrow.rotated {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-sort-container {
        max-width: 100%;
    }

    .sort-dropdown-menu {
        min-width: 100%;
        left: 0;
        right: 0;
    }

    .sort-toggle-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .sort-option-content {
        padding: 10px 16px;
    }
}

/* Custom Scrollbar for Sort Options */
.sort-options::-webkit-scrollbar {
    width: 4px;
}

.sort-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.sort-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.sort-options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.pagination .page-link,
.page-item.disabled .page-link {
    height: 25px !important;
    width: 25px !important;
    line-height: 30px !important;
    text-align: center !important;
    padding: 0 !important;
    border-radius: 5px !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Product detail feature boxes */
.product-features-row > [class*="col-"] {
    display: flex;
}

.feature-box-compact {
    width: 100%;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.feature-box-compact:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.feature-box-header {
    gap: 8px;
}

.feature-icon-compact {
    line-height: 0;
}

.feature-icon-compact svg {
    display: block;
}

.feature-box-title {
    font-size: 13px;
    line-height: 1.35;
}

.feature-box-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 10px;
    transform: translateY(-4px);
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, transform 0.3s ease;
}

.feature-box-compact:hover .feature-box-reveal {
    max-height: 160px;
    opacity: 1;
    padding: 0 10px 10px;
    transform: translateY(0);
}

.feature-subtitle {
    font-size: 11px;
    color: #6c757d;
    line-height: 1.45;
    margin: 0;
}

.feature-read-more {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.feature-read-more:hover {
    text-decoration: underline;
    color: var(--hov-primary);
}
