/* PrestaShopRAM ARCH-02 / Light Emerald-Matrix */
:root {
  --psh-bg: #f4f9f7;
  --psh-surface: #ffffff;
  --psh-surface-alt: #e6f2ed;
  --psh-ink: #0d1f19;
  --psh-muted: #3d544b;
  --psh-accent: #047857;
  --psh-accent-hover: #065f46;
  --psh-accent-soft: #d1fae5;
  --psh-border: #c2d8ce;
  --psh-ok: #047857;
  --psh-warn: #b45309;
  --psh-danger: #b91c1c;
  --psh-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --psh-mono: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--psh-bg); color: var(--psh-ink);
  font-family: var(--psh-sans); font-size: 16px; line-height: 1.65;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
a { color: var(--psh-accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--psh-accent-hover); }
img, svg { max-width: 100%; height: auto; display: block; }
.psh-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--psh-accent); color: #ffffff;
  padding: 0.55rem 1rem; font-weight: 700; z-index: 100;
}
.psh-skip:focus { left: 0.75rem; top: 0.75rem; }
.psh-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.psh-masthead { border-bottom: 1px solid var(--psh-border); background: var(--psh-surface); }
.psh-masthead-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.75rem 1.25rem; padding: 0.85rem 0;
}
.psh-brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--psh-ink); font-weight: 800; font-size: 1.12rem;
}
.psh-monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.15rem; height: 2.15rem; border-radius: 7px;
  background: var(--psh-accent-soft); border: 1.5px solid var(--psh-accent);
  color: var(--psh-accent); font-family: var(--psh-mono); font-size: 0.88rem; font-weight: 800;
}
.psh-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 1rem; }
.psh-nav a { color: var(--psh-muted); text-decoration: none; font-size: 0.92rem; font-weight: 600; padding: 0.25rem 0.45rem; border-radius: 6px; }
.psh-nav a[aria-current="page"], .psh-nav a:hover { color: var(--psh-accent-hover); background: var(--psh-accent-soft); }
.psh-disclosure-bar {
  border-top: 1px solid var(--psh-border); background: var(--psh-surface-alt);
  padding: 0.45rem 1.25rem; font-size: 0.82rem; color: var(--psh-muted); text-align: center;
}
.psh-main { padding: 1.75rem 0 5.5rem; }
.psh-breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  font-size: 0.84rem; color: var(--psh-muted); margin-bottom: 1rem;
}
.psh-hero { padding-bottom: 1.25rem; border-bottom: 1px solid var(--psh-border); margin-bottom: 1.4rem; }
.psh-hero-matrix {
  display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(275px, 0.82fr);
  gap: 1.25rem 1.75rem; align-items: start;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--psh-border); margin-bottom: 1.5rem;
}
@media (max-width: 840px) { .psh-hero-matrix { grid-template-columns: 1fr; } }
.psh-hero-rail {
  background: var(--psh-surface); border: 1px solid var(--psh-border);
  border-top: 3px solid var(--psh-accent); border-radius: 10px; padding: 1rem 1.15rem;
}
.psh-hero-rail h2 { margin: 0 0 0.65rem; font-size: 0.95rem; border: 0; padding: 0; color: var(--psh-accent); font-family: var(--psh-mono); text-transform: uppercase; }
.psh-spec-list { list-style: none; padding: 0; margin: 0; font-size: 0.86rem; }
.psh-spec-list li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.34rem 0; border-bottom: 1px dashed var(--psh-border); }
.psh-spec-list li:last-child { border-bottom: 0; }
.psh-spec-list strong { color: var(--psh-ink); font-family: var(--psh-mono); font-size: 0.82rem; }
.psh-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem;
  font-family: var(--psh-mono); font-size: 0.78rem; color: var(--psh-accent);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem;
}
.psh-eyebrow time {
  color: var(--psh-muted); padding: 0.1rem 0.55rem;
  border: 1px solid var(--psh-border); border-radius: 999px; background: var(--psh-surface);
}
h1 { font-size: clamp(1.68rem, 3.2vw, 2.32rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--psh-ink); }
h2 {
  font-size: clamp(1.22rem, 2.2vw, 1.54rem); line-height: 1.26;
  margin: 1.85rem 0 0.8rem; color: var(--psh-ink);
  border-left: 3px solid var(--psh-accent); padding-left: 0.75rem;
}
h3 { font-size: 1.08rem; line-height: 1.35; margin: 1.1rem 0 0.4rem; color: var(--psh-ink); }
.psh-lead { font-size: 1.03rem; color: var(--psh-ink); margin: 0 0 0.75rem; }
.psh-muted { color: var(--psh-muted); }
.psh-mono { font-family: var(--psh-mono); }

.psh-calc-panel {
  margin: 1.25rem 0 2rem; background: var(--psh-surface);
  border: 1.5px solid var(--psh-accent); border-radius: 12px; padding: 1.35rem;
}
.psh-calc-panel h2 { margin-top: 0; }
.psh-preset-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0.9rem 0 1.1rem; }
.psh-preset-btn, .psh-copy-btn {
  background: var(--psh-surface-alt); color: var(--psh-ink);
  border: 1px solid var(--psh-border); border-radius: 7px;
  padding: 0.45rem 0.85rem; font-family: var(--psh-sans);
  font-size: 0.84rem; font-weight: 600; cursor: pointer;
}
.psh-preset-btn[aria-pressed="true"], .psh-preset-btn:hover, .psh-copy-btn:hover {
  background: var(--psh-accent-soft); border-color: var(--psh-accent); color: var(--psh-accent-hover);
}
.psh-controls-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0.9rem 1.15rem; margin-bottom: 1.2rem;
}
.psh-field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--psh-ink); margin-bottom: 0.3rem; }
.psh-field input, .psh-field select {
  width: 100%; background: var(--psh-bg); color: var(--psh-ink);
  border: 1px solid var(--psh-border); border-radius: 7px;
  padding: 0.48rem 0.65rem; font-family: var(--psh-mono); font-size: 0.9rem;
}
.psh-stack-panel {
  background: var(--psh-bg); border: 1px solid var(--psh-border);
  border-radius: 10px; padding: 0.95rem 1rem; margin-bottom: 1.15rem;
}
.psh-stack-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.55rem; font-size: 0.9rem; }
.psh-stack-bar {
  display: flex; width: 100%; height: 20px; border-radius: 6px;
  overflow: hidden; background: var(--psh-surface); border: 1px solid var(--psh-border);
}
.psh-seg { height: 100%; transition: width 0.2s ease; }
.psh-seg-php { background: #047857; }
.psh-seg-innodb { background: #0f766e; }
.psh-seg-cache { background: #b45309; }
.psh-seg-os { background: #1e293b; }
.psh-seg-free { background: #e6f2ed; }
.psh-stack-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 0.6rem; font-size: 0.82rem; color: var(--psh-muted); }
.psh-leg-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.psh-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.psh-kpi-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.85rem; margin: 1rem 0 1.2rem;
}
.psh-kpi-card {
  background: var(--psh-surface-alt); border: 1px solid var(--psh-border);
  border-radius: 9px; padding: 0.85rem 1rem;
}
.psh-kpi-card dt { font-size: 0.75rem; color: var(--psh-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; }
.psh-kpi-card dd { margin: 0; font-family: var(--psh-mono); font-size: 1.02rem; font-weight: 800; color: var(--psh-accent-hover); }

.psh-config-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin: 1.1rem 0; }
.psh-config-box {
  background: var(--psh-bg); border: 1px solid var(--psh-border);
  border-radius: 10px; padding: 0.9rem 1rem;
}
.psh-config-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.45rem; margin-bottom: 0.6rem; }
.psh-config-head strong { font-family: var(--psh-mono); font-size: 0.82rem; color: var(--psh-accent-hover); }
.psh-config-actions { display: inline-flex; gap: 0.4rem; }
pre {
  background: #0d1f19; border: 1px solid var(--psh-border); border-radius: 8px;
  padding: 0.85rem; overflow-x: auto; font-family: var(--psh-mono);
  font-size: 0.8rem; color: #d1fae5; line-height: 1.48; margin: 0;
}
code { font-family: var(--psh-mono); font-size: 0.9em; color: var(--psh-accent-hover); }
pre code { color: #d1fae5; }

.psh-tco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1rem; margin: 1.15rem 0; }
.psh-tco-card {
  background: var(--psh-surface); border: 1px solid var(--psh-border);
  border-top: 3px solid var(--psh-accent); border-radius: 10px; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 0.6rem;
}
.psh-tco-price { font-family: var(--psh-mono); font-size: 1.25rem; font-weight: 800; color: var(--psh-ink); }
.psh-tco-meta { font-size: 0.84rem; color: var(--psh-muted); margin: 0; }

.psh-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.15rem; }
.psh-btn-primary, .psh-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.1rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none;
}
.psh-btn-primary { background: var(--psh-accent); color: #ffffff; border: 1px solid var(--psh-accent); }
.psh-btn-primary:hover { background: var(--psh-accent-hover); color: #ffffff; }
.psh-btn-secondary { background: var(--psh-accent-soft); color: var(--psh-accent-hover); border: 1px solid var(--psh-accent); }
.psh-btn-secondary:hover { background: var(--psh-accent); color: #ffffff; }

.psh-table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--psh-border); border-radius: 10px; }
.psh-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--psh-surface); }
.psh-table th, .psh-table td { padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--psh-border); text-align: left; vertical-align: top; }
.psh-table th { background: var(--psh-surface-alt); color: var(--psh-accent-hover); font-family: var(--psh-mono); font-size: 0.79rem; text-transform: uppercase; }

.psh-diagram { margin: 1.35rem 0; background: var(--psh-surface); border: 1px solid var(--psh-border); border-radius: 10px; padding: 0.9rem; }
.psh-diagram figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--psh-muted); }
.psh-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1.1rem 0; }
.psh-card { background: var(--psh-surface); border: 1px solid var(--psh-border); border-radius: 10px; padding: 1.05rem 1.15rem; }
.psh-card h3 { margin-top: 0; }
.psh-badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px;
  background: var(--psh-accent-soft); color: var(--psh-accent-hover);
  font-family: var(--psh-mono); font-size: 0.74rem; font-weight: 700;
}
.psh-note-box {
  background: var(--psh-surface-alt); border: 1px solid var(--psh-border);
  border-left: 3px solid var(--psh-accent); border-radius: 8px; padding: 1rem 1.15rem; margin: 1.25rem 0;
}

.psh-footer { border-top: 1px solid var(--psh-border); background: var(--psh-surface); padding: 2rem 0 5rem; font-size: 0.88rem; color: var(--psh-muted); }
.psh-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.psh-footer-links { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.psh-footer-links li { margin-bottom: 0.38rem; }
.psh-footer-links a { color: var(--psh-muted); text-decoration: none; }
.psh-footer-links a:hover { color: var(--psh-accent); }

.mob-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.65rem 1.15rem; background: var(--psh-surface);
  border-top: 1.5px solid var(--psh-accent);
}
.mob-sticky-text { font-size: 0.85rem; font-weight: 600; color: var(--psh-ink); }
.mob-sticky-cta {
  background: var(--psh-accent); color: #ffffff; text-decoration: none;
  padding: 0.45rem 0.9rem; border-radius: 7px; font-weight: 700; font-size: 0.84rem; white-space: nowrap;
}
@media (min-width: 820px) { .mob-sticky { padding: 0.62rem 2rem; } .psh-footer { padding-bottom: 5.2rem; } }
.psh-w-0{width:0%;}.psh-w-1{width:1%;}.psh-w-2{width:2%;}.psh-w-3{width:3%;}.psh-w-4{width:4%;}.psh-w-5{width:5%;}.psh-w-6{width:6%;}.psh-w-7{width:7%;}.psh-w-8{width:8%;}.psh-w-9{width:9%;}.psh-w-10{width:10%;}.psh-w-11{width:11%;}.psh-w-12{width:12%;}.psh-w-13{width:13%;}.psh-w-14{width:14%;}.psh-w-15{width:15%;}.psh-w-16{width:16%;}.psh-w-17{width:17%;}.psh-w-18{width:18%;}.psh-w-19{width:19%;}.psh-w-20{width:20%;}.psh-w-21{width:21%;}.psh-w-22{width:22%;}.psh-w-23{width:23%;}.psh-w-24{width:24%;}.psh-w-25{width:25%;}.psh-w-26{width:26%;}.psh-w-27{width:27%;}.psh-w-28{width:28%;}.psh-w-29{width:29%;}.psh-w-30{width:30%;}.psh-w-31{width:31%;}.psh-w-32{width:32%;}.psh-w-33{width:33%;}.psh-w-34{width:34%;}.psh-w-35{width:35%;}.psh-w-36{width:36%;}.psh-w-37{width:37%;}.psh-w-38{width:38%;}.psh-w-39{width:39%;}.psh-w-40{width:40%;}.psh-w-41{width:41%;}.psh-w-42{width:42%;}.psh-w-43{width:43%;}.psh-w-44{width:44%;}.psh-w-45{width:45%;}.psh-w-46{width:46%;}.psh-w-47{width:47%;}.psh-w-48{width:48%;}.psh-w-49{width:49%;}.psh-w-50{width:50%;}.psh-w-51{width:51%;}.psh-w-52{width:52%;}.psh-w-53{width:53%;}.psh-w-54{width:54%;}.psh-w-55{width:55%;}.psh-w-56{width:56%;}.psh-w-57{width:57%;}.psh-w-58{width:58%;}.psh-w-59{width:59%;}.psh-w-60{width:60%;}.psh-w-61{width:61%;}.psh-w-62{width:62%;}.psh-w-63{width:63%;}.psh-w-64{width:64%;}.psh-w-65{width:65%;}.psh-w-66{width:66%;}.psh-w-67{width:67%;}.psh-w-68{width:68%;}.psh-w-69{width:69%;}.psh-w-70{width:70%;}.psh-w-71{width:71%;}.psh-w-72{width:72%;}.psh-w-73{width:73%;}.psh-w-74{width:74%;}.psh-w-75{width:75%;}.psh-w-76{width:76%;}.psh-w-77{width:77%;}.psh-w-78{width:78%;}.psh-w-79{width:79%;}.psh-w-80{width:80%;}.psh-w-81{width:81%;}.psh-w-82{width:82%;}.psh-w-83{width:83%;}.psh-w-84{width:84%;}.psh-w-85{width:85%;}.psh-w-86{width:86%;}.psh-w-87{width:87%;}.psh-w-88{width:88%;}.psh-w-89{width:89%;}.psh-w-90{width:90%;}.psh-w-91{width:91%;}.psh-w-92{width:92%;}.psh-w-93{width:93%;}.psh-w-94{width:94%;}.psh-w-95{width:95%;}.psh-w-96{width:96%;}.psh-w-97{width:97%;}.psh-w-98{width:98%;}.psh-w-99{width:99%;}.psh-w-100{width:100%;}
.mob-sticky-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.mob-sticky-alt { padding: 0.42rem 0.78rem; border-radius: 7px; font-weight: 700; font-size: 0.81rem; text-decoration: none; border: 1px solid currentColor; white-space: nowrap; opacity: 0.92; }
