@font-face {
    font-family: 'OlmenhorstDaVinci';
    src: url('/assets/fonts/TRJNDaVinci-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'OlmenhorstApfel';
    src: url('/assets/fonts/ApfelGrotezk-Regular_2.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

.webshop-page {
    margin-top: -1.5rem;
    overflow: hidden;
    background: #ffffff;
    color: #1c3c1c;
    font-family: 'OlmenhorstApfel', 'Lato', Arial, Helvetica, sans-serif;
}

.webshop-page a {
    color: inherit;
}

.webshop-page > .container {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
}

.webshop-hero {
    height: clamp(240px, 21vw, 430px);
    background: url('/assets/img/appelpluk.jpg') center center no-repeat;
    background-size: cover;
}

.webshop-order-page .webshop-hero {
    height: clamp(170px, 16vw, 300px);
}

.webshop-layout {
    display: grid;
    grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
    align-items: stretch;
}

.webshop-sidebar-slot {
    min-width: 0;
}

.webshop-sidebar-slot > .webshop-sidebar-panel {
    height: 100%;
}

.webshop-sidebar-panel {
    position: relative;
    background: #1c3c1c;
    color: #f2f5de;
    padding: 36px 36px 48px 0;
}

.webshop-sidebar-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 50vw;
    background: #1c3c1c;
}

.webshop-sidebar-title,
.webshop-content-title,
.webshop-product-title,
.webshop-panel-title {
    font-family: 'OlmenhorstDaVinci', 'Crimson Text', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0;
}

.webshop-sidebar-title {
    margin: 0 0 28px;
    color: #f2f5de;
    font-size: 48px;
    line-height: 48px;
}

.webshop-side-menu {
    display: grid;
    gap: 8px;
}

.webshop-side-menu a,
.webshop-menu-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    color: #f2f5de;
    border-bottom: 1px solid rgba(242, 245, 222, 0.35);
    text-decoration: none;
    line-height: 1.25;
}

.webshop-side-menu a:hover,
.webshop-side-menu a.active {
    color: #ffffff;
    border-color: #ffffff;
}

.webshop-menu-label {
    margin-top: 18px;
    color: rgba(242, 245, 222, 0.8);
    font-size: 13px;
    text-transform: uppercase;
}

.webshop-menu-count {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 245, 222, 0.55);
    font-size: 13px;
    line-height: 1;
}

.webshop-content-panel {
    padding: 36px 0 64px 36px;
    background: #ffffff;
}

.webshop-layout > .webshop-content-panel {
    min-width: 0;
}

.webshop-content-panel > .row {
    margin-left: 0;
    margin-right: 0;
}

.front-single-layout {
    display: block;
}

.front-single-layout .webshop-content-panel {
    padding-left: 0;
}

.webshop-content-title {
    margin: 0 0 10px;
    color: #1c3c1c;
    font-size: 58px;
    line-height: 56px;
}

.webshop-content-intro {
    max-width: 680px;
    margin: 0 0 28px;
    color: #1f1f1f;
    line-height: 1.5;
}

.webshop-kicker {
    margin: 0 0 8px;
    color: #557244;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
}

.webshop-flow-header {
    margin-bottom: 28px;
}

.webshop-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.webshop-steps li {
    border: 1px solid #b5bea2;
    padding: 5px 10px;
    color: #4c5b4c;
    font-size: 13px;
    line-height: 1.2;
}

.webshop-steps li.active {
    background: #1c3c1c;
    border-color: #1c3c1c;
    color: #ffffff;
}

.webshop-steps li.done {
    background: #f2f5de;
}

.webshop-panel {
    margin-bottom: 20px;
    padding: 28px;
    border: 1px solid #d9dfc3;
    background: #fffef5;
}

.webshop-panel-title {
    margin: 0 0 18px;
    color: #1c3c1c;
    font-size: 34px;
    line-height: 36px;
}

.webshop-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.webshop-field-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.webshop-field {
    display: grid;
    gap: 8px;
}

.webshop-field.full {
    grid-column: 1 / -1;
}

.webshop-field label,
.webshop-checkline label {
    color: #1f1f1f;
    line-height: 1.35;
}

.webshop-page .form-control,
.webshop-page .form-select,
.webshop-page .select2-container--default .select2-selection--single {
    min-height: 44px;
    border: 1px solid #1f1f1f;
    border-radius: 0;
    background: transparent;
    color: #1f1f1f;
    font-size: 16px;
}

.webshop-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f1f1f;
    line-height: 42px;
}

.webshop-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.webshop-choice-list {
    display: grid;
    gap: 14px;
}

.webshop-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid #d9dfc3;
    background: #ffffff;
    color: #1f1f1f;
    cursor: pointer;
}

.webshop-choice input {
    margin-top: 5px;
}

.webshop-choice strong {
    display: block;
    color: #1c3c1c;
}

.webshop-choice small {
    display: block;
    margin-top: 4px;
    color: #4c5b4c;
    line-height: 1.45;
}

.webshop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.webshop-page .btn {
    border-radius: 0;
}

.webshop-page .btn-primary,
body.loginbg .btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #1c3c1c;
    --bs-btn-border-color: #1c3c1c;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #557244;
    --bs-btn-hover-border-color: #557244;
    --bs-btn-focus-shadow-rgb: 28, 60, 28;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #557244;
    --bs-btn-active-border-color: #557244;
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: #1c3c1c;
    --bs-btn-disabled-border-color: #1c3c1c;
    background-color: #1c3c1c !important;
    border-color: #1c3c1c !important;
    color: #ffffff !important;
}

.webshop-page .btn-primary:hover,
.webshop-page .btn-primary:focus,
.webshop-page .btn-primary:active,
.webshop-page .btn-primary.active,
.webshop-page .show > .btn-primary.dropdown-toggle,
body.loginbg .btn-primary:hover,
body.loginbg .btn-primary:focus,
body.loginbg .btn-primary:active,
body.loginbg .btn-primary.active,
body.loginbg .show > .btn-primary.dropdown-toggle {
    background-color: #557244 !important;
    border-color: #557244 !important;
    color: #ffffff !important;
}

.webshop-summary-table {
    width: 100%;
    margin: 0;
    color: #1f1f1f;
    border-collapse: collapse;
}

.webshop-summary-table th,
.webshop-summary-table td {
    padding: 14px 0;
    border-bottom: 1px solid #d9dfc3;
    vertical-align: top;
}

.webshop-summary-table th {
    color: #1c3c1c;
    font-weight: 700;
}

.webshop-summary-table tfoot td {
    border-bottom: 0;
    color: #1c3c1c;
    font-weight: 700;
}

.webshop-summary-price {
    width: 140px;
    text-align: right;
    white-space: nowrap;
}

.webshop-summary-action {
    width: 42px;
    text-align: right;
}

.webshop-muted {
    color: #4c5b4c;
}

.webshop-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
}

.webshop-product-tile {
    display: block;
    position: relative;
    margin: 0;
    color: #1f1f1f;
    text-decoration: none;
}

.webshop-product-tile:hover {
    color: #1f1f1f;
}

.webshop-product-tile:hover .webshop-product-image img {
    transform: scale(1.02);
}

.webshop-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 18px;
    background: #f2f5de;
}

.webshop-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.webshop-product-title {
    margin: 0 0 6px;
    color: #1c3c1c;
    font-size: 34px;
    line-height: 36px;
}

.webshop-product-description {
    min-height: 48px;
    margin: 0 0 14px;
    color: #1f1f1f;
    line-height: 1.45;
}

.webshop-product-price {
    margin: 0 0 16px;
    color: #1c3c1c;
    line-height: 1.35;
}

.webshop-product-price strong {
    font-weight: 700;
}

.webshop-product-price small {
    color: #4c5b4c;
}

.webshop-product-action {
    border-radius: 0;
}

.webshop-product-tile.unavailable {
    opacity: 0.68;
}

.unavailable-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    color: #1c3c1c;
    text-align: center;
    text-transform: uppercase;
}

.webshop-status-panel {
    max-width: 760px;
}

.webshop-status-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid #1c3c1c;
    color: #1c3c1c;
    font-size: 24px;
}

.webshop-checkline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #1f1f1f;
}

.webshop-checkline input {
    margin-top: 6px;
}

.webshop-page .card {
    margin-bottom: 20px;
    border: 1px solid #d9dfc3 !important;
    border-radius: 0;
    box-shadow: none !important;
    background: #fffef5;
    color: #1f1f1f;
}

.webshop-page .card-header {
    min-height: 0;
    padding: 28px 28px 0;
    border: 0;
    background: transparent !important;
    color: #1c3c1c;
    font-family: 'OlmenhorstDaVinci', 'Crimson Text', Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 36px;
}

.webshop-page .card-body {
    padding: 18px 28px 28px;
}

.webshop-page .card-body.bg-light {
    background: transparent !important;
}

.webshop-page .card .card .card-header {
    font-size: 28px;
    line-height: 30px;
}

.webshop-page .adoption,
.webshop-page .bg-light.rounded-2 {
    margin-bottom: 16px;
    padding: 18px !important;
    border: 1px solid #d9dfc3 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #1f1f1f;
}

.webshop-page .table {
    margin-bottom: 0;
    color: #1f1f1f;
    border-color: #d9dfc3;
}

.webshop-page .table > :not(caption) > * > * {
    padding: 12px 10px;
    border-color: #d9dfc3;
    background-color: transparent;
}

.webshop-page .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(242, 245, 222, 0.55);
}

.webshop-page .btn-info,
.webshop-page .btn-light {
    border-color: #1f1f1f;
    background: transparent;
    color: #1f1f1f;
}

.webshop-page .alert {
    border-radius: 0;
}

.webshop-page .nav-tabs {
    border-color: #1c3c1c !important;
}

.webshop-page .nav-tabs .nav-link {
    border-radius: 0;
}

@media(max-width: 991.98px)
{
    .webshop-layout {
        grid-template-columns: 1fr;
    }

    .webshop-sidebar-panel {
        padding: 32px 20px;
    }

    .webshop-sidebar-panel::before {
        display: none;
    }

    .webshop-sidebar-title {
        font-size: 48px;
        line-height: 48px;
    }

    .webshop-content-panel {
        padding: 32px 0 48px;
    }

    .webshop-content-title {
        font-size: 44px;
        line-height: 44px;
    }
}

@media(min-width: 992px)
{
    .webshop-page > .container {
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media(max-width: 767.98px)
{
    .webshop-hero,
    .webshop-order-page .webshop-hero {
        height: 220px;
    }

    .webshop-product-grid,
    .webshop-field-grid,
    .webshop-field-grid.three {
        grid-template-columns: 1fr;
    }

    .webshop-product-description {
        min-height: 0;
    }

    .webshop-content-panel {
        padding-left: 0;
    }

    .webshop-panel {
        padding: 22px;
    }

    .webshop-page .card-header {
        padding: 22px 22px 0;
        font-size: 30px;
        line-height: 32px;
    }

    .webshop-page .card-body {
        padding: 16px 22px 22px;
    }

    .webshop-summary-table,
    .webshop-summary-table tbody,
    .webshop-summary-table tfoot,
    .webshop-summary-table tr,
    .webshop-summary-table td,
    .webshop-summary-table th {
        display: block;
        width: 100%;
    }

    .webshop-summary-table thead {
        display: none;
    }

    .webshop-summary-price,
    .webshop-summary-action {
        text-align: left;
    }
}

body.loginbg {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #1c3c1c url('/assets/img/loginbg.jpg') center center no-repeat;
    background-size: cover;
    color: #1c3c1c;
    font-family: 'OlmenhorstApfel', 'Lato', Arial, Helvetica, sans-serif;
    text-align: center !important;
}

body.loginbg::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(28, 60, 28, 0.24);
    pointer-events: none;
}

body.loginbg #menu {
    display: none;
}

body.loginbg .form-signin-sm {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 32px 18px;
}

body.loginbg .form-signin-sm::before {
    display: none;
}

body.loginbg .form-signin-sm form {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 34px !important;
    border: 1px solid #d9dfc3;
    border-radius: 0 !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24) !important;
    background: rgba(255, 254, 245, 0.96) !important;
    color: #1f1f1f;
    text-align: left;
}

body.loginbg .form-signin-sm form img {
    display: block;
    width: 220px !important;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

body.loginbg .form-signin-sm h5 {
    color: #1c3c1c !important;
    font-family: 'OlmenhorstDaVinci', 'Crimson Text', Georgia, serif;
    font-size: 34px;
    line-height: 36px;
    text-align: center;
}

body.loginbg .form-control {
    min-height: 44px;
    border: 1px solid #1f1f1f;
    border-radius: 0;
    background: transparent;
    color: #1f1f1f;
}

body.loginbg .btn {
    border-radius: 0;
}

body.loginbg .form-signin-sm form > a {
    display: block;
    color: #1c3c1c;
    text-align: center;
}

body.loginbg .form-signin-sm > p {
    margin: 18px 0 0 !important;
    color: #ffffff !important;
    font-size: 13px;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

body.loginbg .form-signin-sm > p a {
    color: #ffffff !important;
}

@media(min-width: 992px)
{
    body.loginbg .form-signin-sm {
        padding: 48px 18px;
    }
}

@media(max-width: 991.98px)
{
    body.loginbg .form-signin-sm form {
        padding: 28px !important;
    }

    body.loginbg .form-signin-sm form img {
        width: 190px !important;
    }
}
