/* Unieketui: winkel, productpagina, winkelmand en kassa. */

/* 2. Overzicht (winkel, categorie, zoeken) ---------------------------------------- */
.ue-archive { padding: clamp(18px, 3vw, 32px) 0 var(--ue-section); }
.ue-archive__head { max-width: 820px; margin-bottom: clamp(18px, 2.5vw, 28px); }
.ue-archive__title { font-size: var(--ue-fs-3xl); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.ue-archive__intro { max-width: 62ch; margin-top: 12px; font-size: 1.0625rem; color: var(--ue-text-2); }
.ue-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; padding: 10px 0; border-top: 1px solid var(--ue-line); border-bottom: 1px solid var(--ue-line); }
.ue-toolbar .woocommerce-result-count { margin: 0; font-size: .9375rem; color: var(--ue-muted); }
.ue-toolbar .woocommerce-ordering { margin: 0; }
.ue-toolbar select, .ue-select {
	height: 42px; padding: 0 38px 0 14px; border: 1.5px solid var(--ue-line-strong); border-radius: var(--ue-radius-sm);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2B36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
	font: inherit; font-weight: 600; color: var(--ue-text); appearance: none; cursor: pointer;
}
.ue-toolbar select:focus-visible { outline: 3px solid var(--ue-focus); outline-offset: 2px; }

.ue-products--grid { row-gap: clamp(16px, 2.4vw, 28px); }
.woocommerce-pagination { margin-top: clamp(28px, 4vw, 44px); }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
	border: 1.5px solid var(--ue-line-strong); border-radius: var(--ue-radius-sm); background: #fff; font-weight: 700;
}
.woocommerce-pagination a:hover { border-color: var(--ue-brand); color: var(--ue-brand); }
.woocommerce-pagination .current { border-color: var(--ue-brand); background: var(--ue-brand); color: #fff; }

.ue-archive__text { max-width: 820px; margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--ue-line); }

/* 3. Meldingen ------------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; padding: 14px 18px;
	border-radius: var(--ue-radius-md); background: var(--ue-blue-50); color: var(--ue-text); list-style: none;
}
.woocommerce-message { background: var(--ue-green-50); }
.woocommerce-error { background: var(--ue-pink-50); }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; font-weight: 700; color: var(--ue-brand); text-decoration: underline; text-underline-offset: 3px; }

/* 4. Productpagina ---------------------------------------------------------------- */
.ue-pdp { padding-top: clamp(16px, 2.6vw, 28px); }
.ue-pdp__grid { display: grid; gap: clamp(22px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .ue-pdp__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }

.ue-pdp__gallery { display: grid; gap: 12px; }
@media (min-width: 900px) { .ue-pdp__gallery { position: sticky; top: 108px; } }
.ue-pdp__main { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--ue-radius-xl); background: var(--ue-media); }
.ue-pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.ue-pdp__main[data-fit="cutout"] img { object-fit: contain; padding: 4%; filter: drop-shadow(0 18px 22px rgba(20, 33, 43, .16)); }
.ue-pdp__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.ue-pdp__thumb { display: block; flex: none; width: 78px; height: 78px; overflow: hidden; border: 2px solid transparent; border-radius: var(--ue-radius-md); background: var(--ue-media); transition: border-color var(--ue-dur); }
.ue-pdp__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.ue-pdp__thumb:hover { border-color: var(--ue-line-strong); }
.ue-pdp__thumb.is-active { border-color: var(--ue-brand); }

.ue-pdp__summary { display: grid; gap: 14px; align-content: start; }
.ue-pdp__labels { display: flex; flex-wrap: wrap; gap: 6px; }
.ue-pdp__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.ue-pdp__price { font-size: 1.625rem; }
.ue-pdp__price del { font-size: 1.0625rem; }
.ue-pdp__excerpt { color: var(--ue-text-2); }
.ue-pdp__excerpt p { margin: 0 0 .6em; }
.ue-pdp__excerpt p:last-child { margin-bottom: 0; }
.ue-pdp__dims { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 8px 12px; border-radius: var(--ue-radius-sm); background: var(--ue-bg-alt); font-size: .9375rem; justify-self: start; }
.ue-pdp__dims span { font-weight: 700; }
.ue-pdp .ue-stock { font-size: .9375rem; }

.ue-pdp__buy form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.ue-pdp__buy .quantity { display: flex; }
.ue-pdp__buy .quantity input.qty {
	width: 76px; height: 54px; padding: 0 8px; border: 1.5px solid var(--ue-line-strong); border-radius: var(--ue-radius-sm);
	background: #fff; font: inherit; font-weight: 700; text-align: center;
}
.ue-pdp__buy .quantity input[type="hidden"] + * { display: none; }
.ue-pdp__buy .single_add_to_cart_button {
	flex: 1 1 220px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px;
	border: 0; border-radius: var(--ue-radius-sm); background: var(--ue-accent); color: #fff; font: inherit; font-size: 1.0625rem; font-weight: 700; cursor: pointer;
	transition: background-color var(--ue-dur), transform var(--ue-dur);
}
.ue-pdp__buy .single_add_to_cart_button::before {
	content: ""; flex: none; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 4h2.5l2.3 10.6a1.7 1.7 0 0 0 1.7 1.3h8.1a1.7 1.7 0 0 0 1.6-1.2L21 7.6H6.2'/%3E%3Ccircle cx='9.7' cy='19.7' r='1.4'/%3E%3Ccircle cx='17.3' cy='19.7' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 4h2.5l2.3 10.6a1.7 1.7 0 0 0 1.7 1.3h8.1a1.7 1.7 0 0 0 1.6-1.2L21 7.6H6.2'/%3E%3Ccircle cx='9.7' cy='19.7' r='1.4'/%3E%3Ccircle cx='17.3' cy='19.7' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ue-pdp__buy .single_add_to_cart_button:hover { background: var(--ue-accent-hover); }
.ue-pdp__buy .single_add_to_cart_button.loading { opacity: .65; pointer-events: none; }
.ue-pdp__buy .single_add_to_cart_button.is-added { background: var(--ue-positive); }
.ue-pdp__buy .stock { display: none; }
.ue-pdp__buy .wcpay-express-checkout-wrapper, .ue-pdp__buy #wcpay-express-checkout-element { flex-basis: 100%; }

.ue-pdp__usps { display: grid; gap: 8px; margin: 4px 0 0; padding: 16px 18px; border-radius: var(--ue-radius-md); background: var(--ue-bg-alt); }
.ue-pdp__usps li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; }
.ue-pdp__usps .ue-i { width: 18px; height: 18px; margin-top: 3px; color: var(--ue-positive); }
.ue-pay--small img { height: 26px; }
.ue-pdp__personal { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px dashed var(--ue-pink-200); border-radius: var(--ue-radius-md); }
.ue-pdp__personal p { margin: 0; font-size: .9375rem; }
.ue-pdp__personal .ue-link { white-space: normal; }

.ue-pdp__deal { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin: -4px 0 0; padding: 6px 12px; border-radius: var(--ue-radius-sm); background: var(--ue-pink-50); font-size: .875rem; color: var(--ue-pink-700); }
.ue-pdp__deal .ue-i { width: 17px; height: 17px; }
.ue-pdp__deal strong { color: var(--ue-pink-700); }

.ue-uses { margin-top: clamp(36px, 5vw, 64px); }
.ue-uses__title { margin-bottom: clamp(16px, 2vw, 24px); }
.ue-uses__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ue-gap); }
@media (min-width: 900px) { .ue-uses__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ue-use { padding: 20px 18px; border-radius: var(--ue-radius-lg); background: var(--ue-bg-alt); }
.ue-use .ue-di { width: 46px; height: 46px; --ue-ic-bg: var(--ue-bg-alt); }
.ue-use h3 { margin-top: 12px; font-size: 1.0625rem; }
.ue-use p { margin: 4px 0 0; font-size: .9375rem; color: var(--ue-text-2); }

.ue-pdp__more { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 1024px) { .ue-pdp__more { grid-template-columns: minmax(0, 1fr) 360px; } }
.ue-pdp__info { display: grid; gap: 10px; }
.ue-maker { display: grid; gap: 18px; justify-items: center; padding: 28px 24px 26px; border-radius: var(--ue-radius-xl); background: var(--ue-blue-50); text-align: center; }
@media (min-width: 1024px) { .ue-maker { position: sticky; top: 110px; } }
.ue-maker__photo { position: relative; width: 168px; margin: 8px 0 0; padding: 8px 8px 0; border-radius: 5px; background: #fff; box-shadow: var(--ue-shadow-2); transform: rotate(-3deg); }
.ue-maker__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.ue-maker__photo::after { content: ""; display: block; height: 18px; }
.ue-maker__photo .ue-tape { top: -12px; width: 86px; height: 26px; }
.ue-maker__title { font-size: 1.25rem; font-weight: 800; }
.ue-maker__body p { margin: 8px 0 12px; font-size: .9375rem; color: var(--ue-text-2); }
.ue-acc { border: 1px solid var(--ue-line); border-radius: var(--ue-radius-md); background: #fff; }
.ue-acc summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px;
	font-family: var(--ue-font-head); font-size: 1.125rem; font-weight: 700; cursor: pointer; list-style: none;
}
.ue-acc summary::-webkit-details-marker { display: none; }
.ue-acc summary::after {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor; transition: transform var(--ue-dur) var(--ue-ease);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ue-acc[open] summary::after { transform: rotate(180deg); }
.ue-acc__body { padding: 0 20px 20px; color: var(--ue-text-2); }
.ue-acc__body > :first-child { margin-top: 0; }
.ue-acc .shop_attributes { width: 100%; border-collapse: collapse; }
.ue-acc .shop_attributes th, .ue-acc .shop_attributes td { padding: 8px 0; border-bottom: 1px solid var(--ue-line); text-align: left; vertical-align: top; }
.ue-acc .shop_attributes th { width: 40%; font-weight: 700; color: var(--ue-text); }
.ue-acc .shop_attributes p { margin: 0; }
.ue-related { margin-top: clamp(40px, 6vw, 72px); }

/* Beoordelingen (WooCommerce-formulier) */
#reviews .commentlist { display: grid; gap: 14px; margin: 0 0 18px; }
#reviews .comment-form label { display: block; margin-bottom: 6px; font-weight: 700; }
#reviews .comment-form textarea, #reviews .comment-form input[type="text"], #reviews .comment-form input[type="email"] {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--ue-line-strong); border-radius: var(--ue-radius-sm); font: inherit;
}
#reviews .comment-form .submit { min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--ue-radius-sm); background: var(--ue-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* 5. Winkelmand en kassa (WooCommerce-blokken) ------------------------------------ */
.ue-wc-page { padding: clamp(20px, 3.5vw, 40px) 0 var(--ue-section); }
.ue-wc-page__title { margin-bottom: clamp(18px, 3vw, 28px); font-size: var(--ue-fs-2xl); font-weight: 800; letter-spacing: -.02em; }
.ue-wc-page .wc-block-components-button:not(.is-link),
.ue-wc-page .wc-block-cart__submit-button,
.ue-wc-page .wc-block-components-checkout-place-order-button {
	min-height: 54px; border-radius: var(--ue-radius-sm); background: var(--ue-accent); color: #fff; font-weight: 700; font-size: 1.0625rem;
}
.ue-wc-page .wc-block-components-button:not(.is-link):hover { background: var(--ue-accent-hover); }
.ue-wc-page .wc-block-components-text-input input,
.ue-wc-page .wc-block-components-combobox .components-combobox-control input,
.ue-wc-page .wc-blocks-components-select select,
.ue-wc-page .wc-block-components-textarea { border-radius: var(--ue-radius-sm) !important; }
.ue-wc-page .wc-block-components-text-input.is-active input:focus,
.ue-wc-page .wc-block-components-text-input input:focus { border-color: var(--ue-blue-500); box-shadow: 0 0 0 1px var(--ue-blue-500); }
.ue-wc-page .wc-block-components-title, .ue-wc-page .wc-block-components-checkout-step__title { font-family: var(--ue-font-head); font-weight: 800; }
.ue-wc-page .wc-block-components-product-name { font-weight: 700; color: var(--ue-text); }
.ue-wc-page .wc-block-components-totals-item__value { font-weight: 800; }
.ue-wc-page .wc-block-cart-item__image img, .ue-wc-page .wc-block-components-order-summary-item__image img { border-radius: var(--ue-radius-sm); background: var(--ue-media); object-fit: contain; }
.ue-wc-page .wc-block-components-radio-control__option-checked, .ue-wc-page .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--ue-brand) !important; }
.ue-wc-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--ue-brand); border-color: var(--ue-brand); }
.ue-wc-page a:not(.ue-btn) { color: var(--ue-brand); }

/* 6. Kassa-schil ------------------------------------------------------------------ */
.ue-header--checkout { position: static; }
.ue-header__checkout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-block: 12px; }
.ue-header__checkout .ue-header__logo { grid-area: auto; grid-column: 2; grid-row: 1; justify-self: center; }
.ue-header__checkout .ue-header__back { grid-column: 1; grid-row: 1; }
.ue-header__checkout .ue-header__secure { grid-column: 3; grid-row: 1; }
.ue-header__checkout .ue-header__logo img { height: 46px; width: auto; }
.ue-header__back { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-weight: 700; color: var(--ue-brand); }
.ue-header__back .ue-i { width: 18px; height: 18px; }
.ue-header__secure { display: inline-flex; align-items: center; gap: 8px; justify-self: end; margin: 0; font-weight: 700; color: var(--ue-positive); }
.ue-header__secure .ue-i { width: 18px; height: 18px; }
@media (max-width: 599px) { .ue-header__back span, .ue-header__secure span { display: none; } }
.ue-footer-checkout { padding: 22px 0 28px; border-top: 1px solid var(--ue-line); background: var(--ue-bg-alt); font-size: .875rem; color: var(--ue-muted); }
.ue-footer-checkout__inner { display: grid; justify-items: center; gap: 12px; text-align: center; }
.ue-footer-checkout__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.ue-footer-checkout__links a:hover { color: var(--ue-brand); text-decoration: underline; }
.ue-footer-checkout p { margin: 0; }

/* 7. Account (alleen bereikbaar via directe link) --------------------------------- */
.woocommerce-account .ue-wc-page__body { display: grid; gap: 24px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .ue-wc-page__body { grid-template-columns: 240px minmax(0, 1fr); } }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: var(--ue-radius-sm); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--ue-blue-50); color: var(--ue-brand); }
.woocommerce-account form .form-row { display: grid; gap: 6px; margin: 0 0 14px; }
.woocommerce-account input.input-text { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--ue-line-strong); border-radius: var(--ue-radius-sm); font: inherit; }
.woocommerce-account .button, .woocommerce-account button[type="submit"] { min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--ue-radius-sm); background: var(--ue-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
