.accessories-page {
    --acc-navy: #071b46;
    --acc-blue: #1da1f2;
    --acc-green: #24c36b;
    --acc-light: #f4f8fd;
    --acc-border: rgba(7, 27, 70, 0.1);
    --acc-text: #102347;
    --acc-muted: #61708d;
    --acc-shadow: 0 24px 60px rgba(8, 31, 80, 0.1);
    color: var(--acc-text);
}

.accessories-page,
.accessories-page p,
.accessories-page a,
.accessories-page li,
.accessories-page input,
.accessories-page select,
.accessories-page button,
.accessories-page label,
.accessories-page span {
    unicode-bidi: plaintext;
}

.accessories-page[dir="rtl"] {
    direction: rtl;
}

.accessories-page[dir="rtl"] .acc-hero-actions,
.accessories-page[dir="rtl"] .acc-benefit-list,
.accessories-page[dir="rtl"] .acc-card-actions,
.accessories-page[dir="rtl"] .acc-checkout-grid,
.accessories-page[dir="rtl"] .acc-order-line,
.accessories-page[dir="rtl"] .acc-order-summary-head,
.accessories-page[dir="rtl"] .acc-payment-card,
.accessories-page[dir="rtl"] .acc-delivery-grid {
    direction: rtl;
}

.accessories-page[dir="rtl"] .acc-section-title,
.accessories-page[dir="rtl"] .acc-hero-copy,
.accessories-page[dir="rtl"] .acc-product-card,
.accessories-page[dir="rtl"] .acc-product-modal-content,
.accessories-page[dir="rtl"] .acc-form-panel,
.accessories-page[dir="rtl"] .acc-order-panel,
.accessories-page[dir="rtl"] .acc-delivery-card {
    text-align: right;
}

.accessories-page[dir="rtl"] .acc-hero-copy {
    direction: rtl;
}

.accessories-page[dir="rtl"] .acc-product-modal-content {
    direction: rtl;
}

.accessories-page .acc-hero {
    position: relative;
    padding: 34px 0 64px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(29, 161, 242, 0.18), transparent 28%),
        radial-gradient(circle at 78% 62%, rgba(29, 161, 242, 0.14), transparent 18%),
        linear-gradient(180deg, #ffffff 0%, #f4f9ff 56%, #eef7ff 100%);
}

.accessories-page .acc-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(244, 249, 255, 0) 0%, #f7faff 100%);
    pointer-events: none;
}

.accessories-page .acc-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
    gap: 20px;
    align-items: center;
    direction: ltr;
}

.accessories-page .acc-hero-copy {
    color: var(--acc-navy);
    padding-top: 24px;
}

.accessories-page .acc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(29, 161, 242, 0.08);
    border: 1px solid rgba(29, 161, 242, 0.12);
    border-radius: 999px;
    color: #1187d9;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.accessories-page .acc-hero-copy h1 {
    color: var(--acc-navy);
    font-size: clamp(42px, 5.1vw, 76px);
    line-height: 1.03;
    margin-bottom: 20px;
    max-width: 640px;
}

.accessories-page .acc-hero-copy h1 span {
    display: block;
    color: #1f95ea;
}

.accessories-page .acc-hero-copy p {
    font-size: 18px;
    line-height: 1.8;
    color: #35507d;
    max-width: 560px;
    margin-bottom: 34px;
}

.accessories-page .acc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.accessories-page .acc-btn,
.accessories-page .acc-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    border: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.accessories-page .acc-btn {
    background: linear-gradient(135deg, #f86349, #ff7d45);
    color: #fff;
    box-shadow: 0 18px 30px rgba(248, 99, 73, 0.22);
}

.accessories-page .acc-btn-outline {
    background: rgba(255, 255, 255, 0.76);
    color: var(--acc-navy);
    border: 1px solid rgba(7, 27, 70, 0.12);
}

.accessories-page .acc-btn:hover,
.accessories-page .acc-btn-outline:hover {
    transform: translateY(-1px);
}

.accessories-page .acc-benefit-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
}

.accessories-page .acc-benefit-item {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 8px 8px 8px 0;
    color: var(--acc-navy);
    min-height: 0;
    box-shadow: none;
}

.accessories-page .acc-benefit-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef6ff;
    color: #177ed3;
    font-size: 18px;
    margin-bottom: 12px;
}

.accessories-page .acc-benefit-item strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: #17315d;
    font-weight: 700;
}

.accessories-page .acc-hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: stretch;
    width: 100vw;
    margin-right: calc(50% - 50vw);
}

.accessories-page .acc-hero-main-card {
    position: absolute;
    inset: 0;
}

.accessories-page .acc-hero-image-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.accessories-page .acc-hero-image {
   
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.accessories-page .acc-section {
    padding: 92px 0;
}

.accessories-page .acc-section-title {
    margin-bottom: 38px;
    text-align: center;
}

.accessories-page .acc-section-title h2 {
    color: var(--acc-navy);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.05;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.accessories-page .acc-products .acc-section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1da1f2, #73cfff);
    transform: translateX(-50%);
}

.accessories-page .acc-section-title p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--acc-muted);
}

.accessories-page .acc-products {
    background:
        radial-gradient(circle at top center, rgba(29, 161, 242, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.accessories-page .acc-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.accessories-page .acc-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(18, 76, 145, 0.1);
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 18px 42px rgba(7, 27, 70, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.accessories-page .acc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(7, 27, 70, 0.12);
    border-color: rgba(29, 161, 242, 0.24);
}

.accessories-page .acc-product-clickable {
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
}

.accessories-page .acc-product-media {
    height: 270px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(29, 161, 242, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(18, 76, 145, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    margin-bottom: 20px;
}

.accessories-page .acc-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(17, 76, 145, 0.08));
}

.accessories-page .acc-product-body {
    display: flex;
    flex-direction: column;
    padding: 0 6px 6px;
}

.accessories-page .acc-product-body h3 {
    color: var(--acc-navy);
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.accessories-page .acc-product-body p {
    color: var(--acc-muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.accessories-page .acc-product-price {
    color: var(--acc-navy);
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    margin-top: auto;
    margin-bottom: 16px;
}

.accessories-page .acc-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.accessories-page .acc-quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(18, 76, 145, 0.12);
    border-radius: 14px;
    overflow: hidden;
    background: #f5faff;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.accessories-page .acc-quantity button {
    width: 42px;
    height: 46px;
    border: 0;
    background: transparent;
    color: var(--acc-navy);
    font-size: 18px;
    font-weight: 700;
}

.accessories-page .acc-quantity input {
    width: 52px;
    height: 46px;
    border: 0;
    background: transparent;
    text-align: center;
    color: var(--acc-navy);
    font-weight: 700;
}

.accessories-page .acc-card-actions .acc-btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 18px;
    box-shadow: none;
    background: linear-gradient(135deg, #1896ee, #1da1f2);
    border-radius: 12px;
}

.accessories-page .acc-product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.accessories-page .acc-product-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.accessories-page .acc-product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 21, 50, 0.62);
    backdrop-filter: blur(8px);
}

.accessories-page .acc-product-modal-dialog {
    position: relative;
    width: min(1040px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(29, 161, 242, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    box-shadow: 0 40px 120px rgba(5, 22, 52, 0.34);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.28s ease;
}

.accessories-page .acc-product-modal.is-open .acc-product-modal-dialog {
    transform: translateY(0) scale(1);
}

.accessories-page .acc-product-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(7, 27, 70, 0.06);
    color: var(--acc-navy);
    font-size: 32px;
    line-height: 1;
    z-index: 2;
}

.accessories-page .acc-product-modal-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
    align-items: stretch;
}

.accessories-page .acc-product-modal-media {
    min-height: 560px;
    background:
        radial-gradient(circle at top right, rgba(29, 161, 242, 0.1), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f1f8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.accessories-page .acc-product-modal-media img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 30px 55px rgba(17, 76, 145, 0.16));
}

.accessories-page .acc-product-modal-content {
    padding: 56px 44px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accessories-page .acc-product-modal-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(29, 161, 242, 0.08);
    border: 1px solid rgba(29, 161, 242, 0.12);
    color: #1187d9;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.accessories-page .acc-product-modal-content h3 {
    color: var(--acc-navy);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin-bottom: 14px;
}

.accessories-page .acc-product-modal-price {
    color: #1187d9;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.accessories-page .acc-product-modal-content p {
    color: var(--acc-muted);
    font-size: 17px;
    line-height: 1.95;
    margin-bottom: 28px;
}

.accessories-page .acc-product-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
}

.accessories-page .acc-quantity-modal {
    max-width: none;
    margin: 0;
}

.accessories-page .acc-checkout {
    background: #fff;
    scroll-margin-top: 110px;
}

.accessories-page .acc-checkout.is-spotlight {
    animation: accCheckoutSectionPulse 1s ease;
}

.accessories-page .acc-checkout-shell {
    border: 1px solid var(--acc-border);
    border-radius: 32px;
    padding: 28px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 26px 70px rgba(7, 27, 70, 0.08);
}

.accessories-page .acc-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 24px;
}

.accessories-page .acc-form-panel {
    padding-right: 12px;
}

.accessories-page .acc-form-panel h3,
.accessories-page .acc-order-panel h3 {
    color: var(--acc-navy);
    font-size: 28px;
    margin-bottom: 18px;
}

.accessories-page .acc-form-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.accessories-page .acc-field {
    display: grid;
    gap: 8px;
}

.accessories-page .acc-field label {
    color: var(--acc-navy);
    font-size: 15px;
    font-weight: 700;
}

.accessories-page .acc-field input,
.accessories-page .acc-field select {
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--acc-border);
    padding: 0 16px;
    background: #fff;
    color: var(--acc-text);
}

.accessories-page .acc-payment-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--acc-border);
    border-radius: 18px;
    background: #fff;
    margin-bottom: 18px;
}

.accessories-page .acc-payment-card strong {
    display: block;
    color: var(--acc-navy);
    margin-bottom: 4px;
}

.accessories-page .acc-payment-card p {
    color: var(--acc-muted);
    margin: 0;
    line-height: 1.6;
}

.accessories-page .acc-payment-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--acc-blue);
    box-shadow: inset 0 0 0 5px #fff;
    background: var(--acc-blue);
    flex-shrink: 0;
}

.accessories-page .acc-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--acc-muted);
    font-size: 15px;
}

.accessories-page .acc-note i {
    color: var(--acc-blue);
}

.accessories-page .acc-order-panel {
    padding: 24px;
    border: 1px solid var(--acc-border);
    border-radius: 28px;
    background: #fff;
    min-height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.accessories-page .acc-order-panel.is-highlighted {
    transform: translateY(-4px);
    border-color: rgba(29, 161, 242, 0.4);
    box-shadow: 0 26px 60px rgba(29, 161, 242, 0.18);
    animation: accOrderPanelPulse 0.9s ease;
}

.accessories-page .acc-order-panel.is-empty .acc-order-empty {
    display: flex;
}

.accessories-page .acc-order-panel.is-empty .acc-order-list-wrap {
    display: none;
}

.accessories-page .acc-order-summary-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.accessories-page .acc-order-count {
    color: var(--acc-muted);
    font-weight: 700;
}

.accessories-page .acc-order-empty {
    min-height: 220px;
    border: 1px dashed rgba(7, 27, 70, 0.15);
    border-radius: 22px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    color: var(--acc-muted);
}

.accessories-page .acc-order-empty i {
    font-size: 56px;
    color: #bfd4ea;
    margin-bottom: 16px;
}

.accessories-page .acc-order-empty strong {
    color: var(--acc-navy);
    font-size: 24px;
    margin-bottom: 8px;
}

.accessories-page .acc-order-lines {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.accessories-page .acc-order-line {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--acc-border);
    border-radius: 18px;
    background: #f8fbff;
}

.accessories-page .acc-order-line img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 8px;
}

.accessories-page .acc-order-line h4 {
    color: var(--acc-navy);
    font-size: 18px;
    margin-bottom: 6px;
}

.accessories-page .acc-order-line p {
    color: var(--acc-muted);
    margin: 0;
    font-size: 14px;
}

.accessories-page .acc-order-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.accessories-page .acc-order-qty button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    background: #e8f3ff;
    color: var(--acc-navy);
    font-weight: 700;
}

.accessories-page .acc-order-line-price {
    color: var(--acc-navy);
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.accessories-page .acc-order-totals {
    padding-top: 18px;
    border-top: 1px solid var(--acc-border);
}

.accessories-page .acc-total-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    color: var(--acc-muted);
}

.accessories-page .acc-total-row strong,
.accessories-page .acc-total-row span {
    color: var(--acc-text);
}

.accessories-page .acc-total-row.is-grand {
    font-size: 22px;
    font-weight: 800;
    color: var(--acc-navy);
    padding-top: 16px;
}

.accessories-page .acc-total-row.is-grand strong,
.accessories-page .acc-total-row.is-grand span {
    color: var(--acc-navy);
}

.accessories-page .acc-order-panel .acc-btn {
    width: 100%;
    margin-top: 18px;
}

.accessories-page .acc-order-panel .acc-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.accessories-page .acc-delivery {
    background: linear-gradient(180deg, #eef7ff, #f8fbff);
}

.accessories-page .acc-delivery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.accessories-page .acc-delivery-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(7, 27, 70, 0.08);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--acc-shadow);
}

.accessories-page .acc-delivery-card i {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #edf7ff;
    color: var(--acc-blue);
    font-size: 24px;
    margin-bottom: 14px;
}

.accessories-page .acc-delivery-card h3 {
    color: var(--acc-navy);
    font-size: 22px;
    margin-bottom: 8px;
}

.accessories-page .acc-delivery-card p {
    color: var(--acc-muted);
    line-height: 1.75;
    margin: 0;
}

.accessories-page .acc-empty-state {
    background: #fff;
    border: 1px dashed var(--acc-border);
    border-radius: 28px;
    padding: 36px 24px;
    text-align: center;
    color: var(--acc-muted);
}

@keyframes accOrderPanelPulse {
    0% {
        transform: translateY(0) scale(1);
    }
    35% {
        transform: translateY(-8px) scale(1.01);
    }
    100% {
        transform: translateY(-4px) scale(1);
    }
}

@keyframes accCheckoutSectionPulse {
    0% {
        background-color: rgba(29, 161, 242, 0);
    }
    35% {
        background-color: rgba(29, 161, 242, 0.08);
    }
    100% {
        background-color: rgba(29, 161, 242, 0);
    }
}

@media (max-width: 1199px) {
    .accessories-page .acc-benefit-list,
    .accessories-page .acc-products-grid,
    .accessories-page .acc-delivery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .accessories-page .acc-checkout-grid,
    .accessories-page .acc-hero-grid,
    .accessories-page .acc-product-modal-grid {
        grid-template-columns: 1fr;
    }

    .accessories-page .acc-hero-visual {
        min-height: 500px;
        width: 100%;
        margin-right: 0;
    }

    .accessories-page .acc-product-modal-media {
        min-height: 360px;
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .accessories-page .acc-hero {
        padding: 24px 0 54px;
    }

    .accessories-page .acc-benefit-list,
    .accessories-page .acc-products-grid,
    .accessories-page .acc-delivery-grid {
        grid-template-columns: 1fr;
    }

    .accessories-page .acc-hero-visual {
        min-height: 420px;
        width: 100%;
        margin-right: 0;
    }

    .accessories-page .acc-product-modal {
        padding: 12px;
    }

    .accessories-page .acc-product-modal-dialog {
        border-radius: 24px;
        max-height: calc(100vh - 24px);
    }

    .accessories-page .acc-product-modal-content {
        padding: 28px 20px 22px;
    }

    .accessories-page .acc-product-modal-media {
        min-height: 280px;
        padding: 20px;
    }

    .accessories-page .acc-product-modal-actions {
        max-width: none;
    }

    .accessories-page .acc-hero-image-frame {
        width: 100%;
    }

    .accessories-page .acc-section,
    .accessories-page .acc-checkout-shell {
        padding-inline: 0;
    }

    .accessories-page .acc-checkout-shell {
        padding: 22px 18px;
    }

    .accessories-page .acc-card-actions {
        flex-direction: column;
    }

    .accessories-page .acc-card-actions .acc-btn,
    .accessories-page .acc-quantity {
        width: 100%;
    }

    .accessories-page .acc-order-line {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .accessories-page[dir="rtl"] .acc-order-line {
        text-align: center;
    }
}
