#header .header-body {
    border-top: 0;
}

.logo {
    width: 250px;
}

.sort-source.sort-source-style-3 > li > a {
    color: #fff !important;
}

@media (max-width: 768px) {
    .logo {
        width: 200px;
    }

    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
        color: #fff !important;
    }
}

.btn {
    white-space: nowrap;
}

.profile .page-header.page-header-modern.page-header-lg {
    padding: 20px 0;
}

.table-responsive {
    overflow-x: hidden;
}

.configurator {
    background-color: #fff;
}

.form-switch .form-check-input {
    width: 4em;
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
}

/* Offer Modal Styles */
.offer-container .offer-product-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.offer-container .offer-product-card:hover {
    transform: translateY(-5px);
}

.offer-container .product-header {
    position: relative;
    padding: 0;
}

.offer-container .discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 10;
}

.offer-container .flip-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 10;
    cursor: pointer;
}

.offer-container .product-image-container {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.offer-container .product-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.offer-container .product-info {
    padding: 20px;
}

.offer-container .product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.offer-container .product-price {
    margin-bottom: 15px;
}

.offer-container .original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.offer-container .discounted-price {
    font-weight: bold;
    font-size: 20px;
    color: #dc3545;
}

.offer-container .size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.offer-container .size-btn {
    background: white;
    border: 2px solid #dee2e6;
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.offer-container .size-btn:hover,
.offer-container .size-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

.offer-container .predesign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 2px;
}

.offer-container .predesign-item {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-container .predesign-item:hover,
.offer-container .predesign-item.active {
    border-color: #000;
}

.offer-container .predesign-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-container .add-to-cart-btn {
    width: 100%;
    background: #000;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.offer-container .add-to-cart-btn:hover {
    background: #333;
}

.offer-container .continue-checkout-btn {
    background: #28a745;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.offer-container .continue-checkout-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.offer-container .cart-summary-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.offer-container .cart-items-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.offer-container .cart-item-mini {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.offer-container .offer-badge {
    background: #dc3545;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
}

.offer-container .current-discount {
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .offer-container .predesign-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    }

    .offer-container .predesign-item {
        width: 50px;
        height: 50px;
    }

    .offer-container .cart-items-preview {
        flex-direction: column;
    }
}

/* Fix modal visibility issue */
.modal {
    visibility: visible !important;
}

.modal.show {
    display: block !important;
    visibility: visible !important;
}

.modal-backdrop {
    visibility: visible !important;
}
.modal-3xl {
    width: 90% !important;
    max-width: 1200px !important;
}
.color-container-1 {
    position: absolute;
    background: #999;
    width: 166px;
    margin-left: -9px;
    border: 1px solid #999;
    padding: 2px !important;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}
.color-container-1:hover {
    border: 1px solid #333;
}
.color-container-hotspot-1 {
    position: absolute;
    background: #999;
    margin-left: -9px;
    border: 1px solid #999;
    padding: 2px !important;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}
.color-container-hotspot-1:hover {
    border: 1px solid #333;
}
.color-container-2 {
    position: absolute;
    background: #999;
    width: 166px;
    margin-left: -9px;
    border: 1px solid #999;
    padding: 2px !important;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}
.color-container-2:hover {
    border: 1px solid #333;
}
.color-container-hotspot-2 {
    position: absolute;
    background: #999;
    margin-left: -9px;
    border: 1px solid #999;
    padding: 2px !important;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}
.color-container-hotspot-2:hover {
    border: 1px solid #333;
}
.palette-elements button {
    margin-left: 3px;
}
.palette-elements {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
    padding: 1px;
}
.image-hotspot strong {
    font-family: Montserrat;
}
.bold{
    font-weight: 700;
}

#designer-type-custom-base select {
    border: 0px solid #E5E7E9;
    border-radius: 0px;
    outline: none;
    background: 000;
    color: #fff;
}
.select-option {
        border-radius: 0px;
        background-color: #000 !important;
        border-radius: 0px;
        outline: none;
        background: #000 !important;
        color: #fff !important;
}
.select-option:hover {
        background-color: #333 !important;
        background: #333 !important;
        color: #fff !important;
}
#SelectedColor01 {
    text-transform: Capitalize;
}
.designer-type-custom, .designer-type-pre-design {
    cursor: pointer;
    background: #fff;
    color: #000;
}
.designer-type-custom:hover h5, .designer-type-pre-design:hover h5 {
    text-decoration: underline;
}
.designer-type-pre-design h5, .designer-type-custom h5 {
    color: #000;
}
.designer-type-pre-design.aktiv h5, .designer-type-custom.aktiv h5 {
    color: #fff;
}
.designer-type-pre-design img, .designer-type-custom img {
    filter: brightness(0);
}
.designer-type-pre-design.aktiv img, .designer-type-custom.aktiv img {
    filter: brightness(1);
}
.designer-type-custom.aktiv, .designer-type-pre-design.aktiv {
    border: 1px solid #000 !important;
    background: #000;
    color: #fff;
}
.designer-type-custom:hover, .designer-type-pre-design:hover {
    border: 1px solid #000 !important;
}
.inverse:hover {
    filter: grayscale(1) invert(1);
}

.configurator a.nav-link.active {
    color: #fff!important;
    background: #000!important;
    border-color: #000!important;
    border-radius: 0;
}
.configurator a.nav-link {
    color: #000!important;
    background: #e9e9e9!important;
    border-color: #fff !important;
    border-radius: 0;
}
.configurator a.nav-link:hover {
    color: #000!important;
    background: #fff!important;
    border-color: #fff!important;
    border-top-color: #000!important;
    border-left: 1px solid #EEE!important;
    border-right: 1px solid #EEE!important;
    border-radius: 0;
}
.measurements-radio-area label {
    margin-right: 12px;
    border-radius: 6px;
    min-width: 80px;
    font-size: 1.2em;
}
.btn-outline-primary {
    --bs-btn-color: #333;
    --bs-btn-border-color: #333;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #333;
    --bs-btn-hover-border-color: #333;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #333;
    --bs-btn-active-border-color: #333;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #333;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #333;
    --bs-gradient: none;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: #fff;
    background-color: #333;
    border-color: #333;
}
.btn-check+.btn:hover {
    color: #fff;
    background-color: #444;
    border-color: #444;
 }
.tcview {
    border-radius: 0 0 4px 4px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
    background-color: var(--light);
    border: 1px solid #EEE;
    border-top: 0;
    padding: 15px;
}
.measurements-divs label.text-3{
    background: #333;
    padding: 0px 10px 0px 10px;
    color: #fff;
    width: 100%;
    margin: 0;
}
.measurements-divs label span{
    color: #fff;
    font-weight: 600;
    margin-right: 4px;
}
.user-details .form-label span {
    background: transparent;
}
.billing-details .form-label span {
    background: transparent;
}
h4.my-2.bold {
    text-transform: uppercase;
}
.measurements-texts-name-base {
    background: #333;
    color: #fff;
    padding: 1rem;
}
.measurements-desc-name-style {
    background: #333;
    color: #fff;
    padding: 1rem;
}
.measurement-buttons:focus {
    /*background: #d1d1d1;
    background: rgb(209,209,209);
    background: linear-gradient(90deg, rgba(209,209,209,1) 0%, rgba(209,209,209,1) 57%, rgba(255,255,255,1) 100%);
    border-radius: 0;
    border: 0;*/

    outline: #333;
    outline-width: thick;
    outline-style: auto;
}
:target {
    scroll-margin-top: 80px; /* A menü magassága szerint állítsd be */
}
.hotspot-open-loader {
    color: var(--light) !important;
    background-color: #151719;
    display: block;
    height: 40px;
    position: absolute;
    left: -8px;
    top: 30px;
    width: 40px;
    font-size: 12px;
    line-height: 40px;
    color: var(--light);
    text-align: center;
    text-decoration: none;
    border-radius: 0 4px 4px 0;
    z-index: 9999;
    outline: none;
    border: none;
}
.right-floating-icons {
    color: #fff;
    background-color: var(--primary);
    display: block;
    height: 40px;
    position: fixed;
    right: 0px;
    top: 30vh;
    width: 40px;
    font-size: 12px;
    line-height: 40px;
    color: var(--light);
    text-align: center;
    text-decoration: none;
    border-radius: 24px 0 0 24px;
    border: 0;
    z-index: 9999;
    outline: none;
    border: none;
}
.right-floating-icons:hover {
    color: var(--light);
    background-color: var(--dark);
    border: 0;
}

.option-item.option-missing {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-radius: 0.375rem;
}

.option-item.option-missing::before {
    content: "⚠️ Please select an option";
    display: block;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

.setting-item.option-missing {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-radius: 0.375rem;
}

.setting-item.option-missing::before {
    content: "⚠️ This setting is required";
    display: block;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

.box {
    border-radius: 15px;
}

.box .box-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 15px;
    font-weight: bold;
}

.box .box-content {
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
