:root {
    --primary-color: #d6293e;
    --secondary-color: #666;
    --ternary-color: #e05c6c;
  }

body {
    font-family: Roboto Condensed;
    overflow-x: hidden;
    max-width: 100%;
}

.bg-danger {
    background-color: #d6293e !important;
}

.text-primary {
    color: #d6293e !important;
}

.top-bar {
    background-color: var(--ternary-color);
    color: #fff;
}

.navbar-toggler {
    color: #fff !important;
    border-color: #fff !important;
    background-color: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

nav {
    /* box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1); */
    border-top: none;
}

.nav-item {
    margin-right: 20px;
}

.nav-item a {
    color: #fff;
}

.nav-item a.active {
    border-bottom: 3px solid var(--primary-color);
    color: #fff !important;
}

.nav-item a:hover {
    color: #fff !important;
}

.homepage-image {

}

ol {
    margin: 10px 0 20px 20px;
}

.footer {
    nav {
        /* box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1); */
        border-top: none;
    }

    .nav-item {
        margin-right: 20px;
    }

    .nav-item a {
        color: #000;
    }

    .nav-item a.active {
        border-bottom: 3px solid var(--primary-color);
        color: #000 !important;
    }

    .nav-item a:hover {
        color: #000 !important;
    }
}

.nav-account {
    nav {
        /* box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1); */
        border-top: none;
    }

    .nav-item {
        margin-right: 20px;
    }

    .nav-item a {
        color: #000;
    }

    .nav-item a.active {
        border-bottom: 3px solid var(--primary-color);
        color: #000 !important;
    }

    .nav-item a:hover {
        color: #000 !important;
    }
}

.bg-nav {
    background-color: rgba(247, 248, 250, 1);
}

a.logo {
    text-decoration: none !important;
}

/* Logo text styling */
.logo-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 1.75rem;
    margin: 0;
}

.logo-text .logo-pi {
    color: #333;
}

.logo-text .logo-hub {
    background-color: #d6293e;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    /* margin-left: 2px; */
}

.main-section {
  width: 100%;
  min-height: 500px;
  margin-bottom: 20px;
}

.contact {
  width: 500px;
}

.card {
    /* border: none; */
}

.card-offer {

}

.card-offer:hover {
    /* box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1); */
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

.discount-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    /* Remove circular background to allow SVG shape only */
    background: transparent !important;
    border-radius: 0 !important;
    width: auto;
    height: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none; /* allow clicks to pass through to the card link */
}

/* Optional: control default SVG size and color via CSS */
.discount-badge svg {
    width: 100px;
    height: 100px;
    color: var(--primary-color);
    display: block;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    padding: 5px 20px 5px 20px;

    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19) !important;
}

.btn-secondary {
    padding: 5px 20px 5px 20px;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19) !important;
}

.btn-outline-secondary {
    padding: 5px 20px 5px 20px;
    /* box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19) !important; */
}

.dropdown-flags {
    width: 55px !important;
    min-width: 55px !important;
}

.input-number {
    width: 80px;
}

.align-middle {
  vertical-align: middle !important;
}

.nav-pills .nav-item .active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.fill-primary {
  fill: #09B850 !important;
}

.fill-white {
  fill: #fff !important;
}

.fill-secondary {
  fill: #85878a !important;
}

.fill-success {
  fill: #0cbc87 !important;
}

.fill-info {
  fill: #17a2b8 !important;
}

.fill-warning {
  fill: #f7c32e !important;
}

.fill-danger {
  fill: #d6293e !important;
}

.fill-light {
  fill: #f8f8f8 !important;
}

.fill-dark {
  fill: #202124 !important;
}

.fill-body {
  fill: var(--bs-body-bg) !important;
}

.fill-mode {
  fill: var(--bs-gray-900) !important;
}

figure {
  margin: 0 0 1rem;
}

.figure {
  display: inline-block;
}

.figure-img {
  margin-bottom: 0.5rem;
  line-height: 1;
}

.figure-caption {
  font-size: 0.875em;
  color: var(--bs-secondary-color);
}

.form-floating label {
    color: #ccc;
}

.price {
    color: var(--primary-color);
    font-size: 24px;
}

.carousel-thumbs {
    /* margin-top: 50px; */
}

.list-unstyled {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carousel-img-thumbnail {
    cursor: pointer;
    width: 60px; /* Adjust thumbnail size */
    height: auto;
}

.specifications {

}

.bg-custom-dark {
    background-color: rgb(68, 68, 68);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(69%) sepia(77%) saturate(6481%) hue-rotate(86deg) brightness(100%) contrast(103%) !important;
    /* box-shadow: 0 0 3px 2px green; */
    width: 70px;
    height: 70px;
}

.carousel-main {
    min-height: 450px;
}

.modal-offer-img img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.checkout {

    margin-top: 40px;

    .checkout-sidebar {
        font-size: 16px;
        /* position: fixed; */
        /* top: 160px; */
        /* right: 20px; */
        /* width: 350px; */
        z-index: 1000;
    }

    .card {
        margin-bottom: 24px;
        -webkit-box-shadow: 0 2px 3px #ddd;
        box-shadow: 0 2px 3px #e4e8f0;
    }
    .card {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        background-color: #fff;
        background-clip: border-box;
        border: 1px solid #ddd;
        border-radius: 1rem;
    }
    .activity-checkout {
        list-style: none
    }

    .activity-checkout .checkout-icon {
        position: absolute;
        top: -4px;
        left: -24px
    }

    .activity-checkout .checkout-item {
        position: relative;
        padding-bottom: 24px;
        padding-left: 35px;
        border-left: 2px solid #f5f6f8;
        border-color: #3b76e1
    }

    .activity-checkout .checkout-item:first-child {
        /* border-color: #3b76e1 */
    }

    .activity-checkout .checkout-item:first-child:after {
        background-color: #3b76e1
    }

    .activity-checkout .checkout-item:last-child {
        border-color: transparent
    }

    .activity-checkout .checkout-item.crypto-activity {
        margin-left: 50px
    }

    .activity-checkout .checkout-item .crypto-date {
        position: absolute;
        top: 3px;
        left: -65px
    }

    .avatar-xs {
        height: 1rem;
        width: 1rem
    }

    .avatar-sm {
        height: 2rem;
        width: 2rem
    }

    .avatar {
        height: 3rem;
        width: 3rem
    }

    .avatar-md {
        height: 4rem;
        width: 4rem
    }

    .avatar-lg {
        height: 5rem;
        width: 5rem
    }

    .avatar-xl {
        height: 6rem;
        width: 6rem
    }

    .avatar-title {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background-color: #3b76e1;
        color: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        font-weight: 500;
        height: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100%
    }

    .avatar-group {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 8px
    }

    .avatar-group .avatar-group-item {
        margin-left: -8px;
        border: 2px solid #fff;
        border-radius: 50%;
        -webkit-transition: all .2s;
        transition: all .2s
    }

    .avatar-group .avatar-group-item:hover {
        position: relative;
        -webkit-transform: translateY(-2px);
        transform: translateY(-2px)
    }

    .card-radio {
        background-color: #fff;
        border: 2px solid #eff0f2;
        border-radius: .75rem;
        padding: .5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
        min-height: 130px;
    }

    .card-radio:hover {
        cursor: pointer
    }

    .card-radio-label {
        display: block
    }

    .card-radio-payment {
        min-height: inherit !important;
    }

    .edit-btn {
        width: 35px;
        height: 35px;
        line-height: 40px;
        text-align: center;
        position: absolute;
        right: 25px;
        margin-top: -50px
    }

    .card-radio-input {
        display: none
    }

    .card-radio-input:checked+.card-radio {
        border-color: #3b76e1!important
    }


    .font-size-16 {
        font-size: 16px!important;
    }

    .product-name {
        /* width: 270px !important;
        display: block; */
    }

    a {
        text-decoration: none!important;
    }


    .form-control {
        display: block;
        width: 100%;
        padding: 0.47rem 0.75rem;
        font-size: .875rem;
        font-weight: 400;
        line-height: 1.5;
        color: #545965;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #e2e5e8;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0.75rem;
        -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
        transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    }

    .edit-btn {
        width: 35px;
        height: 35px;
        line-height: 40px;
        text-align: center;
        position: absolute;
        right: 25px;
        margin-top: -50px;
    }

    .ribbon {
        position: absolute;
        right: -26px;
        top: 20px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        color: #fff;
        font-size: 13px;
        font-weight: 500;
        padding: 1px 22px;
        font-size: 13px;
        font-weight: 500
    }
}

.custom-error-alert {
    background-color: #ffeef0 !important;
    color: #ae0012;
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5); /* Black background with opacity */
    z-index: 9999; /* Ensure it's above other content */
}

.popup-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 700px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 50px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}


.table-dark {
    --bs-table-bg: rgba(200, 200, 200, 0.5) !important; /* Override the background variable */
    background-color: var(--bs-table-bg) !important;  /* Ensure it uses the variable */
    --bs-table-color: #000;
    border: none !important;
}

.table tbody tr:last-child td {
    border-bottom: none !important;
}

.table tbody tr:last-child th {
    border-bottom: none !important;
}

/* For Chrome, Safari, Edge, and Opera */
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;
}

/* Hide elements on small screens */
@media (max-width: 1024px) {
    .hide-on-mobile {
        display: none !important;
    }

    /* Make checkout sidebar responsive on mobile */
    .checkout .checkout-sidebar {
        position: static !important;
        min-width: auto !important;
        width: 100% !important;
    }
}

/* Ensure checkout sidebar is visible on larger screens */
@media (min-width: 1025px) {
    .checkout .checkout-sidebar {
        /* position: fixed !important; */
        /* top: 100px !important; */
        /* right: 20px !important; */
        /* width: 350px !important; */
        /* z-index: 1000 !important; */
    }
}

#ckie-band {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
    display: none;
    z-index: 9999;
}

#ckie-band a {
    color: #ccc;
    text-decoration: underline;
}

#cookie-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

#cookie-popup {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    font-family: sans-serif;
}

#cookie-popup h2 {
    margin-top: 0;
    font-size: 18px;
}

#cookie-popup .buttons {
    margin-top: 30px;
}

#cookie-popup p {
    font-size: 14px;
    color: #333;
    margin: 10px 0 20px;
}

#cookie-popup a {
    color: #000;
    text-decoration: underline;
}

.footer ul {
    margin: 10px 0 20px 0px;
}

.footer .nav a {
    color: #fff !important;
}

.footer .nav a:hover {
    color: #ccc !important;
}

.transport-price {
    font-size: 1.1rem;
}

.transport-price-strike {
    text-decoration: line-through;
    color: var(--primary-color);
}

.price-strike {
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-x {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding: 0.15em 0.25em;
    font-weight: 700;
    font-size: 20px;
}
.price-x::before,
.price-x::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform-origin: center;
    pointer-events: none;
}
.price-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.price-x::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.price-x-offer {
    font-size: 24px !important;
}