/* Shared Seven Spikes content styling. Loaded by IranWebTheme, never by the demo plugin. */
.iw-seven-trust {
    --iw-trust-accent: var(--iw-primary, #d90a0a);
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    margin: 34px auto 42px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    background: linear-gradient(120deg, #fff 55%, #fbfcfe);
    box-shadow: 0 12px 34px rgba(23, 37, 58, .055);
    font-family: inherit;
}

.iw-seven-trust a {
    position: relative;
    min-width: 0;
    min-height: 76px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    border-radius: 11px;
    color: #202a35;
    text-align: right;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.iw-seven-trust a:not(:last-child)::after {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 0;
    width: 1px;
    background: #edf0f4;
    content: "";
}

.iw-seven-trust a:hover,
.iw-seven-trust a:focus-visible {
    background: #f8fafc;
    transform: translateY(-1px);
    text-decoration: none;
}

.iw-seven-trust a:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--iw-trust-accent) 42%, transparent);
    outline-offset: -2px;
}

.iw-seven-trust__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, currentColor 18%, white);
    border-radius: 13px;
    background: color-mix(in srgb, currentColor 9%, white);
    color: #26866e;
    transition: color .18s ease, background-color .18s ease;
}

.iw-seven-trust__icon svg { width: 21px; height: 21px; stroke-width: 1.8; }
.iw-seven-trust a:nth-child(2) .iw-seven-trust__icon { color: #bd654d; }
.iw-seven-trust a:nth-child(3) .iw-seven-trust__icon { color: #3f79ad; }
.iw-seven-trust a:nth-child(4) .iw-seven-trust__icon { color: #795ca1; }

.iw-seven-trust__copy { min-width: 0; display: grid; gap: 3px; }
.iw-seven-trust__copy strong { color: #202a35; font-size: 13px; font-weight: 700; line-height: 1.55; }
.iw-seven-trust__copy small { color: #7d8998; font-size: 10px; line-height: 1.5; }
.iw-seven-trust__arrow { margin-right: auto; color: #a6afb9; font-size: 12px; opacity: 0; transition: opacity .18s ease; }
.iw-seven-trust a:hover .iw-seven-trust__arrow,
.iw-seven-trust a:focus-visible .iw-seven-trust__arrow { opacity: 1; }

/* Semantic policy pages shared by all themes; direction is also declared in the HTML. */
.iw-policy-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 48px);
    border: 1px solid #edf0f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(25, 39, 55, .055);
    color: #343b45;
    font-size: 15px;
    line-height: 1.95;
}
.iw-policy-page header { margin: 0 0 28px; padding: clamp(22px, 4vw, 38px); border-radius: 12px; background: linear-gradient(135deg, #f7f8fa, #f1f4f7); }
.iw-policy-page header > p:first-child { display: inline-flex; margin: 0 0 10px; padding: 4px 11px; border-radius: 30px; background: #fff; color: #596b7d; font-size: 12px; font-weight: 700; }
.iw-policy-page header > p:last-child { max-width: 760px; margin: 0; color: #687482; }
.iw-policy-page h1 { margin: 0 0 12px; color: #202a35; font-size: clamp(25px, 3vw, 36px); font-weight: 750; line-height: 1.5; }
.iw-policy-page h2 { margin: 28px 0 8px; color: #202a35; font-size: 19px; font-weight: 700; line-height: 1.6; }
.iw-policy-page section p, .iw-policy-page > p { max-width: 900px; margin: 0 0 12px; }
.iw-policy-page ul { margin: 8px 0 16px; padding-inline-start: 24px; }
.iw-policy-page li { margin: 4px 0; }
.iw-policy-page .iw-policy-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.iw-policy-page .iw-policy-highlights li { display: grid; align-content: start; gap: 5px; min-height: 90px; margin: 0; padding: 16px; border: 1px solid #e9edf1; border-radius: 10px; background: #fff; }
.iw-policy-page .iw-policy-highlights strong { color: #263343; font-size: 14px; }
.iw-policy-page .iw-policy-highlights span { color: #77818d; font-size: 12px; line-height: 1.8; }
.iw-policy-page .iw-policy-note { margin-top: 26px; padding: 17px 20px; border: 1px solid #e4e9ef; border-inline-start: 3px solid #667c92; border-radius: 8px; background: #f7f8fa; }
.iw-policy-page .iw-policy-note strong { display: block; margin-bottom: 3px; color: #263343; }
.iw-policy-page .iw-policy-note p { margin: 0; }
@media (max-width: 640px) {
    .iw-policy-page { padding: 16px; border-radius: 10px; font-size: 14px; }
    .iw-policy-page header { padding: 20px; }
    .iw-policy-page .iw-policy-highlights { grid-template-columns: 1fr; gap: 8px; }
    .iw-policy-page .iw-policy-highlights li { min-height: 0; }
}

/* Pioneer owns the product-card layout. Only isolate localized prices so RTL
   currency text cannot reorder or split digits inside the vendor price row. */
.iw-theme-pioneer .product-item .prices > * {
    unicode-bidi: isolate;
    white-space: nowrap;
}

/* QuickView is injected as a sibling of the product details by SevenSpikes.
   The Pioneer action bar only hides/reveals .buttons, so the adapter script
   moves this existing button into that native action bar; these rules merely
   size it consistently with the other icon actions. */
.iw-theme-pioneer .product-item .buttons .quick-view-button {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

.iw-theme-pioneer .product-item .buttons .quick-view-button::before {
    display: inline-block;
    font-size: 14px !important;
    line-height: 1;
    transform: scale(.9);
    transform-origin: center;
}

.iw-theme-pioneer .product-item .buttons .product-box-add-to-cart-button {
    flex: 1 1 90px;
    min-width: 0;
    max-width: none;
    padding-inline: 6px;
    font-size: 11px !important;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .iw-seven-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iw-seven-trust a:nth-child(2)::after { display: none; }
    .iw-seven-trust a:nth-child(-n+2) { border-bottom: 1px solid #edf0f4; }
}

@media (max-width: 520px) {
    .iw-seven-trust { width: calc(100% - 24px); margin: 16px auto; padding: 5px; border-radius: 13px; }
    .iw-seven-trust a { min-height: 61px; padding: 7px; gap: 7px; }
    .iw-seven-trust__icon { width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px; }
    .iw-seven-trust__icon svg { width: 17px; height: 17px; }
    .iw-seven-trust__copy strong { font-size: 10px; }
    .iw-seven-trust__copy small { font-size: 9px; }
}
