/* ==========================================================================
   PetlyTag - public commercial pages (pricing, contact, policies)
   Shares the palette with marketing.css but is a separate, much smaller sheet:
   these pages are text, and pulling 29KB of landing-page layout for them would
   be waste. Written logical-property-first so the Arabic RTL rendering needs
   no separate rules.
   ========================================================================== */

:root {
    --ink:       #04252B;
    --ink-2:     #0A3B45;
    --teal:      #0294A9;
    --teal-deep: #026F80;
    --teal-lift: #05B2CA;
    --sky:       #6AD6F0;
    --mist:      #E8F6F8;
    --sun:       #FFC24B;
    --paper:     #FFFFFF;
    --muted:     #5D7F87;
    --line:      rgba(2, 148, 169, .16);
    --shadow-sm: 0 2px 8px rgba(4, 37, 43, .06);
    --shadow-md: 0 12px 32px -12px rgba(4, 37, 43, .18);
    --shell:     820px;
    --pad:       clamp(20px, 5vw, 36px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

/* Arabic needs a face with real Arabic coverage and a touch more leading. */
[dir="rtl"] body {
    font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
    line-height: 1.9;
}

h1, h2, h3 {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
    font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
    letter-spacing: 0;
}

a { color: var(--teal-deep); }
img, svg { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- header ---------- */

.site-head {
    background: radial-gradient(120% 140% at 15% 0%, var(--ink-2) 0%, var(--ink) 70%);
    color: #fff;
    padding-block: 18px;
}
.site-head-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.head-links { display: flex; gap: 4px; flex-wrap: wrap; margin-inline-start: auto; align-items: center; }
.head-links a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: .9rem;
    padding: 7px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.head-links a:hover { color: #fff; background: rgba(255,255,255,.12); }
.head-links a.is-current { color: var(--ink); background: var(--sky); font-weight: 600; }

.lang-switch {
    border: 1px solid rgba(255,255,255,.3) !important;
    font-weight: 600;
}

/* ---------- page body ---------- */

.page { padding-block: clamp(36px, 6vw, 64px); }

.page-title { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 700; }
.page-intro { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.updated { font-size: .85rem; color: var(--muted); margin-top: 10px; }

.policy section { margin-top: 36px; }
.policy h2 {
    font-size: 1.22rem;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 14px;
}
.policy p { margin: 0 0 12px; }
.policy ul { margin: 12px 0; padding-inline-start: 22px; }
.policy li { margin-bottom: 8px; }

.note {
    margin-top: 40px;
    padding: 18px 22px;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: .96rem;
}

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 18px;
    margin-top: 32px;
}
.card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.card p { margin: 0 0 8px; font-size: .96rem; }
.card .big {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--teal-deep);
    word-break: break-word;
    /* An email or phone stays LTR even inside an Arabic page. */
    unicode-bidi: plaintext;
}
.card address { font-style: normal; color: var(--muted); unicode-bidi: plaintext; }

.reg-list { list-style: none; margin: 0; padding: 0; }
.reg-list li { display: flex; gap: 10px; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.reg-list li:last-child { border-bottom: 0; }
.reg-list span:last-child { font-weight: 600; unicode-bidi: plaintext; }

/* ---------- pricing ---------- */

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
    margin-top: 34px;
}
.plan {
    position: relative;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.plan.is-featured {
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
}
.plan .badge {
    position: absolute;
    top: -12px;
    inset-inline-start: 26px;
    background: var(--teal);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.plan h2 { font-size: 1.3rem; font-weight: 700; }
.plan .tagline { color: var(--muted); font-size: .95rem; margin-top: 8px; min-height: 3em; }
.plan .price {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--ink);
    margin-top: 18px;
    unicode-bidi: plaintext;
}
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan .vat { font-size: .8rem; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0 0; padding: 0; }
.plan li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .95rem; }
.plan li::before {
    content: '';
    flex: 0 0 auto;
    width: 18px; height: 18px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--mist);
    /* Tick drawn with a background image so no icon font is needed. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230294A9' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}
.plan .sku { margin-top: 18px; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

.table-wrap { overflow-x: auto; margin-top: 16px; }
table.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.specs th, table.specs td { text-align: start; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs th { width: 38%; font-weight: 600; color: var(--ink); background: var(--mist); }
table.specs caption {
    caption-side: top;
    text-align: start;
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding-bottom: 10px;
}

.acc-list { list-style: none; margin: 18px 0 0; padding: 0; }
.acc-list li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .97rem;
}
.acc-list li strong { font-weight: 600; unicode-bidi: plaintext; }

/* ---------- footer ---------- */

.site-foot {
    margin-top: clamp(48px, 8vw, 80px);
    background: var(--ink);
    color: rgba(232,246,248,.6);
    padding-block: 40px 28px;
    font-size: .92rem;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 22px; }
.foot-links a { color: rgba(232,246,248,.78); text-decoration: none; }
.foot-links a:hover { color: var(--sky); }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: .85rem; color: rgba(232,246,248,.45); }
.foot-legal p { margin: 0 0 6px; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- single-product layout ---------- */

/* One card in an auto-fit grid stretches to full width and reads as a mistake.
   Cap and centre it instead. */
.price-grid.is-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.price-grid.is-single .plan ul { columns: 2; column-gap: 26px; }
@media (max-width: 560px) { .price-grid.is-single .plan ul { columns: 1; } }

/* ---------- suppliers ---------- */

.wholesale {
    margin-top: 56px;
    padding: clamp(26px, 4vw, 40px);
    border-radius: 22px;
    background: linear-gradient(150deg, var(--mist) 0%, #F6FCFD 100%);
    border: 1px solid var(--line);
}
.wholesale h2 { font-size: 1.5rem; font-weight: 700; }
.wholesale-intro { color: var(--muted); margin-top: 10px; }
.wholesale-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.wholesale-points li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; }
.wholesale-points li::before {
    content: '';
    flex: 0 0 auto;
    width: 20px; height: 20px;
    margin-top: 3px;
    border-radius: 50%;
    background: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230294A9' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}
.wholesale-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.wholesale-cta h3 { font-size: 1.12rem; font-weight: 700; }
.wholesale-cta p { color: var(--muted); margin: 8px 0 18px; font-size: .96rem; }
.wholesale-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal-lift), var(--teal-deep));
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 26px -12px rgba(2, 148, 169, .8);
}
.wholesale-button:hover { box-shadow: 0 18px 34px -14px rgba(2, 148, 169, .95); }
.wholesale-email { margin-top: 12px; font-size: .9rem; color: var(--muted); }
