/* PINK Storefront UX 1.0.0 — same pink, same logo; only spacing, hierarchy and readability. */
:root {
	--psux-a: var(--ppx-accent, #e0157f);
	--psux-a-dark: #b30f66;
	--psux-ink: #1b1830;
	--psux-muted: #6a6679;
	--psux-line: #ece8f1;
	--psux-soft: #fff1f8;
	--psux-radius: 16px;
	--psux-bar: 64px; /* height of the P!NK bottom navigation on phones */
}

/* ---------- Buttons ---------- */
.psux-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 999px;
	font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none !important;
	border: 2px solid var(--psux-a); transition: background .15s, color .15s, box-shadow .15s;
}
.psux-btn--primary { background: var(--psux-a); color: #fff !important; }
.psux-btn--primary:hover, .psux-btn--primary:focus-visible { background: var(--psux-a-dark); border-color: var(--psux-a-dark); }
.psux-btn--ghost { background: #fff; color: var(--psux-a) !important; }
.psux-btn--ghost:hover, .psux-btn--ghost:focus-visible { background: var(--psux-soft); }
.psux-btn:focus-visible, .psux-cat a:focus-visible, .psux-link:focus-visible { outline: 3px solid rgba(224, 21, 127, .35); outline-offset: 2px; }

/* ---------- Home intro ---------- */
.psux-intro { padding: 44px 0 12px; color: var(--psux-ink); }
.psux-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.psux-intro__head { max-width: 820px; margin: 0 auto 36px; text-align: center; }
.psux-eyebrow { margin: 0 0 10px; color: var(--psux-a); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.psux-intro .psux-h1 { margin: 0 0 14px; color: var(--psux-ink); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; text-transform: none; }
.psux-lead { margin: 0 auto 22px; max-width: 680px; color: var(--psux-muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; }
.psux-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.psux-block { margin: 0 0 40px; }
.psux-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.psux-intro .psux-h2 { margin: 0; color: var(--psux-ink); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; font-weight: 800; text-transform: none; letter-spacing: 0; }
.psux-prices .psux-h2 { margin-bottom: 16px; }
.psux-more { color: var(--psux-a); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.psux-more:hover { text-decoration: underline; }

.psux-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.psux-cat { margin: 0; }
.psux-cat a { display: flex; flex-direction: column; height: 100%; padding: 12px; border: 1px solid var(--psux-line); border-radius: var(--psux-radius); background: #fff; color: var(--psux-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.psux-cat a:hover { border-color: #f3a6cd; box-shadow: 0 14px 30px -20px rgba(27, 24, 48, .45); transform: translateY(-2px); }
.psux-cat__img { display: block; aspect-ratio: 4 / 3; margin: 0 0 12px; border-radius: 12px; background: var(--psux-soft); overflow: hidden; }
.psux-cat__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.psux-cat__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.psux-cat__count { margin-top: 2px; color: var(--psux-muted); font-size: 13px; }

.psux-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.psux-step { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 20px; border: 1px solid var(--psux-line); border-radius: var(--psux-radius); background: #fff; }
.psux-step--biz { background: linear-gradient(180deg, #fff, var(--psux-soft)); border-color: #f6c3dd; }
.psux-step p { margin: 0; color: var(--psux-ink); font-size: 15px; line-height: 1.55; flex: 1; }
.psux-step__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--psux-soft); color: var(--psux-a); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.psux-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--psux-a); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
	.psux-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.psux-intro { padding: 28px 0 4px; }
	.psux-wrap { padding: 0 16px; }
	.psux-intro__head { margin-bottom: 26px; text-align: left; }
	.psux-actions { justify-content: flex-start; }
	.psux-actions .psux-btn { flex: 0 1 auto; } /* not full width: the chat button floats at the right edge */
	.psux-block { margin-bottom: 30px; }
	/* Categories: one swipeable row instead of a long grid. */
	.psux-cats { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.psux-cats::-webkit-scrollbar { display: none; }
	.psux-cat { flex: 0 0 44%; scroll-snap-align: start; }
	.psux-cat__name { font-size: 15px; }
	.psux-steps { grid-template-columns: 1fr; gap: 10px; }
	.psux-step { padding: 14px 16px; gap: 4px; }
	.psux-step p { font-size: 14px; line-height: 1.5; }
	.psux-link { min-height: 40px; }
}

/* ---------- Account: two clear ways in ---------- */
.psux-auth .psux-auth__intro { margin: 0 0 16px; color: var(--psux-muted); }
.psux-auth__opt { margin: 0 0 14px; padding: 18px; border: 1px solid var(--psux-line); border-radius: var(--psux-radius); background: #fff; }
.psux-auth__opt--biz { background: linear-gradient(180deg, #fff, var(--psux-soft)); border-color: #f6c3dd; }
.psux-auth__opt h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: 18px; line-height: 1.3; color: var(--psux-ink); }
.psux-auth__opt h3 small { color: var(--psux-muted); font-size: 13px; font-weight: 600; }
.psux-auth__opt p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: var(--psux-ink); }
.psux-auth__opt .ppx-auth__list { margin: 0 0 10px; }
.psux-auth__opt .psux-btn { width: auto; }
.psux-auth__jump { margin: -4px 0 14px; font-size: 14px; color: var(--psux-muted); }
.psux-auth__jump a { color: var(--psux-a); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 768px) { .psux-auth__jump { display: none; } }

/* ---------- /b2b/ intro: two short lines instead of a business-only block ---------- */
.psux-reg { margin: 0 auto 16px; max-width: 1040px; }
.psux-reg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.psux-reg__item { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--psux-line); border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.5; color: var(--psux-ink); }
.psux-reg__item strong { color: var(--psux-a); font-size: 15px; }
.psux-reg .ppx-b2b__legend { margin: 10px 0 0; color: var(--psux-muted); font-size: 13px; }
@media (max-width: 600px) {
	.psux-reg__grid { grid-template-columns: 1fr; gap: 8px; }
	.psux-reg__item { padding: 10px 14px; font-size: 13.5px; }
}

/* ---------- Product page: who sees which price ---------- */
.psux-pricehelp { margin: 4px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--psux-soft); color: var(--psux-ink); font-size: 14px; line-height: 1.55; }
.psux-pricehelp p { margin: 0; }
.psux-pricehelp a { color: var(--psux-a); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Brand filter bar ---------- */
.psux-brandbar { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--psux-soft); color: var(--psux-ink); font-size: 14px; }
.psux-brandbar a { margin-left: 6px; color: var(--psux-a); font-weight: 700; }

/* ---------- reCAPTCHA notice next to forms ---------- */
.psux-recaptcha { margin: 8px 0 0; color: var(--psux-muted); font-size: 12px; line-height: 1.5; }
.psux-recaptcha a { color: inherit; text-decoration: underline; }

/* ---------- Phone menu: categories open at once, quick links below ---------- */
.psux-drawer-links { margin: 18px 0 8px; padding: 14px 0 0; border-top: 1px solid var(--psux-line); }
.psux-drawer-links ul { margin: 0; padding: 0; list-style: none; }
.psux-drawer-links a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--psux-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.psux-drawer-links a:hover { color: var(--psux-a); }
body.psux-m #mobile-drawer .pdsm-burger { display: none !important; }
body.psux-m #mobile-drawer .pdsm-bar { display: flex !important; flex-direction: column; }

/* ---------- Floating layers on phones and tablets (the bottom bar shows up to 1024px) ---------- */
@media (max-width: 1024px) {
	/* Cookie notice: a compact card above the bottom navigation instead of a third of the screen. */
	body.psux-m #cookie-popup .drawer-inner {
		left: 12px !important; right: 12px !important; top: auto !important;
		bottom: calc(var(--psux-bar) + 10px + env(safe-area-inset-bottom, 0px)) !important;
		width: auto !important; max-width: 560px !important; margin: 0 auto !important;
		padding: 12px 14px !important; border-radius: 14px !important;
		box-shadow: 0 18px 40px -18px rgba(27, 24, 48, .45) !important;
		z-index: 9996 !important;
	}
	body.psux-m #cookie-popup .drawer-content { display: flex !important; align-items: center; gap: 12px; padding: 0 !important; }
	body.psux-m #cookie-popup .popup-container { flex: 1 1 auto; min-width: 0; }
	body.psux-m #cookie-popup .popup-container p { margin: 0 !important; }
	body.psux-m #cookie-popup .popup-container p:empty { display: none !important; }
	body.psux-m #cookie-popup .popup-title { font-size: 12.5px !important; line-height: 1.45 !important; font-weight: 400 !important; }
	body.psux-m #cookie-popup .popup-title strong { display: block; margin-bottom: 2px; font-size: 13.5px; font-weight: 700; }
	body.psux-m #cookie-popup .popup-title br { display: none; }
	body.psux-m #cookie-popup .popup-toggle-close {
		position: static !important; flex: none; min-width: 84px; min-height: 44px !important;
		margin: 0 !important; padding: 0 16px !important; border-radius: 999px !important;
	}
	/* Chat stays out of the way while the cookie notice, the menu or the search are open. */
	body.psux-m.psux-hide-chat #pinkpro-chat { display: none !important; }
	/* reCAPTCHA badge covered the bottom navigation; the notice is shown next to each form instead. */
	body.psux-m .grecaptcha-badge { visibility: hidden !important; }
}
@media (prefers-reduced-motion: reduce) {
	.psux-cat a, .psux-btn { transition: none; }
}

/* ---------- Honest signals (module "Pa sinjale të pavërteta") ----------
   Hidden theme widgets: random "viewers now" counters, "sold in the last hours" / "in N carts",
   the "Zbritja Javore!" drawer (no product is on sale), payment icons for methods the shop does
   not list, and the second delivery box that repeats (and contradicts) the help centre. */
body.psux-honest :is(.check-incart-sold,.tmcore-sold-incart,.tmcore-live-viewing-visitors,.single-product-extras,.single-product-payments,#widget-drawer,[data-section="base_customizer_header_toggle_widget"]){display:none!important}

/* ---------- Category filters (module "Filtrat e kategorisë") ---------- */
body.psux-filters .base-woo-offcanvas-filter-area{display:none!important} /* the theme drawer is empty */
body.psux-filters .ppx-filters{display:none!important} /* its only control, "Vetëm në stok", is part of the new filter bar */
.psux-fbar{display:grid;gap:12px;margin:4px 0 22px;font-family:var(--pk-sans,inherit)}
.psux-subcats,.psux-frow,.psux-active,.psux-fgroup{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.psux-frow{gap:10px 18px}
.psux-flabel{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--pk-stone,#6A625C);margin-right:2px}
.psux-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1.5px solid var(--pk-line,#E7E0D9);background:#fff;color:var(--pk-ink-2,#2A2527)!important;font-size:14px;font-weight:600;text-decoration:none!important;white-space:nowrap}
.psux-chip span{color:var(--pk-stone,#6A625C);font-weight:500}
.psux-chip:hover{border-color:var(--pk-ink,#141113)}
.psux-chip.is-on{background:var(--pk-ink,#141113);border-color:var(--pk-ink,#141113);color:#fff!important}
.psux-chip.is-on span{color:#D9D0C9}
.psux-chip--stock{position:relative;padding-left:40px}
.psux-chip--stock::before{content:"";position:absolute;left:12px;width:20px;height:12px;border-radius:6px;background:var(--pk-line,#E7E0D9);box-shadow:inset 0 0 0 2px var(--pk-line,#E7E0D9)}
.psux-chip--stock.is-on::before{background:var(--pk-pink,#E0157F);box-shadow:inset 0 0 0 2px var(--pk-pink,#E0157F)}
.psux-clear{font-size:14px;font-weight:700;color:var(--pk-ink,#141113)!important;text-decoration:underline;text-underline-offset:3px}
.psux-fopen{display:none}
.psux-empty{margin:12px 0 28px;padding:22px;border:1.5px dashed var(--pk-line,#E7E0D9);border-radius:16px;background:#fff}
.psux-empty p{margin:6px 0 12px;color:var(--pk-stone,#6A625C)}
.psux-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:10px;border:1.5px solid transparent;font:700 15px/1 var(--pk-sans,inherit);cursor:pointer;text-decoration:none!important}
.psux-btn--primary{background:var(--pk-pink,#E0157F);color:#fff!important}
.psux-btn--ghost{background:#fff;border-color:var(--pk-ink,#141113);color:var(--pk-ink,#141113)!important}
.psux-fsheet[hidden]{display:none}
.psux-fsheet{position:fixed;inset:0;z-index:100000}
.psux-fsheet__backdrop{position:absolute;inset:0;background:rgba(20,17,19,.45)}
.psux-fsheet__panel{position:absolute;left:0;right:0;bottom:0;max-height:86vh;display:flex;flex-direction:column;background:var(--pk-warm,#FBF8F5);border-radius:20px 20px 0 0;margin:0}
.psux-fsheet__head{display:flex;justify-content:space-between;align-items:center;padding:8px 6px 6px 20px;border-bottom:1px solid var(--pk-line,#E7E0D9)}
.psux-fsheet__head h2{margin:0;font-size:18px;font-weight:800;font-family:var(--pk-sans,inherit)}
.psux-fsheet__x{width:48px;height:48px;border:0;background:none;font-size:20px;color:var(--pk-ink,#141113);cursor:pointer}
.psux-fsheet__body{overflow-y:auto;padding:4px 20px 8px}
.psux-fsheet fieldset{border:0;border-bottom:1px solid var(--pk-line,#E7E0D9);margin:0;padding:14px 0}
.psux-fsheet legend{font-size:14px;font-weight:800;padding:0 0 6px}
.psux-check{display:flex;align-items:center;gap:12px;min-height:48px;font-size:15px;color:var(--pk-ink-2,#2A2527);font-weight:500}
.psux-check input{width:20px;height:20px;accent-color:var(--pk-pink,#E0157F);margin:0}
.psux-check span{margin-left:auto;color:var(--pk-stone,#6A625C);font-size:13px}
.psux-fsheet__foot{display:grid;grid-template-columns:1fr 2fr;gap:10px;padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--pk-line,#E7E0D9)}
@media (max-width:767px){
  .psux-frow{display:none}
  .psux-fopen{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:10px;border:0;background:var(--pk-ink,#141113);color:#fff;font:700 15px var(--pk-sans,inherit);cursor:pointer;justify-self:start}
  .psux-subcats{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 2px;scrollbar-width:none}
  .psux-subcats::-webkit-scrollbar{display:none}
}
body.psux-sheet-open{overflow:hidden}

/* ---------- Product page action bar on phones ---------- */
.psux-abar{display:none}
@media (max-width:1024px){
  .psux-abar{position:fixed;left:0;right:0;bottom:calc(var(--pk-bar,64px) + env(safe-area-inset-bottom,0px));z-index:9994;display:flex;align-items:center;gap:10px;padding:10px 16px;background:#fff;border-top:1px solid var(--pk-line,#E7E0D9);box-shadow:0 -10px 24px -18px rgba(20,17,19,.35);transform:translateY(130%);transition:transform .2s ease;visibility:hidden}
  .psux-abar.is-on{transform:none;visibility:visible}
  .psux-abar__txt{flex:1;min-width:0}
  .psux-abar__txt b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--pk-ink,#141113)}
  .psux-abar__txt span{font-size:12px;color:var(--pk-stone,#6A625C)}
  body.psux-abar-on.psux-m #pinkpro-chat{display:none!important}
}
@media (prefers-reduced-motion:reduce){.psux-abar{transition:none}}

/* Mega menu (PINK ProData Sync): the promo photo showed the product cropped and zoomed
   (object-fit: cover in a 4:3 box, most product photos are portrait). Show the whole product
   on a soft tile instead. */
.pdsm .pdsm-promo__img{aspect-ratio:4/3;padding:14px;background:#F2EEEA;border-radius:6px;display:flex;align-items:center;justify-content:center}
.pdsm .pdsm-promo__img img{width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain!important;mix-blend-mode:multiply}

/* Product page gallery (avanam): photos were shown at their own size, so a tall photo (e.g. a comb,
   512x768) made the gallery much taller than a wide one. Every main photo now sits in the same
   4:3 frame and is shown whole (contain), whatever its proportions. */
.single-product .woocommerce-product-gallery a.woocommerce-main-image img,
.single-product .woocommerce-product-gallery .woo-main-slide img{width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:contain;background:#fff;box-sizing:border-box}

/* Product page service strip (Elementor section .product-page-cms-service: "100% Origjinal" …):
   on phones its three columns were each 242px wide inside a 345px row, so the strip was cut off and
   scrolled sideways. Three equal columns, icon above a short label. */
@media (max-width:767px){
.product-page-cms-service>.elementor-container{flex-wrap:nowrap}
.product-page-cms-service .elementor-column{width:33.333%!important;min-width:0;flex:1 1 0}
.product-page-cms-service .elementor-widget-wrap{padding:10px 4px!important;justify-content:center;overflow:hidden}
.product-page-cms-service .elementor-widget-icon-box{width:100%!important;max-width:100%!important}
.product-page-cms-service .elementor-icon-box-wrapper{flex-direction:column!important;align-items:center!important;gap:6px;text-align:center}
.product-page-cms-service .elementor-icon-box-icon{margin:0!important}
.product-page-cms-service .elementor-icon{font-size:20px!important}
.product-page-cms-service .elementor-icon svg{width:20px;height:20px}
.product-page-cms-service .elementor-icon-box-content{text-align:center;width:100%}
.product-page-cms-service .elementor-icon-box-title{white-space:normal!important;font-size:12px!important;line-height:1.3!important;margin:0!important}
.product-page-cms-service :is(.ps__rail-x,.ps__rail-y){display:none!important}
}
