/* ============================================================
   Print Shop Child — Main CSS (RTL, Hebrew)
   ============================================================ */
:root {
  --ps-bg:      #FFFFFF;
  --ps-paper:   #F3F7FC;
  --ps-ink:     #0D1B2A;
  --ps-ink2:    #2A3B50;
  --ps-muted:   #6B7C93;
  --ps-line:    #D8E3EE;
  --ps-accent:  #1B4FD8;
  --ps-accent2: #0A3399;
  --ps-sky:     #5AAEFF;
  --ps-sans: 'Heebo', -apple-system, sans-serif;
  --ps-r: 6px;
}

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;700;900&display=swap');

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

html, body {
  direction: rtl;
  font-family: var(--ps-sans);
  background: var(--ps-bg);
  color: var(--ps-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ── Utilities ── */
.ps-eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ps-accent); font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.ps-eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--ps-accent); }

.ps-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; width: 100%; }
.ps-section { padding: 90px 0; }
.ps-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; gap: 40px; }
.ps-section-head h2 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin-top: 8px; }
.ps-section-head p { max-width: 360px; color: var(--ps-ink2); line-height: 1.65; font-size: 16px; }

.ps-arrow { display: inline-block; transform: scaleX(-1); }
.ps-required { color: var(--ps-accent); }
.ps-link-btn { background: none; border: none; color: var(--ps-accent); cursor: pointer; font-family: inherit; font-size: inherit; text-decoration: underline; padding: 0; }

/* ── Buttons ── */
.ps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 99px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  border: 1.5px solid var(--ps-ink); background: var(--ps-ink); color: #fff;
  cursor: pointer; transition: background .15s, border-color .15s, transform .1s;
  font-family: var(--ps-sans);
}
.ps-btn:hover { background: var(--ps-accent); border-color: var(--ps-accent); }
.ps-btn:active { transform: scale(.98); }
.ps-btn-accent { background: var(--ps-accent); border-color: var(--ps-accent); }
.ps-btn-accent:hover { background: var(--ps-accent2); border-color: var(--ps-accent2); }
.ps-btn-ghost { background: transparent; color: var(--ps-ink); }
.ps-btn-ghost:hover { background: var(--ps-ink); color: #fff; }
.ps-btn-lg { padding: 16px 32px; font-size: 15px; }
.ps-btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ── NAV ── */
.ps-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--ps-line);
}
.ps-nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.ps-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 21px; font-weight: 700; letter-spacing: -.02em;
  color: var(--ps-ink);
}
.ps-brand-icon {
  width: 34px; height: 34px; background: var(--ps-accent);
  position: relative; flex-shrink: 0;
}
.ps-brand-icon::after { content: ''; position: absolute; inset: 6px; border: 1.5px solid #fff; }
.ps-nav-links { display: flex; gap: 2px; }
.ps-nav-link { padding: 8px 15px; font-size: 14px; font-weight: 500; color: var(--ps-ink2); border-radius: 99px; transition: background .15s; }
.ps-nav-link:hover { background: var(--ps-paper); }
.ps-nav-cta { display: flex; align-items: center; gap: 10px; }
.ps-cart-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; font-size: 13px;
  border: 1px solid var(--ps-line); border-radius: 99px;
  background: var(--ps-paper); color: var(--ps-ink);
  transition: border-color .15s;
}
.ps-cart-pill:hover { border-color: var(--ps-accent); }
.ps-cart-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ps-accent); color: #fff;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}

/* ── Band ── */
.ps-band {
  background: var(--ps-accent); color: #fff; padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid var(--ps-accent2);
  border-bottom: 1px solid var(--ps-accent2);
}
.ps-band-track {
  display: flex; gap: 52px; white-space: nowrap;
  animation: pcScroll 30s linear infinite;
  font-size: 18px; font-weight: 600;
}
.ps-band-item { display: inline-flex; align-items: center; gap: 16px; }
.ps-band-dot { color: var(--ps-sky); }
@keyframes pcScroll { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ── Process ── */
.ps-process { background: var(--ps-ink); color: #fff; position: relative; overflow: hidden; }
.ps-process::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,216,.3) 0%, transparent 65%);
}
.ps-process-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.ps-process-copy h2 { font-size: clamp(30px,4vw,52px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 20px; }
.ps-process-copy p { color: rgba(255,255,255,.7); line-height: 1.65; margin-bottom: 32px; font-size: 16px; }
.ps-steps { list-style: none; display: flex; flex-direction: column; }
.ps-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.1); align-items: start; }
.ps-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.ps-step-n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ps-sky); padding-top: 4px; }
.ps-steps h4 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.ps-steps p { color: rgba(255,255,255,.68); font-size: 14.5px; line-height: 1.6; }

/* ── Upload CTA ── */
.ps-upload-cta { background: var(--ps-accent); color: #fff; position: relative; overflow: hidden; }
.ps-upload-cta::before { content: ''; position: absolute; top: -50%; right: -8%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.06); }
.ps-upload-cta::after { content: ''; position: absolute; bottom: -40%; left: -5%; width: 400px; height: 400px; border-radius: 50%; background: rgba(13,27,42,.2); }
.ps-upload-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.ps-upload-cta-inner h2 { font-size: clamp(28px,4vw,50px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.ps-upload-cta-inner p { color: rgba(255,255,255,.8); margin-top: 12px; font-size: 16px; line-height: 1.6; max-width: 500px; }
.ps-upload-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ps-process-inner { grid-template-columns: 1fr; gap: 48px; }
  .ps-upload-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .ps-nav-links { display: none; }
  .ps-container { padding: 0 20px; }
  .ps-section-head { flex-direction: column; align-items: flex-start; }
  .ps-section { padding: 60px 0; }
}

/* ══ FOOTER ══════════════════════════════════════════════ */
.ps-footer {
    background: var(--ps-ink);
    color: rgba(255,255,255,.6);
    font-size: 14px;
    margin-top: auto;
}
.ps-footer-top { padding: 64px 0 48px; }
.ps-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}
/* Brand col */
.ps-footer-brand .ps-brand { color: #fff; margin-bottom: 14px; display: inline-flex; }
.ps-footer-brand p {
    color: rgba(255,255,255,.5);
    font-size: 13.5px;
    line-height: 1.65;
    max-width: 260px;
    margin-bottom: 8px;
}
.ps-footer-address { font-size: 13px; }
.ps-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.ps-footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: grid; place-items: center;
    color: rgba(255,255,255,.7);
    transition: background .15s, color .15s;
}
.ps-footer-social a:hover {
    background: var(--ps-accent);
    border-color: var(--ps-accent);
    color: #fff;
}
/* Cols */
.ps-footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.ps-footer-col ul,
.ps-footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0; margin: 0;
}
.ps-footer-col ul li a,
.ps-footer-nav li a {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    transition: color .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ps-footer-col ul li a:hover,
.ps-footer-nav li a:hover { color: #fff; }
.ps-footer-contact-list li { line-height: 1; }
/* Bottom bar */
.ps-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
}
.ps-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,.3);
    flex-wrap: wrap;
    gap: 8px;
}
.ps-footer-bottom a {
    color: rgba(255,255,255,.5);
    transition: color .15s;
}
.ps-footer-bottom a:hover { color: #fff; }

@media (max-width: 1024px) {
    .ps-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .ps-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .ps-footer-top { padding: 40px 0 32px; }
    .ps-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}


/* ══ WORKS SLIDER ════════════════════════════════════════ */
.ps-works-section { background: var(--ps-paper); }

.ps-works-slider-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 48px;
}
.ps-works-slider {
    display: flex;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.ps-work-slide {
    min-width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.ps-work-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--ps-line);
}
.ps-work-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s;
}
.ps-work-slide:hover .ps-work-img-wrap img { transform: scale(1.04); }
.ps-work-caption {
    padding: 10px 4px 0;
    display: flex; flex-direction: column; gap: 2px;
}
.ps-work-caption strong { font-size: 14px; font-weight: 600; color: var(--ps-ink); }
.ps-work-caption span   { font-size: 13px; color: var(--ps-muted); }

/* Arrows */
.ps-works-arrow {
    position: absolute; top: 40%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--ps-line);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--ps-ink); z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: background .15s, border-color .15s;
}
.ps-works-arrow:hover { background: var(--ps-ink); color: #fff; border-color: var(--ps-ink); }
.ps-works-prev { right: 0; }
.ps-works-next { left: 0; }

/* Dots */
.ps-works-dots {
    display: flex; justify-content: center; gap: 7px;
    position: absolute; bottom: 14px; left: 0; right: 0;
}
.ps-works-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ps-line); border: none; cursor: pointer; padding: 0;
    transition: background .2s, transform .2s;
}
.ps-works-dot.active { background: var(--ps-accent); transform: scale(1.35); }

/* Related works on product page */
.ps-related-works {
    margin-top: 48px; padding-top: 36px;
    border-top: 1px solid var(--ps-line);
}
.ps-related-works h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.ps-related-works-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
}
.ps-related-work-item { display: flex; flex-direction: column; gap: 8px; }
.ps-related-work-item img {
    width: 100%; border-radius: 6px;
    aspect-ratio: 4/3; object-fit: cover; display: block;
}
.ps-related-work-caption strong { font-size: 13px; font-weight: 600; display: block; }
.ps-related-work-caption span   { font-size: 12px; color: var(--ps-muted); }

@media (max-width: 1024px) { .ps-work-slide { min-width: 50%; } }
@media (max-width: 640px)  {
    .ps-work-slide { min-width: 85%; }
    .ps-related-works-grid { grid-template-columns: repeat(2,1fr); }
}

/* ══ MATERIALS SECTION (homepage) ════════════════════════ */
.ps-materials-section { background: var(--ps-bg); }
.ps-materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ps-material-card {
    padding: 28px 24px;
    border: 1.5px solid var(--ps-line);
    border-radius: 10px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.ps-material-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: var(--ps-accent);
    transform: scaleX(0);
    transition: transform .25s;
    transform-origin: right;
}
.ps-material-card:hover {
    border-color: var(--ps-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -8px rgba(27,79,216,.15);
}
.ps-material-card:hover::before { transform: scaleX(1); }
.ps-material-card-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
}
.ps-material-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ps-ink);
}
.ps-material-card-short {
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-accent);
    margin-bottom: 10px;
}
.ps-material-card-desc {
    font-size: 14px;
    color: var(--ps-muted);
    line-height: 1.65;
}

/* ══ MATERIAL PICKER (product page) ══════════════════════ */
.ps-mat-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}
.ps-mat-icon { font-size: 18px; flex-shrink: 0; }
.ps-mat-name { font-size: 14px; font-weight: 600; color: var(--ps-ink); flex: 1; text-align: right; }
.ps-mat-price { font-size: 12px; color: var(--ps-muted); white-space: nowrap; }
.ps-mat-short { font-size: 11.5px; color: var(--ps-muted); display: block; text-align: right; }
.ps-material-btn.selected .ps-mat-short { color: var(--ps-accent); }

/* Info box */
.ps-mat-info-box {
    margin-top: 12px;
    padding: 14px 16px;
    background: var(--ps-paper);
    border: 1px solid var(--ps-line);
    border-right: 3px solid var(--ps-accent);
    border-radius: 0 6px 6px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ps-mat-info-icon { font-size: 24px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.ps-mat-info-box strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 4px; color: var(--ps-ink); }
.ps-mat-info-box p { font-size: 13px; color: var(--ps-ink2); line-height: 1.6; margin: 0; }

@media (max-width: 1024px) { .ps-materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ps-materials-grid { grid-template-columns: 1fr; } }
