/* ===== BUY PAGE STYLES ===== */

/* Breadcrumbs */
.card-body-v5 {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}
.card-body-v5 a {
    color: #2e7d32;
    text-decoration: none;
}
.card-body-v5 a:hover {
    text-decoration: underline;
}

/* Hero */
.view-top-header {
    background: linear-gradient(135deg, #1a5c2e 0%, #2e7d32 50%, #43a047 100%);
    color: #fff;
    padding: 60px 0;
    text-align: left;
}
.view-top-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.mod-wrapper {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.header-center-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.base-box {
    flex: 1 1 55%;
    max-width: 640px;
}

.custom-holder__area {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-area-block {
    width: min(210px, 100%);
    height: auto;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

/* Warning */
.app-header__right {
    padding: 50px 0 30px;
}
.view-top-view {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 30px;
}
.ui-section {
    font-size: 2.5rem;
    flex-shrink: 0;
}
.wrapper-active-element h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #e65100;
    margin-bottom: 10px;
}
.wrapper-active-element p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Not Sold Section */
.app-content__active {
    padding: 50px 0;
}
.site-wrapper__bottom {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 40px;
}
.text-red {
    color: #d32f2f;
}
.header-right-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.header-fixed-v2 {
    background: #fff;
    border: 2px solid #ffcdd2;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s;
}
.view-left-item {
    color: inherit;
    text-decoration: none;
}
.custom-section__fixed {
    border-color: #9fd2bd;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(31, 105, 82, 0.1);
}
.custom-section__fixed:focus-visible {
    outline: 3px solid #1f6952;
    outline-offset: 3px;
}
.header-fixed-v2:hover {
    transform: translateY(-5px);
}
.flex-content {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    font-weight: 700;
}
.mod-section {
    background: #ffebee;
    color: #d32f2f;
}
.site-view__area {
    background: #e5f5ed;
    color: #21864b;
}
.header-fixed-v2 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.buy-not-sold__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.buy-not-sold__badge--red {
    background: #ffebee;
    color: #d32f2f;
}
.header-fixed-v2 p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}
.content-fixed-v5 {
    text-align: center;
    font-style: italic;
    color: #777;
    font-size: 0.95rem;
    max-width: calc(100% - 200px);
    margin-left: auto;
    margin-right: auto;
}

/* Original Section */
.mod-box__bottom {
    padding: 50px 0;
    background: #f5f5f5;
}
.holder-right-v5 {
    background: #fff;
    border: 2px solid #2e7d32;
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.container-center-v5 {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
}
.holder-right-v5 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
}
.site-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 450px;
    margin: 0 auto 30px;
}
.item-body-v3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
}
.block-area-v2 {
    color: #2e7d32;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.mod-box {
    font-size: 1.1rem;
    padding: 16px 40px;
}
.page-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}
.mod-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    color: #fff;
    text-decoration: none;
}
.mod-box.marketplace--wildberries {
    background: #9b2bd3;
}
.mod-box.marketplace--wildberries:hover,
.mod-box.marketplace--wildberries:focus-visible {
    background: #b04dfd;
}
.mod-box.wrapper-right-block {
    background: #005bff;
}
.mod-box.wrapper-right-block:hover,
.mod-box.wrapper-right-block:focus-visible {
    background: #0047c9;
}
.mod-box.wrapper-center-v5 {
    background: #ffcc00;
    color: #171717;
}
.mod-box.wrapper-center-v5:hover,
.mod-box.wrapper-center-v5:focus-visible {
    background: #e6b800;
}

/* Compare Section */
.mod-container {
    padding: 50px 0;
}
.base-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.buy-compare-link {
    color: #2e7d32;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.buy-compare-link:hover {
    color: #1f5f2a;
}
.custom-section__active {
    border-radius: 12px;
    padding: 30px;
}
.block-bottom-view {
    background: #e8f5e9;
    border: 2px solid #2e7d32;
}
.content-active-v6 {
    background: #ffebee;
    border: 2px solid #d32f2f;
}
.custom-section__active h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.block-bottom-view h3 {
    color: #2e7d32;
}
.content-active-v6 h3 {
    color: #d32f2f;
}
.custom-section__active ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-section__active ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    line-height: 1.5;
}
.custom-section__active ul li:last-child {
    border-bottom: none;
}
.block-bottom-view ul li::before {
    content: "\2714";
    color: #2e7d32;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}
.content-active-v6 ul li::before {
    content: "\2715";
    color: #d32f2f;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}
.page-container__left {
    max-width: 800px;
    margin: 22px auto 0;
    padding: 16px 20px;
    border: 1px solid #e2c58b;
    border-radius: 8px;
    background: #fff8e8;
    color: #5f4a24;
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
}

/* How to Order */
.ui-holder {
    padding: 50px 0;
    background: #f5f5f5;
}
.main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.header-area-v2 {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    flex: 1;
    max-width: 220px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.wrapper-left-panel {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.header-area-v2 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.header-area-v2 p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}
.row-active-content {
    font-size: 1.5rem;
    color: #2e7d32;
    font-weight: 700;
}

/* Delivery & Payment */
.holder-fluid-block {
    padding: 50px 0;
}
.card-left-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
}
.header-bottom-v3 {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 35px 30px;
}
.base-card__right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.ui-item {
    font-size: 1.8rem;
}
.base-card__right h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}
.panel-active-element {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
}
.page-container__fluid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.page-container__fluid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a2e;
}
.content-right-v4 {
    color: #2e7d32;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* CTA */
.buy-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a5c2e 0%, #2e7d32 50%, #43a047 100%);
    color: #fff;
    text-align: center;
}
.buy-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.buy-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}
.buy-cta__btn {
    font-size: 1.15rem;
    padding: 18px 50px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .view-top-header {
        text-align: center;
    }

    .view-top-header h1 {
        font-size: 1.8rem;
    }
    .mod-wrapper {
        font-size: 1rem;
    }
    .header-center-container {
        flex-direction: column;
        text-align: center;
    }
    .base-box {
        max-width: 100%;
    }
    .view-area-block {
        width: min(260px, 62vw);
        margin-top: 8px;
    }
    .view-top-view {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .wrapper-active-element h2 {
        font-size: 1.2rem;
    }
    .header-right-v2 {
        grid-template-columns: 1fr 1fr;
    }
    .site-wrapper__bottom {
        font-size: 1.5rem;
    }
    .base-section {
        grid-template-columns: 1fr;
    }
    .content-fixed-v5 {
        max-width: 100%;
    }
    .main-header {
        flex-direction: column;
    }
    .row-active-content {
        transform: rotate(90deg);
    }
    .header-area-v2 {
        max-width: 100%;
        width: 100%;
    }
    .card-left-wrapper {
        grid-template-columns: 1fr;
    }
    .buy-cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-right-v2 {
        grid-template-columns: 1fr;
    }
    .view-top-header {
        padding: 40px 0;
    }
    .view-top-header h1 {
        font-size: 1.5rem;
    }
    .holder-right-v5 {
        padding: 25px 20px;
    }
}

/* ===== TRUST PAGE OVERRIDES ===== */
.card-body-v5 {
    background: transparent;
    border-bottom: 1px solid rgba(31, 90, 75, 0.08);
}

.view-top-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 68%, #2d7967 100%);
    border-radius: 0 0 34px 34px;
    box-shadow: var(--shadow-lg);
    padding: 72px 0;
}

.view-top-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 24%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 52%);
    pointer-events: none;
}

.view-top-header .container {
    position: relative;
}

.app-header__right,
.app-content__active,
.mod-container,
.ui-holder,
.buy-dp {
    background: transparent;
}

.view-top-view {
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
    border: 1px solid rgba(196, 145, 66, 0.32);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.wrapper-active-element h2,
.header-fixed-v2 h3,
.holder-right-v5 h3,
.base-card__right h3 {
    color: var(--text-main);
}

.wrapper-active-element p,
.header-fixed-v2 p,
.content-fixed-v5,
.item-body-v3,
.panel-active-element {
    color: var(--text-muted);
}

.header-fixed-v2,
.custom-section__active,
.header-area-v2,
.header-bottom-v3 {
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.header-fixed-v2 {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(179, 75, 75, 0.18);
}

.mod-box__bottom {
    background: transparent;
}

.holder-right-v5 {
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
    border: 1px solid rgba(31, 90, 75, 0.18);
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.container-center-v5 {
    background: var(--accent-soft);
    color: #775426;
    border: 1px solid rgba(196, 145, 66, 0.3);
}

.mod-box {
    box-shadow: 0 18px 34px rgba(31, 90, 75, 0.22);
}

.block-bottom-view {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8f5 100%);
    border-color: rgba(31, 90, 75, 0.22);
}

.content-active-v6 {
    background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
    border: 1px solid rgba(179, 75, 75, 0.22);
}

.header-bottom-v3 {
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.buy-cta {
    background: transparent;
}

.buy-cta .container {
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 72%, #2d7967 100%);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    padding: 3rem 2rem;
}

@media (max-width: 768px) {
    .view-top-header {
        border-radius: 0 0 26px 26px;
        padding: 54px 0;
    }

    .view-top-view,
    .holder-right-v5 {
        border-radius: 24px;
    }

    .buy-cta .container {
        border-radius: 24px;
        padding: 2.3rem 1.2rem;
    }
}
