@import url("/cms/rod-media.css");

.rod-product-page #main-content {
    padding-top: 24px;
}

.po-rod {
    --po-blue: #216BCF;
    --po-dark: #102038;
    --po-muted: #75849a;
    --po-line: #d8e2ef;
    --po-bg: #f4f8fd;
    --po-green: #35a768;
}

.po-rod,.po-rod * {
    box-sizing: border-box;
}

.po-rod {
    font-family: Arial,sans-serif;
    color: var(--po-dark);
    background: #fff;
    line-height: 1.5;
    overflow: hidden;
}

.po-wrap {
    width: min(1180px,calc(100% - 40px));
    margin: auto;
}

.po-hero {
    padding: 40px 0 32px;
}

.po-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 54px;
    align-items: start;
}

.po-photo {
    position: relative;
    min-height: 700px;
    background: var(--po-bg);
    border-radius: 24px;
    overflow: hidden;
}

.po-photo img {
    display: block;
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.po-badge {
    position: absolute;
    left: 22px;
    top: 22px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--po-blue);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(16,32,56,.12);
}

.po-kicker {
    color: var(--po-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.po-title {
    font-size: 43px;
    line-height: 1.12;
    letter-spacing: -1.3px;
    margin: 0 0 16px;
    font-weight: 800;
}

.po-accent {
    color: var(--po-blue);
    white-space: nowrap;
}

.po-desc {
    font-size: 17px;
    color: var(--po-muted);
    margin: 0 0 25px;
    max-width: 610px;
}

.po-price-row {
    border-top: 1px solid var(--po-line);
    padding: 24px 0 18px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.po-price-label {
    font-size: 13px;
    color: var(--po-muted);
    margin-bottom: 6px;
}

.po-price {
    font-size: 39px;
    line-height: 1;
    color: var(--po-blue);
    font-weight: 800;
}

.po-stock {
    font-size: 13px;
    font-weight: 700;
    color: #387958;
    white-space: nowrap;
}

.po-stock:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--po-green);
    margin-right: 9px;
}

.po-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--po-line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 22px;
}

.po-spec {
    padding: 14px 16px;
    min-height: 72px;
    border-right: 1px solid var(--po-line);
    border-bottom: 1px solid var(--po-line);
}

.po-spec:nth-child(even) {
    border-right: 0;
}

.po-spec:nth-last-child(-n+2) {
    border-bottom: 0;
}

.po-spec small {
    display: block;
    color: #94a0b1;
    font-size: 12px;
    margin-bottom: 2px;
}

.po-spec strong {
    font-size: 14px;
}

.po-calc {
    padding: 20px;
    border-radius: 18px;
    background: var(--po-bg);
}

.po-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--po-line);
}

.po-qty-label {
    font-size: 13px;
    font-weight: 700;
}

.po-qty {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    width: 290px;
    height: 50px;
    border: 1px solid #c9d8eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.po-qty button {
    border: 0;
    background: #fff;
    color: var(--po-blue);
    font-size: 24px;
    cursor: pointer;
}

.po-qty input {
    border: 0;
    border-left: 1px solid var(--po-line);
    border-right: 1px solid var(--po-line);
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    outline: 0;
}

.po-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    font-size: 14px;
}

.po-total strong {
    font-size: 17px;
}

.po-order {
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--po-blue);
    color: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    font-weight: 800;
    transition: .2s;
}

.po-order:hover {
    filter: brightness(.93);
    transform: translateY(-1px);
}

.po-note {
    text-align: center;
    color: #98a4b4;
    font-size: 11px;
    margin: 10px 0 0;
}

.po-section {
    padding: 34px 0;
}

.po-section-light {
    background: var(--po-bg);
}

.po-h2 {
    font-size: 35px;
    line-height: 1.15;
    margin: 0 0 22px;
    letter-spacing: -.6px;
}

.po-apps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.po-app {
    background: #fff;
    border: 1px solid var(--po-line);
    border-radius: 16px;
    padding: 22px;
    min-height: 150px;
}

.po-app b {
    display: block;
    color: var(--po-blue);
    font-size: 28px;
    margin-bottom: 14px;
}

.po-app strong {
    display: block;
    margin-bottom: 6px;
}

.po-app span {
    font-size: 14px;
    color: var(--po-muted);
}

.po-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.po-card {
    border: 1px solid var(--po-line);
    border-radius: 18px;
    padding: 26px;
    background: #fff;
}

.po-card h3 {
    font-size: 23px;
    margin: 0 0 15px;
}

.po-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.po-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #e8eef6;
}

.po-list li:last-child {
    border-bottom: 0;
}

.po-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--po-blue);
    font-weight: 800;
}

.po-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.po-table td {
    padding: 11px 0;
    border-bottom: 1px solid #e8eef6;
}

.po-table td:last-child {
    text-align: right;
    font-weight: 700;
}

.po-table tr:last-child td {
    border-bottom: 0;
}

.po-cta {
    margin: 34px auto 50px;
    background: var(--po-blue);
    border-radius: 22px;
    padding: 32px 36px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.po-cta h2 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 7px;
}

.po-cta p {
    margin: 0;
    opacity: .82;
}

.po-cta a {
    flex: 0 0 auto;
    background: #fff;
    color: var(--po-blue);
    text-decoration: none;
    border-radius: 10px;
    padding: 15px 24px;
    font-weight: 800;
}

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

    .po-photo,.po-photo img {
        min-height: 0;
        height: auto;
        aspect-ratio: 2/3;
    }

    .po-apps {
        grid-template-columns: 1fr 1fr;
    }

    .po-title {
        font-size: 38px;
    }
}

@media(max-width: 600px) {
    .po-wrap {
        width: min(100% - 24px,1180px);
    }

    .po-hero {
        padding-top: 16px;
    }

    .po-photo {
        border-radius: 16px;
    }

    .po-grid {
        gap: 24px;
    }

    .po-title {
        font-size: 31px;
        letter-spacing: -.7px;
    }

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

    .po-price {
        font-size: 34px;
    }

    .po-spec {
        padding: 12px;
    }

    .po-calc {
        padding: 15px;
    }

    .po-qty-row {
        display: block;
    }

    .po-qty {
        width: 100%;
        margin-top: 10px;
    }

    .po-apps,.po-details {
        grid-template-columns: 1fr;
    }

    .po-h2 {
        font-size: 28px;
    }

    .po-cta {
        margin: 24px 12px 36px;
        padding: 25px;
        display: block;
    }

    .po-cta a {
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .po-stock {
        white-space: normal;
        text-align: right;
    }
}

.po-rod .po-grid > div {
    min-width: 0;
}

.po-rod .po-title, .po-rod h2 {
    overflow-wrap: anywhere;
}

.po-rod .po-photo-dynamic {
    height: auto;
    aspect-ratio: auto;
}

.po-rod .po-photo .rod-infographic > img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}

.po-rod .po-stock[data-stock] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #288653;
    font: 600 14px/1.4 Arial, sans-serif;
    white-space: nowrap;
}

.po-rod .po-stock[data-stock]::before {
    flex-shrink: 0;
    background: #2dad65;
}

.po-rod .po-stock[data-stock="out"] {
    color: #a34d26;
}

.po-rod .po-stock[data-stock="out"]::before {
    background: #bc7348;
}
