﻿/*Подробности продукта*/
#Details legend {
    font-size: 48px;
}

#Details span {
    font-size: large;
    margin-left: 10px;
    max-width: 400px;
}

#Details fieldset {
    max-width: 500px !important;
}

    /*Кнопка Retour потробностей продукта*/
    #Details fieldset input {
        text-align: left;
        position: relative;
    }

    /* ОДНО общее правило для кнопок */
    #Details fieldset input,
    input[type="button"] {
        cursor: pointer;
        background: #4F95DA;
        border: 1px solid #669;
        outline: none;
        transition: 1s ease-in-out;
        font-size: 20px;
        padding: 5px;
        border-radius: 5px;
        max-width: 200px;
    }

        #Details fieldset input:hover,
        input[type="button"]:hover {
            transition: 1s ease-in-out;
            background: green;
        }

/*Таблицы*/
/*section{
    padding:0px 15px 50px 15px;
    border-bottom:dashed 1px;
}*/

details {
    font-size: 25px;
    cursor: pointer;
    display: flex;
  /*  max-width: 300px;*/
}

input[name="find_table"] {
    min-width: 100%;
    box-sizing: border-box
}

table {
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 14px;
    max-width: 100%;
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    /* ГЛАВНОЕ: таблица как таблица, без inline-block */
    display: table;
    table-layout: fixed;
    margin-top: 10px;
}

.expiration-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.expiration-summary div {
    border: 1px solid #cfd5e1;
    background: #f8fafc;
    padding: 10px;
    min-height: 58px;
    box-sizing: border-box;
}

.expiration-summary span {
    display: block;
    color: #334155;
    font-size: 13px;
    line-height: 1.25;
}

.expiration-summary strong {
    display: block;
    color: #0f172a;
    font-size: 20px;
    margin-top: 6px;
}

th {
    font-weight: normal;
    color: #039;
    border: solid 1px;
    padding: 10px 30px 10px 10px;
    position: relative;
    cursor: pointer;
}

/* Исправлено: раньше было table::before, .table::after */
table::before,
table::after {
    display: table;
    content: " ";
}

table::after {
    clear: both;
}

th::before,
th::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    border: 4px solid transparent;
}

th::before {
    border-bottom-color: #bdbdbd;
    margin-top: -8px;
}

th::after {
    border-top-color: #bdbdbd;
    margin-top: 1px;
}

th.sort-asc::before {
    border-width: 6px;
    margin-top: -9px;
    right: 10px;
    border-bottom-color: #3f3f3f;
}

th.sort-asc::after {
    content: none;
}

th.sort-desc::before {
    content: none;
}

th.sort-desc::after {
    border-width: 6px;
    margin-top: -2px;
    right: 10px;
    border-top-color: #3f3f3f;
}

td {
    color: #669;
    padding: 9px 8px;
    transition: .3s linear;
    border: solid 1px;
}

tr:hover td {
    color: #6699ff;
    cursor: default;
}

tr.expiration-expired td {
    background-color: #ffdddd;
}

tr.expiration-30 td {
    background-color: #fff0cc;
}

tr.expiration-90 td {
    background-color: #ffffdd;
}

tr.expiration-no-date td {
    background-color: #eeeeee;
}

@media screen and (max-width: 900px) {
    table {
        /* мягкий горизонтальный скролл, без жёсткого scroll */
        overflow-y: hidden;
        overflow-x: auto;
    }
}

thead tr th:hover {
    color: green;
}

/*Пагинатор*/
table + aside {
    display: flex;
    max-width: 700px;
    font-size: 25px;
}

div[name="pagination"] {
    border: solid 1px #669;
    border-top: none;
    width: 300px;
    text-align: center;
    padding-left: 0px;
    padding-top: 4px;
    margin-top: -4px;
    vertical-align: text-bottom;
}

    div[name="pagination"] a {
        text-decoration: none !important;
        color: #669;
        margin-left: 5px;
        cursor: default;
    }

#TableStDateExpes aside span,
#TableStDateExpesHistory aside span,
#TableStDateExpesHistoryProducts aside span {
    border: solid 1px #669;
    border-top: none;
    border-left: none;
    padding-bottom: 4px;
    padding-left: 15px;
    padding-right: 0px;
    color: #039;
    width: 190px;
    margin-top: -4px;
}

/*Выбор продуктов*/
#create_document fieldset {
    overflow-x: hidden !important;
    display: grid;
}

    #create_document fieldset label input {
        font-size: 20px;
        float: right;
    }

    #create_document fieldset p,
    #create_document fieldset h2 {
        width: 250px;
    }

    #create_document fieldset div:nth-of-type(1) {
        display: block;
        min-width: 60px;
    }

    #create_document fieldset div:nth-of-type(2) {
        width: 100%;
        height: 60px;
        border: 1px solid red;
    }

/* Блоки таблиц – оставляем, только форматировка подчищена */
#TableStDateExpesMinimal,
#TableStDateExpesHistoryProductsMinimal {
    overflow-y: scroll; /* ВСЕГДА показываем вертикальный скролл */
    overflow-x: hidden; /* запрещаем горизонтальный */
    max-height: 600px; /* высота под ~10 строк (подгони при необходимости) */
    min-height: 600px; /* фиксируем высоту, чтоб не прыгало */
    padding-right: 15px; /* компенсируем scroll-bar, чтобы контент не обрезался */
    box-sizing: content-box; /* важно, чтобы padding не влиял на размер */
}

    /* Таблица НЕ должна менять ширину */
    #TableStDateExpesMinimal table,
    #TableStDateExpesHistoryProductsMinimal table {
        table-layout: fixed;
        width: 100%;
        max-width: 100%;
    }

        /* Чтобы строки выглядели одинаково на всех страницах */
        #TableStDateExpesMinimal table tbody tr,
        #TableStDateExpesHistoryProductsMinimal table tbody tr {
            height: 32px; /* одинаковая высота строк (опционально) */
        }

        /* Не даём пагинатору смещать ширину */
        #TableStDateExpesMinimal table + aside,
        #TableStDateExpesHistoryProductsMinimal table + aside {
            width: 100%;
            display: flex;
            justify-content: space-between;
        }

/* --- Детали минимальной таблицы: фиксируем размеры и скролл --- */
#TableStDateExpesMinimalDetails,
#TableStDateExpesHistoryProductsMinimalDetails {
    overflow-y: scroll; /* всегда есть вертикальный скролл */
    overflow-x: hidden; /* не даём горизонтальный скролл */
    max-height: 600px; /* подгони под свою высоту окна детализации */
    min-height: 600px; /* фиксируем высоту, чтобы не дёргалось */
    padding-right: 15px; /* компенсация ширины скроллбара */
    box-sizing: content-box; /* важно, чтобы padding не менял реальный размер блока */
}

    #TableStDateExpesMinimalDetails table,
    #TableStDateExpesHistoryProductsMinimalDetails table {
        table-layout: fixed;
        width: 100%;
        max-width: 100%;
    }

    #TableStDateExpesMinimalDetails fieldset p,
    #TableStDateExpesHistoryProductsMinimalDetails fieldset p {
        max-height: 260px; /* чтобы кнопки снизу не уезжали */
        overflow-y: auto;
        margin-bottom: 15px;
    }

    #TableStDateExpesMinimalDetails input[type="button"],
    #TableStDateExpesHistoryProductsMinimalDetails input[type="button"] {
        min-width: 120px;
        margin-right: 10px;
    }
.dateexp-details fieldset {
    max-width: 560px;
    width: 100%;
    padding: 16px 20px;
    margin: 0;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Заголовок */
.dateexp-details legend {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0 4px;
    margin-bottom: 8px;
}

/* Сетка для меток и полей (убираем дергание разметки) */
.dateexp-details fieldset p {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 12px 16px;
    align-items: center;
    margin: 0;
}

    /* <br> в исходной разметке мешают сетке — прячем */
    .dateexp-details fieldset p br {
        display: none;
    }

/* Метки */
.dateexp-details fieldset label {
    display: block;
    margin: 0;
    padding: 8px 0;
    line-height: 1.3;
    font-weight: 600;
    user-select: none;
    white-space: nowrap;
}

/* Поля ввода */
.dateexp-details fieldset input[type="text"],
.dateexp-details fieldset input[type="number"],
.dateexp-details fieldset input[type="datetime-local"] {
    width: 100%;
    min-height: 38px;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid #cfd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
}

/* Кнопки действий */
.dateexp-details fieldset input[type="button"] {
    cursor: pointer;
    padding: 10px 16px;
    margin: 12px 8px 0 0;
    border: 1px solid #4f95da;
    background: #4f95da;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .05s ease, box-shadow .2s ease, opacity .2s ease;
}

    .dateexp-details fieldset input[type="button"]:hover {
        opacity: .95;
        box-shadow: 0 6px 18px rgba(0,0,0,.08);
    }

    .dateexp-details fieldset input[type="button"]:active {
        transform: translateY(1px);
        box-shadow: none;
    }

/* Мелочи для стабильной вёрстки (без горизонтального/вертикального «дёргания») */
.dateexp-details fieldset * {
    min-width: 0;
}

.dateexp-details fieldset input,
.dateexp-details fieldset label {
    vertical-align: middle;
}
/* Обёртка details для стока в реальном времени */
.dateexp-details-toggle {
    margin-top: 15px;
    display: block;
}

    /* Сама строка summary */
    .dateexp-details-toggle > .dateexp-details-summary {
        padding: 6px 10px;
        background-color: #f5f5f5;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        list-style: none; /* убираем маркер */
    }

        /* убираем стандартный треугольник Chrome */
        .dateexp-details-toggle > .dateexp-details-summary::-webkit-details-marker {
            display: none;
        }

        /* пользовательский маркер слева */
        .dateexp-details-toggle > .dateexp-details-summary::before {
            content: "▶ ";
            display: inline-block;
            margin-right: 4px;
        }

    /* при открытии */
    .dateexp-details-toggle[open] > .dateexp-details-summary::before {
        content: "▼ ";
    }

    .dateexp-details-toggle[open] > .dateexp-details-summary {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .dateexp-details-toggle .box {
        margin-top: 10px;
    }
/* Блоки с таблицами сроков годности — на всю ширину */
#TableStDateExpesMinimal,
#TableStDateExpesHistoryProductsMinimal {
    width: 100%;
}

    /* Таблицы внутри — тоже на всю ширину */
    #TableStDateExpesMinimal table,
    #TableStDateExpesHistoryProductsMinimal table {
        width: 100%;
    }
.dateexp-details-summary {
    padding: 4px 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

/* pageDetailsProduct.html */
.product-expiration-page {
    max-width: 1480px;
    margin: 0 auto;
    padding: 20px;
    color: #0f172a;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, sans-serif;
}

.product-expiration-page * {
    box-sizing: border-box;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.page-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(24px, 3vw, 34px);
}

.page-header p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 15px;
}

.product-search-panel,
.manual-entry-panel {
    display: block;
    border: 1px solid #cfd5e1;
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
}

.product-search-panel {
    margin-bottom: 12px;
}

.product-search-panel summary,
.manual-entry-panel summary {
    padding: 12px 16px;
    color: #1e3a8a;
    background: #eef4ff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 14px 16px 16px;
}

.filter-field,
.product-info-grid label,
.manual-entry-grid label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.product-expiration-page input[type="text"],
.product-expiration-page input[type="date"],
.product-expiration-page input[type="number"],
.product-expiration-page input[list] {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #b8c2d1;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.product-expiration-page input:disabled {
    background: #f1f5f9;
    color: #475569;
}

.product-expiration-page input[type="button"] {
    max-width: none;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #2f73b7;
    border-radius: 6px;
    background: #4f95da;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.product-expiration-page input[type="button"]:hover {
    background: #2f7fc8;
    border-color: #286da9;
    transform: translateY(-1px);
}

.product-expiration-page input.button-secondary {
    background: #fff;
    color: #334155;
    border-color: #94a3b8;
}

.product-expiration-page input.button-secondary:hover {
    background: #e2e8f0;
}

.product-expiration-page input.button-danger {
    background: #fff;
    color: #b42318;
    border-color: #f1a29c;
}

.product-expiration-page input.button-danger:hover {
    background: #fff1f0;
}

.product-summary-card,
.expiration-card {
    border: 1px solid #cfd5e1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

.product-summary-card {
    margin-bottom: 12px;
    padding: 16px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-heading h3 {
    margin: 2px 0 0;
    color: #0f172a;
    font-size: 19px;
}

.section-kicker {
    display: block;
    color: #4f95da;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-info-grid {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(300px, 1.3fr);
    gap: 12px;
}

.stock-summary {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #f8fafc;
}

.stock-summary-title {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.stock-summary-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stock-summary-content li {
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
}

.empty-state {
    color: #94a3b8;
    font-size: 13px;
}

.expiration-workspace {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.expiration-card {
    min-width: 0;
    padding: 16px;
}

.current-expiration-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border-left: 4px solid #4f95da;
    border-radius: 6px;
    background: #eff6ff;
    color: #334155;
    font-size: 13px;
}

.current-expiration-banner b {
    white-space: nowrap;
    color: #1d4ed8;
    font-size: 16px;
}

.current-expiration-banner-muted {
    border-left-color: #64748b;
    background: #f1f5f9;
}

.manual-entry-panel {
    margin-bottom: 12px;
}

.manual-entry-grid {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(120px, .6fr);
    gap: 12px;
    align-items: end;
    padding: 14px;
}

.manual-entry-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.response-message {
    grid-column: 1 / -1;
    min-height: 18px;
    margin: 0;
    color: #334155;
    font-size: 13px;
}

.table-shell {
    min-width: 0;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    overflow: hidden;
}

.product-expiration-page #TableStDateExpesMinimal,
.product-expiration-page #TableStDateExpesHistoryProductsMinimal,
.product-expiration-page #TableStDateExpesMinimalDetails,
.product-expiration-page #TableStDateExpesHistoryProductsMinimalDetails {
    min-height: 420px;
    max-height: 420px;
    padding: 0;
    overflow: auto;
    box-sizing: border-box;
}

.product-expiration-page table {
    margin-top: 0;
    min-width: 620px;
    background: #fff;
}

.product-expiration-page th {
    padding: 10px 28px 10px 8px;
    background: #f8fafc;
}

.product-expiration-page td {
    padding: 8px;
}

.product-expiration-page table + aside {
    position: sticky;
    bottom: 0;
    width: 100%;
    max-width: none;
    background: #fff;
    font-size: 14px;
}

.product-expiration-page div[name="pagination"] {
    width: auto;
    flex: 1;
    margin: 0;
    padding: 8px;
    border-left: 0;
    border-bottom: 0;
}

.product-expiration-page table + aside span {
    width: auto;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #669;
    border-right: 0;
    border-bottom: 0;
    color: #039;
    white-space: nowrap;
}

.product-expiration-page .dateexp-details fieldset {
    min-height: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    padding: 16px;
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media screen and (max-width: 1100px) {
    .expiration-workspace {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 700px) {
    .product-expiration-page {
        padding: 10px;
    }

    .filter-grid,
    .product-info-grid,
    .manual-entry-grid {
        grid-template-columns: 1fr;
    }

    .manual-entry-actions,
    .response-message {
        grid-column: auto;
    }

    .current-expiration-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-expiration-page #TableStDateExpesMinimal,
    .product-expiration-page #TableStDateExpesHistoryProductsMinimal,
    .product-expiration-page #TableStDateExpesMinimalDetails,
    .product-expiration-page #TableStDateExpesHistoryProductsMinimalDetails {
        min-height: 360px;
        max-height: 360px;
    }
}

/* CommerceAdmin-ready product details page */
.page-details-product-header h1 {
    margin: 0;
}

.page-details-product {
    max-width: none;
    margin: 0;
    padding: 15px;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page-details-product * {
    box-sizing: border-box;
}

.page-details-product .box {
    border-radius: 3px;
}

.page-details-product .box-title .fa,
.page-details-product-header .fa {
    margin-right: 6px;
}

.page-details-product .box-tools .btn {
    margin-top: -3px;
}

.page-details-product .form-group label {
    font-size: 13px;
    font-weight: 600;
}

.page-details-product .form-control,
.page-details-product input[type="text"],
.page-details-product input[type="date"],
.page-details-product input[type="number"],
.page-details-product input[list] {
    width: 100%;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #d2d6de;
    border-radius: 0;
    background: #fff;
    color: #555;
    font-size: 14px;
}

.page-details-product input:disabled {
    background: #eee;
    color: #555;
}

.page-details-product input[type="button"],
.page-details-product .btn {
    max-width: none;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    transition: none;
}

.page-details-product input[type="button"]:hover,
.page-details-product .btn:hover {
    transform: none;
}

.page-details-product-actions {
    padding-top: 25px;
}

.page-details-product .stock-summary {
    margin: 5px 0 0;
    border-radius: 3px;
}

.page-details-product .stock-summary h4 {
    margin-top: 0;
}

.page-details-product .stock-summary-content ul {
    display: block;
    margin: 0;
    padding-left: 18px;
}

.page-details-product .stock-summary-content li {
    padding: 4px 0;
    border: 0;
    background: transparent;
}

.page-details-product .current-expiration-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.page-details-product .current-expiration-banner b {
    white-space: nowrap;
}

.page-details-product .manual-entry-box {
    margin-bottom: 15px;
    border-top: 1px solid #d2d6de;
}

.page-details-product .manual-entry-grid {
    display: block;
}

.page-details-product .manual-entry-actions {
    padding-top: 25px;
}

.page-details-product .manual-entry-actions .btn,
.page-details-product .manual-entry-actions input[type="button"] {
    margin-right: 5px;
    margin-bottom: 5px;
}

.page-details-product .response-message {
    min-height: 18px;
    margin: 5px 0 0;
    color: #555;
    font-size: 13px;
}

.page-details-product .page-details-table-shell {
    min-height: 460px;
    border: 1px solid #f4f4f4;
}

.page-details-product #TableStDateExpesMinimal,
.page-details-product #TableStDateExpesHistoryProductsMinimal,
.page-details-product #TableStDateExpesMinimalDetails,
.page-details-product #TableStDateExpesHistoryProductsMinimalDetails {
    width: 100%;
    min-height: 430px;
    max-height: 430px;
    padding: 0;
    overflow: auto;
    box-sizing: border-box;
}

.page-details-product table,
.page-details-product .table {
    width: 100%;
    min-width: 680px;
    margin: 0;
    border-collapse: collapse;
    table-layout: auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    text-align: left;
}

.page-details-product th,
.page-details-product td {
    border: 1px solid #f4f4f4;
    padding: 8px;
    color: #333;
    vertical-align: middle;
}

.page-details-product th {
    background: #f9fafc;
    font-weight: 600;
    cursor: pointer;
}

.page-details-product tr:hover td {
    background: #f5f5f5;
    color: #333;
}

.page-details-product table + aside {
    position: sticky;
    bottom: 0;
    display: flex;
    width: 100%;
    max-width: none;
    background: #fff;
    border-top: 1px solid #f4f4f4;
    font-size: 13px;
}

.page-details-product div[name="pagination"] {
    flex: 1;
    width: auto;
    margin: 0;
    padding: 7px 8px;
    border: 0;
    text-align: left;
}

.page-details-product div[name="pagination"] a {
    display: inline-block;
    margin-right: 4px;
    padding: 2px 6px;
    border: 1px solid #ddd;
    color: #337ab7;
    cursor: pointer;
}

.page-details-product table + aside span {
    width: auto;
    margin: 0;
    padding: 8px 10px;
    border-left: 1px solid #f4f4f4;
    color: #333;
    white-space: nowrap;
}

.page-details-product .dateexp-details fieldset {
    max-width: none;
    min-height: 100%;
    margin: 0;
    padding: 15px;
    border: 0;
    border-radius: 0;
}

.page-details-product .dateexp-details legend {
    width: auto;
    margin-bottom: 10px;
    border: 0;
    font-size: 18px;
    font-weight: 600;
}

.page-details-product .dateexp-details fieldset p {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 8px 10px;
    max-height: 290px;
    margin: 0 0 10px;
    overflow: auto;
}

.page-details-product .dateexp-details fieldset p br {
    display: none;
}

.page-details-product .dateexp-details fieldset label {
    margin: 0;
    padding: 7px 0;
    font-weight: 600;
}

.page-details-product .dateexp-details fieldset input[type="text"],
.page-details-product .dateexp-details fieldset input[type="number"],
.page-details-product .dateexp-details fieldset input[type="datetime-local"] {
    width: 100%;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #d2d6de;
    border-radius: 0;
}

.page-details-product .details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media screen and (max-width: 991px) {
    .page-details-product-actions,
    .page-details-product .manual-entry-actions {
        padding-top: 0;
    }
}

@media screen and (max-width: 700px) {
    .page-details-product {
        padding: 10px;
    }

    .page-details-product .current-expiration-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-details-product #TableStDateExpesMinimal,
    .page-details-product #TableStDateExpesHistoryProductsMinimal,
    .page-details-product #TableStDateExpesMinimalDetails,
    .page-details-product #TableStDateExpesHistoryProductsMinimalDetails {
        min-height: 360px;
        max-height: 360px;
    }
}
