/* Catalog product detail. */
.fg-card {
    --panel: #1d2631;
    --line: #34414f;
    --muted: #a6b5c5;
    --green: #7ed957;
    background: #161d27;
    color: #e8edf3;
    font: 16px/1.55 Manrope, Arial, sans-serif;
}
.fg-card *, .fg-card *::before, .fg-card *::after { box-sizing: border-box; }
.fg-card .fg-wrap { width: 100%; max-width: 1240px; margin: auto; padding: 24px 24px 56px; }
.fg-card #breadcrumbs { margin: 0 0 22px; color: var(--muted); }
.fg-card #breadcrumbs a, .fg-description a { color: var(--green); }
.fg-card h1.main-title { max-width: 900px; margin: 0 0 36px; padding: 0; color: white; font: bold 44px/1.15 'PT Serif', Georgia, serif; text-align: left; text-transform: none; }
.fg-card .main-title::after, .fg-card .main-title::before { display: none; }
.fg-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); grid-template-areas: "gallery buy" "details buy"; gap: 40px 56px; align-items: start; grid-template-rows: auto 1fr; }
.fg-no-photo { grid-template-areas: "details buy"; grid-template-rows: auto; }
.fg-gallery { grid-area: gallery; min-width: 0; }
.fg-gallery-stage { position: relative; }
.fg-slide { display: block; aspect-ratio: 16/9; background: var(--panel); border: 1px solid var(--line); }
.fg-slide[hidden] { display: none; }
.fg-gallery img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fg-prev, .fg-next { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 44px; border: 0; color: white; background: #161d27c9; font: 32px/1 Georgia,serif; cursor: pointer; }
.fg-prev { left: 0; } .fg-next { right: 0; }
.fg-thumbs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.fg-thumb { padding: 0; aspect-ratio: 5/3; overflow: hidden; background: var(--panel); border: 1px solid var(--line); cursor: pointer; }
.fg-thumb img { object-fit: cover; }
.fg-thumb[aria-pressed="true"] { border: 2px solid var(--green); }
.fg-buy { grid-area: buy; display: grid; gap: 20px; min-width: 0; position: sticky; top: 24px; }
.fg-cap, .fg-options-title { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.fg-cap { text-transform: uppercase; letter-spacing: .08em; }
.fg-price strong { font: bold 38px/1.2 'PT Serif',Georgia,serif; color: white; }
.fg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.fg-card .fg-options, .fg-card .fg-options ul { list-style: none; margin: 0; padding: 0; }
.fg-options > li { color: #dfe6ee; background: #1f2833; border: 1px solid var(--line); font-size: 13px; }
.fg-options > li > a, .fg-options > li > span { display: block; padding: 10px 16px; color: inherit; text-decoration: none; }
.fg-options li a:hover { color: var(--green); }
.fg-options li li { padding: 0 16px 4px; }
.fg-card .fg-order, .fg-card .fg-ask { background: var(--panel); border: 1px solid #3c6b3a; padding: 28px; }
.fg-form h2 { font: bold 34px/1.18 'PT Serif',Georgia,serif; color: white; margin: 0 0 16px; }
.fg-form p { margin: 0; }
.fg-order h2 { margin-bottom: 6px; text-align: center; color: var(--green); font-size: 24px; }
.fg-order > p { text-align: center; color: var(--muted); margin-bottom: 16px; font-size: 14px; }
.fg-card .fg-form .question-form, .fg-card .fg-form .wpcf7, .fg-card .fg-form form { display: block; position: static; width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; }
.fg-form form > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fg-card .fg-form .callback_field, .fg-card .fg-form .callback_field-submit, .fg-card .fg-form .question_bottom_block { display: block; margin: 0; padding: 0; width: 100%; }
.fg-card .fg-form input.question__input, .fg-card .fg-form textarea.question__input {
    display: block; width: 100%; max-width: none; min-height: 0; height: 52px; margin: 0 0 12px; padding: 12px 16px;
    border: 1px solid var(--line); border-radius: 0; background: #18202a; color: white; font: inherit; font-size: 15px; box-shadow: none;
}
.fg-card .fg-form textarea.question__input { height: 100px; resize: vertical; }
.fg-form .question__input::placeholder { color: #a1b1c1; opacity: 1; }
.fg-card .fg-form .callback_field-accept, .fg-card .fg-form .fz-checkbox { margin: 12px 0; font-size: 13px; color: #d2dbe5; }
.fg-card .fg-form .wpcf7-list-item { margin: 0; }
.fg-card .fg-ask .fz-checkbox { display: flex; align-items: center; gap: 9px; }
.fg-card .fg-ask input#fz-checkbox { display: inline-block !important; position: static; width: 16px; height: 16px; margin: 0; opacity: 1; appearance: auto; cursor: pointer; }
.fg-card .fg-form .callback_field-accept p, .fg-card .fg-form .question_bottom_block p { display: none; }
.fg-card .fg-form .wpcf7-submit { display: block; width: 100%; height: auto; min-height: 48px; margin: 0; padding: 10px; border: 0; border-radius: 0; background: #5aa04f; color: #0e1a0d; font: bold 13px/1.4 Arial,sans-serif; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.fg-form .wpcf7-submit:disabled { cursor: default; }
.fg-form .wpcf7-spinner:not(.submitting *) { display: none; }
.fg-form .wpcf7-not-valid-tip { color: #ffabab; }
.fg-trio { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.fg-trio > * { display: flex; align-items: center; justify-content: center; text-align: center; min-width: 0; }
.fg-social a { gap: 6px; padding: 8px 5px; min-height: 48px; border: 1px solid #3c6b3a; background: var(--panel); color: #e8edf3; text-decoration: none; font-weight: bold; font-size: 12px; }
.fg-social img { width: 22px; height: 22px; object-fit: contain; }
.fg-benefits > span { padding: 16px 8px; border: 1px solid var(--line); font-size: 13px; }
.fg-details { grid-area: details; min-width: 0; }
.fg-tabs { display: flex; flex-wrap: wrap; gap: 0 30px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.fg-tabs button { padding: 0 0 12px; margin: 0 0 -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: #c4cfdb; font: 20px/1.4 'PT Serif',Georgia,serif; cursor: pointer; }
.fg-tabs button.active { border-color: var(--green); color: var(--green); }
.fg-description { overflow-wrap: anywhere; color: #d2dbe5; line-height: 1.7; }
.fg-description img, .fg-description iframe, .fg-description video { max-width: 100%; }
.fg-description ul, .fg-description ol { padding-inline-start: 24px; }
.fg-description p { margin: 0 0 14px; }
.fg-specs { margin: 16px 0 0; padding: 0; border: 1px solid var(--line); }
.fg-specs > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.fg-specs > div:nth-child(odd) { background: #1b2531; }
.fg-specs > div:last-child { border-bottom: 0; }
.fg-specs dt { color: var(--muted); font-size: 14px; }
.fg-specs dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.fg-media { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.fg-media > :only-child { grid-column: 1/-1; }
.fg-media iframe { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 1px solid var(--line); background: #0f141b; }
.fg-card .fg-ask { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; margin-top: 64px; padding: 56px; background: linear-gradient(#1b2531,#161d27); }
.fg-ask p { color: #d2dbe5; }
.fg-card .related_products { margin-top: 52px; }
.fg-card :focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 960px) {
    .fg-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; grid-template-areas: "gallery" "buy" "details"; gap: 32px; }
    .fg-no-photo { grid-template-areas: "buy" "details"; }
    .fg-buy { position: static; }
    .fg-card .fg-ask { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
}
@media (max-width: 600px) {
    .fg-card .fg-wrap { padding: 24px 16px 40px; }
    .fg-card h1.main-title { font-size: 28px; margin-bottom: 32px; }
    .fg-thumbs { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .fg-trio, .fg-media, .fg-specs > div { grid-template-columns: 1fr; }
    .fg-specs > div { gap: 4px; }
    .fg-tabs { gap: 0 20px; }
    .fg-card .fg-ask { padding: 24px 16px; }
}
