/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_FoodSupplement
 * @author    Webkul
 * @copyright Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */

/* KONSTRUKCJA DWUKOLOROWEJ RAMKI */
.pugino-dual-frame {
    max-width: 100%;
    padding: 3px;
    /* Grubość ramki */
    border-radius: 16px;
    /* GÓRA GRANATOWA (#1a3a5a), DÓŁ POMARAŃCZOWY (#f37021) */
    background: linear-gradient(to bottom, #1a3a5a 0%, #1a3a5a 50%, #f37021 50%, #f37021 100%);
    margin: 20px 0;
}

.p-frame-inner {
    background: #fff;
    /* Białe wnętrze */
    border-radius: 13px;
    overflow: hidden;
}

.p-f-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.p-f-logo {
    height: 35px !important;
    width: auto !important;
}

.p-f-logo-wrap {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #eee;
}

.p-f-title {
    margin: 0;
    font-size: 16px;
    color: #1a3a5a;
    font-weight: 800;
    letter-spacing: 1px;
}

.p-f-table {
    width: 100%;
    border-collapse: collapse;
}

.p-f-table th {
    background: #fafafa;
    padding: 10px 20px;
    text-align: left;
    font-size: 11px;
    color: #888;
}

.p-f-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #f9f9f9;
    font-size: 14px;
}

.p-f-badge {
    background: #fff3eb;
    color: #f37021;
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 11px;
    white-space: nowrap;
}

.p-f-extra {
    padding: 15px 20px;
    font-size: 13px;
    color: #666;
    background: #fffcfb;
}

/* Existing Utilities & Toggle */
.wk-fs-serving-toggle {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.wk-fs-serving-toggle label {
    margin-left: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1a3a5a;
    cursor: pointer;
}

.wk-fs-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.wk-fs-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.wk-fs-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .4s;
    border-radius: 24px;
}

.wk-fs-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.wk-fs-slider {
    background-color: #f37021;
}

input:checked+.wk-fs-slider:before {
    transform: translateX(20px);
}

.wk-col-ing {
    width: 55%;
}

.wk-col-amt {
    width: 30%;
    text-align: right !important;
}

.wk-col-nrv {
    width: 15%;
    text-align: right !important;
}

.wk-col-100g,
.wk-col-45g {
    width: 22.5%;
    text-align: right !important;
}

.p-f-extra {
    padding: 15px 20px;
    font-size: 12px;
    color: #666;
    background: #fffcfb;
    border-top: 1px solid #eee;
}

.p-f-extra-row {
    margin-bottom: 5px;
}

.p-f-extra-row:last-child {
    margin-bottom: 0;
}

/* Supplement Details */
.wk-fs-ing-detail {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.wk-fs-ing-note {
    font-style: italic;
}


@media (max-width: 600px) {

    .p-f-table td,
    .p-f-table th {
        padding: 10px 10px !important;
        font-size: 11px !important;
    }

    .p-f-logo {
        height: 28px !important;
    }

    .p-f-table td strong {
        display: block;
    }

    .wk-col-ing {
        width: 50%;
    }

    .wk-col-amt,
    .wk-col-nrv {
        width: 25%;
    }
}