/* ===========================================
   NOORLOOS BASE STYLESHEET
   Gedeelde layout voor alle sites
   v2.0 - Complete styling inclusief producten
   =========================================== */

/* -----------------------------------------
   CSS Variables (defaults - override in site CSS)
   ----------------------------------------- */
:root {
    --primary-color: #2F271D;
    --text-color: #333333;
    --link-color: #2F271D;
    --menu-bg: #2F271D;
    --menu-text: #FFFFFF;
    --site-width: 1140px;
    --font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* -----------------------------------------
   Reset & Base Typography
   ----------------------------------------- */

/* Box-sizing fix - zorgt dat padding binnen de width valt */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    text-align: left;
    overflow-x: auto;
    overflow-y: scroll;
}

h1 {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin: 0 0 10px 0;
}

h2 {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin: 0 0 8px 0;
}

h3 {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
}

hr {
    color: var(--primary-color);
    border: 0;
    height: 1px;
    background: var(--primary-color);
}

p {
    font-family: var(--font-family);
    font-size: 12px;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

td {
    font-family: var(--font-family);
    font-size: 12px;
    color: var(--text-color);
}

/* -----------------------------------------
   Links
   ----------------------------------------- */
a {
    font-family: var(--font-family);
    font-size: 13px;
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* -----------------------------------------
   Lists
   ----------------------------------------- */
li {
    font-family: var(--font-family);
    font-size: 13px;
    margin: 5px 0 5px 15px;
}

ul {
    margin-top: -10px;
}

/* -----------------------------------------
   Main Layout Structure
   ----------------------------------------- */
.masterBody {
    text-align: center;
    min-height: 100%;
}

.mainBody {
    width: var(--site-width);
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.mainPane {
    text-align: left;
    width: var(--site-width);
    margin: 0 auto;
}

/* -----------------------------------------
   Header
   ----------------------------------------- */
.headerPane {
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
}

.languagePane {
    width: 100%;
    text-align: right;
    padding: 10px 0 0 0;
}

.logoPane {
    float: left;
    text-align: left;
    background-repeat: no-repeat;
}

.headerMenuPane {
    text-align: center;
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
    background-color: var(--menu-bg);
}

.headerMenuPane td {
    font-family: var(--font-family);
    font-size: 10px;
    color: var(--menu-text);
}

.headerMenuPane a {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--menu-text);
}

.headerMenuPane a:hover {
    text-decoration: underline;
    color: var(--menu-text);
}

.headerMenuPane .active {
    text-decoration: underline;
}

/* -----------------------------------------
   Content Area
   ----------------------------------------- */
.contentPane {
    text-align: left;
    width: 100%;
    float: left;
}

/* Clearfix for contentPane */
.contentPane::after {
    content: "";
    display: table;
    clear: both;
}

/* -----------------------------------------
   Left Sidebar (Categories & Cart)
   ----------------------------------------- */
.leftPane {
    text-align: left;
    width: 225px;
    float: left;
    margin: 0;
    padding: 0;
}

.productgroepenPane {
    text-align: left;
    width: 215px;
    float: left;
    margin: 0;
    padding: 0 0 0 10px;
}

.shoppingbasketPane {
    text-align: left;
    width: 215px;
    float: left;
    margin: 0;
    padding: 0 0 0 10px;
}

.zoekPane {
    text-align: left;
    width: 213px;
    float: left;
    margin: 15px 0 0 0;
    padding: 0;
}

/* -----------------------------------------
   Middle Content Pane
   ----------------------------------------- */
.middlePane {
    text-align: left;
    float: left;
    padding: 10px;
    width: calc(100% - 245px); /* Full width minus leftPane (225px) and some margin */
}

.menuPane {
    float: left;
    text-align: left;
}

/* -----------------------------------------
   Sidebar Menu Styling
   ----------------------------------------- */
.menulinks {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: var(--menu-text);
}

.menulinks a {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: var(--menu-text);
}

.menulinks a:hover {
    color: var(--primary-color);
}

.submenulinks a {
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    color: var(--text-color);
}

.submenulinks a:hover {
    color: var(--primary-color);
}

.submenulinksaan a {
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    color: var(--primary-color);
}

.menulinksaan a {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
}

/* -----------------------------------------
   Product Cards (Legacy layout)
   ----------------------------------------- */
.Product {
    text-align: left;
    float: left;
    width: 275px;
    height: 164px;
    margin: 10px;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.ProductKop {
    width: 270px;
    height: 33px;
    float: left;
    margin: 13px 0 0 10px;
    padding: 0;
    text-align: left;
}

.ProductKop a {
    font-size: 9pt;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
}

.ProductKop a:hover {
    font-size: 9pt;
    font-weight: bold;
    text-decoration: underline;
    color: #000000;
}

.ProductFoto {
    text-align: left;
    float: left;
    width: 80px;
    height: 100px;
    margin: 0 0 0 10px;
    padding: 0;
    z-index: 4;
}

.ProductDetails {
    text-align: left;
    float: left;
    width: 130px;
    height: 80px;
    margin: 0;
    padding: 2px 0 0 10px;
    z-index: 3;
}

.ProductLinks {
    text-align: left;
    float: left;
    width: 234px;
    height: 10px;
    margin: 0;
    padding: 2px 0 0 10px;
    z-index: 2;
}

/* -----------------------------------------
   Product foto container (Bootstrap layout)
   ----------------------------------------- */
.product-image-container {
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f3;
    padding: 0;
    overflow: hidden;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card:hover .product-image-container img {
    transform: scale(1.05);
}

/* -----------------------------------------
   Product beschrijving
   ----------------------------------------- */
.product-description {
    line-height: 1.8;
    color: #495057;
    font-size: 1rem;
}

.product-description p {
    margin-bottom: 1rem;
}

/* -----------------------------------------
   Winkelmandje (Cart) Styling
   ----------------------------------------- */
.Winkelmandje {
    width: 200px;
    color: #2F271D;
}

.Winkelmandje tr {
    margin: 5px;
}

.Mandje {
    font-size: 8pt;
    font-weight: normal;
    text-decoration: none;
    color: #FFFFFF;
}

.Mandje a {
    font-size: 8pt;
    font-weight: bold;
    text-decoration: none;
    color: #FFFFFF;
}

.Mandje a:hover {
    font-size: 8pt;
    font-weight: bold;
    text-decoration: underline;
    color: #FFFFFF;
}

/* -----------------------------------------
   Small Links
   ----------------------------------------- */
.linkSmall a {
    font-size: 8pt;
    font-weight: bold;
    text-decoration: none;
    color: #FFFFFF;
}

.linkSmall a:hover {
    font-size: 8pt;
    font-weight: bold;
    text-decoration: underline;
    color: #FFFFFF;
}

/* -----------------------------------------
   Uitleg teksten
   ----------------------------------------- */
.uitleg {
    font-size: 10px;
    display: inline;
}

.uitleginline {
    font-size: 10px;
    display: inline;
    margin-left: 5px;
}

/* -----------------------------------------
   Search Box
   ----------------------------------------- */
.zoekPane input[type="text"] {
    font-family: var(--font-family);
    font-size: 12px;
    padding: 5px;
    border: 1px solid #ccc;
}

/* -----------------------------------------
   Footer
   ----------------------------------------- */
.footerPane {
    text-align: center;
    padding: 15px;
    clear: both;
    font-size: 11px;
    width: 100%;
}

.footerPane a {
    font-size: 11px;
}

/* -----------------------------------------
   Utility Classes
   ----------------------------------------- */
.wit11 {
    text-decoration: none;
    font-size: 11px;
    font-weight: normal;
    color: #FFFFFF;
}

.clear {
    clear: both;
}

.hidden {
    display: none;
}

.subtitel {
    float: right;
    width: 710px;
    height: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #2F271D;
}

/* -----------------------------------------
   Bootstrap Display Classes
   ----------------------------------------- */
.display-6 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 0.5rem;
}

/* -----------------------------------------
   Card Styling
   ----------------------------------------- */
.card {
    transition: transform 0.2s;
    border-radius: 0.5rem;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

.card-img-top {
    object-fit: contain;
    max-height: 400px;
    padding: 10px;
}

.card.border-success {
    border-width: 2px;
}

.card.border-success .card-header {
    font-size: 1.1rem;
}

/* Card body table styling */
.card-body table {
    margin-bottom: 0;
}

.card-body table td {
    padding: 8px;
    vertical-align: top;
}

.card-body table tr {
    border-bottom: 1px solid #dee2e6;
}

.card-body table tr:last-child {
    border-bottom: none;
    font-weight: bold;
}

/* -----------------------------------------
   Table Styling
   ----------------------------------------- */
.table-responsive {
    border-radius: 0.375rem;
    overflow: hidden;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.table > thead > tr > th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.table-success td {
    background-color: #d1e7dd !important;
}

/* -----------------------------------------
   Badge Styling
   ----------------------------------------- */
.badge {
    font-size: 1rem;
    padding: 0.5em 0.75em;
}

.badge.fs-6 {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* -----------------------------------------
   Image Thumbnail
   ----------------------------------------- */
.img-thumbnail {
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.thumbnail-item:hover .img-thumbnail {
    border-color: #0d6efd;
    transform: scale(1.1);
}

/* -----------------------------------------
   Button Styling
   ----------------------------------------- */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.btn-group-vertical .btn {
    margin-bottom: 0.25rem;
}

.btn-group-vertical .btn:last-child {
    margin-bottom: 0;
}

.btn-primary:hover,
.btn-outline-secondary:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-outline-danger {
    border-width: 2px;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* -----------------------------------------
   Input Group
   ----------------------------------------- */
.input-group-lg .form-control {
    font-size: 1.5rem;
    font-weight: 600;
    height: 3.5rem;
}

.input-group-lg .btn {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
}

/* -----------------------------------------
   Form Select
   ----------------------------------------- */
.form-select-lg {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
}

.form-select-lg:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* -----------------------------------------
   Form Label
   ----------------------------------------- */
.form-label.fw-bold {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* -----------------------------------------
   Alert Styling
   ----------------------------------------- */
.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-success .fs-4 {
    color: #0f5132;
    font-weight: 700;
}

.alert-warning {
    background-color: #fff3e0;
    border-color: #ffb74d;
}

/* -----------------------------------------
   Progress Bar
   ----------------------------------------- */
.progress {
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

/* -----------------------------------------
   Address Styling
   ----------------------------------------- */
address {
    line-height: 1.8;
}

/* -----------------------------------------
   Prijs Display
   ----------------------------------------- */
.text-success.fs-3 {
    color: #198754 !important;
}

.text-danger {
    color: #dc3545;
}

/* -----------------------------------------
   Hover Effects
   ----------------------------------------- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

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

/* -----------------------------------------
   Sticky Elements
   ----------------------------------------- */
.sticky-top {
    z-index: 100;
}

@media (min-width: 992px) {
    .sticky-top {
        position: sticky;
        top: 20px;
    }
}

/* -----------------------------------------
   Container
   ----------------------------------------- */
.container-fluid {
    max-width: 1400px;
}

/* -----------------------------------------
   Social Buttons
   ----------------------------------------- */
.d-flex.gap-2 > * {
    margin-right: 10px;
}

/* -----------------------------------------
   Autocomplete
   ----------------------------------------- */
#customerAutocomplte img {
    border: 2px;
    padding-right: 10px;
}

.ui-autocomplete-input li {
    padding: 30px;
}

/* -----------------------------------------
   Postcode Autocomplete
   ----------------------------------------- */
.postcode-autocomplete-container {
    position: relative;
}

.postcode-autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
}

.postcode-autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.postcode-autocomplete-item:hover {
    background-color: #f8f9fa;
}

.postcode-autocomplete-loading {
    padding: 10px 15px;
    text-align: center;
    color: #6c757d;
}

.postcode-autocomplete-error {
    padding: 10px 15px;
    color: #dc3545;
}

/* -----------------------------------------
   Payment Options
   ----------------------------------------- */
.payment-option-label {
    display: block;
    cursor: pointer;
    margin-bottom: 0;
}

.payment-option {
    padding: 18px;
    border: 3px solid #dee2e6;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
}

.payment-option:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.payment-option-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
}

/* Geselecteerde state */
.payment-option:has(input[type="radio"]:checked) {
    border-color: #0d6efd;
    border-width: 3px;
    background-color: #e7f3ff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.payment-option:has(input[type="radio"]:checked) .payment-option-text {
    font-weight: 700;
    color: #0d6efd;
}

/* Active state (tijdens klikken) */
.payment-option:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* -----------------------------------------
   Border Utilities
   ----------------------------------------- */
.border-success {
    border-color: #198754 !important;
    border-width: 2px !important;
}

/* -----------------------------------------
   Cart Icon
   ----------------------------------------- */
.bi-cart-x {
    color: #6c757d;
}

/*Betaal button ideal*/
.myButton {
    box-shadow: inset 0px 1px 0px 0px #a4e271;
    background: linear-gradient(to bottom, #89c403 5%, #77a809 100%);
    background-color: #89c403;
    border-radius: 8px;
    border: 1px solid #74b807;
    display: inline-block;
    cursor: pointer;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: bold;
    padding: 15px 40px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #528009;
}

.myButton:hover {
    background: linear-gradient(to bottom, #77a809 5%, #89c403 100%);
    background-color: #77a809;
}

.myButton:active {
    position: relative;
    top: 1px;
}