@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

/* ===== RESET / BASE ===== */
html {
    scrollbar-gutter: stable;
}

#flan {
    font-family: "Roboto", sans-serif;
    color: #231f20;
}

#flan a {
    text-decoration: none;
    color: unset;
    cursor: pointer;
}

#flan input[type="radio"],
#flan input[type="checkbox"] {
    accent-color: #fcc907;
}

#flan .text-danger {
    font-size: 12px;
    margin-top: 4px;
}

#flan ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#flan .center {
    width: 90%;
    max-width: 1310px;
    margin: 0 auto;
}

/* Pages still built on stock Bootstrap .container (category, blog, checkout/cart,
   information pages, etc.) must line up with the .center-based pages, otherwise
   their breadcrumbs/content sit at a different left edge than the header/footer. */
#flan .container {
    width: 90%;
    max-width: 1310px;
    margin: 0 auto;
    padding: 30px 0 60px;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
#flan .flan-header {
    width: 100%;
    padding: 24px 0;
    background: #ffffff;
    border-radius: 0 0 24px 24px;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid #d5d5d5;
}

#flan .flan-header__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#flan .flan-header__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

#flan .flan-header__logo {
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

#flan .flan-header__logo img {
    max-height: 44px;
    display: block;
}

#flan .flan-header__box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#flan .flan-header__box-phone {
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

#flan .flan-header__box-email {
    color: #231f20;
    font-size: 12px;
    font-weight: 400;
    margin: 3px 0 0 0;
}

#flan .flan-header__search {
    width: 220px;
}

#flan .flan-header__search #search {
    width: 100%;
    margin: 0;
    position: relative;
}

#flan .flan-header__search #search .form-control {
    width: 100%;
    height: 40px;
    color: #ffffff;
    font-size: 12px;
    background-color: #231f20;
    padding: 0 44px 0 20px;
    border: unset;
    box-sizing: border-box;
    border-radius: 100px;
    outline: none;
    box-shadow: none;
}

#flan .flan-header__search #search .form-control::placeholder {
    color: #ffffff;
    opacity: 0.8;
}

/* Bootstrap's .input-group-btn is a table-cell; absolutely positioning it with
   width:auto collapsed it to 0x0, so the button inside overflowed and sat off
   centre. Sizing the wrapper explicitly pins the button to the input properly. */
#flan .flan-header__search #search .input-group-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 0;
    /* .input-group .form-control carries z-index:2, so the wrapper needs to
       outrank it now that the button itself is no longer positioned. */
    z-index: 3;
}

/* stylesheet.css pins #search .btn-lg with position:absolute/top/right — the
   wrapper above already places it, so the button just fills that wrapper. */
#flan .flan-header__search #search .btn {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border-radius: 100px;
    background-color: #fcc907;
    border: unset;
    color: #231f20;
    font-size: 13px;
    line-height: 1;
}

#flan .flan-header__round {
    border-radius: 100px;
    width: 40px;
    height: 40px;
    background-color: #231f20;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    display: block;
}

#flan .flan-header__round::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

#flan .flan-header__user::before {
    background-image: url("../image/icon/user.svg");
    background-size: 16px;
}

#flan .flan-header__bar::before {
    background-image: url("../image/icon/bar.svg");
    background-size: 18px;
}

/* Cart icon button (keeps default OpenCart #cart / cart-total markup for AJAX compatibility) */
#flan #cart {
    width: auto;
    margin: 0;
}

#flan #cart > button {
    border-radius: 100px;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #231f20;
    border: unset;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    position: relative;
}

#flan #cart > button:hover,
#flan #cart > button:focus {
    background-color: #231f20;
    color: #ffffff;
}

#flan #cart > button .caret {
    display: none;
}

#flan #cart .flan-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 100px;
    background-color: #fcc907;
    color: #231f20;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* ===== CART MODAL (centered, dimmed backdrop) ===== */
.flan-cart-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(35, 31, 32, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10010;
    transition: opacity 0.3s ease, background-color 0.3s ease, visibility 0s linear 0.3s, pointer-events 0s linear 0.3s;
}

.flan-cart-modal.flan-open {
    background-color: rgba(35, 31, 32, 0.55);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, background-color 0.3s ease, visibility 0s linear 0s, pointer-events 0s linear 0s;
}

.flan-cart-modal__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.flan-cart-modal__box {
    position: relative;
    width: 700px;
    max-width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(35, 31, 32, 0.25);
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.flan-cart-modal.flan-open .flan-cart-modal__box {
    transform: scale(1);
    opacity: 1;
}

body.flan-cart-modal-open {
    overflow: hidden;
}

.flan-cart-popup__success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 20px 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: #f2f9ee;
    color: #3a7d2c;
    font-size: 13px;
    font-weight: 600;
}

.flan-cart-popup__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 20px 14px;
    flex-shrink: 0;
}

.flan-cart-popup__title {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #231f20;
}

.flan-cart-popup__count {
    flex-grow: 1;
    font-size: 12px;
    color: rgba(35, 31, 32, 0.5);
}

.flan-cart-popup__close {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: #f5f5f5;
    color: #231f20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.flan-cart-popup__close:hover {
    background: #231f20;
    color: #ffffff;
}

#flan-cart-modal-content {
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
}

.flan-cart-popup__items {
    padding: 0 20px;
}

.flan-cart-popup__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(35, 31, 32, 0.08);
}

.flan-cart-popup__item:first-child {
    border-top: unset;
}

.flan-cart-popup__item-image {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flan-cart-popup__item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.flan-cart-popup__item-body {
    flex-grow: 1;
    min-width: 0;
}

.flan-cart-popup__item-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #231f20;
    line-height: 1.4;
}

#flan .flan-cart-popup__item-name:hover {
    color: #a88500;
}

.flan-cart-popup__item-options {
    font-size: 11px;
    color: rgba(35, 31, 32, 0.5);
    margin-top: 2px;
}

.flan-cart-popup__item-options span {
    display: block;
}

.flan-cart-popup__item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 12px;
}

.flan-cart-popup__item-qty {
    color: rgba(35, 31, 32, 0.55);
}

.flan-cart-popup__item-total {
    font-weight: 700;
    color: #231f20;
}

.flan-cart-popup__item-remove {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 100px;
    background: #fdecec;
    border: unset;
    color: #d64545;
    font-size: 12px;
    cursor: pointer;
}

.flan-cart-popup__item-remove:hover {
    background: #d64545;
    color: #ffffff;
}

.flan-cart-popup__totals {
    padding: 14px 20px;
    margin-top: 4px;
    border-top: 1px solid rgba(35, 31, 32, 0.1);
}

.flan-cart-popup__total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 3px 0;
    color: rgba(35, 31, 32, 0.6);
}

.flan-cart-popup__total-row:last-child {
    color: #231f20;
    font-weight: 700;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    padding-top: 8px;
}

.flan-cart-popup__actions {
    display: flex;
    gap: 10px;
    padding: 4px 20px 20px;
}

.flan-cart-popup__actions .flan-btn-secondary--block,
.flan-cart-popup__actions .flan-btn-primary--block {
    flex: 1;
    font-size: 12px;
    padding: 0 12px;
    white-space: nowrap;
}

.flan-cart-popup__empty {
    padding: 30px 20px 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(35, 31, 32, 0.55);
}

@media (max-width: 480px) {
    .flan-cart-modal__box {
        width: 100%;
    }

    .flan-cart-popup__actions {
        flex-direction: column;
    }
}

/* ===== BURGER NAVIGATION (off-canvas) ===== */
#flan .flan-nav {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: flex-end;
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, background-color 0.35s ease, visibility 0s linear 0.35s, pointer-events 0s linear 0.35s;
}

#flan .flan-nav.flan-open {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease, background-color 0.35s ease, visibility 0s linear 0s, pointer-events 0s linear 0s;
}

#flan .flan-nav__row {
    width: 420px;
    max-width: 92%;
    height: 100vh;
    background: #ffffff;
    border-radius: 24px 0 0 24px;
    padding: 40px 44px;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#flan .flan-nav.flan-open .flan-nav__row {
    transform: translateX(0);
}

#flan .flan-nav__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#flan .flan-nav__logo {
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

#flan .flan-nav__close {
    width: 40px;
    height: 40px;
    border: 1px solid #231f20;
    border-radius: 100px;
    cursor: pointer;
    background-image: url("../image/icon/close.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

#flan .flan-nav__menu {
    margin: 21px 0 0 0;
    padding: 0 0 30px;
    border-bottom: 1px solid rgba(35, 31, 32, 0.15);
}

#flan .flan-nav__menu li {
    margin: 24px 0 0 0;
}

#flan .flan-nav__menu li:first-child {
    margin-top: 0;
}

#flan .flan-nav__menu li a {
    color: rgba(35, 31, 32, 0.7);
    font-size: 18px;
    font-weight: 500;
}

#flan .flan-nav__menu li a:hover {
    color: #231f20;
}

#flan .flan-nav__title {
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 30px 0 0 0;
}

#flan .flan-nav__social {
    display: flex;
    flex-wrap: wrap;
    margin: 12px 0 0 0;
}

#flan .flan-nav__social a {
    width: 40px;
    height: 40px;
    margin: 0 10px 0 0;
    background-color: #231f20;
    border-radius: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

#flan .flan-nav__social a.tg {
    background-image: url("../image/icon/tg.svg");
}

#flan .flan-nav__social a.vk {
    background-image: url("../image/icon/vk.svg");
}

#flan .flan-nav__contact {
    display: block;
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 24px 0 0 0;
}

#flan .flan-nav__contact.email {
    font-size: 13px;
    font-weight: 400;
    margin-top: 8px;
}

body.flan-nav-open {
    overflow: hidden;
}

/* ===== FOOTER ===== */
#flan .flan-footer {
    width: 100%;
    padding: 70px 0 30px;
    background: #eeeeee;
    border-radius: 40px 40px 0 0;
    margin-top: 40px;
    color: #231f20;
}

#flan .flan-footer__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#flan .flan-footer__contact {
    width: 28%;
}

#flan .flan-footer__logo {
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
}

#flan .flan-footer__logo img {
    max-height: 48px;
}

#flan .flan-footer__description {
    font-size: 14px;
    margin: 12px 0 0 0;
}

#flan .flan-footer__label {
    font-size: 13px;
    opacity: 0.6;
    margin: 40px 0 0 0;
}

#flan .flan-footer__phone {
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin: 8px 0 0 0;
}

#flan .flan-footer__email {
    display: block;
    font-size: 14px;
    margin: 40px 0 0 0;
}

#flan .flan-footer__address {
    display: block;
    font-size: 14px;
    margin: 8px 0 0 0;
}

#flan .flan-footer__social {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0 0 0;
}

#flan .flan-footer__social a {
    width: 28px;
    height: 28px;
    margin: 0 12px 0 0;
    background-color: #231f20;
    border-radius: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

#flan .flan-footer__social a.tg {
    background-image: url("../image/icon/tg.svg");
}

#flan .flan-footer__social a.vk {
    background-image: url("../image/icon/vk.svg");
}

#flan .flan-footer__columns {
    width: 68%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
}

#flan .flan-footer__columns[data-count="1"] .flan-footer__col,
#flan .flan-footer__columns[data-count="2"] .flan-footer__col {
    width: 46%;
}

#flan .flan-footer__columns[data-count="3"] .flan-footer__col {
    width: 30%;
}

#flan .flan-footer__col-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

#flan .flan-footer__col li {
    margin: 18px 0 0 0;
}

#flan .flan-footer__col li:first-child {
    margin-top: 0;
}

#flan .flan-footer__col li a {
    font-size: 15px;
    color: #231f20;
    opacity: 0.85;
}

#flan .flan-footer__col li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===== COPYRIGHT ===== */
#flan .flan-copyright {
    width: 100%;
    background-color: #eeeeee;
}

#flan .flan-copyright__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 22px 0;
    border-top: 1px solid rgba(35, 31, 32, 0.1);
    font-size: 12px;
}

/* ===== HOME / PRODUCT GRID ===== */
#flan-home {
    width: 100%;
    padding: 30px 0 60px;
    box-sizing: border-box;
}

#flan-home .flan-home__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#flan-home .flan-home__main {
    width: 100%;
}

#flan-home .flan-home__row.has-sidebar .flan-home__main {
    width: 76%;
}

#flan-home .flan-home__sidebar {
    width: 21%;
}

#flan-home #column-left {
    display: block !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#flan-home .flan-home__bottom {
    margin-top: 40px;
}

.flan-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.flan-products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    font-size: 16px;
    color: rgba(35, 31, 32, 0.6);
}

.flan-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(35, 31, 32, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.flan-card:hover {
    box-shadow: 0 16px 40px rgba(35, 31, 32, 0.12);
    transform: translateY(-3px);
}

.flan-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.flan-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flan-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.flan-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #231f20;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

#flan .flan-card__title:hover {
    color: #a88500;
}

.flan-card__footer {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.flan-card__price-current {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #231f20;
}

.flan-card__price-old {
    display: block;
    font-size: 12px;
    text-decoration: line-through;
    color: rgba(35, 31, 32, 0.4);
}

.flan-card__price-request {
    font-size: 13px;
    font-weight: 600;
    color: rgba(35, 31, 32, 0.55);
}

.flan-card__cart {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 100px;
    background-color: #fcc907;
    border: unset;
    color: #231f20;
    cursor: pointer;
    flex-shrink: 0;
}

.flan-card__cart:hover {
    background-color: #231f20;
    color: #ffffff;
}

.flan-load-more {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.flan-load-more button {
    border-radius: 100px;
    padding: 14px 40px;
    background-color: #231f20;
    color: #ffffff;
    border: unset;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.flan-load-more button:hover {
    background-color: #fcc907;
    color: #231f20;
}

.flan-loading {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: rgba(35, 31, 32, 0.6);
}

/* Sidebar filter */
.flan-filter {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 24px;
    box-sizing: border-box;
    position: sticky;
    top: 20px;
}

.flan-filter__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.flan-filter__title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.flan-filter__reset {
    font-size: 12px;
    color: rgba(35, 31, 32, 0.5);
    cursor: pointer;
    text-decoration: underline;
}

.flan-filter__group {
    padding: 18px 0;
    border-top: 1px solid rgba(35, 31, 32, 0.1);
}

.flan-filter__group-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.flan-filter__list li {
    margin: 10px 0 0 0;
}

.flan-filter__list li:first-child {
    margin-top: 0;
}

.flan-filter__list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    margin: 0;
}

.flan-filter__list label span {
    flex-grow: 1;
}

.flan-filter__list label em {
    font-style: normal;
    color: rgba(35, 31, 32, 0.4);
    font-size: 12px;
}

.flan-filter__list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #fcc907;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    #flan .flan-header__box-phone,
    #flan .flan-header__box-email,
    #flan .flan-header__search {
        display: none;
    }

    #flan .flan-footer__contact,
    #flan .flan-footer__columns {
        width: 100%;
    }

    #flan .flan-footer__columns {
        margin-top: 40px;
    }

    #flan .flan-footer__columns[data-count="2"] .flan-footer__col,
    #flan .flan-footer__columns[data-count="3"] .flan-footer__col {
        width: 100%;
        margin-bottom: 30px;
    }

    #flan-home .flan-home__row.has-sidebar .flan-home__main {
        width: 100%;
    }

    #flan-home .flan-home__sidebar {
        width: 100%;
        margin-bottom: 30px;
    }

    .flan-filter {
        position: static;
    }
}

@media (max-width: 768px) {
    .flan-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .flan-products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ===== PRODUCT PAGE ===== */
#flan-product {
    width: 100%;
    padding: 30px 0 60px;
    box-sizing: border-box;
}

.flan-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 28px 0;
    padding: 0;
    font-size: 13px;
    line-height: 1;
    color: rgba(35, 31, 32, 0.4);
}

.flan-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: rgba(35, 31, 32, 0.5);
    white-space: nowrap;
}

.flan-breadcrumbs a .fa {
    font-size: 14px;
    line-height: 1;
}

#flan .flan-breadcrumbs a:hover {
    color: #231f20;
    text-decoration: underline;
}

.flan-breadcrumbs a:last-child {
    color: #231f20;
    font-weight: 600;
    pointer-events: none;
    text-decoration: none;
}

.flan-breadcrumbs span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 12px;
    color: rgba(35, 31, 32, 0.3);
}

/* flex-start (not the default stretch) keeps the gallery at its natural height,
   which is what lets it stick while the taller info column scrolls past. */
.flan-product {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 50px;
}

/* Split the row minus the 48px gap, so the ratio is exactly 65/35. */
.flan-product__gallery {
    width: calc((100% - 48px) * 0.65);
    max-width: 100%;
    flex: none;
    position: sticky;
    top: 20px;
}

.flan-product__main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.flan-product__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flan-product__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.flan-product__thumb {
    width: 76px;
    height: 76px;
    background: #f5f5f5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.flan-product__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.flan-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.flan-lightbox.flan-open {
    display: block;
}

body.flan-lightbox-open {
    overflow: hidden;
}

.flan-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
}

.flan-lightbox__box {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    padding: 40px 60px;
    box-sizing: border-box;
}

.flan-lightbox__close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #231f20;
    cursor: pointer;
    z-index: 2;
}

.flan-lightbox__close:hover {
    background: #231f20;
    color: #ffffff;
}

.flan-lightbox__side {
    width: 110px;
    flex: none;
    display: flex;
    flex-direction: column;
    margin-right: 24px;
}

.flan-lightbox__count {
    font-size: 13px;
    font-weight: 600;
    color: #231f20;
    margin: 0 0 16px 0;
    white-space: nowrap;
}

.flan-lightbox__thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 6px;
}

.flan-lightbox__thumb {
    width: 84px;
    height: 84px;
    flex: none;
    background: #f5f5f5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
    border: 2px solid transparent;
}

.flan-lightbox__thumb.active {
    border-color: #fcc907;
}

.flan-lightbox__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.flan-lightbox__stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-width: 0;
}

.flan-lightbox__arrow {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #231f20;
    cursor: pointer;
}

.flan-lightbox__arrow:hover {
    background: #fcc907;
}

.flan-lightbox__image {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.flan-lightbox__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .flan-lightbox__box {
        flex-direction: column;
        padding: 70px 16px 16px;
    }

    .flan-lightbox__side {
        width: 100%;
        flex-direction: row;
        margin-right: 0;
        margin-top: 16px;
        order: 2;
    }

    .flan-lightbox__count {
        display: none;
    }

    .flan-lightbox__thumbs {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 6px;
    }

    .flan-lightbox__thumb {
        width: 64px;
        height: 64px;
    }

    .flan-lightbox__stage {
        order: 1;
        flex: 1;
        min-height: 0;
    }

    .flan-lightbox__arrow {
        width: 40px;
        height: 40px;
    }
}

.flan-product__info {
    flex: none;
    width: calc((100% - 48px) * 0.35);
    min-width: 280px;
}

.flan-product__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.flan-product__title {
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.flan-product__quick-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.flan-round-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 100px;
    background-color: #f5f5f5;
    border: unset;
    color: #231f20;
    cursor: pointer;
}

.flan-round-btn:hover {
    background-color: #231f20;
    color: #ffffff;
}

.flan-product__specs {
    margin: 20px 0 0 0;
}

.flan-product__specs .flan-spec-group {
    margin: 0 0 10px 0;
}

/* Fixed two-column grid instead of space-between: with right-aligned values the
   short ones hug the right edge while wrapped ones start at the left, so the
   value column reads as ragged. A shared left edge lines every value up. */
.flan-product__specs .flan-spec-list__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: baseline;
    gap: 14px;
    padding: 10px 0;
    font-size: 13px;
    line-height: 1.45;
}

.flan-product__specs .flan-spec-list__row span {
    overflow-wrap: break-word;
}

.flan-product__specs .flan-spec-list__row span:last-child {
    text-align: left;
    color: #231f20;
}

.flan-product__specs .flan-spec-list__row:last-child {
    border-bottom: none;
}

.flan-product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0 0 0;
    font-size: 13px;
    color: rgba(35, 31, 32, 0.6);
}

.flan-product__meta a {
    color: #231f20;
    text-decoration: underline;
}

.flan-product__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0 0;
    padding: 20px 0;
    border-top: 1px solid rgba(35, 31, 32, 0.1);
    border-bottom: 1px solid rgba(35, 31, 32, 0.1);
}

.flan-product__price-current {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #231f20;
}

.flan-product__price-request {
    font-size: 18px;
    font-weight: 600;
    color: rgba(35, 31, 32, 0.55);
}

.flan-product__price-old {
    font-size: 16px;
    text-decoration: line-through;
    color: rgba(35, 31, 32, 0.4);
}

.flan-product__price-tax {
    width: 100%;
    font-size: 12px;
    color: rgba(35, 31, 32, 0.5);
}

.flan-product__discounts {
    margin: 12px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: rgba(35, 31, 32, 0.7);
}

.flan-product__discounts li {
    margin: 4px 0 0 0;
}

.flan-form-group {
    margin: 20px 0 0 0;
}

.flan-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.flan-input {
    width: 100%;
    height: 46px;
    border-radius: 100px;
    border: 1px solid rgba(35, 31, 32, 0.15);
    background: #ffffff;
    padding: 0 20px;
    font-size: 14px;
    color: #231f20;
    box-sizing: border-box;
    outline: none;
}

.flan-input[readonly] {
    background: #f5f5f5;
    color: rgba(35, 31, 32, 0.7);
    cursor: default;
}

textarea.flan-input {
    height: auto;
    border-radius: 20px;
    padding: 14px 20px;
    resize: vertical;
}

.flan-input:focus {
    border-color: #fcc907;
}

.flan-option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.flan-option-list__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 100px;
    border: 1px solid rgba(35, 31, 32, 0.15);
    font-size: 13px;
    cursor: pointer;
}

.flan-option-list__item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Shift quantity picker */
.flan-product__qty {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0 0;
}

/* Full-width label keeps the picker and the hours readout on one predictable
   row, so the narrow (30%) product column never wraps them apart. */
.flan-product__qty-label {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #231f20;
    margin: 0;
    flex: 1 1 100%;
}

.flan-qty {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 100px;
    padding: 4px;
    flex-shrink: 0;
}

#flan .flan-qty__btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: unset;
    border-radius: 100px;
    background-color: #ffffff;
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#flan .flan-qty__btn:hover:not(:disabled) {
    background-color: #fcc907;
}

#flan .flan-qty__btn:disabled {
    opacity: 0.4;
    cursor: default;
}

#flan .flan-qty__input {
    width: 48px;
    height: 38px;
    border: unset;
    background: transparent;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #231f20;
    padding: 0;
    -moz-appearance: textfield;
}

#flan .flan-qty__input:focus {
    outline: none;
}

.flan-qty__hours {
    font-size: 14px;
    font-weight: 500;
    color: rgba(35, 31, 32, 0.55);
    white-space: nowrap;
    flex-shrink: 0;
}

.flan-product__buy {
    display: flex;
    gap: 12px;
    margin: 16px 0 0 0;
}

.flan-btn-primary {
    height: 46px;
    padding: 0 32px;
    border-radius: 100px;
    background-color: #fcc907;
    border: unset;
    color: #231f20;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    flex-grow: 1;
}

#flan .flan-btn-primary:hover {
    background-color: #231f20;
    color: #ffffff;
}

.flan-btn-secondary {
    height: 46px;
    padding: 0 24px;
    border-radius: 100px;
    background-color: #f5f5f5;
    border: unset;
    color: #231f20;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.flan-product__hint {
    margin: 14px 0 0 0;
    font-size: 12px;
    color: rgba(35, 31, 32, 0.55);
}

@media (max-width: 768px) {
    /* Touch targets: enlarge the picker and let it span the full width. */
    .flan-qty {
        flex-grow: 1;
        justify-content: space-between;
        max-width: 220px;
    }

    #flan .flan-qty__btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    #flan .flan-qty__input {
        height: 44px;
        width: 60px;
    }
}

/* Tabs */
.flan-tabs {
    margin: 0 0 90px 0;
    padding: 0;
}

.flan-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: unset !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    list-style: none;
    text-align: left;
}

.flan-tabs__nav > li {
    float: none !important;
    display: block;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
}

.flan-tabs__nav > li:last-child {
    margin-right: 0 !important;
}

.flan-tabs__nav > li > a {
    display: block;
    line-height: 1;
    border-radius: 100px !important;
    border: unset !important;
    background: #f5f5f5 !important;
    color: #231f20 !important;
    padding: 14px 24px !important;
    font-size: 14px;
    font-weight: 600;
    margin: 0 !important;
    box-shadow: none !important;
}

.flan-tabs__nav > li > a:hover,
.flan-tabs__nav > li > a:focus {
    border: unset !important;
    background: #eeeeee !important;
    color: #231f20 !important;
}

.flan-tabs__nav > li.active > a,
.flan-tabs__nav > li.active > a:hover,
.flan-tabs__nav > li.active > a:focus {
    background: #231f20 !important;
    color: #ffffff !important;
}

.flan-tabs__content {
    margin: 0;
    padding: 0 0 0 24px;
    font-size: 14px;
    line-height: 1.7;
    color: #231f20;
    text-align: left;
}

.flan-tabs__content img {
    max-width: 100%;
    height: auto;
}

.flan-spec-group {
    margin: 0 0 30px 0;
}

.flan-spec-group__title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.flan-spec-list__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(35, 31, 32, 0.08);
    font-size: 14px;
}

.flan-spec-list__row span:first-child {
    color: rgba(35, 31, 32, 0.55);
}

.flan-addon-group {
    margin: 0 0 24px 0;
}

.flan-addon-group__title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.flan-addon-list {
    display: flex;
    flex-direction: column;
}

.flan-addon-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(35, 31, 32, 0.08);
    font-size: 14px;
    cursor: pointer;
}

.flan-addon-row__check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #fcc907;
}

.flan-addon-row__name {
    flex-grow: 1;
}

.flan-addon-row__price {
    flex-shrink: 0;
    font-weight: 600;
    color: #231f20;
}

.flan-spec-empty {
    padding: 20px 0;
    font-size: 14px;
    color: rgba(35, 31, 32, 0.6);
}

.flan-help-block {
    font-size: 12px;
    color: rgba(35, 31, 32, 0.5);
    margin-top: 6px;
}

.flan-related {
    margin-bottom: 40px;
}

.flan-related__title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.flan-tags {
    font-size: 13px;
    color: rgba(35, 31, 32, 0.6);
}

.flan-tags a {
    color: #231f20;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .flan-product {
        gap: 24px;
    }

    /* Stacked layout: a sticky photo would pin over the info block below it. */
    .flan-product__gallery {
        width: 100%;
        position: static;
    }

    .flan-product__info {
        min-width: 100%;
    }
}

/* ===== ACCOUNT ===== */
#flan-account {
    width: 100%;
    padding: 30px 0 60px;
    box-sizing: border-box;
}

.flan-account__title {
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 30px 0;
}

.flan-account__row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.flan-account__panel {
    flex: 1;
    min-width: 320px;
    background: #ffffff;
    border: 1px solid rgba(35, 31, 32, 0.1);
    border-radius: 24px;
    padding: 36px;
    box-sizing: border-box;
}

.flan-account__panel--muted {
    background: #f8f8f8;
    border-color: transparent;
    display: flex;
    flex-direction: column;
}

.flan-account__panel-title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.flan-account__panel-text {
    font-size: 14px;
    color: rgba(35, 31, 32, 0.7);
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.flan-account__form .flan-btn-primary {
    width: 100%;
    margin-top: 10px;
}

.flan-account__link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(35, 31, 32, 0.55);
    text-decoration: underline;
}

.flan-account__panel--muted .flan-btn-secondary--block {
    margin-top: auto;
}

.flan-btn-secondary--block {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    line-height: 46px;
    padding: 0 24px;
}

.flan-btn-primary--block {
    display: block;
    width: 100%;
    flex-grow: 0;
    text-align: center;
    box-sizing: border-box;
    line-height: 46px;
    padding: 0 24px;
}

.flan-account-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flan-account-menu__group {
    background: #ffffff;
    border: 1px solid rgba(35, 31, 32, 0.1);
    border-radius: 20px;
    padding: 26px;
    box-sizing: border-box;
}

.flan-account-menu__group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 18px 0;
}

.flan-account-menu__group-title .fa {
    color: #fcc907;
}

.flan-account-menu__list li {
    margin: 14px 0 0 0;
}

.flan-account-menu__list li:first-child {
    margin-top: 0;
}

.flan-account-menu__list a {
    font-size: 14px;
    color: rgba(35, 31, 32, 0.75);
}

#flan .flan-account-menu__list a:hover {
    color: #231f20;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .flan-account-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .flan-account-menu {
        grid-template-columns: repeat(1, 1fr);
    }

    .flan-account__row {
        flex-direction: column;
    }
}

/* ===== ACCOUNT: shared list/table/misc widgets ===== */
.flan-panel {
    background: #ffffff;
    border: 1px solid rgba(35, 31, 32, 0.1);
    border-radius: 24px;
    padding: 30px;
    box-sizing: border-box;
    margin-bottom: 24px;
}

.flan-panel__title {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.flan-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.flan-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.flan-table th {
    text-align: left;
    padding: 0 14px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(35, 31, 32, 0.5);
    font-weight: 600;
    white-space: nowrap;
}

.flan-table td {
    padding: 14px;
    border-top: 1px solid rgba(35, 31, 32, 0.08);
    vertical-align: middle;
}

.flan-table tr:hover td {
    background: #f8f8f8;
}

.flan-table td:first-child,
.flan-table th:first-child {
    padding-left: 14px;
}

.flan-table a {
    color: #231f20;
    text-decoration: underline;
}

.flan-status {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: #f5f5f5;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.flan-empty {
    text-align: center;
    padding: 50px 20px;
    color: rgba(35, 31, 32, 0.55);
    font-size: 14px;
}

.flan-pagination-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(35, 31, 32, 0.6);
}

.flan-pagination-row .pagination {
    margin: 0;
}

.flan-pagination-row .pagination > li > a,
.flan-pagination-row .pagination > li > span {
    border: unset;
    border-radius: 100px !important;
    margin: 0 2px;
    color: #231f20;
}

.flan-pagination-row .pagination > .active > a,
.flan-pagination-row .pagination > .active > span {
    background: #231f20 !important;
    border-color: #231f20 !important;
}

.flan-row-actions {
    display: flex;
    gap: 8px;
}

.flan-row-actions a {
    width: 34px;
    height: 34px;
    border-radius: 100px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #231f20 !important;
    text-decoration: none !important;
}

#flan .flan-row-actions a:hover {
    background: #231f20;
    color: #ffffff !important;
}

.flan-actions-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.flan-actions-row--between {
    justify-content: space-between;
}

/* ===== ACCOUNT: wishlist product card remove button ===== */
.flan-card--wishlist {
    position: relative;
}

.flan-card__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(35, 31, 32, 0.15);
}

/* ===== SEARCH ===== */
#flan-search {
    width: 100%;
    padding: 30px 0 60px;
    box-sizing: border-box;
}

.flan-search-form {
    margin-bottom: 30px;
}

.flan-search-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    margin-top: 20px;
}

.flan-search-form__row .flan-form-group {
    margin-top: 0;
    min-width: 220px;
}

.flan-search-form__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: auto;
}

.flan-search-form__checks .flan-option-list__item {
    margin-top: 0;
}

.flan-search-form .flan-btn-primary {
    height: 46px;
    flex-grow: 0;
}

.flan-search-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(35, 31, 32, 0.55);
}

.flan-search-toolbar__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.flan-search-toolbar__controls .flan-form-group {
    margin-top: 0;
    min-width: 180px;
}

@media (max-width: 768px) {
    .flan-search-form__row {
        flex-direction: column;
        align-items: stretch;
    }

    .flan-search-form .flan-btn-primary {
        width: 100%;
    }
}

/* Hours readout under the shift picker in the cart / checkout */
#flan .flan-cart-hours {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(35, 31, 32, 0.55);
    white-space: nowrap;
}

/* ===== CONTACTS PAGE ===== */
.flan-contact__title {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 30px 0;
}

.flan-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.flan-contact__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 280px;
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 24px;
}

.flan-contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 100px;
    background-color: #fcc907;
    color: #231f20;
    font-size: 18px;
}

.flan-contact__body {
    min-width: 0;
}

.flan-contact__label {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(35, 31, 32, 0.55);
    margin: 0 0 6px 0;
}

.flan-contact__value {
    display: block;
    font-size: 17px;
    font-weight: 500;
    font-style: normal;
    color: #231f20;
    word-break: break-word;
}

a.flan-contact__value:hover {
    color: #fcc907;
}

.flan-contact__sub {
    font-size: 14px;
    color: rgba(35, 31, 32, 0.55);
    margin: 6px 0 0 0;
}

.flan-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #231f20;
}

.flan-contact__link:hover {
    color: #fcc907;
}

@media (max-width: 768px) {
    .flan-contact__title {
        font-size: 26px;
    }

    .flan-contact__card {
        flex: 1 1 100%;
    }
}

/* ===== SUCCESS / FAILURE PAGE (checkout success, account success, logout...) ===== */
#common-success {
    width: 100%;
    padding: 30px 0 60px;
    box-sizing: border-box;
}

.flan-success {
    max-width: 720px;
    margin: 20px auto 0;
    padding: 48px 48px 44px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(35, 31, 32, 0.1);
    border-radius: 24px;
    text-align: center;
}

.flan-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    border-radius: 100px;
    background-color: #fcc907;
    color: #231f20;
    font-size: 30px;
}

.flan-success--error .flan-success__icon {
    background-color: #231f20;
    color: #ffffff;
}

.flan-success__title {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px 0;
}

.flan-success__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(35, 31, 32, 0.7);
}

.flan-success__text p {
    margin: 0 0 10px 0;
}

.flan-success__text p:last-child {
    margin-bottom: 0;
}

#flan .flan-success__text a {
    color: #231f20;
    font-weight: 600;
    text-decoration: underline;
}

#flan .flan-success__text a:hover {
    color: #fcc907;
}

.flan-success__actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.flan-success__actions .flan-btn-primary--block {
    width: auto;
    min-width: 240px;
}

@media (max-width: 560px) {
    .flan-success {
        padding: 34px 22px 30px;
        border-radius: 20px;
    }

    .flan-success__title {
        font-size: 22px;
    }

    .flan-success__actions .flan-btn-primary--block {
        width: 100%;
        min-width: 0;
    }
}
