/* =========================================
   BASE
========================================= */

.tk-configurator {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.tk-section {
    margin-top: 45px;
    margin-bottom: 45px;
}

.tk-section label {
    display: block;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

/* =========================================
   INPUTS
========================================= */

.tk-configurator input[type="text"],
.tk-configurator input[type="email"] {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.tk-configurator input[type="text"]:focus,
.tk-configurator input[type="email"]:focus {
    outline: none;
    border-color: #A4321F;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* =========================================
   BUTTON
========================================= */

.tk-configurator button {
    width: 100%;
    padding: 22px;
    margin-top: 35px;
    border: none;
    background: #A4321F;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tk-configurator button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* =========================================
   PRICE BOX
========================================= */

.tk-price-box {
    position: sticky;
    bottom: 20px;
    padding: 25px;
    background: #A4321F;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border-radius: 18px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* =========================================
   SIZE GRID
========================================= */

.tk-size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tk-size-card input {
    display: none;
}

.tk-size-content {
    border: 2px solid #e5e5e5;
    border-radius: 18px;
    padding: 18px;
    transition: all 0.25s ease;
    cursor: pointer;
    background: #fff;
}

.tk-size-content:hover {
    border-color: #A4321F;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.tk-size-card input:checked + .tk-size-content {
    border-color: #e5e5e5;
    background: #A4321F;
    color: #fff;
}

.tk-size-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tk-size-price {
    font-size: 15px;
    opacity: 0.85;
}

/* =========================================
   WOOD COLORS
========================================= */

.tk-wood-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tk-wood-card input {
    display: none;
}

.tk-wood-content {
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
}

.tk-wood-content:hover {
    border-color: #A4321F;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.tk-wood-card input:checked + .tk-wood-content {
    border-color: #A4321F;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tk-wood-content img {
    width: 100%;
    display: block;
    height: 120px;
    object-fit: cover;
    object-position: center;
}

.tk-wood-content span {
    display: block;
    padding: 18px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
}

/* =========================================
   EXTRAS
========================================= */

.tk-extra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tk-extra-card input {
    display: none;
}

.tk-extra-content {
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    background: #fff;
    overflow: hidden;
    height: 100%;
}

.tk-extra-content:hover {
    border-color: #A4321F;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.tk-extra-card input:checked + .tk-extra-content {
    border-color: #e5e5e5;
    background: #A4321F;
    color: #fff;
}

.tk-extra-content img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 14px;
    margin-bottom: 18px;
}

.tk-extra-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tk-extra-price {
    display: block;
    font-size: 14px;
    opacity: 0.85;
}

/* =========================================
   CUSTOMER DATA
========================================= */

.tk-customer-data {
    margin-top: 35px;
}

/* =========================================
   DSGVO
========================================= */

.tk-dsgvo {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 15px !important;
    margin-top: 5px !important;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .tk-configurator {
        padding: 25px;
    }

    .tk-size-grid,
    .tk-wood-grid,
    .tk-extra-grid {
        grid-template-columns: 1fr;
    }

    .tk-extra-content img,
    .tk-wood-content img {
        height: 240px;
    }

    .tk-price-box {
        font-size: 24px;
    }

}

/* =========================================
   FIX IMAGE SIZES
========================================= */

.tk-wood-content img {
    height: 120px !important;
}

.tk-extra-content img {
    height: 160px !important;
}

.tk-extra-content {
    padding: 10px !important;
}

.tk-extra-title {
    font-size: 15px !important;
}

.tk-extra-price {
    font-size: 14px !important;
}

.tk-product-image {
	height: 350px !important;
	border-radius: 20px !important;
}


/* =========================================
   LAYOUT
========================================= */

.tk-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
    position: relative;
}

.tk-main {
    flex: 1;
    min-width: 0;
}

.tk-sidebar {
    width: 420px;
    flex-shrink: 0;
}

/* =========================================
   PRODUCT IMAGE
========================================= */

.tk-product-image {
    width: 100%;
    height: 200px;
    min-height: 200px;
	margin-bottom: 10px;

    object-fit: cover;
    object-position: center;

    border-radius: 24px;

    flex-shrink: 0;
}

/* =========================================
   SUMMARY BOX
========================================= */

.tk-summary-box {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.tk-summary-box h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.tk-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.tk-summary-total {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tk-summary-total span {
    font-size: 18px;
}

.tk-summary-total strong {
    font-size: 38px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .tk-layout {
        flex-direction: column;
    }

    .tk-sidebar {
        width: 100%;
        order: -1;
    }

}

/* =========================================
   STICKY FIX
========================================= */

.tk-layout,
.tk-sidebar,
.tk-main {
    overflow: visible !important;
}

/* =========================================
   FINAL STICKY FIX
========================================= */

.elementor,
.elementor-section,
.elementor-container,
.elementor-widget,
.elementor-column,
.elementor-column-wrap,
.elementor-element {
    overflow: visible !important;
}

/* =========================================
   SUCCESS MESSAGE
========================================= */

.tk-success-box {
    background: #f5faf5;
    border: 2px solid #d8ead8;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.tk-success-box h3 {
    color: #2e7d32;
    margin-bottom: 20px;
    font-size: 32px;
}

.tk-success-box p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
}

#summary-extras {
    text-align: right;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
}

.tk-delivery-options label:not(:first-child) {
    font-size: 16px !important;
    font-weight: 500 !important;
}

.tk-measurements {
    margin-bottom: 10px !important;
}

.tk-contact-headline {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.tk-sidebar-sticky {
    position: sticky;
    position: -webkit-sticky;

    top: 110px;
}

.tk-summary-product {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #111;
}

.tk-summary-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 8px;
}

.tk-summary-product {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0px !important;
}

.tk-summary-total strong {
    font-size: 30px;
}

.tk-currency {
    font-size: 24px;
    font-weight: 700;
    margin-left: 1px;
}

.tk-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.tk-currency {
    font-size: 24px;
    font-weight: 700;
}

.tk-mobile-summary{
    display:none;
}

@media (max-width:768px){

    .tk-mobile-summary{
    display:none !important;
}

@media (max-width:768px){

    .tk-mobile-summary{
    display:block !important;
    margin:40px 0;
    padding:0;
    background:transparent;
    border-radius:0;
    box-shadow:none;
}
	
	.tk-summary-product{
        font-size: 22px !important;
    }

    .tk-summary-box{
        display:none;
    }

}

}
	
	@media (max-width:768px){

    .tk-summary-total strong{
        font-size: 24px !important;
    }

    .tk-currency{
        font-size: 18px !important;
    }

}
	
	@media (max-width:768px){

    .tk-summary-item{
        padding: 10px 0;
    }

}
	@media (max-width:768px){

    .tk-mobile-summary .tk-summary-item{
        display:block;
        padding:15px 0;
    }

    .tk-mobile-summary .tk-summary-item span{
        display:block;
        font-size:13px;
        text-transform:uppercase;
        color:#888;
        margin-bottom:6px;
    }

    .tk-mobile-summary .tk-summary-item strong,
    .tk-mobile-summary #mobile-summary-extras{
        display:block;
        text-align:left;
        font-size:16px;
    }

}
	
	@media (max-width:768px){

    .tk-configurator input[type="text"],
    .tk-configurator input[type="email"]{

        padding:18px;
        font-size:16px;

    }

}
	
	@media (max-width:768px){

    .tk-configurator button{

        padding:24px;
        font-size:20px;
        font-weight:700;

    }

}
	
	@media (max-width:768px){

    .tk-configurator h2{
        font-size: 30px !important;
        line-height: 1.2;
        margin-bottom: 20px;
    }

}
	

.tk-spinner{
    width:18px;
    height:18px;
    border:2px solid rgba(255,255,255,0.4);
    border-top:2px solid #fff;
    border-radius:50%;
    animation: tk-spin 0.8s linear infinite;
    display:inline-block;
    vertical-align:middle;
    margin-right:10px;
}

@keyframes tk-spin{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

button[disabled]{
    opacity:0.85;
    cursor:not-allowed;
}

.tk-mobile-summary{
    background:#f7f3ef;
    margin:30px -25px;
    padding:50px 20px;
}
	
	@media (max-width:768px){

    #tk-form button{
        font-size:16px !important;
    }

}