/* ΑΡΖΙΝΟΣ child: στυλ για τις λειτουργίες του child (φόρμες, σύγκριση, PDF link). Χρώματα και fonts από τα tokens του θέματος. */

/* ---------- κοινά ---------- */
.arz-opt { font: inherit; text-transform: none; letter-spacing: 0; color: var(--steel); opacity: .8; }
.arz-note { font-size: .86rem; color: var(--steel); margin: 0; padding: 10px 14px; border-left: 3px solid var(--yolk); background: color-mix(in srgb, var(--yolk) 8%, transparent); }

/* ---------- σελίδα προϊόντος: δύο ισόπλατα κουμπιά ---------- */
.pdp__ctas { grid-template-columns: 1fr 1fr; }
.pdp__ctas .btn { white-space: normal; text-align: center; line-height: 1.2; }
@media (max-width: 480px) { .pdp__ctas { grid-template-columns: 1fr; } }

/* ---------- σύγκριση: κουμπιά ---------- */
.arz-cmp-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.arz-cmp-btn svg { width: 20px; height: 20px; flex: none; }
.arz-cmp-btn--pdp { font-size: .92rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.arz-cmp-btn--pdp:hover { background-size: 100% 1px; }
.arz-cmp-btn.is-on { color: var(--green); }
.arz-cmp-btn--card { position: relative; z-index: 2; justify-self: start; font: 500 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); padding: 6px 10px 6px 8px; border: 1px solid var(--rule); border-radius: 999px; transition: color .25s, border-color .25s, background-color .25s; }
.arz-cmp-btn--card svg { width: 14px; height: 14px; }
.arz-cmp-btn--card:hover { color: var(--ink); border-color: var(--ink); }
.arz-cmp-btn--card.is-on { color: #fff; background: var(--green); border-color: var(--green); }
@media (max-width: 760px) { .arz-cmp-btn--card { font-size: .6rem; padding: 5px 8px 5px 6px; } }

/* ---------- σύγκριση: μπάρα ---------- */
.arz-cmpbar { position: fixed; z-index: 44; left: max(20px, env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; background: var(--forest); color: var(--on-forest); border-radius: 999px; box-shadow: 0 18px 40px -18px rgba(17, 26, 21, .6); transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s; }
.arz-cmpbar.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s; }
.arz-cmpbar__items { display: flex; gap: 6px; }
.arz-cmpbar__item { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--plate); display: grid; place-items: center; overflow: visible; }
.arz-cmpbar__item img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; mix-blend-mode: multiply; padding: 4px; }
.arz-cmpbar__item b { color: var(--ink); font: 800 1.1rem/1 var(--f-display); }
.arz-cmpbar__item.is-empty { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(232, 239, 231, .25); }
.arz-cmpbar__item button { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 3px; background: var(--ink); color: var(--inox); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.arz-cmpbar__item:hover button, .arz-cmpbar__item button:focus-visible { opacity: 1; }
@media (hover: none) { .arz-cmpbar__item button { opacity: 1; } }
.arz-cmpbar__item button svg { width: 12px; height: 12px; }
.arz-cmpbar .btn small { font: 500 .66rem var(--f-mono); opacity: .75; margin-left: 2px; }
.arz-cmpbar .btn[aria-disabled="true"] { opacity: .55; }
.arz-cmpbar__clear { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--on-forest-dim); cursor: pointer; display: grid; place-items: center; }
.arz-cmpbar__clear:hover { color: var(--on-forest); background: rgba(232, 239, 231, .1); }
.arz-cmpbar__clear svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
	.arz-cmpbar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); border-radius: 18px; justify-content: space-between; }
	.arz-cmpbar__item { width: 38px; height: 38px; }
	body.has-cmpbar .arz-top { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
body:has(.drawer.is-open) .arz-cmpbar, body:has(.qpanel.is-open) .arz-cmpbar, body:has(.search.is-open) .arz-cmpbar { opacity: 0; visibility: hidden; }

/* ---------- σύγκριση: σελίδα ---------- */
.arz-cmp { display: grid; gap: 18px; }
.arz-cmp__head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.arz-cmp__count { margin: 0; margin-right: auto; font: 500 .78rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.arz-cmp__diff { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; }
.arz-cmp__diff input { width: 18px; height: 18px; accent-color: var(--green); }
.arz-cmp.is-empty .arz-cmp__diff, .arz-cmp.is-empty [data-cmp-clear] { display: none; }
.arz-cmp [data-cmp-clear] { background: none; border: 0; cursor: pointer; font-size: .92rem; color: inherit; padding: 0 0 2px; }
.arz-cmp__msg, .arz-cmp__empty p { color: var(--steel); }
.arz-cmp__empty { display: grid; gap: 14px; justify-items: start; padding: 24px 0; }
.arz-cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.arz-cmp__table { width: 100%; min-width: calc(180px + var(--cols, 2) * 220px); border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.arz-cmp__table th, .arz-cmp__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.arz-cmp__table thead th { border-bottom: 0; padding-bottom: 20px; }
.arz-cmp__table th:first-child { position: sticky; left: 0; z-index: 1; width: 180px; background: var(--inox); }
.arz-cmp__table tbody th { font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.arz-cmp__table tbody td { font-size: .95rem; }
.arz-cmp__table tbody tr:nth-child(odd) td, .arz-cmp__table tbody tr:nth-child(odd) th { background: var(--plate); }
.arz-cmp__table tbody tr.is-diff td { font-weight: 500; }
.arz-cmp.only-diff tr.is-same { display: none; }
.arz-cmp__corner { vertical-align: bottom !important; }
.arz-cmp__card { position: relative; display: grid; gap: 6px; align-content: start; }
.arz-cmp__plate { display: grid; place-items: center; aspect-ratio: 1; background: var(--lightbox, var(--plate)); border-radius: var(--radius); overflow: hidden; margin-bottom: 6px; }
.arz-cmp__plate img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.arz-cmp__brand { font: 500 .64rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.arz-cmp__title { font-weight: 400; font-size: 1rem; line-height: 1.3; }
.arz-cmp__title:hover { color: var(--green); }
.arz-cmp__model { font: 500 .78rem/1.3 var(--f-mono); color: var(--green); }
.arz-cmp__sku { font: 400 .7rem var(--f-mono); color: var(--steel); letter-spacing: .04em; }
.arz-cmp__act { margin-top: 8px; }
.arz-cmp__act .btn { width: 100%; justify-content: center; }
.arz-cmp__rm { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--inox); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 0 var(--rule); }
.arz-cmp__rm:hover { background: var(--yolk); }
.arz-cmp__rm svg { width: 16px; height: 16px; }
.arz-cmp__na { color: var(--rule); }
@media (max-width: 760px) {
	.arz-cmp__table { min-width: calc(120px + var(--cols, 2) * 170px); }
	.arz-cmp__table th:first-child { width: 120px; }
	.arz-cmp__table th, .arz-cmp__table td { padding: 10px; }
}

/* ---------- Private Label φόρμα ---------- */
.arz-pl__form { gap: 0 20px; }
.arz-pl__sec { border: 0; margin: 0; padding: 0 0 34px; min-width: 0; }
.arz-pl__sec[hidden] { display: none; }
.arz-pl__h { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 0 0 12px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); font: 800 clamp(1.4rem, 2.4vw, 2rem)/1 var(--f-display); text-transform: uppercase; }
.arz-pl__h small { font: 500 .72rem var(--f-mono); letter-spacing: .08em; color: var(--green); }
.arz-pl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 14px; }
@media (max-width: 700px) { .arz-pl__grid { grid-template-columns: 1fr; } }
.arz-pl .field[data-req-radio].is-bad .seg span { border-color: #C2410C; }
.arz-pl .field > .label--plain { font: .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.arz-pl__drop { position: relative; display: block; cursor: pointer; border: 1.5px dashed var(--rule); border-radius: var(--radius); padding: 26px 20px; text-align: center; transition: border-color .25s, background-color .25s; }
.arz-pl__drop:hover, .arz-pl__drop.is-over { border-color: var(--green); background: color-mix(in srgb, var(--green) 6%, transparent); }
.arz-pl__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.arz-pl__drop-in { display: grid; gap: 6px; font-size: .98rem; }
.arz-pl__drop-in b { font-weight: 500; color: var(--green); }
.arz-pl__drop-in small { font: .72rem/1.5 var(--f-mono); letter-spacing: .03em; color: var(--steel); }
.arz-pl__files label { text-transform: none; letter-spacing: 0; font: inherit; color: inherit; }
.arz-pl__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.arz-pl__list li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--plate); border-radius: var(--radius); font-size: .9rem; }
.arz-pl__list li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arz-pl__list li small { font: .7rem var(--f-mono); color: var(--steel); }
.arz-pl__list li button { border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--steel); padding: 0 4px; }
.arz-pl__list li button:hover { color: #C2410C; }
.arz-pl .consent { margin: 6px 0 16px; }

/* ---------- mega menu Προϊόντων: πλήρες πλάτος, 6 στήλες, μικρότερο ύψος ---------- */
@media (min-width: 1241px) {
	.mega-menu .wrap.mega-menu__in {
		max-width: none;
		padding-left: clamp(24px, 5vw, 96px);
		padding-right: clamp(24px, 5vw, 96px);
		padding-block: 22px 26px;
		gap: 32px;
		grid-template-columns: minmax(0, 5fr) minmax(240px, 1fr);
	}
	.mega-fams {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 18px 22px;
	}
	.mega-fam h3 {
		font-size: 1.18rem;
		padding-bottom: 6px;
		margin-bottom: 6px;
	}
	.mega-fam li a {
		font-size: .82rem;
		padding: 2px 0;
	}
	.mega-side { gap: 8px; }
	.mega-col { padding: 8px; grid-template-columns: 44px 1fr; gap: 10px; }
	.mega-col img { width: 44px; height: 44px; }
	.mega-col b { font-size: 1.05rem; }

	/* Προαιρετικά: 4 υποκατηγορίες ανά οικογένεια αντί για 6 (ακόμα πιο κοντό).
	.mega-fam li:nth-child(n+5) { display: none; }
	*/
}
