.single-body {
    background: var(--ivory);
}

[dir="rtl"] body {
    font-family: "Noto Kufi Arabic", "DM Sans", sans-serif;
}

.single-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-switch {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 15px;
    background: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    transition: border-color .2s ease, background .2s ease;
}

.language-switch:hover {
    border-color: var(--burgundy);
    background: white;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 32px;
    color: var(--muted);
    font-size: .8rem;
}

.product-breadcrumb a {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.product-section {
    padding: 38px 0 110px;
}

.product-grid-single {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    align-items: start;
    gap: clamp(48px, 7vw, 90px);
}

.product-visual-panel {
    position: sticky;
    top: 118px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 18px;
    background: #ebdfce;
    box-shadow: 0 24px 65px rgba(39,35,25,.1);
}

.product-visual-panel::before {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(149,30,35,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(149,30,35,.035), 0 0 0 96px rgba(149,30,35,.025);
    content: "";
}

[dir="rtl"] .product-visual-panel::before {
    right: auto;
    left: -100px;
}

.product-visual-topline {
    position: relative;
    z-index: 2;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 8px 14px;
}

.product-visual-topline > span {
    color: var(--green);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(32,37,31,.13);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255,255,255,.5);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: .72rem;
    transition: background .2s ease, border-color .2s ease;
}

.share-button:hover,
.share-button.is-copied {
    border-color: var(--green);
    background: white;
}

.share-button b {
    font-weight: 700;
}

.share-icon {
    position: relative;
    width: 13px;
    height: 15px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
}

.share-icon::after {
    position: absolute;
    top: -5px;
    left: 3px;
    width: 5px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg);
}

.product-hero-image {
    position: relative;
    overflow: hidden;
    height: clamp(460px, 58vw, 650px);
    max-height: 650px;
    border-radius: 22px;
    background: var(--green);
}

.product-hero-image::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.product-visual-panel:hover .product-hero-image img {
    transform: scale(1.025);
}

.single-sale-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--burgundy);
    color: white;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

[dir="rtl"] .single-sale-badge {
    right: 18px;
    left: auto;
}

.visual-caption {
    display: block;
    padding: 15px 8px 1px;
    color: var(--muted);
    font-family: "Playfair Display", Georgia, serif;
    font-size: .92rem;
    font-style: italic;
    text-align: center;
}

[dir="rtl"] .visual-caption {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-style: normal;
}

.product-content-panel {
    padding-top: 34px;
}

.product-content-panel > h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3rem, 5.4vw, 5.35rem);
    line-height: 1.02;
}

[dir="rtl"] .product-content-panel > h1 {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(2.55rem, 4.8vw, 4.5rem);
    letter-spacing: -.055em;
    line-height: 1.3;
}

.single-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.single-price-row strong {
    color: var(--burgundy);
    font-size: 1.8rem;
    line-height: 1;
}

.single-price-row small {
    font-size: .75rem;
    font-weight: 700;
}

.single-price-row del {
    color: #969a93;
    font-size: .9rem;
}

.product-description {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.product-description h2,
.options-heading h2 {
    margin: 0 0 10px;
    font-family: "DM Sans", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

[dir="rtl"] .product-description h2,
[dir="rtl"] .options-heading h2 {
    font-family: "Noto Kufi Arabic", sans-serif;
    letter-spacing: 0;
}

.product-description p,
.options-heading p {
    margin: 0;
    color: var(--muted);
}

.product-options {
    display: grid;
    gap: 14px;
    padding-top: 30px;
}

.options-heading {
    margin-bottom: 5px;
}

.options-heading p {
    font-size: .9rem;
}

.option-group {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255,253,248,.7);
}

.option-group h3 {
    margin: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 17px;
    background: rgba(220,231,215,.45);
    color: var(--green);
    font-size: .83rem;
}

.option-group ul {
    margin: 0;
    padding: 4px 17px;
    list-style: none;
}

.option-group li {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid rgba(32,37,31,.08);
    color: #4e534d;
    font-size: .85rem;
}

.option-group li:last-child {
    border-bottom: 0;
}

.option-group li > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-group i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--burgundy);
}

.option-group small {
    color: var(--burgundy);
    font-weight: 700;
    white-space: nowrap;
}

.product-order-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    border-radius: 20px;
    padding: 18px 18px 18px 22px;
    background: var(--green);
    color: white;
}

[dir="rtl"] .product-order-card {
    padding: 18px 22px 18px 18px;
}

.product-order-card > div {
    display: grid;
    gap: 3px;
}

.product-order-card > div > strong {
    font-size: .9rem;
}

.product-order-card > div > span {
    color: rgba(255,255,255,.62);
    font-size: .72rem;
}

.product-order-card .button {
    min-height: 48px;
    padding: 12px 18px;
    white-space: nowrap;
}

.single-download {
    overflow: hidden;
    padding: 105px 0;
    background: var(--paper);
}

.single-download-card {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    border-radius: 32px;
    padding: 70px clamp(34px, 7vw, 82px);
    background: var(--burgundy);
    color: white;
}

.single-download-card::before {
    position: absolute;
    top: -180px;
    right: 28%;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.018);
    content: "";
}

.single-download-copy {
    position: relative;
    z-index: 3;
}

.single-download h2 {
    max-width: 650px;
    font-size: clamp(3rem, 5.7vw, 5.2rem);
}

[dir="rtl"] .single-download h2 {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    letter-spacing: -.05em;
    line-height: 1.3;
}

.single-download-copy > p:not(.eyebrow) {
    max-width: 530px;
    color: rgba(255,255,255,.7);
}

.single-download-art {
    position: absolute;
    right: 2%;
    bottom: -42%;
    width: 42%;
}

[dir="rtl"] .single-download-art {
    right: auto;
    left: 2%;
}

.single-download-art > span {
    position: absolute;
    top: 2%;
    left: 0;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #dcb075;
}

.single-download-art img {
    position: relative;
    z-index: 2;
    width: 72%;
    margin: 0 auto;
    transform: rotate(5deg);
    filter: drop-shadow(0 28px 30px rgba(0,0,0,.32));
}

[dir="rtl"] .single-download-art img {
    transform: rotate(-5deg);
}

.single-status-section {
    padding: 65px 0 105px;
}

.single-status-card {
    max-width: 780px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 70px 55px;
    background: var(--paper);
    box-shadow: var(--shadow);
    text-align: center;
}

.status-mark {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2ddd3;
    color: var(--burgundy);
    font-family: Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
}

.single-status-card .eyebrow {
    justify-content: center;
}

.single-status-card h1 {
    font-size: clamp(3rem, 6vw, 5rem);
}

[dir="rtl"] .single-status-card h1 {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.3;
}

.single-status-card > p:not(.eyebrow) {
    max-width: 570px;
    margin: 22px auto 32px;
    color: var(--muted);
}

.single-status-card > div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.single-footer {
    padding-top: 50px;
}

@media (max-width: 980px) {
    .product-grid-single {
        grid-template-columns: 1fr;
    }

    .product-visual-panel {
        position: relative;
        top: auto;
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .product-hero-image {
        height: min(78vw, 650px);
    }

    .product-content-panel {
        width: min(680px, 100%);
        margin: 0 auto;
        padding-top: 0;
    }

    .single-download-art {
        right: -4%;
        width: 46%;
        opacity: .62;
    }

    [dir="rtl"] .single-download-art {
        right: auto;
        left: -4%;
    }
}

@media (max-width: 720px) {
    .single-nav-actions {
        gap: 7px;
    }

    .language-switch {
        min-height: 38px;
        padding: 7px 12px;
        font-size: .72rem;
    }

    .product-breadcrumb {
        padding-top: 22px;
    }

    .product-section {
        padding-top: 25px;
        padding-bottom: 75px;
    }

    .product-grid-single {
        gap: 42px;
    }

    .product-visual-panel {
        border-radius: 22px;
        padding: 11px;
    }

    .product-visual-topline {
        min-height: 48px;
        padding-bottom: 10px;
    }

    .product-visual-topline > span {
        font-size: .66rem;
    }

    .share-button b {
        display: none;
    }

    .product-hero-image {
        height: min(110vw, 500px);
        border-radius: 16px;
    }

    .product-content-panel > h1 {
        font-size: clamp(2.75rem, 13vw, 4.2rem);
    }

    [dir="rtl"] .product-content-panel > h1 {
        font-size: clamp(2.3rem, 11vw, 3.6rem);
    }

    .product-order-card {
        grid-template-columns: 1fr;
    }

    .product-order-card .button {
        width: 100%;
    }

    .single-download {
        padding: 75px 0;
    }

    .single-download-card {
        min-height: 690px;
        grid-template-columns: 1fr;
        align-items: start;
        padding: 48px 25px;
    }

    .single-download-art {
        right: -2%;
        bottom: -33%;
        width: 72%;
        opacity: .72;
    }

    [dir="rtl"] .single-download-art {
        right: auto;
        left: -2%;
    }

    .single-status-card {
        padding: 50px 22px;
    }

    .single-status-card > div:last-child {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .single-app-link.button-small {
        display: none;
    }

    .product-hero-image {
        height: 390px;
    }
}
