
/* page download */
.wapage-download-prestashop p {
    line-height: 2 !important;
}
.wapage-download-prestashop #header {
    --header-bg: #011638;
    --header-top-bg: #011638;
    --header-color: #fff;
    padding-bottom: 45px;
}

.wapage-download-prestashop #wrapper {
    padding-top: 0;
}
.wapage-download-prestashop .bg-page {
    background-color: #011638;
}
.wapage-download-prestashop .bg-page .container {
    background-image: url('http://prestayar.local/modules/wacustompages/views/img/prestashop8.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 300px;
}

.wapage-download-prestashop .p-5 {
    padding: 1.25rem !important;
}
:is(.lang-rtl .ytable) {
    text-align: right;
}

:where(.ytimeline hr) {
    background-color: var(--wa-primary) !important;
}
.ytimeline-middle svg {
    color: var(--wa-drab-dark);
}

.wapage-download-prestashop .ybtn-neutral {
    background-color: var(--wa-drab-dark);
    border-color: var(--wa-drab-dark);
    color: var(--wa-ash-gray);
}
.wapage-download-prestashop .ybtn-neutral:hover,
.wapage-download-prestashop .ybtn-neutral:focus {
    color: white;
}

/* Snippets */
.heroes {
    flex-direction: column;
}
.heroes__heading {
    font-family: YekanBakh, serif;
}
.heroes__text {
    font-size: 1.125rem;
    line-height: 2;
}
.heroes__phone {
    margin: 15px 0;
    font-size: .9rem;
    display: flex;
    align-items: center;
}
.heroes__phone svg{
    width: 24px;
    height: 24px;
    transform: scaleX(-1);
    margin-right: .75rem;
}

.featurette-divider {
    margin: 1.5rem 0;
}
.featurette {
    align-items: center;
}
.featurette__image {
    text-align: center;
}
.featurette__image svg {
    max-width: 90%;
    /*padding: 20px 0;*/
}
.featurette__heading {
    /*font-family: YekanBakh, serif;*/
    font-weight: bold !important;
    margin-bottom: 1rem !important;
}
.featurette__content {
    line-height: 2;
}
.featurette__content b {
    font-weight: bold;
}

.jumbotrons {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #484838;
    background-color: #e0e0e0;
}
.jumbotrons__image {
    max-width: 100%;
    width: 500px;
}
.jumbotrons__heading {
    font-weight: 600;
}
.jumbotrons_content {
    margin: 30px auto;
    line-height: 1.75;
}



/* custom bootstrapt */
.display-7 {
    font-size:calc(1.625rem + 0.9vw);
    font-weight:600;
    line-height:1.2
}
@media(min-width:1200px) {
    .display-7 {
        font-size:2rem
    }
}
.display-8 {
    font-size:calc(1.125rem + 0.3vw);
    font-weight:600;
    line-height:1.2
}
@media(min-width:1200px) {
    .display-8 {
        font-size:1.5rem
    }
}

/* responsive */
@media(max-width:767px){
    .wapage-download-prestashop .bg-page .container {
        background-image: none;
    }
    .wapage-download-prestashop p {
        text-align: justify;
    }

    .shortcode-accordion .table {
        max-width: 80%;
        font-size: 14px;
    }
}


/* استایل‌های اختصاصی برای صفحه دانلود ماژول بومی‌ساز */

.download-module {
    font-family: Vazirmatn, Tahoma, sans-serif;
    direction: rtl;
    background-color: #f9fafb;
}

.localizer-download-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgb(17 24 39 / 0.55);
}

.localizer-download-modal.hidden {
    display: none;
}

.localizer-download-modal__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 28rem;
    padding: 1.25rem;
    color: #111827;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgb(0 0 0 / 0.15);
}

.localizer-download-modal__spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 3px solid #d1d5db;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: localizer-download-spin 0.8s linear infinite;
}

.localizer-field--error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgb(220 38 38 / 0.15);
}

.localizer-field--error:focus {
    outline: none;
    border-color: #b91c1c !important;
    box-shadow: 0 0 0 3px rgb(220 38 38 / 0.25);
}

#download-form input[type="email"] {
    direction: ltr;
    text-align: left;
}

.localizer-box {
    width: 100%;
    max-width: 36rem;
    margin: -1.5rem auto 4rem;
    padding: 2rem;
    color: #484838;
    background: #fff;
    border: 1px solid rgb(226 232 240 / 0.8);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(15 23 42 / 0.12), 0 8px 10px -6px rgb(15 23 42 / 0.12);
    direction: rtl;
}

.localizer-page {
    min-height: 100%;
    color: #484838;
    background: #f8fafc;
    font-family: Vazirmatn, Tahoma, sans-serif;
    padding: 0;
}

.localizer-page__header {
    padding: 2.5rem 1rem 8.5rem;
    overflow: hidden;
    background: #484838;
    border-bottom: 1px solid #3c3c2f;
}

.localizer-page__header-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.localizer-page__compatibility {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
    color: #f2fedc;
    background: rgb(242 254 220 / 0.12);
    border: 1px solid rgb(242 254 220 / 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.localizer-page__compatibility span {
    width: 0.5rem;
    height: 0.5rem;
    background: #f2fedc;
    border-radius: 50%;
    animation: localizer-compatibility-pulse 1.5s ease-in-out infinite;
}

.localizer-page__header h1 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.localizer-page__header p {
    max-width: 32rem;
    margin: 0 auto;
    color: rgb(255 255 255 / 0.8);
    font-size: 0.875rem;
    line-height: 1.75;
}

.localizer-page__content {
    position: relative;
    z-index: 1;
    padding: 0 1rem 4rem;
}

.localizer-page__box {
    max-width: 36rem;
    margin: -5.5rem auto 0;
}

.localizer-page__box .localizer-box {
    margin: 0 auto 4rem;
}

@keyframes localizer-compatibility-pulse {
    50% {
        opacity: 0.45;
    }
}

.localizer-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.localizer-box__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
}

.localizer-box__release {
    margin: 0.125rem 0 0;
    color: #64748b;
    font-size: 0.75rem;
}

.localizer-box__badge {
    flex: 0 0 auto;
    padding: 0.25rem 0.625rem;
    color: #6f7823;
    background: #f4f5ea;
    border: 1px solid #e0e3cc;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.localizer-form {
    display: grid;
    gap: 1.25rem;
}

.localizer-login-notice {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background: #f4f5ea;
    border: 1px solid #e0e3cc;
    border-radius: 1rem;
    text-align: center;
}

.localizer-login-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    color: #6f7823;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 1.125rem;
}

.localizer-login-notice h3 {
    margin: 0 0 0.25rem;
    color: #464936;
    font-size: 0.875rem;
    font-weight: 700;
}

.localizer-login-notice p {
    max-width: 24rem;
    margin: 0 auto;
    color: #737568;
    font-size: 0.75rem;
    line-height: 1.8;
}

.localizer-login-notice__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 10rem;
    padding: 0.75rem 1.25rem;
    margin-top: 0.75rem;
    color: #fff;
    background: #6f7823;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.08);
    font-size: 0.875rem;
    font-weight: 700;
}

.localizer-login-notice__link:hover,
.localizer-login-notice__link:focus {
    color: #fff;
    background: #60691f;
    text-decoration: none;
}

.localizer-login-notice__link svg {
    width: 1rem;
    height: 1rem;
}

.localizer-login-notice__icon svg {
    width: 24px;
    height: 24px;
}

#localizer-access .psy-fragment-refresh-skeleton {
    color: #464936;
}

.localizer-form__group {
    min-width: 0;
}

.localizer-form__label {
    display: block;
    margin-bottom: 0.5rem;
    color: #484838;
    font-size: 0.875rem;
    font-weight: 600;
}

.localizer-form__label span {
    color: #f43f5e;
}

.localizer-form__hint {
    margin: 0 0 0.75rem;
    color: #64748b;
    font-size: 0.75rem;
}

.localizer-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.localizer-purpose-option {
    display: flex;
    flex-direction: column;
    padding: 0.875rem;
    color: #484838;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.localizer-purpose-option:hover,
.localizer-purpose-option:has(input:checked) {
    background: rgb(238 242 255 / 0.3);
    border-color: #484838;
}

.localizer-purpose-option--error {
    border-color: #dc2626;
}

.localizer-purpose-option__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.localizer-purpose-option__title {
    color: #484838;
    font-size: 0.875rem;
    font-weight: 700;
}

.localizer-purpose-option__description {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.5;
}

.localizer-form__email {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    direction: ltr;
    text-align: left;
}

.localizer-form__email:focus {
    outline: none;
    background: #fff;
    border-color: #484838;
    box-shadow: 0 0 0 3px rgb(72 72 56 / 0.2);
}

.localizer-form__error {
    margin:0.5rem 0 0;
    color: #e11d48;
    font-size: 0.75rem;
}

.localizer-form__submit,
.localizer-state__download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #484838;
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(72 72 56 / 0.25);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background-color 150ms ease, transform 150ms ease;
}

.localizer-form__submit:hover,
.localizer-state__download:hover {
    color: #fff;
    background: #36362a;
    text-decoration: none;
}

.localizer-form__submit:active {
    transform: scale(0.98);
}

.localizer-form__submit svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.localizer-state {
    padding: 2rem 0;
    color: #334155;
    text-align: center;
}

.localizer-state h3 {
    margin: 0.75rem 0 0;
    color: #484838;
    font-size: 0.875rem;
    font-weight: 700;
}

.localizer-state p {
    margin: 0.5rem 0 0;
    color: #64748b;
    font-size: 0.75rem;
}

.localizer-state__spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 4px solid #484838;
    border-top-color: transparent;
    border-radius: 50%;
    animation: localizer-download-spin 0.8s linear infinite;
}

.localizer-state__success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    color: #059669;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
}

.localizer-state__download {
    margin-top: 1rem;
}

.localizer-state__legacy-download {
    padding-top: 0.75rem;
}

.localizer-state__legacy-download a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background-color 150ms ease;
}

.localizer-state__legacy-download a:hover {
    color: #334155;
    background: #e2e8f0;
    text-decoration: none;
}

.localizer-state__legacy-download span {
    color: #d97706;
}

.localizer-state__reset {
    display: block;
    padding: 0;
    margin: 0.75rem auto 0;
    color: #484838;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
}

.localizer-state__reset:hover {
    text-decoration: underline;
}

.localizer-feature-section {
    max-width: 64rem;
    padding: 3rem 1rem;
    margin: 0 auto;
}

.localizer-feature-section > h2 {
    margin: 0 0 2rem;
    color: #484838;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.localizer-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.localizer-feature-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
    text-align: center;
}

.localizer-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 50%;
    font-size: 1.5rem;
}

.localizer-feature-card h3 {
    margin: 0;
    color: #484838;
    font-size: 1rem;
    font-weight: 700;
}

.localizer-feature-card p {
    margin: 0.5rem 0 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.7;
}

.localizer-details {
    max-width: 48rem;
    padding: 0 1rem 4rem;
    margin: 0 auto;
}

.localizer-extra-features {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.localizer-extra-features > p {
    margin: 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.9;
}

.localizer-extra-features__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    padding: 0;
    margin-top: 1.25rem;
}

.localizer-extra-features__grid span {
    position: relative;
    padding-right: 1rem;
    color: #475569;
    font-size: 0.8125rem;
    line-height: 1.7;
}

.localizer-extra-features__grid span::before {
    position: absolute;
    top: 0.55rem;
    right: 0;
    width: 0.375rem;
    height: 0.375rem;
    content: '';
    background: #484838;
    border-radius: 50%;
}

.localizer-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.localizer-cta-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.localizer-cta-card h2,
.localizer-feedback-card h2 {
    margin: 0;
    color: #484838;
    font-size: 1rem;
    font-weight: 700;
}

.localizer-cta-card p,
.localizer-feedback-card p {
    margin: 0.75rem 0 0;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.8;
}

.localizer-cta-card a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #484838;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    transition: background-color 150ms ease;
}

.localizer-cta-card a:hover {
    color: #fff;
    background: #36362a;
    text-decoration: none;
}

.localizer-feedback-card {
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 0.75rem;
}

.localizer-feedback-card a {
    color: #484838;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 576px) {
    .localizer-page__header {
        padding: 2.5rem 1rem;
    }

    .localizer-page__header h1 {
        font-size: 1.5rem;
    }

    .localizer-box {
        padding: 1.5rem;
        margin-top: -1rem;
    }

    .localizer-purpose-grid {
        grid-template-columns: 1fr;
    }

    .localizer-feature-grid,
    .localizer-extra-features__grid,
    .localizer-cta-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes localizer-download-spin {
    to {
        transform: rotate(360deg);
    }
}

  .download-module h1,
  .download-module h2 {
    color: #111827;
  }

  .download-module p,
  .download-module li {
    color: #374151;
    line-height: 1.8;
  }
  
  .download-module select,
  .download-module button {
    font-size: 1rem;
  }
  
  #download-link {
    transition: all 0.3s ease-in-out;
  }
  
  #role-form button:hover {
    background-color: #2563eb;
  }
  
  /* لینک‌های GitHub و پرستاشاپ */
  .download-module a {
    transition: color 0.2s;
  }
  
  .download-module a:hover {
    color: #1e40af;
    text-decoration: underline;
  }
  
  /* پیشنهادات */
  .download-module .bg-yellow-50 {
    background-color: #fffbeb;
  }
  
  /* حالت واکنش‌گرا */
  @media (max-width: 640px) {
    .download-module {
      padding: 1rem;
    }
  
    .download-module h1 {
      font-size: 1.5rem;
    }
  
    .download-module h2 {
      font-size: 1.25rem;
    }
  }
