/* @import rules must be at the top */
@import "debug.css";
@import "global-root.css";
@import "global-borders.css";
@import "global-forms.css";
@import "global-buttons.css";
@import "global-navigation.css";
@import "../fonts/geist.css";
@import "../fonts/courier-prime.css";


/* Global CSS - Main stylesheet for entire application */

/* Remove all shadows globally */
*, *::before, *::after {
    box-shadow: none !important;
    text-shadow: none !important;

}





/* Base Styles */
body {
    min-height: 100%;
    background-color: var(--color-white);
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 13px;
    color: var(--color-black);
    line-height: 1.6;
    font-stretch: 90%;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
}

.footer {
    font-size: 13px;
    z-index: 300;
    position: relative;

}

/* Floating account/cart bar fixed at viewport bottom */
.footer-account-cart-bar-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 200; /* above sticky headers (1020) */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headlines);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-transform: uppercase;
}

h4 {
    font-family: var(--font-family-headlines);
    font-weight: 600;
    font-size: 1.2rem;

}

h5 {
    font-family: var(--font-family-headlines);
    font-weight: 600;
    font-size: 1.1rem;
}

h6 {
    font-family: var(--font-family-headlines);
    font-weight: 600;
    font-size: 1rem;
}

a, .text-white a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 300;
}

.text-black a {
    color: var(--color-white);
}

.page {padding-top: 60px;}

.page-header {
    padding: 200px var(--spacing-lg) 40px var(--spacing-lg);
    background-color: var(--color-white);
    color: var(--color-black);
 
    
}
.page-header h2 {
    font-family: var(--font-family-headlines);
    font-size: 1.1rem;
}



.page-header p {
    font-size: 0.9rem;
    max-width: 80%;
    max-width: 700px
}

.page-header-max-width   {max-width: 80%;} 


.page-header-shop-desc {width: 90%; margin-top: 2rem;}

a {text-decoration: none;}

.shop-headline  {
    font-family: var(--font-family-headlines);
    font-size: 1.5rem; 
    padding-top: 80px; 
    display: block;
}

.excerpt {
    font-weight: 500;
}

/* Make all cards square (no border radius) */
.card, .card-header, .card-body, .card-footer {
    border-radius: 0 !important;
}

/* Override Bootstrap's default card styling */
.card {
    border: 1px solid var(--color-borders) !important;
    background-color: var(--color-white) !important;
}

.card-header {
    background-color: var(--color-white) !important;
    border-bottom: 1px solid var(--color-borders) !important;
    color: var(--color-black) !important;
}

.card-body {
    background-color: var(--color-white) !important;
}

.card-footer {
    background-color: var(--color-white) !important;
    border-top: 1px solid var(--color-borders) !important;
}





/* Gallery Styles */
.gallery-controls-main {
    position: sticky;
    top: 60px;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-borders);
    margin: 0;
    padding: 0;
    z-index: 1020;
}

/* Old gallery-btn-main styles removed - now using btn-gallery from global-buttons.css */

/* Page Content Transitions */
.page-content-home {
    position: relative;
    overflow: hidden;
   
}

.content-section {
    width: 100%;
    transition: opacity var(--transition-slow) ease-in-out;
}

/* Gallery Smooth Transitions */
#work-gallery, #shop-gallery {
    transition: opacity 0.3s ease-out;
}

/* Loading Indicator */
#loading-indicator {
    transition: opacity var(--transition-normal) ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* Global Image Hover Effects for Galleries (exclude product page carousels) */
.work-item, .shop-item, .product-card {
    overflow: hidden;
    position: relative;
}

/* Global Image Hover Effects - Zoom on hover for all gallery images */
#work-gallery .work-item img, 
#shop-gallery .shop-item img, 
#favorites-list .product-card img,
#favorites-list .work-item img {
    transition: transform 0.3s ease-out;
}

#work-gallery .work-item:hover img,
#shop-gallery .shop-item:hover img,
#favorites-list .product-card:hover img,
#favorites-list .work-item:hover img {
    transform: scale(1.05);
}

/* Smooth loading transitions */
.content-section {
    transition: opacity 0.4s ease-in-out;
}

/* Optimize image loading (exclude carousel images) */


/* Current setting: Sanfte Transition ohne dunkle Bilder */
img[loading="lazy"]:not(.carousel img):not(.carousel-item img) {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded:not(.carousel img):not(.carousel-item img) {
    opacity: 1;
}

/* Ensure all images are always fully visible */
img {
    opacity: 1 !important;
}



/* Ensure carousel images are always visible */
.carousel img, .carousel-item img {
    opacity: 1 !important;
}

.gallery-categories {
    background: var(--color-white);
    color: var(--color-black);
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100vw;
    line-height: 1;
}

.gallery-categories::-webkit-scrollbar {
    display: none;
}

/* ===== MODAL STYLES ===== */
/* Global modal styling for all modals using ui-modals.php system */

/* Modal Content with borders */
.modal .modal-content {
    border: none;
    border-radius: 0;
}

/* Modal Header */
.modal .modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.modal .modal-title {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
}

/* Modal Body */
.modal .modal-body {
    padding: 0;
}

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}




.page-privacy, .page-terms {
    h3,h2,h4,h5,h6 {
        font-family: var(--font-family-headlines);
        font-size: 1.1rem;
    }
    p {
        font-size: 0.9rem;
    }
}

/* ===== STAR BUTTON STYLES ===== */
/* Global star button styling for favorites functionality */

/* Star container visibility on hover/touch */
.work-item:hover .star-container,
.work-item.touched .star-container,
.shop-item:hover .star-container,
.shop-item.touched .star-container,
.shop-item:hover .order-container,
.shop-item.touched .order-container,
.product-card:hover .star-container,
.product-card.touched .star-container {
    opacity: 1 !important;
}

/* Desktop: Show star and order button on hover */
@media (hover: hover) and (pointer: fine) {
    .shop-item:hover .star-container,
    .shop-item:hover .order-container {
        opacity: 1 !important;
    }
    
    /* Show request button only on desktop hover */
    .work-item:hover .request-container {
        display: block !important;
        opacity: 1 !important;
    }
}

/* Mobile: Show star and order button on touch/tap */
@media (hover: none) and (pointer: coarse) {
    .shop-item.touched .star-container,
    .shop-item.touched .order-container {
        opacity: 1 !important;
    }
}

/* Image hover effect - smooth zoom like favorites */
.shop-item img,
.product-card img {
    transition: transform 0.3s ease-out;
}

.shop-item:hover img,
.product-card:hover img {
    transform: scale(1.05);
}

/* Carousel container hover effects */
.shop-item .carousel-item img {
    transition: transform 0.3s ease-out;
}

.shop-item:hover .carousel-item img {
    transform: scale(1.05);
}

/* Improve overall shop-item transitions */
.shop-item {
    transition: all 0.2s ease;
}

/* ===== GLOBAL PAGE LAYOUTS ===== */
/* Unified layout system for all pages */

/* Page container structure */
.page-container {
    padding-top: 60px;
    background-color: var(--color-white);
}

/* 2-column layout (product pages) */
.layout-2-column .col-lg-6 {
    min-height: 500px;
}

/* 3-column layout (request pages) */
.layout-3-column .col-lg-4 {
    min-height: 400px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .layout-2-column .col-lg-6,
    .layout-3-column .col-lg-4 {
        min-height: auto;
        margin-bottom: 2rem;
    }
}

/* ===== GLOBAL FORM STYLES ===== */
/* Unified form styling across all pages */





.configurator-message-terms {
    padding: 1.5rem;
    border: 1px dotted var(--color-borders);
}

/* ===== GLOBAL IMAGE STYLES ===== */
/* Unified image handling */

/* Image items */
.image-item {
    border: 1px solid var(--color-borders);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease;
    position: relative;
}

.image-item:hover {
    transform: scale(1.02);
}

/* REQUEST PAGE - NO HOVER EFFECTS */
.page-content-request .image-item {
    transition: none !important;
}

.page-content-request .image-item:hover {
    transform: none !important;
}

.page-content-request .image-item img {
    transition: none !important;
}

.page-content-request .image-item:hover img {
    transform: none !important;
}

/* ===== GLOBAL UTILITY STYLES ===== */
/* Common utility classes */

/* Info boxes */
.info-box {
    padding: 1rem;
    background: var(--color-gray-light);
    border-radius: 0;
    border-left: 3px solid var(--color-black);
    margin-bottom: 1rem;
}

/* ===== GLOBAL BADGE STYLES ===== */
/* Consistent badge styling across the application */

/* All badges - square corners, no borders */
.badge {
    border-radius: 0 !important;
    border: none !important;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Badge size adjustments */
.badge.bg-primary,
.badge.bg-secondary,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-warning,
.badge.bg-info {
    border-radius: 0 !important;
    border: none !important;
}

/* Product carousel borders */
.product-carousel-borders {
    border-top: 1px solid var(--color-borders);
    border-bottom: 1px solid var(--color-borders);
}

/* Personal message textarea */
#personal_message {
    border: 1px dotted var(--color-form-borders) !important;
    border-radius: 0 !important;
}

#personal_message:focus {
    border: 1px solid var(--color-form-borders) !important;
    box-shadow: none !important;
    outline: none !important;
}



/* ===== PRIVACY & TERMS CHECKBOXES ===== */
/* Styling for privacy-terms-checkboxes snippet */

.snippet-privacy-terms-checkboxes, .snippet-newsletter-account-checkboxes {

  
    font-size: 0.9rem;
}

.snippet-privacy-terms-checkboxes .form-check {
    margin-bottom: 1rem;
}

.snippet-privacy-terms-checkboxes .form-check:last-child {
    margin-bottom: 0;
}

/* Privacy terms checkbox styling inherits from global-forms.css */

.snippet-privacy-terms-checkboxes .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.snippet-privacy-terms-checkboxes .form-check-label a {
    text-decoration: underline;
    color: var(--color-black);
}

.snippet-privacy-terms-checkboxes .form-check-label a:hover {
    color: var(--color-gray-dark);
}

.snippet-privacy-terms-checkboxes .invalid-feedback {
    font-size: 0.8rem;
    color: var(--color-danger);
    margin-top: 0.25rem;
}

/* ===== GLOBAL FAQ STYLES ===== */
/* FAQ Accordion styling for all pages (FAQ and About) */

/* FAQ Accordion - only top borders, no side or bottom borders */
.faq-accordion-item {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 1px solid var(--color-borders) !important;
}

.faq-accordion-item .accordion-button {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: none !important;
    padding-right: 1rem !important; /* Reduce right padding for icons */
}

/* Active/expanded accordion item - white background, no borders, no outline */
.faq-accordion-item .accordion-button:not(.collapsed),
.faq-accordion-item .accordion-button[aria-expanded="true"] {
    background-color: white !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.faq-accordion-item .accordion-button:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Focus not visible - transparent background */
.faq-accordion-item .accordion-button:focus:not(:focus-visible) {
    background-color: transparent !important;
}

/* Accordion headers uppercase and custom icon positioning */
.faq-accordion-item .accordion-header .accordion-button {
    text-transform: uppercase;
    align-items: flex-start !important; /* Top align for multiline text */
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}



/* Bootstrap Icons for accordion - positioned on the right */
.faq-accordion-item .accordion-button::after {
    content: "";
    font-family: "bootstrap-icons";
    font-size: 1.25rem;
    line-height: 1;
    color: var(--color-black);
    margin-left: auto;
    margin-top: 0; /* Align with first line of text */
    flex-shrink: 0; /* Prevent icon from shrinking */
    background-image: none !important; /* Override Bootstrap background */
    transform: none !important; /* Don't rotate icons */
}

/* Plus icon when collapsed */
.faq-accordion-item .accordion-button.collapsed::after {
    content: "\F4FE"; /* bi-plus */
}

/* X icon when expanded */
.faq-accordion-item .accordion-button:not(.collapsed)::after,
.faq-accordion-item .accordion-button[aria-expanded="true"]::after {
    content: "\F62A"; /* bi-x */
    background-image: none !important; /* Override Bootstrap background */
    transform: none !important; /* Don't rotate icons */
}

/* Remove bottom border from last accordion item */
.faq-accordion-item-last {
    border-bottom: none !important;
}

.faq-accordion-item-last .accordion-button {
    border-bottom: none !important;
}





.home-contact-leftside h2 {font-size: 1rem; max-width: 430px; }

.bg-image h5,
.bg-image p,
.bg-image strong,
.bg-image .small {
    color: #101010 !important;
}

/* Ensure text stays dark even in dark mode */
[data-bs-theme="dark"] .bg-image h5,
[data-bs-theme="dark"] .bg-image p,
[data-bs-theme="dark"] .bg-image strong,
[data-bs-theme="dark"] .bg-image .small {
    color: #101010 !important;
}


.voucher-input-group input, .voucher-input-group input:focus {
    border: 1px dotted var(--color-borders) !important;
}