/* assets/css/product-cohesion.css */

.product-sticky{
    position: sticky;
    top: 18px;
}

.fs-prod-title{
    margin: 0;
    font-weight: 950;
    letter-spacing: .2px;
    font-size: 22px;
    line-height: 1.15;
}

.fs-prod-desc{
    color: rgba(61,61,61,.78);
    line-height: 1.6;
}

.fs-prod-meta{
    display:flex;
    flex-wrap:wrap;
    gap: 8px;
    margin-top: 10px;
}

.fs-chip{
    display:inline-flex;
    align-items:baseline;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(255,255,255,.92);
    font-weight: 900;
    font-size: 12px;
}

.fs-chip-label{
    color: rgba(61,61,61,.60);
    font-weight: 900;
    letter-spacing: .2px;
}
.fs-chip-value{
    color: var(--ink);
}

.fs-prod-badges{
    display:flex;
    flex-wrap:wrap;
    gap: 8px;
    justify-content:flex-end;
}
.fs-icon-badge{
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(11,18,32,.03);
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Price */
.fs-price-row{
    display:flex;
    align-items:flex-end;
    justify-content: space-between;
    gap: 14px;
}
.fs-price-label{
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: rgba(61,61,61,.62);
}
.fs-price-value{
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
}
.fs-price-hint{
    color: rgba(61,61,61,.72);
    font-weight: 800;
    font-size: 13px;
    text-align:right;
}
.fs-price-badge{
    margin-top: 8px;
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    border: 1px solid rgba(14,24,39,.10);
}
.fs-price-badge.is-in{
    background: rgba(var(--brand-rgb), .10);
    border-color: rgba(var(--brand-rgb), .18);
}
.fs-price-badge.is-out{
    background: rgba(var(--accent-rgb), .10);
    border-color: rgba(var(--accent-rgb), .18);
}

/* Blocks */
.fs-block-head{ margin-bottom: 10px; }
.fs-block-title{
    font-weight: 950;
    letter-spacing: .2px;
}
.fs-block-sub{
    color: rgba(61,61,61,.70);
    font-weight: 700;
    font-size: 13px;
    margin-top: 2px;
}

/* Quantity */
.fs-qty .input-group-text{
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(11,18,32,.03);
}
.fs-qty-btn{
    width: 54px;
    justify-content:center;
    cursor:pointer;
    border-radius: 12px !important;
}
.fs-qty-input{
    border: 1px solid rgba(14,24,39,.10);
    font-weight: 900;
    height: 48px;
}
.fs-qty-unit{
    font-weight: 900;
}

/* Availability row */
.fs-availability{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 10px;
}

/* Buttons */
.fs-btn-primary,
.fs-btn-secondary{
    border-radius: 14px !important;
    font-weight: 950 !important;
    letter-spacing: .2px;
    padding: 14px 14px !important;
}
.fs-btn-primary{ box-shadow: 0 12px 30px rgba(var(--accent-rgb), .10); }
.fs-btn-sub{ font-size: 12px; font-weight: 800; opacity: .8; margin-top: 2px; }

.fs-btn-assort{
    border-radius: 14px !important;
    font-weight: 950 !important;
    padding: 14px 14px !important;
}
.fs-btn-assort.is-add{
    background: rgba(var(--brand-rgb), .10) !important;
    border: 1px solid rgba(var(--brand-rgb), .22) !important;
}
.fs-btn-assort.is-remove{
    background: rgba(var(--accent-rgb), .10) !important;
    border: 1px solid rgba(var(--accent-rgb), .22) !important;
}

/* Quicklists */
.fs-ql-toggle{
    width: 100%;
    display:flex;
    align-items:center;
    gap: 10px;
    border-radius: 16px;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(11,18,32,.03);
    padding: 12px 12px;
    cursor: pointer;
}
.fs-ql-title{ font-weight: 950; }
.fs-ql-sub{ color: rgba(61,61,61,.70); font-weight: 700; font-size: 13px; margin-left: auto; }
.fs-ql-icon{ opacity:.7; }

.fs-ql-body{
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(14,24,39,.08);
    background: rgba(255,255,255,.92);
}
.fs-ql-item{
    display:block;
    padding: 8px 6px;
    border-radius: 12px;
}
.fs-ql-item:hover{ background: rgba(11,18,32,.03); }
.fs-ql-empty{ color: rgba(61,61,61,.70); font-weight: 700; margin: 0; }

/* Tabs */
.fs-tabs-nav{
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.fs-tab-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(11,18,32,.03);
    font-weight: 950;
    text-decoration:none !important;
    color: var(--ink);
}
.fs-tab-link.is-active,
.fs-tab-link.active{
    background: rgba(var(--brand-rgb), .10);
    border-color: rgba(var(--brand-rgb), .18);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .10);
}
.fs-tabs-content{ padding-top: 6px; }

/* Alternative cards */
.fs-alt-card{
    display:block;
    border-radius: 16px;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(255,255,255,.92);
    overflow:hidden;
    text-decoration:none !important;
    color: var(--ink);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fs-alt-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(11,18,32,.10);
    border-color: rgba(var(--accent-rgb), .18);
}
.fs-alt-img{
    height: 130px;
    background: rgba(11,18,32,.03);
    display:flex;
    align-items:center;
    justify-content:center;
}
.fs-alt-img img{
    max-height: 110px;
    max-width: 100%;
    object-fit: contain;
}
.fs-alt-body{ padding: 12px 12px; }
.fs-alt-title{ font-weight: 950; line-height: 1.2; }
.fs-alt-meta{ color: rgba(61,61,61,.70); font-weight: 700; font-size: 13px; margin-top: 6px; }
.fs-alt-price{ font-weight: 950; margin-top: 10px; }

/* Panels */
.fs-panel{
    border-radius: 16px;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(255,255,255,.92);
    padding: 14px 14px;
}
.fs-panel-title{
    font-weight: 950;
    margin-bottom: 8px;
}
.fs-panel-body{ color: rgba(61,61,61,.80); line-height: 1.6; }

.fs-allergen-line{
    padding: 10px 10px;
    border-radius: 12px;
    background: rgba(11,18,32,.03);
    border: 1px dashed rgba(14,24,39,.12);
    margin-bottom: 10px;
}

/* =========================
   Gallery (cohesion)
   ========================= */

.fs-gallery{ width: 100%; }

.fs-gallery-main{
    border-radius: var(--radius);
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.fs-gallery-carousel{ position: relative; }

.fs-gallery-slide{
    margin: 0;
    width: 100%;
    min-height: 420px;
    display:flex;
    align-items:center;
    justify-content:center;
}

@media (max-width: 768px){
    .fs-gallery-slide{ min-height: 320px; }
}

.fs-gallery-img{
    width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: contain;
    display:block;
}

.fs-gallery-empty{
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    gap: 8px;
    padding: 60px 20px;
    color: rgba(61,61,61,.65);
    font-weight: 800;
}
.fs-gallery-empty i{
    font-size: 36px;
    opacity: .55;
}

/* Arrows: softer, cohesion look */
.fs-gallery-arrow{
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(11,18,32,.10);
    display:flex !important;
    align-items:center;
    justify-content:center;
    color: rgba(61,61,61,.85);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fs-gallery-arrow:hover{
    transform: translateY(-1px);
    border-color: rgba(var(--accent-rgb), .25);
    box-shadow: 0 18px 45px rgba(11,18,32,.14);
    color: var(--accent);
}
.fs-gallery-arrow-left{ left: 14px; }
.fs-gallery-arrow-right{ right: 14px; }

/* Thumbs */
.fs-gallery-thumbs-wrap{
    margin-top: 14px;
    padding: 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(14,24,39,.08);
    background: rgba(255,255,255,.72);
    box-shadow: 0 12px 30px rgba(11,18,32,.06);
}

.fs-gallery-thumbs-title{
    font-weight: 950;
    letter-spacing: .2px;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 13px;
}

.fs-gallery-thumbs{ }

.fs-thumb{
    width: 100%;
    border: 1px solid rgba(14,24,39,.10);
    background: rgba(11,18,32,.03);
    border-radius: 16px;
    padding: 10px;
    height: 92px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fs-thumb:hover{
    transform: translateY(-1px);
    border-color: rgba(var(--accent-rgb), .22);
    box-shadow: 0 14px 30px rgba(11,18,32,.10);
}
.fs-thumb:focus{
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
    border-color: rgba(var(--brand-rgb), .25);
}

.fs-thumb-img{
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
    display:block;
}

.fs-thumb--empty{
    opacity: .55;
}

/* Placeholder if no images */
.fs-gallery-placeholder{
    border-radius: var(--radius);
    border: 1px dashed rgba(14,24,39,.18);
    background: rgba(11,18,32,.03);
    padding: 70px 20px;
    text-align:center;
}
.fs-gallery-placeholder i{
    font-size: 40px;
    opacity: .55;
}
.fs-gallery-placeholder-title{
    margin-top: 10px;
    font-weight: 950;
}
.fs-gallery-placeholder-sub{
    margin-top: 6px;
    color: rgba(61,61,61,.70);
    font-weight: 700;
}

/* Product info (fs-cohesion) */
.fs-prod-head{ }

.fs-prod-title{
    letter-spacing: .2px;
    color: var(--ink);
}

.fs-prod-meta{
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 12px;
    border: 1px solid rgba(14,24,39,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 10px 24px rgba(11,18,32,.06);
}

.fs-prod-meta-row{
    display:flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.fs-prod-meta-label{
    color: rgba(61,61,61,.65);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .2px;
}

.fs-prod-meta-value{
    color: rgba(61,61,61,.92);
    font-weight: 900;
    font-size: 13px;
}

.fs-prod-desc-wrap{
    border: 1px solid rgba(14,24,39,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(11,18,32,.06);
    padding: 12px 12px;
}

.fs-prod-desc-title{
    font-weight: 950;
    letter-spacing: .2px;
    font-size: 13px;
    color: rgba(61,61,61,.88);
}

.fs-prod-desc{
    color: rgba(61,61,61,.78);
    line-height: 1.55;
    font-size: 14px;
}

.fs-chip{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(var(--brand-rgb), .20);
    background: rgba(var(--brand-rgb), .08);
    color: rgba(61,61,61,.9);
    font-weight: 900;
    font-size: 12px;
    white-space: nowrap;
}

.fs-chip-dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .10);
}

.fs-prod-badges{
    border: 1px solid rgba(14,24,39,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.90);
    box-shadow: 0 12px 30px rgba(11,18,32,.06);
    padding: 12px 12px;
}

.fs-prod-badge-title{
    font-weight: 950;
    letter-spacing: .2px;
    font-size: 13px;
    color: rgba(61,61,61,.88);
    margin-bottom: 8px;
}

.fs-badge-row{
    display:flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-badge{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(14,24,39,.08);
    background: rgba(11,18,32,.03);
    font-weight: 900;
    font-size: 12px;
    color: rgba(61,61,61,.90);
}

.fs-badge img{
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 6px;
}

/* Omschrijving card */
.fs-prod-desc-wrap{
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(14,24,39,.08);
    border-radius: 16px;
    padding: 14px 14px 12px;
    box-shadow: 0 12px 30px rgba(11,18,32,.06);
}

.fs-prod-desc-head{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.fs-prod-desc-title{
    font-weight: 950;
    letter-spacing: .2px;
    color: var(--ink);
}

/* tekst */
.fs-prod-desc{
    color: rgba(61,61,61,.86);
    line-height: 1.6;
    font-size: 14px;
}
.fs-prod-desc ul,
.fs-prod-desc ol{
    margin: 10px 0 0;
    padding-left: 18px;
}
.fs-prod-desc li{ margin: 6px 0; }

/* Clamp + leesmeer */
.fs-clamp{
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fs-link-btn{
    border:0;
    background: transparent;
    padding: 0;
    font-weight: 900;
    color: var(--accent);
    cursor:pointer;
}
.fs-link-btn:hover{ text-decoration: underline; }


/* product-cohesion.css */

/* Card baseline (matcht fs-cohesion vibe) */
.fs-card{
    background: var(--paper, #fff);
    border: 1px solid rgba(14,24,39,.08);
    border-radius: var(--radius-lg, 18px);
    box-shadow: var(--shadow-1, 0 10px 30px rgba(14,24,39,.06));
}

.fs-card--pad{
    padding: 20px;
}
@media (min-width: 768px){
    .fs-card--pad{ padding: 24px; }
}

/* Vervanger voor fs-connector */
.fs-section-rule{
    height: 1px;
    margin: 18px 0 22px;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(14,24,39,.10),
            rgba(14,24,39,.12),
            rgba(14,24,39,.10),
            transparent
    );
    position: relative;
}

.fs-section-rule::after{
    content: "";
    position: absolute;
    left: 50%;
    top: -1px;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent, #DC4405), transparent);
    opacity: .35; /* subtiel, geen “status” */
}

.fs-price-badge.is-low{
    background: rgba(234,118,0,.12);
    border: 1px solid rgba(234,118,0,.28);
    color: rgba(120,60,0,.95);
}

.fs-product-feedback{
    width: min(720px, 100%);
    margin: 12px auto 0;
}

.fs-product-feedback .alert{
    border-radius: 14px;
    border: 1px solid rgba(14,24,39,.10);
    box-shadow: 0 12px 30px rgba(11,18,32,.08);
    font-weight: 800;
}

.fs-price-total{
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(14,24,39,.08);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 12px;
    align-items: baseline;
}

.fs-price-total[hidden]{
    display: none;
}

.fs-price-total__label,
.fs-price-total__meta{
    color: rgba(61,61,61,.64);
    font-size: 12px;
    font-weight: 800;
}

.fs-price-total__value{
    color: var(--brand);
    font-size: 20px;
    font-weight: 950;
}

.fs-price-total__meta{
    grid-column: 1 / -1;
}

/* Quantity wrapper */
.fs-qty{
    display:flex;
    align-items:stretch;
    border:1px solid rgba(0,0,0,.08);
    border-radius:16px;
    overflow:hidden;
    max-width:360px;
    background:#fff;
}

/* Buttons */
.fs-qty__btn{
    width:56px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.02);
    border:0;
    cursor:pointer;
    transition:background .15s ease;
}

.fs-qty__btn:hover{
    background:rgba(0,0,0,.06);
}

/* Middle section (input + unit grouped) */
.fs-qty__center{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex:1;
    padding:0 14px;
    border-left:1px solid rgba(0,0,0,.06);
    border-right:1px solid rgba(0,0,0,.06);
}

/* Input */
.fs-qty__input{
    width:60px;
    border:0;
    text-align:center;
    font-size:18px;
    font-weight:700;
    outline:none;
    background:transparent;
}

/* Unit */
.fs-qty__unit{
    font-weight:600;
    color:rgba(0,0,0,.55);
    font-size:14px;
    white-space:nowrap;
}

/* Remove ugly number arrows */
.fs-qty__input::-webkit-outer-spin-button,
.fs-qty__input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}
.fs-qty__input{
    -moz-appearance:textfield;
}
