

.slider-link-text{
 border: 1px solid #fff; 
 padding: 8px 12px;
 border-radius: 8px;
}

.slider-link-text:hover{ 
 padding: 8px 12px;
 border-radius: 8px;
 background-color: #fff;
 color: #000000 !important;
 transition: all 0.75s ease-in-out
}

input[type=checkbox]{
    transform: scale(1.4);
    border: 1px solid lightgray;
    border-color: lightgray;
    box-shadow: none;
}

input[type=checkbox]:hover {
    cursor: pointer;
}

.slide-up-effect {
  --bs-position: end;
  animation: 0.5s slideUp;
}
@keyframes slideUp {
  from {
    transform: translateY(10%);
  }
  to {
    transform: translateY(0);
  }
}

.custom-select-tag {
  padding: 8px 5px 8px 5px;
  border: 0px 0px 1px solid #ccc 0px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
}

.custom-select-tag .open{
  padding: 8px 5px 8px 5px;
  border: 0px 0px 1px solid #ccc 0px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
}


.custom-select-tag option{
  padding: 8px 5px 8px 5px;
  border: 0px 0px 1px solid #ccc 0px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
}

/* Start of login & register modal styles */
.btn-login {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 98, 204, 0.3);
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #0062cc, #0096ff);
    padding: 20px;
    border: none;
    color: white;
}

.modal-title {
    font-weight: 600;
    margin: 15px 0;
}

.modal-body {
    padding: 30px;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: rgb(13 110 253 / 25%);
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.input-group-text {
    border: none;
    background: transparent;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: #666;
}

.input-group {
    position: relative;
}

.form-label {
  float: left;
}

.social-login {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #eee;
    background: white;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-social i {
    margin-right: 10px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #eee;
}

.divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #eee;
}

.divider span {
    background: white;
    padding: 0 10px;
    color: #666;
    font-size: 0.9rem;
}

.form-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.password-toggle {
    cursor: pointer;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* End of login & register modal styles  */

/* Force error label to a new line */
label.error {
    display: block;
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Ensure the input and error aren't on the same line if using flexbox */
.form-group {
    display: flex;
    flex-direction: column;
}
.error_div{
    float: left;
}

/* Start of selectable color in product details */
.color-swatch {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #ccc;
}

.color-swatch.active {
    border: 3px solid #f00404;
}

/* End of selectable color in product details */

/* Start of Product Colors Variation styles*/

.single-color-option {
    overflow: hidden;
}

.single-color-option img {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform: scale(1);
    transform-origin: center;
}

.single-color-option:hover img {
    transform: scale(1.15); /* zoom IN on hover */
    opacity: 0.85;
}

/* End of Product Colors Variation styles*/

/* Nice Select default transition */
    .nice-select {
    transition: border 0.3s ease, box-shadow 0.3s ease;
}
    .nice-select-header {
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* Original select (before Nice Select initializes) */
.phone-code-select {
    max-width: 100px;
    margin-right: 10px;
    height: 50px;
}

.phone-code-select + .nice-select {
    width: 100px !important;
    min-width: 100px;
    max-width: 100px;
}

/* Selected phone code */
.phone-code-select + .nice-select .current {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0;
}

/* Dropdown list */
.phone-code-select + .nice-select .list {
    width: 100% !important;
    min-width: 100%;
    padding: 0;
}

/* Dropdown options */
.phone-code-select + .nice-select .option {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.375rem 0;
    line-height: 1.5;
}
.nice-select.phone-code-select .list .option:not(:first-child) {
    text-align: center !important;
    margin-left: 0px !important;
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.size-error {
    border: 2px solid red !important;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    animation: shake 0.4s ease-in-out;
}

.cart-action-btns {
    width: 50px; 
    height: 30px;
    border: 1px solid #ddd; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 4px; 
    cursor: pointer;
}


a.proceed-checkout.disabled {
    pointer-events: none;   
    opacity: 0.6;
    cursor: not-allowed;
}

.scrollable-form {
    max-height: 600px;      /* Adjust height as needed */
    overflow-y: auto;       /* Enable vertical scroll */
    overflow-x: hidden;     /* Prevent horizontal scroll */
    padding-right: 10px;
    scrollbar-width: thin;    /* Prevent content cutoff near scrollbar */
}

/* Optional: Smooth scrollbar styling */
.scrollable-form::-webkit-scrollbar {
    width: 6px;
}

.scrollable-form::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.scrollable-form::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}
/* header account dropdown styles */

/* Force dropdown to stack vertically */



/* End of header account dropdown styles */

/* Custom Loader Styles */
#loader{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    z-index:9999;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,0.25); /* dim page background */
}

body > .swal2-container {
    z-index: 2147483647 !important;
}

/* Loader box */
#loader img{
    width:180px; /* bigger gif */
}

/* Box that holds loader */
#loader::before{
    content:"";
}

/* Optional wrapper style */
#loader{
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

/* Loader content box */
#loader img{
    background:#ffffff;
    padding:10px;
    border-radius:12px;
    width: 120px;
    height: 120px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* End of custom loader styles */

/* Forgot password styles */

.forgot-link {
    color: #6c757d;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.forgot-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    left: 0;
    bottom: -2px;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.forgot-link:hover {
    color: #0d6efd;
}

.forgot-link:hover::after {
    width: 100%;
}

/* End forgot password styles */

.myaccount-content .row.g-3 {
    margin-bottom: 1.5rem; /* space below the row */
}

.myaccount-content .add-address-btn {
    margin-top: 0; /* we control spacing via row margin */
    text-align: center;
}


.custom-select-tag option{
  padding: 8px 5px 8px 5px;
  border: 0px 0px 1px solid #ccc 0px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
}

.icon-input{
    position:relative;
}

.icon-input .form-control,
.icon-input .form-select{
    padding-left:2.2rem;
    border-radius:10px;
}

.icon-input i{
    position:absolute;
    left:10px;
    display: flex;
    align-items: center;
    top:50%;
    transform:translateY(-50%);
    color:#6c757d;
}

.icon-input .form-control:focus,
.icon-input .form-select:focus{
    box-shadow:0 0 0 0.15rem rgba(13,110,253,.25);
}

#vendorSearch {
    display: block;
    width: calc(100% - 20px); /* full width minus margins */
    margin: 5px 10px; /* top/bottom 5px, left/right 10px */
    padding: 8px;
    box-sizing: border-box; /* ensures padding doesn't overflow */
}

.flash-sale-badge {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    z-index: 10;
    animation: flashBounce 1s infinite;
}

/* Improve badge look */
.flash-sale-badge .product-label-text {
    background: linear-gradient(45deg, #ff0000, #ff6600);
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
}

/* Bounce Animation */
@keyframes flashBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.flash-countdown {
    margin-top: 8px;
    padding: 6px 8px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 1px;
}

/* Optional: blinking urgency effect */
.flash-countdown {
    animation: pulseTimer 1.2s infinite;
}

.flash-countdown span {
    display: inline-block;
    margin: 0 2px;
    padding: 2px 6px;
    background: #ff3c3c;
    border-radius: 3px;
    font-size: 12px;
}

@keyframes pulseTimer {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.modal-dialog {
    transition: none !important; /* prevents resize animation glitch */
}

.product-large-slider,
.product-large-slider .slick-list,
.product-large-slider .slick-track {
    height: 400px;
}

.product-large-slider .pro-large-img {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-large-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hide scrollbar for Chrome, Safari and Edge */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.no-scrollbar {
    -webkit-scrollbar-width: none;
    scrollbar-width: none;
}

/* Hide scrollbar for IE and old Edge */
.no-scrollbar {
    -ms-overflow-style: none;
}

select.modal-size-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}

/* Address Card Actions Styles */
.address-actions {
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: all 0.2s ease;
}

/* show on hover */
.address-card:hover .address-actions {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
/* End of address card actions styles */

table.dataTable.table thead tr th {
    background-color: #198754 !important;
    color: #fff !important;
}

.dataTables_filter input {
    border-radius: 50px !important;
    padding: 6px 14px;
    border: 1px solid #dee2e6;
    width: 220px;
    outline: none;
}

.dataTables_filter input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.15);
}

.dataTables_length select {
    border-radius: 50px !important;
    padding: 4px 26px 4px 10px;
    border: 1px solid #dee2e6;
    background-color: #fff;
}
table.dataTable thead th {
    background: #f8f9fa;
    font-weight: 600;
}

#orderDetailsContent {
    max-height: 75vh;
    overflow-y: auto;
}

#orderDetailsModal .modal-content {
    max-height: 90vh;
}

#orderDetailsModal .modal-body {
    overflow-y: auto;
}



/* Blog Styles */

.blog-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
}


/* Blog Card Image */

.blog-card .card-img-top {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: 280px;
    object-fit: contain;
    display: block;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.03);
}

/* End of Blog Styles */

/* Blog Detail Page Styles */
.blog-content {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* Scrollbar */
.blog-content::-webkit-scrollbar {
    width: 7px;
}

.blog-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.blog-content::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 10px;
}

.blog-content::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-content pre {
    background: #212529;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

.blog-content code {
    color: #d63384;
}

.blog-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #6c757d;
}

@media (max-width: 768px) {
    .blog-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .blog-content {
        padding-right: 10px;
    }
}








