/* stylelint-enable */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.woff2') format('woff2'), url('fonts/Poppins-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.woff2') format('woff2'), url('fonts/Poppins-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Black.woff2') format('woff2'), url('fonts/Poppins-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Regular.woff2') format('woff2'), url('fonts/Raleway-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Medium.woff2') format('woff2'), url('fonts/Raleway-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Bold.woff2') format('woff2'), url('fonts/Raleway-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-family-poppins: 'Poppins', sans-serif;
    --font-family-raleway: 'Raleway', sans-serif;
    --color-green: #249924;
    --color-green-bg: #f4faf2;
    --color-old-price: #8996aa;
    --color-dark: #263130;
    --color-border: #e0e0e0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--color-dark);
    background: #fff;
    font: 16px/1.4 var(--font-family-poppins), 'Segoe UI', 'Noto Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.sf-page {
    font-size: 16px;
}

.sf-main {
    overflow: hidden;
    padding-bottom: 10px;
}

.sf-container {
    position: relative;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.sf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.sf-header-row {
    min-height: 56px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 10px;
}

.sf-burger {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.sf-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sf-logo {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.sf-logo-text {
    font-size: 16px;
    font-weight: 700;
}

.sf-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
}

.sf-menu {
    border-top: 1px solid var(--color-border);
    background: #fff;
    padding: 10px 15px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 16px;
}

.sf-menu[hidden] {
    display: none !important;
}

.sf-delivery {
    background: var(--color-green-bg);
    border-bottom: 1px solid #eaf2e7;
}

.sf-delivery-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.hero {
    margin-bottom: 30px;
    padding-top: 12px;
    display: grid;
    grid-template-columns: 52% 44%;
    gap: 28px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-main {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: #fff;
}

.hero-main img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
}

.hero-save-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 5px;
    padding: 5px 8px;
    background: var(--color-green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hero-dots {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: #c7c7c7;
    cursor: pointer;
}

.hero-dot.is-active {
    background: var(--color-green);
}

.hero-title {
    margin: 0 0 clamp(10px, 1.754vw, 20px);
    font-size: clamp(21px, 3.509vw, 40px);
    line-height: clamp(32px, 4.386vw, 50px);
    font-weight: 700;
}

.hero-review {
    margin-bottom: 10px;
    padding: 12px 15px;
    border: 1px solid #e9ecf4;
    border-radius: 5px;
    box-shadow: 0 11px 24px rgb(35 56 129 / 11%);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.hero-review-texts {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.hero-review-photo img {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    object-fit: cover;
}



.stars {
    margin: 0;
    color: #ffa610;
    letter-spacing: 0.08em;
    font-size: 24px;
}

.review-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.review-text {
   margin-bottom: 0px;
    font-size: 14px;
    line-height: 19px;
    color:#263130;
}

.review-link {
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
    color: var(--color-green);
    font-weight: 600;
    cursor: pointer;
}

.char-desc a,
.media-desc a,
.variant-desc a,
.extra-desc a,
.faq article > div a {
    color: #0b7f58;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.char-desc a:hover,
.media-desc a:hover,
.variant-desc a:hover,
.extra-desc a:hover,
.faq article > div a:hover {
    color: #086f4d;
}

.hero-price {
    margin: 8px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.hero-price-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 3px 8px;
    background: var(--color-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.old {
    color: var(--color-old-price);
    text-decoration: line-through;
    font-size: clamp(14px, 1.754vw, 20px);
    line-height: 1.35;
}

.new {
    color: var(--color-dark);
    font-size: clamp(38px, 4.737vw, 54px);
    font-weight: 800;
    line-height: 1.1;
}

.hero-slideshow {
    min-height: 22px;
    margin: 8px 0 10px;
}

.hero-slide-item {
    margin: 0;
    display: none;
    font-size: 12px;
}

.hero-slide-item.is-active {
    display: block;
}

.hero-note {
    margin: 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    font-size: 11px;
}

.pay-icons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pay-chip {
    border: 1px solid var(--color-border);
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
}

.sf-btn-primary {
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: none;
    border-radius: 4px;
    background: var(--color-green);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.sf-btn-primary:hover {
    filter: brightness(0.98);
}

.sf-btn-fit {
    width: auto;
    min-width: 180px;
}

.sf-btn-small {
    width: auto;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
}

.sf-section {
    padding-top: 50px;
    padding-bottom: 0;
}

.sf-title {
    margin: 0 0 40px;
    text-align: center;
    font-size: clamp(24px, 2.807vw, 38px);
    line-height: clamp(30px, 3.772vw, 43px);
    font-weight: 700;
}

.trust-section {
    background-color: #f4faf2;
    padding: 20px 0;
}

.trust-grid {
    padding-top: 10px;
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    justify-items: center;
}

.trust-card {
    color: #282828;
    text-align: center;
    font-size: clamp(13px, 1.579vw, 18px);
    line-height: clamp(18px, 2.105vw, 24px);
    display: flex;
    align-items: center;
}

.trust-card img {
    width: 45px;
    height: 45px;
    margin-right: 8px;
}
.char-wrap {
    display: grid;
    gap: 12px;
}

.char-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.char-row.reverse {
    direction: rtl;
}

.char-row.reverse > * {
    direction: ltr;
}

.char-media img {
    width: 100%;
    object-fit: cover;
}

.char-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.char-detail {
    border: none;
    margin-bottom: 10px;
    overflow: hidden;
}

.char-detail summary {
    position: relative;
    background: transparent;
    list-style: none;
    padding: 0 0 0 18px;
    font-size: clamp(16px, 1.754vw, 20px);
    line-height: clamp(21px, 2.368vw, 27px);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.char-detail summary::-webkit-details-marker {
    display: none;
}

.char-detail summary::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
}

.char-desc {
    padding: 6px 0 0 18px;
    font-size: 16px;
}


.cta-band {
    background: #edf5ec;
}
.cta-band .sf-btn-primary {
    position: relative;
    padding: 23px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    min-width:250px;
    margin:20px 0;
}

.cta-row {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cta-row h2 {
    margin: 0;
    font-size: clamp(22px, 2.807vw, 32px);
    line-height: 1.15;
}

.variants-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.variant-card {
    border: 1px solid #E9ECF4;
    padding:5px;
    box-shadow: 0px 11px 24px rgba(35, 56, 129, 0.11);
    border-radius: 5px;
    background: #fff;
    display: grid;
    grid-gap: 15px;
}

.variant-card.is-active {
    border: 2px solid var(--color-green);
}

.variant-image-wrap {
    position: relative;
}

.variant-image-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.variant-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 5px;
    padding: 4px 7px;
    background: var(--color-green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.variant-card h3 {
    padding: 0 8px;
    text-align: center;
    font-size: 16px;
    line-height: 21px;
    height: 100%;
    font-weight:normal;
    margin:0px;
}

.variant-prices {
    display: flex;
    align-items: baseline;
    justify-content: center;
    grid-gap: 7px;
}

.variant-prices .new {
    font-size: 30px;
    line-height: 41px;
    font-weight: 900;
    color: #263130;
    margin: 0px;
}
.variant-prices .old {
    font-size: 18px;
    line-height: 24px;
    color: #8996AA;
    font-weight: 900;
    text-decoration-line: line-through;
    margin: 0px;
}

.variant-extra {
    text-align:center;
}

.variant-toggle {
    border: none;
    background: transparent;
    padding: 0;
    color: #4f615f;
    font-size: 16px;
    cursor: pointer;
    
}

.variant-desc {
    margin-top: 6px;
    border: 1px dashed var(--color-border);
    border-radius: 4px;
    padding: 6px;
    font-size: 11px;
}

.variant-card .sf-btn-primary {
    min-height:60px;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    border: 1px solid #e9ecf4;
    border-radius: 5px;
    box-shadow: 0 11px 24px rgb(35 56 129 / 11%);
    background: #fff;
    padding: 0;
    overflow: hidden;
    margin-bottom:80px;
}

.media-content {
    padding: clamp(14px, 2.632vw, 28px);
}

.media-subtitle {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 27px;
    font-weight: 700;
    text-align:left;
}

.media-title {
    margin-bottom: 10px;
    margin-top:0px;
    font-size: 32px;
    line-height: 43px;
    font-weight: 700;
    text-align:left;
}



.media-desc {
    font-size: 16px;
}



.media-adventages-title {
    margin-top:20px;
    font-size: 16px;
    font-weight: normal;
    text-transform:uppercase;

}

.media-advantages ul {
    margin-top: 10px;
    max-width: 410px;
    display: flex;
    flex-direction: column;
    grid-gap: 6px;
    list-style: none;
     padding:0px;
}

.media-advantages li {
    position: relative;
    background-color: rgb(244, 250, 242);
    color: rgb(21, 50, 44);
    padding: 9px 35px;
    border-radius: 6px;
   
}

.media-advantages li::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-green);
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.media-visual {
    padding: 16px;
    overflow: hidden;
}

.media-visual img,
.media-visual video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    max-width: 580px;
    max-height: 580px;
    object-fit: contain;
}

.video_frame {
    width: 100%;
    height: auto;
    max-height: 580px;
    background: #000;
    border-radius: 10px;
}


.gift-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gift-card {
    color: #263130;
    background: #F4FAF2;
    padding: 25px;
    border-radius: 11px;
    display: flex;
    min-height: 160px;
    align-items: center;
    margin: auto;
    width: 100%;
}

.gift-icon {
    width: 20%;
    min-width: 20%;
}

.gift-content {
    padding-left: 20px;
    padding-right: 20px;
}

.gift-card h3 {
    font-size: 21px;
    font-weight: bold;
    line-height: 21px;
    margin-bottom: 10px;
    
}

.gift-card p {
    margin: 0;
    font-size: 16px;
}

.reviews-head {
    margin: -2px 0 8px;
    
    color:#ffa610;
    font-size: 24px;
    text-align:center;
}
.reviews-head span {
    color: #263130;
    font-size: 16px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.review-card {
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 10px;
    background: #fff;
}

.review-card img {
    width: 100%;
    max-height:400px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 5px;
}

.reviews-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.gallery-marquee {
    display: grid;
    gap: 4px;
    overflow: hidden;
}

.gallery-track {
    width: max-content;
    display: flex;
    gap: 4px;
}

.gallery-track img {
    width: 96px;
    height: 96px;
    border-radius: 4px;
    object-fit: cover;
}

.gallery-track.left {
    animation: sf-move-left 40s linear infinite;
}

.gallery-track.right {
    animation: sf-move-right 40s linear infinite;
}

@keyframes sf-move-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes sf-move-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.order-section {
    margin-top:50px;
    background-color: #F4FAF2;
    padding-bottom: 50px; 
}

.order-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 10px;
    border-radius: 6px;
    padding: 10px;
}

.order-preview {
    padding: 0px;
}

.order-preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    object-fit: cover;
}

.order-price {
    margin-top: 6px;
    justify-content: flex-start;
    gap: 10px;
}

.order-price .new {
    font-size: 28px;
}

.order-form {
    border: 1px solid #e9ecf4;
    border-radius: 5px;
    background: #fff;
    padding: 18px;
    display: grid;
    gap: 12px;
}

.order-form-title {
    margin: 0 0 2px;
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.order-field {
    display: grid;
}

.order-field[hidden] {
    display: none !important;
}

.order-form input[type='text'],
.order-form input[type='email'],
.order-form input[type='tel'],
.order-form select {
    width: 100%;
    min-height: 56px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0 16px;
    background: #fff;
    color: #42525f;
    font: inherit;
    font-size: 16px;
}

.order-form input[type='radio'] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-green);
}

.order-hint {
    margin: -2px 2px 0;
    color: #223641;
    font-size: 14px;
}

.pay-methods {
    margin: 4px 0 0;
    border: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pay-methods legend {
    margin: 0 auto;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
}

.pay-methods-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pay-methods label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.25;
}

.order-submit {
    min-height: 70px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.terms {
    margin: -2px 0 2px;
    color: #223641;
    font-size: 14px;
    line-height: 1.35;
}

.extras {
    display: grid;
    gap: 10px;
}

.extras-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.extra-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
}

.extra-card.is-selected {
    border-color: rgb(36 153 36 / 55%);
    background: #fbfefb;
}

.extra-main {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
}

.extra-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
}

.extra-thumb-fallback {
    border: 1px solid var(--color-border);
    background: #f6faf6;
    display: grid;
    place-items: center;
    font-size: 26px;
}

.extra-main > .extra-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.extra-name {
    margin: 0;
    grid-column: 2;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.extra-desc {
    margin: 4px 0 0;
    grid-column: 2;
    color: #344955;
    font-size: 13px;
    line-height: 1.3;
}

.extra-actions {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.extra-price {
    margin: 0;
    color: var(--color-green);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.extra-card > .sf-btn-small {
    min-height: 40px;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1;
}

.extra-card > .sf-btn-small.is-added {
    background: #1f7f1f;
}

.sum {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.sum-preview {
    margin-top: 8px;
}

.faq {
    margin-top: 8px;
}

.faq article {
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid #e8ece8;
    border-radius: 0;
}

.faq button {
    width: 100%;
    border: none;
    background: #f5f8f5;
    text-align: left;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.faq article > div {
    padding: 8px 10px;
    background: #fff;
    font-size: 12px;
}

.sf-footer {
    margin-top: 16px;
    padding: 16px 0 88px;
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.sf-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sf-footer-grid a {
    display: block;
    margin-bottom: 6px;
}

.footer-logo {
    max-height: 36px;
    width: auto;
    margin-bottom: 8px;
}

.footer-title {
    margin: 0 0 3px;
    font-weight: 700;
}

.opinie-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 41;
    border: none;
    border-radius: 0 8px 8px 0;
    background: var(--color-green);
    color: #fff;
    writing-mode: vertical-rl;
    padding: 10px 8px;
    cursor: pointer;
}

.mob-foot {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    min-height: 58px;
    background: var(--color-green);
    color: #fff;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
}

.mob-foot .old {
    color: rgb(255 255 255 / 80%);
    font-size: 14px;
}

.mob-foot .new {
    color: #fff;
    font-size: 20px;
}

.mob-foot button {
    margin-left: auto;
    min-height: 40px;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: var(--color-green);
    font-weight: 700;
    padding: 0 16px;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .sf-container {
        max-width: 760px;
    }

    .hero {
        margin-bottom: 16px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-title {
        font-size: 24px;
    }

    .new {
        font-size: 26px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .sf-title {
        text-align: center;
        font-size: 24px;
    }

    .char-row,
    .media-grid,
    .order-grid,
    .sf-footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cta-row h2 {
        font-size: 24px;
    }

    .variants-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .order-grid {
        padding: 8px;
    }

    .mob-foot {
        display: flex;
    }
}

@media (max-width: 768px) {
    .pay-methods-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .order-form {
        padding: 14px;
    }

    .extra-card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .extra-main {
        grid-template-columns: 62px 1fr;
    }

    .extra-thumb {
        width: 62px;
        height: 62px;
    }

    .extra-name {
        font-size: 16px;
    }

    .extra-desc {
        font-size: 12px;
    }

    .extra-actions {
        min-width: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .extra-price {
        font-size: 18px;
    }

    .extra-card > .sf-btn-small {
        min-height: 34px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .sf-phone {
        font-size: 11px;
    }

    .sf-container {
        padding: 0 10px;
    }

    .hero-review {
        padding: 10px;
    }

    .hero-review-photo img {
        width: 64px;
        height: 64px;
    }

    .variant-card h3 {
        font-size: 12px;
    }

    .review-card {
        align-items: flex-start;
    }

    .gallery-track img {
        width: 96px;
        height: 96px;
    }

    .variants-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .sf-title {
        font-size: 20px;
    }

    .hero-title {
        font-size: 22px;
    }

    .cta-row h2 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .sf-header-row {
        min-height: 52px;
    }

    .sf-logo {
        max-height: 28px;
    }

    .hero-title {
        text-align: left;
        font-size: 30px;
        line-height: 1.15;
    }

    .new {
        font-size: 42px;
    }

    .old {
        font-size: 16px;
    }

    .sf-btn-primary {
        min-height: 40px;
        font-size: 13px;
    }

    .sf-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .media-grid {
        box-shadow: none;
    }

    .media-content,
    .media-visual {
        padding: 10px;
    }

    .gallery-track img {
        width: 78px;
        height: 78px;
    }
}

.sf-logs {
    padding-top: 20px;
    padding-bottom: 40px;
}

.sf-logs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sf-logs-header h1 {
    margin: 0;
}

.sf-logs-filter {
    display: flex;
    gap: 8px;
    align-items: end;
}

.sf-logs-filter label {
    display: grid;
    gap: 4px;
    font-size: 13px;
}

.sf-logs-filter input[type='date'] {
    min-height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0 10px;
}

.sf-log-notice {
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.sf-log-notice.is-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.sf-log-notice.is-error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.sf-logs-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.sf-logs-stats article {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.sf-logs-stats p {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

.sf-logs-stats strong {
    font-size: 22px;
}

.sf-logs-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.sf-logs-dates a {
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    background: #fff;
}

.sf-logs-dates a.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.sf-logs-table-wrap {
    overflow: auto;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.sf-logs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 860px;
}

.sf-logs-table th,
.sf-logs-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 8px;
    text-align: left;
    font-size: 13px;
    vertical-align: top;
}

.sf-logs-table th {
    background: #f8fafc;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #334155;
}

.sf-log-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}

.sf-log-status.is-success {
    background: #ecfdf3;
    color: #166534;
}

.sf-log-status.is-failed {
    background: #fff1f2;
    color: #9f1239;
}

.sf-log-muted {
    color: #9ca3af;
}

@media (max-width: 767px) {
    .sf-logs-stats {
        grid-template-columns: 1fr;
    }
}

.thx-page {
    padding-top: 16px;
    padding-bottom: 48px;
}

.thx-hero {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
    background: #e9f5e8;
    border: 1px solid #d8ebd6;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 18px;
}

.thx-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #2da832;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 700;
}

.thx-hero h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.thx-hero p {
    margin: 5px 0 0;
    color: #4e5b56;
}

.thx-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
    align-items: start;
}

.thx-card,
.thx-form-wrap {
    border: 1px solid #e3e7e3;
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}

.thx-card h2,
.thx-form-wrap h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.thx-order-table {
    width: 100%;
    border-collapse: collapse;
}

.thx-order-table td,
.thx-order-table th {
    border-bottom: 1px solid #edf1ee;
    padding: 7px 4px;
    text-align: left;
    font-size: 14px;
}

.thx-order-table td:last-child,
.thx-order-table th:last-child {
    text-align: right;
    white-space: nowrap;
}

.thx-order-table .is-total th {
    font-size: 17px;
}

.thx-back-btn {
    margin-top: 12px;
}

.thx-form {
    display: grid;
    gap: 8px;
}

.thx-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dce3dc;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 15px;
}

.thx-form-note {
    margin: 6px 0 0;
    font-size: 13px;
}

.thx-form-note.is-success {
    color: #14743b;
}

.thx-form-note.is-error {
    color: #b02424;
}

.thx-extra-block {
    margin-top: 24px;
}

.thx-extra-block h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.thx-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.thx-extra-card {
    border: 1px solid #e3e7e3;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    text-align: center;
}

.thx-gift-icon {
    font-size: 56px;
    line-height: 1;
    color: #2da832;
}

.thx-extra-name {
    margin: 8px 0 4px;
    font-size: 14px;
    min-height: 36px;
}

.thx-extra-price {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
}

@media (max-width: 900px) {
    .thx-grid {
        grid-template-columns: 1fr;
    }

    .thx-extra-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .thx-hero {
        grid-template-columns: 48px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .thx-hero-icon {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .thx-hero h1 {
        font-size: 23px;
    }

    .thx-extra-grid {
        grid-template-columns: 1fr;
    }
}
