.secondary-page {
    background:
        radial-gradient(circle at top left, rgba(41, 124, 70, 0.08), transparent 22%),
        radial-gradient(circle at bottom right, rgba(236, 125, 44, 0.08), transparent 24%),
        linear-gradient(180deg, #f4f7f1 0%, #ffffff 30%, #f6f7f4 100%);
}

.secondary-hero {
    padding-top: 46px;
}

.secondary-hero-card,
.secondary-note-card,
.secondary-content-card,
.secondary-side-card,
.secondary-list-card,
.secondary-map-card,
.secondary-error-card {
    border: 1px solid var(--border);
    border-radius: 32px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.secondary-hero-card {
    padding: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 236, 0.94) 100%);
}

.secondary-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 14px;
}

.secondary-hero-grid,
.secondary-layout,
.article-layout,
.feedback-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 22px;
    align-items: start;
}

.secondary-hero-copy h1,
.secondary-error-card h1 {
    font-size: clamp(40px, 5vw, 60px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.secondary-hero-text,
.secondary-content-card p,
.secondary-side-card p,
.secondary-list-card p,
.article-body p,
.article-body li {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.65;
}

.secondary-note-card {
    padding: 24px;
    background: linear-gradient(145deg, #123a22 0%, #297c46 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.secondary-note-label,
.secondary-card-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.secondary-card-label {
    background: rgba(41, 124, 70, 0.1);
    color: var(--green-dark);
}

.secondary-note-card strong {
    display: block;
    margin-top: 18px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;
    font-weight: 800;
}

.secondary-note-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-left: 18px;
}

.secondary-note-card li {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.55;
}

.secondary-content-card,
.secondary-side-card,
.secondary-list-card,
.secondary-map-card {
    padding: 28px;
}

.secondary-stack,
.secondary-side-stack,
.article-stack,
.feedback-stack,
.review-list,
.sitemap-grid {
    display: grid;
    gap: 22px;
}

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

.post-grid,
.review-grid {
    display: grid;
    gap: 16px;
}

.post-card,
.review-card,
.sitemap-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.post-meta,
.review-meta,
.sitemap-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.post-meta span,
.review-meta span,
.sitemap-links a,
.page-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(41, 124, 70, 0.1);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
}

.post-card h3,
.review-card h3,
.sitemap-card h3,
.secondary-content-card h2,
.secondary-side-card h2,
.secondary-list-card h2,
.secondary-map-card h2,
.article-body h2 {
    margin-top: 14px;
    font-size: 32px;
    line-height: 1.04;
    font-weight: 800;
}

.post-card h3,
.review-card h3,
.sitemap-card h3 {
    font-size: 24px;
}

.post-actions,
.secondary-actions,
.notfound-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.article-body ul,
.secondary-note-list {
    padding-left: 18px;
}

.article-body blockquote,
.quote-card {
    padding: 22px;
    border: 1px solid rgba(41, 124, 70, 0.18);
    border-radius: 28px;
    background: rgba(245, 247, 243, 0.84);
}

.secondary-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.secondary-stat-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
}

.secondary-stat-card span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.secondary-stat-card strong {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.secondary-system-wrap {
    margin-top: 18px;
}

.secondary-system-box {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(245, 247, 243, 0.92);
}

.secondary-system-box strong {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.secondary-system-box p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.secondary-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.secondary-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.secondary-pagination a[aria-current="page"] {
    border-color: transparent;
    background: var(--green);
    color: var(--white);
}

.feedback-system-box,
.feedback-captcha-box {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(245, 247, 243, 0.92);
}

.feedback-system-box strong,
.feedback-captcha-box strong {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.feedback-system-box p,
.feedback-captcha-box p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.feedback-captcha-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border: 1px dashed rgba(41, 124, 70, 0.28);
    border-radius: 18px;
    background: var(--white);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sitemap-links {
    margin-top: 18px;
}

.sitemap-links a {
    background: rgba(245, 247, 243, 0.92);
    color: var(--text);
}

.secondary-error-card {
    padding: 42px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 236, 0.94) 100%);
}

.secondary-error-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    background: rgba(41, 124, 70, 0.1);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.secondary-error-card p {
    max-width: 740px;
    margin: 18px auto 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.compare-card {
    overflow: hidden;
}

.compare-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.compare-toggle a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.compare-toggle .selected a,
.compare-toggle a:hover {
    border-color: rgba(41, 124, 70, 0.34);
    color: var(--green-dark);
}

.compare-table-wrap {
    margin-top: 24px;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
}

.compare-table th,
.compare-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
}

.compare-table th {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 220px;
    background: var(--white);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compare-table td {
    background: rgba(255, 255, 255, 0.74);
    font-size: 15px;
}

.compare-product-link {
    display: grid;
    gap: 12px;
    color: var(--text);
}

.compare-product-link img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.compare-remove {
    display: inline-flex;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.compare-remove:hover {
    color: var(--green-dark);
}

.checkout-top-card,
.checkout-card {
    border: 1px solid var(--border);
    border-radius: 32px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.checkout-top-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 20px 24px;
}

.checkout-card {
    display: grid;
    gap: 16px;
    padding: 28px;
}

.checkout-step {
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.checkout-step-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.checkout-step-title.upcoming {
    color: var(--text-muted);
}

.checkout-step-title > a:last-child {
    margin-right: auto;
}

.checkout-step-title span {
    color: var(--green-dark);
}

.checkout-step-title .hint,
.back-to-cart {
    order: 2;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.checkout-step-content {
    padding: 24px 22px;
}

.checkout-step-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.checkout-content .wa-form,
.checkout-content form {
    max-width: 860px;
}

.checkout-content input[type="text"],
.checkout-content input[type="email"],
.checkout-content input[type="tel"],
.checkout-content input[type="password"],
.checkout-content textarea,
.checkout-content select {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    outline: none;
}

.checkout-content textarea {
    min-height: 110px;
    padding-top: 12px;
}

.checkout-options {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkout-options > li {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
}

.checkout-options h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.checkout-options label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-options .rate {
    color: var(--green-dark);
    font-weight: 800;
}

.checkout-content .table,
.checkout-content table {
    width: 100%;
    border-collapse: collapse;
}

.checkout-content th,
.checkout-content td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.checkout-result-page .secondary-error-card {
    text-align: center;
}

.checkout-plugin {
    margin-top: 24px;
}

.page-content-card h2,
.page-content-card h3,
.page-content-card h4 {
    margin-top: 24px;
}

.page-content-card ul,
.page-content-card ol {
    margin-top: 16px;
    padding-left: 22px;
}

.page-content-card li + li {
    margin-top: 8px;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.account-nav-card {
    position: sticky;
    top: 108px;
}

.account-nav {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.account-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 800;
}

.account-nav .selected a,
.account-nav a:hover {
    border-color: rgba(41, 124, 70, 0.34);
    color: var(--green-dark);
}

.account-table-wrap {
    margin-top: 20px;
    overflow-x: auto;
}

.account-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.account-table th,
.account-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.account-table th {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.account-comment-card {
    margin-bottom: 20px;
}

.account-pin-form {
    display: grid;
    gap: 16px;
    max-width: 420px;
    margin-top: 20px;
}

.account-pin-form label {
    display: grid;
    gap: 8px;
}

.account-pin-form input {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.product-reviews-page .reviews-count-text,
.product-reviews-page .write-review {
    margin: 0 0 18px;
}

.product-reviews-page .write-review a,
.product-reviews-page .review-reply {
    color: var(--green-dark);
    font-weight: 800;
}

.product-reviews-page .review-form {
    margin: 22px 0 28px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(245, 247, 243, 0.74);
}

.product-reviews-page .review-form-fields {
    display: grid;
    gap: 16px;
}

.product-reviews-page .review-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.product-reviews-page .review-field label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-reviews-page .review-field input[type="text"],
.product-reviews-page .review-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    outline: none;
}

.product-reviews-page .review-field textarea {
    min-height: 140px;
    padding-top: 12px;
}

.product-reviews-page .review-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.product-reviews-page .review-submit input[type="submit"] {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
}

.product-reviews-page .reviews-branch {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-reviews-page .reviews-branch .reviews-branch {
    margin: 14px 0 0 24px;
}

.product-reviews-page .s-review-wrapper {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
}

.product-reviews-page .s-review-wrapper .summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.product-reviews-page .s-review-wrapper h6 {
    width: 100%;
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.25;
}

.product-reviews-page .s-review-wrapper p {
    margin-top: 12px;
}

@media (max-width: 1180px) {
    .secondary-hero-grid,
    .secondary-layout,
    .article-layout,
    .feedback-layout,
    .post-grid,
    .review-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .account-layout,
    .account-order-grid {
        grid-template-columns: 1fr;
    }

    .account-nav-card {
        position: static;
    }
}

@media (max-width: 920px) {
    .secondary-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .secondary-hero-card,
    .secondary-note-card,
    .secondary-content-card,
    .secondary-side-card,
    .secondary-list-card,
    .secondary-map-card,
    .secondary-error-card,
    .post-card,
    .review-card,
    .sitemap-card {
        padding: 22px;
    }

    .secondary-hero-copy h1,
    .secondary-error-card h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .post-actions .btn,
    .secondary-actions .btn,
    .notfound-actions .btn {
        width: 100%;
    }
}
