/* Autokinetic: store pages (product, cart, checkout, account), "Zalando stil".
   Loaded by functions.php on is_product() / cart / checkout / account only.

   ======================================================================
   1. Single product (woocommerce/content-single-product.php)
      Figma 9qxLeId3SY3NkLW03MoSW7: 31:1387 tyre desktop, 32:613 tyre mobile,
      33:677 battery desktop. Every rule is scoped to .ak-pdp.
   ====================================================================== */

.ak-shop--single .product.ak-pdp { display: block; }
.ak-shop--single { padding-top: 28px; padding-bottom: 72px; }
.ak-shop--single .ak-crumbs { margin: 0 0 36px; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--ak-muted); }
.ak-shop--single .ak-crumbs a:hover { color: var(--ak-ink); text-decoration: underline; text-underline-offset: 3px; }
.ak-shop--single .ak-crumbs__sep { margin: 0 8px; color: var(--ak-muted); }
/* The last crumb (the product) in ink, semibold. */
.ak-shop--single .ak-crumbs { display: block; }
.ak-shop--single .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 24px; }

.ak-pdp { --pdp-photo: #f2f2f2; --pdp-soft: #f5f5f5; --pdp-pill: #ededed; --pdp-line: rgba(0, 0, 0, .1); color: var(--ak-ink); }
.ak-pdp .ak-pdp-i { width: 20px; height: 20px; flex: none; }
.ak-pdp__back { display: none; }

/* ---------- top: gallery | buy box ---------- */
.ak-pdp__main { display: grid; grid-template-columns: minmax(0, 760fr) minmax(300px, 496fr); gap: 56px; align-items: start; }

/* Gallery: WooCommerce's (flexslider, zoom, PhotoSwipe), restyled. Thumbnails left. */
.ak-pdp__gallery { position: relative; min-width: 0; }
.woocommerce div.product.ak-pdp div.images, .ak-pdp .woocommerce-product-gallery { width: auto; float: none; margin: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.woocommerce div.product.ak-pdp div.images:has(> .flex-control-thumbs) { grid-template-columns: 96px minmax(0, 1fr); }
.ak-pdp .woocommerce-product-gallery > .flex-viewport,
.ak-pdp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: -2 / -1; grid-row: 1; border-radius: 4px; }
.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__wrapper { margin: 0; background: none; border: 0; }
.ak-pdp .woocommerce-product-gallery__image { position: relative; display: grid !important; place-items: center; aspect-ratio: 1 / 1.2; border-radius: 4px; background: var(--pdp-photo); }
.ak-pdp .woocommerce-product-gallery__image > a { display: grid; place-items: center; width: 83%; aspect-ratio: 1; }
.woocommerce div.product.ak-pdp div.images img, .ak-pdp .woocommerce-product-gallery__image img { width: 100%; height: 100%; aspect-ratio: 1; padding: 0; object-fit: contain; mix-blend-mode: multiply; background: none; }
.ak-pdp .woocommerce-product-gallery__image .zoomImg { mix-blend-mode: multiply; background: var(--pdp-photo); width: auto !important; height: auto !important; max-width: none; aspect-ratio: auto !important; object-fit: none !important; }
.ak-pdp .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image--placeholder { display: grid; place-items: center; aspect-ratio: 1 / 1.2; border-radius: 4px; background: var(--pdp-photo); }
.ak-pdp .woocommerce-product-gallery--without-images .woocommerce-product-gallery__image--placeholder img { width: 60%; }

/* Thumbnails (flexslider .flex-control-thumbs): 96 × 116 grey tiles, active = 2px ink border. */
.woocommerce div.product.ak-pdp div.images .flex-control-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 12px; max-height: 100%; margin: 0; padding: 0; overflow-y: auto; scrollbar-width: none; list-style: none; }
.woocommerce div.product.ak-pdp div.images .flex-control-thumbs::-webkit-scrollbar { display: none; }
.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li { position: relative; flex: none; display: grid; place-items: center; width: 96px; height: 116px; margin: 0; padding: 0; border: 0; border-radius: 4px; background: var(--pdp-photo); cursor: pointer; }
.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li::after { content: ""; position: absolute; inset: 0; border-radius: 4px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; pointer-events: none; }
.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li:has(img.flex-active)::after { box-shadow: inset 0 0 0 2px var(--ak-ink); }
.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li:hover::after { box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .2); }
.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li img { width: 80px; height: 80px; padding: 0; opacity: 1; object-fit: contain; mix-blend-mode: multiply; }

/* Zoom / lightbox trigger: white 40px circle where the design has its (unused) heart. */
.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__trigger { position: absolute; z-index: 9; top: 20px; right: 20px; left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); text-indent: 0; font-size: 0; }
.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__trigger > * { display: none; }
.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__trigger::after { content: none; display: none; }
.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__trigger::before { content: ""; position: static; display: block; width: 18px; height: 18px; margin: 0; border: 0; border-radius: 0; background: var(--ak-ink); transform: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.66667' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.75'/%3E%3Cpath d='M17.5 17.5l-4.9-4.9M8.5 6v5M6 8.5h5'/%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 20 20' fill='none' stroke='black' stroke-width='1.66667' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.75'/%3E%3Cpath d='M17.5 17.5l-4.9-4.9M8.5 6v5M6 8.5h5'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__trigger:hover { background: var(--ak-ink); }
.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__trigger:hover::before { background: #fff; }

.ak-pdp__badge { position: absolute; z-index: 8; left: 20px; bottom: 20px; padding: 6px 10px; border-radius: 3px; background: var(--ak-orange-strong); color: #fff; font: 700 13px/1 var(--ak-font); pointer-events: none; }
.ak-pdp__main:has(.flex-control-thumbs) .ak-pdp__badge { left: calc(96px + 16px + 20px); }
.ak-pdp__badge--out { background: #fff; color: var(--ak-muted); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }

/* Buy box */
.woocommerce div.product.ak-pdp div.summary, .ak-pdp__buy { display: flex; flex-direction: column; gap: 32px; width: auto; float: none; margin: 0; min-width: 0; }
.ak-pdp__name { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ak-pdp__title { display: block; }
.ak-pdp__brand { align-self: flex-start; font: 700 18px/1.1 var(--ak-font); color: var(--ak-ink); }
.ak-pdp__brand:hover { color: var(--ak-ink); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce div.product.ak-pdp .product_title, .ak-pdp__title { margin: 0; font: 400 30px/1.25 var(--ak-font); letter-spacing: 0; text-transform: none; text-wrap: pretty; overflow-wrap: anywhere; }

.ak-pdp__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ak-pdp__pills li { padding: 7px 14px; border-radius: 40px; background: var(--pdp-pill); font: 600 14px/1.07 var(--ak-font); }

.ak-pdp__price { display: flex; flex-direction: column; gap: 4px; }
/* Figma 77:10244: pills, price and stock sit 16 apart inside the 32-px buy box rhythm. */
@media (min-width: 761px) { .ak-pdp__pills + .ak-pdp__price, .ak-pdp__price + .ak-pdp__stock { margin-top: -16px; } }
.woocommerce div.product.ak-pdp p.price, .ak-pdp__now { margin: 0; color: var(--ak-ink); font: 700 30px/1.1 var(--ak-font); font-variant-numeric: tabular-nums; }
.woocommerce div.product.ak-pdp p.price ins { text-decoration: none; color: var(--ak-orange-strong); }
.woocommerce div.product.ak-pdp p.price del { font-size: .6em; font-weight: 400; color: var(--ak-muted); }
.woocommerce div.product.ak-pdp .ak-pdp__price.is-sale p.price, .ak-pdp__price.is-sale .ak-pdp__now { color: var(--ak-orange-strong); }
.ak-pdp__was { font: 400 14px/1.3 var(--ak-font); color: var(--ak-muted); }
.ak-pdp__was del { color: var(--ak-muted); }
.ak-pdp__was strong { color: var(--ak-orange-strong); font-weight: 700; }
.ak-pdp__unit { font: 400 14px/1.2 var(--ak-font); color: var(--ak-muted); }

.ak-pdp__stock { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 15px/1.1 var(--ak-font); }
.ak-pdp__dot { width: 10px; height: 10px; border-radius: 50%; background: #2e8540; }
.ak-pdp__stock.is-onbackorder .ak-pdp__dot { background: var(--ak-orange); }
.ak-pdp__stock.is-outofstock { color: var(--ak-muted); }
.ak-pdp__stock.is-outofstock .ak-pdp__dot { background: #b5b5b5; }

/* Quantity + add to cart (the real WooCommerce form) */
.ak-pdp__cart { display: flex; flex-direction: column; gap: 10px; }
.ak-pdp__cart > *:empty { display: none; }
.woocommerce div.product.ak-pdp form.cart { display: block; margin: 0; padding: 0; border: 0; }
.woocommerce div.product.ak-pdp form.cart::before, .woocommerce div.product.ak-pdp form.cart::after { content: none; display: none; }
.ak-pdp-qty { display: flex; flex-direction: column; gap: 10px; }
.ak-pdp-qty__label { font: 600 15px/1.1 var(--ak-font); }
.ak-pdp-qty__row { display: flex; gap: 12px; }
.ak-pdp-step { flex: none; display: flex; align-items: center; width: 148px; height: 56px; padding: 0 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.ak-pdp-step__btn { display: grid; place-items: center; width: 40px; height: 44px; padding: 0; border: 0; background: none; color: var(--ak-ink); cursor: pointer; font: 400 24px/1 var(--ak-font); }
.ak-pdp-step__btn:hover { color: var(--ak-orange-strong); }
.ak-pdp-step__btn:disabled { color: #c4c4c4; cursor: default; }
.woocommerce div.product.ak-pdp .quantity { flex: 1; min-width: 0; margin: 0 !important; float: none; }
.woocommerce div.product.ak-pdp .quantity .qty { width: 100%; height: 44px; padding: 0; border: 0; background: none; text-align: center; font: 700 18px/1 var(--ak-font); color: var(--ak-ink); -moz-appearance: textfield; appearance: textfield; }
.woocommerce div.product.ak-pdp .quantity .qty::-webkit-inner-spin-button, .woocommerce div.product.ak-pdp .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce div.product.ak-pdp .quantity .qty:focus-visible { outline: 2px solid var(--ak-orange); outline-offset: -2px; }

.woocommerce div.product.ak-pdp form.cart .button.ak-pdp-cta, .ak-pdp-cta { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; min-height: 56px; padding: 0 20px; border: 0; border-radius: 0; background: var(--ak-ink); color: #fff; cursor: pointer; font: 700 17px/1 var(--ak-font); letter-spacing: 0; text-transform: none; }
.woocommerce div.product.ak-pdp form.cart .button.ak-pdp-cta:hover, .ak-pdp-cta:hover { background: var(--ak-orange-strong); color: #fff; }
.woocommerce div.product.ak-pdp form.cart .button.ak-pdp-cta.disabled, .woocommerce div.product.ak-pdp form.cart .button.ak-pdp-cta:disabled { opacity: .45; cursor: not-allowed; }
.woocommerce div.product.ak-pdp form.cart .button.ak-pdp-cta.loading { opacity: .7; }
.ak-pdp-cta .ak-pdp-i { color: currentColor; }
.ak-pdp-cta--call { display: flex; text-decoration: none; }

/* Variable products: WooCommerce's table of selects (theme.js turns selects into .ak-sel). */
.woocommerce div.product.ak-pdp form.variations_form table.variations { width: 100%; margin: 0 0 18px; border: 0; }
.woocommerce div.product.ak-pdp form.variations_form table.variations th, .woocommerce div.product.ak-pdp form.variations_form table.variations td { display: block; padding: 0 0 8px; text-align: left; font: 600 15px/1.2 var(--ak-font); }
.woocommerce div.product.ak-pdp .reset_variations { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--ak-muted); }
.woocommerce div.product.ak-pdp .single_variation_wrap .woocommerce-variation { margin-bottom: 14px; }

.ak-pdp__note { margin: -22px 0 0; font: 400 14px/1.4 var(--ak-font); color: var(--ak-muted); }
.ak-pdp__cart .ak-pdp__note { margin: 0; }
.ak-pdp__note + .ak-pdp__note { margin-top: -28px; }

/* Tyre fitting box (price from the booking price list) */
.ak-pdp__fit { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--pdp-soft); }
.ak-pdp__fit-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 16px/1.25 var(--ak-font); }
.ak-pdp__fit-text { margin: 0; font: 400 16px/1.6 var(--ak-font); color: rgba(17, 17, 17, .7); }
.ak-pdp__book { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 16px; box-shadow: inset 0 0 0 2px var(--ak-ink); color: var(--ak-ink); font: 700 17px/1.1 var(--ak-font); }
.ak-pdp__book .ak-pdp-i { width: 18px; height: 18px; }
.ak-pdp__book:hover { background: var(--ak-ink); color: #fff; }

/* Battery: fitting + calibration prices */
.ak-pdp__svc { display: flex; flex-direction: column; gap: 10px; }
.ak-pdp__svc p { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.ak-pdp__svc-main { font: 700 15px/1.35 var(--ak-font); }
.ak-pdp__svc-sub { font: 400 14px/1.4 var(--ak-font); color: var(--ak-muted); }
.ak-pdp__svc-sub .ak-pdp-i { width: 18px; height: 18px; margin-inline: 1px; }

/* Trust lines */
.ak-pdp__trust { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 20px 0 0; list-style: none; box-shadow: 0 -1px 0 var(--pdp-line); }
.ak-pdp__trust li { display: flex; align-items: flex-start; gap: 12px; font: 400 16px/1.6 var(--ak-font); color: rgba(17, 17, 17, .7); }
.ak-pdp__trust li .ak-pdp-i { color: var(--ak-ink); }
.ak-pdp__trust li .ak-pdp-i { margin-top: 3px; }
.ak-pdp__trust a { color: inherit; text-decoration: none; }
.ak-pdp__trust a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- anchor tabs ---------- */
/* Figma 77:10244 has no tab bar: details follow the buy box directly. */
.ak-pdp__tabs { display: none; gap: 36px; margin-top: 56px; box-shadow: inset 0 -1px 0 var(--pdp-line); overflow-x: auto; scrollbar-width: none; }
.ak-pdp__tabs::-webkit-scrollbar { display: none; }
.ak-pdp__tabs a { flex: none; padding-bottom: 15px; color: var(--ak-muted); font: 500 18px/20px var(--ak-font); border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.ak-pdp__tabs a:hover { color: var(--ak-ink); }
.ak-pdp__tabs a[aria-current="true"] { color: var(--ak-ink); font-weight: 700; border-bottom-color: var(--ak-ink); }

/* ---------- details: Opis + Česta pitanja | Specifikacije ---------- */
.ak-pdp__details { display: grid; grid-template-columns: minmax(0, 760fr) minmax(300px, 480fr); grid-template-rows: auto 1fr; grid-template-areas: "opis spec" "faq spec"; column-gap: 72px; margin-top: 36px; }
.ak-pdp__sec { min-width: 0; scroll-margin-top: 24px; }
.ak-pdp__sec--opis { grid-area: opis; }
.ak-pdp__sec--spec { grid-area: spec; }
.ak-pdp__sec--faq { grid-area: faq; align-self: start; margin-top: 56px; }
.ak-pdp__details > .ak-pdp__sec--faq:only-child, .ak-pdp__sec--opis + .ak-pdp__sec--faq:last-child { grid-column: 1; }
.ak-pdp__h2 { margin: 0 0 16px; font: 600 28px/1.1 var(--ak-font); letter-spacing: 0; text-transform: none; }

/* The description (.ak-pd, generated by seo/) */
.ak-pdp .ak-pd { max-width: none; font: 400 16px/1.6 var(--ak-font); color: var(--ak-ink); }
.ak-pdp .ak-pd > :first-child { margin-top: 0; }
.ak-pdp .ak-pd p { margin: 0 0 16px; line-height: 1.6; color: rgba(17, 17, 17, .7); }
.ak-pdp .ak-pd .ak-pd__lead { font-size: 16px; }
.ak-pdp .ak-pd .ak-pd__lead strong { font-weight: 400; }
.ak-pdp .ak-pd h3 { margin: 40px 0 8px; font: 600 24px/1.2 var(--ak-font); letter-spacing: 0; text-transform: none; }
.ak-pdp .ak-pd ul { margin: 0 0 16px; padding: 0; list-style: none; }
.ak-pdp .ak-pd ul li { position: relative; padding-left: 28px; line-height: 1.5; }
.ak-pdp .ak-pd ul li + li { margin-top: 10px; }
.ak-pdp .ak-pd ul li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: currentColor; opacity: .85;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='8.056'/%3E%3Cpath d='M6.389 10.278l2.5 2.778 4.722-6.112'/%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 20 20' fill='none' stroke='black' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='8.056'/%3E%3Cpath d='M6.389 10.278l2.5 2.778 4.722-6.112'/%3E%3C/svg%3E") center / contain no-repeat; }
/* "Šta znači 205/55 R16 91W": tiles */
.ak-pdp .ak-pd h3:has(+ ul.ak-pd__code) { margin-bottom: 16px; }
.ak-pdp .ak-pd ul.ak-pd__code { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; }
.ak-pdp .ak-pd ul.ak-pd__code li { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 16px; background: var(--pdp-soft); }
.ak-pdp .ak-pd ul.ak-pd__code li::before { content: none; }
.ak-pdp .ak-pd ul.ak-pd__code strong { font: 600 24px/1.1 var(--ak-font); }
.ak-pdp .ak-pd ul.ak-pd__code span { font: 400 12px/1.4 var(--ak-font); color: var(--ak-muted); }
.ak-pdp .ak-pd a { color: var(--ak-orange-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ak-pdp .ak-pd a:hover { color: var(--ak-ink); }
.ak-pdp .ak-pd table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.ak-pdp .ak-pd details { border: 0; }

/* "Prikaži cijeli opis" (phones; store.js adds .is-clamped when the text is long) */
.ak-pdp__desc.is-clamped { position: relative; max-height: 420px; overflow: hidden; }
.ak-pdp__desc.is-clamped::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.ak-pdp__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 0; border: 0; background: none; color: var(--ak-ink); cursor: pointer; font: 700 15px/1.2 var(--ak-font); text-decoration: underline; text-underline-offset: 3px; }

/* Spec table: zebra rows, label muted, value semibold */
.ak-pdp__spec table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font: 400 14px/1.1 var(--ak-font); }
.ak-pdp__spec tr:nth-child(odd) th, .ak-pdp__spec tr:nth-child(odd) td { background: var(--pdp-soft); }
.ak-pdp__spec tr:nth-child(even) th, .ak-pdp__spec tr:nth-child(even) td { background: #fff; }
.woocommerce .ak-pdp__spec table.shop_attributes th, .woocommerce .ak-pdp__spec table.shop_attributes td,
.ak-pdp__spec th, .ak-pdp__spec td { padding: 14px 16px; border: 0; vertical-align: top; text-align: left; font-style: normal; }
.ak-pdp__spec th { width: 40%; font-weight: 400; color: var(--ak-muted); }
.ak-pdp__spec td { font-weight: 600; color: var(--ak-ink); }
.ak-pdp__spec td p { margin: 0; }
.ak-pdp__spec .ak-pdp__sku tr th, .ak-pdp__spec .ak-pdp__sku tr td { background: #fff; }
.ak-pdp__spec .ak-pdp__sku { box-shadow: 0 -1px 0 var(--pdp-line); }

/* FAQ accordion (the description's own <details>, so FAQ schema and text match) */
.ak-pdp__faq details { border: 0; box-shadow: 0 1px 0 var(--pdp-line); }
.ak-pdp__faq details:first-of-type { border: 0; box-shadow: 0 -1px 0 var(--pdp-line), 0 1px 0 var(--pdp-line); }
.ak-pdp__faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 16px/1.25 var(--ak-font); }
.ak-pdp__faq summary::-webkit-details-marker { display: none; }
.ak-pdp__faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; transition: transform .34s cubic-bezier(.22, .61, .36, 1);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.055 7.222L10 14.167l6.944-6.945'/%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 20 20' fill='none' stroke='black' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.055 7.222L10 14.167l6.944-6.945'/%3E%3C/svg%3E") center / contain no-repeat; }
.ak-pdp__faq details[open]:not(.is-closing) summary::after { transform: rotate(180deg); }
.ak-pdp__faq summary:hover { color: var(--ak-orange-strong); }
/* Bottom space as padding: a bottom margin collapses through <details> and the divider ends up under the text. */
.ak-pdp .ak-pdp__faq details p { margin: -10px 0 0; padding-bottom: 20px; padding-right: 36px; font: 400 16px/1.6 var(--ak-font); color: rgba(106, 106, 106, .7); }

/* ---------- related rail (Zalando cards from content-product.php) ---------- */
.ak-pdp__related { margin-top: 84px; }

/* ---------- sticky bar (phones) ---------- */
.ak-pdp-bar { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
	.ak-pdp__main, .ak-pdp__details { column-gap: 32px; }
	.woocommerce div.product.ak-pdp div.images:has(> .flex-control-thumbs) { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
	.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li { width: 72px; height: 88px; }
	.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li img { width: 60px; height: 60px; }
	.ak-pdp__main:has(.flex-control-thumbs) .ak-pdp__badge { left: calc(72px + 12px + 16px); }
	.ak-pdp .ak-pd ul.ak-pd__code { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ak-pdp__main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ak-pdp .woocommerce-product-gallery__image { aspect-ratio: 4 / 3; }
	.ak-pdp__details { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "opis" "spec" "faq"; }
	.ak-pdp__sec--spec, .ak-pdp__sec--faq { margin-top: 44px; }
	.ak-pdp__details > .ak-pdp__sec:first-child { margin-top: 0; }
}

/* ---------- phones (Figma 32:613, 390 px) ---------- */
@media (max-width: 760px) {
	.ak-shop--single { padding-top: 16px; padding-bottom: 40px; }
	.ak-shop--single .ak-crumbs { display: none; }
	.ak-pdp__back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--ak-ink); font: 600 15px/1.2 var(--ak-font); }
	.ak-pdp__back .ak-pdp-i { width: 20px; height: 20px; }

	/* Photo full width, thumbnails in a row below */
	.woocommerce div.product.ak-pdp div.images:has(> .flex-control-thumbs) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ak-pdp .woocommerce-product-gallery > .flex-viewport, .ak-pdp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 1; grid-row: 1; }
	.ak-pdp .woocommerce-product-gallery__image { aspect-ratio: 1 / 1.1; }
	.woocommerce div.product.ak-pdp div.images .flex-control-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; gap: 10px; overflow-x: auto; overflow-y: hidden; }
	.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li { width: calc((100% - 30px) / 4); height: auto; aspect-ratio: 1; }
	.woocommerce div.product.ak-pdp div.images .flex-control-thumbs li img { width: 80%; height: 80%; }
	.woocommerce div.product.ak-pdp div.images .woocommerce-product-gallery__trigger { top: 12px; right: 12px; }
	.ak-pdp__badge, .ak-pdp__main:has(.flex-control-thumbs) .ak-pdp__badge { left: 12px; bottom: auto; top: 12px; }

	.ak-pdp__main { gap: 22px; }
	.ak-pdp__buy, .woocommerce div.product.ak-pdp div.summary { row-gap: 18px; }
	.ak-pdp__brand { font-size: 16px; }
	.woocommerce div.product.ak-pdp .product_title, .ak-pdp__title { font-size: 22px; line-height: 1.3; }
	.ak-pdp__pills { gap: 6px; }
	.ak-pdp__pills li { padding: 6px 11px; font-size: 12px; }
	.woocommerce div.product.ak-pdp p.price, .ak-pdp__now { font-size: 24px; }
	.ak-pdp__unit, .ak-pdp__was { font-size: 13px; }
	/* stock next to the price, as drawn */
	.woocommerce div.product.ak-pdp div.summary, .ak-pdp__buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: row dense; column-gap: 12px; }
	.ak-pdp__buy > * { grid-column: 1 / -1; }
	.ak-pdp__buy > .ak-pdp__price { grid-column: 1; }
	.ak-pdp__buy > .ak-pdp__stock { grid-column: 2; align-self: start; margin-top: 6px; font-size: 14px; }
	.ak-pdp__note { margin-top: -10px; font-size: 13px; }
	.ak-pdp-qty__label { font-size: 14px; }
	.ak-pdp-qty__row { gap: 10px; }
	.ak-pdp-step { width: 112px; height: 48px; padding: 0 2px; }
	.ak-pdp-step__btn { width: 34px; font-size: 20px; }
	.woocommerce div.product.ak-pdp .quantity .qty { font-size: 16px; }
	.woocommerce div.product.ak-pdp form.cart .button.ak-pdp-cta, .ak-pdp-cta { height: 48px; min-height: 48px; font-size: 15px; padding: 0 12px; }
	.ak-pdp__fit { padding: 16px; gap: 10px; }
	.ak-pdp__fit-title { font-size: 15px; }
	.ak-pdp__fit-text { font-size: 13px; }
	.ak-pdp__book { min-height: 44px; font-size: 15px; }
	.ak-pdp__trust { gap: 12px; padding-top: 16px; }
	.ak-pdp__trust li { font-size: 14px; }
	.ak-pdp__trust li .ak-pdp-i { width: 18px; height: 18px; }

	.ak-pdp__tabs { display: none; }
	.ak-pdp__details { margin-top: 0; padding-top: 32px; box-shadow: inset 0 1px 0 var(--pdp-line); margin-top: 32px; }
	.ak-pdp__sec--spec, .ak-pdp__sec--faq { margin-top: 36px; }
	.ak-pdp__h2 { font-size: 22px; margin-bottom: 12px; }
	.ak-pdp .ak-pd { font-size: 15px; }
	.ak-pdp .ak-pd .ak-pd__lead { font-size: 16px; }
	.ak-pdp .ak-pd h3 { font-size: 17px; margin-top: 20px; }
	.ak-pdp .ak-pd ul.ak-pd__code { gap: 8px; }
	.ak-pdp .ak-pd ul.ak-pd__code li { padding: 12px; }
	.ak-pdp .ak-pd ul.ak-pd__code strong { font-size: 18px; }
	.ak-pdp .ak-pd ul.ak-pd__code span { font-size: 12px; }
	.ak-pdp__spec table { font-size: 13px; }
	.woocommerce .ak-pdp__spec table.shop_attributes th, .woocommerce .ak-pdp__spec table.shop_attributes td,
	.ak-pdp__spec th, .ak-pdp__spec td { padding: 11px 12px; }
	.ak-pdp__spec th { width: 45%; }
	.ak-pdp__faq summary { padding: 15px 0; font-size: 14px; }
	.ak-pdp .ak-pdp__faq details p { padding-right: 0; padding-bottom: 16px; font-size: 13px; }
	.ak-pdp__related { margin-top: 48px; }
	.ak-pdp__related .ak-zrail__track { grid-auto-columns: calc((100% - 12px) / 2.15); gap: 12px; }

	/* Sticky price + "Dodaj u korpu" */
	.ak-pdp-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--pdp-line), 0 -6px 18px rgba(0, 0, 0, .06); transform: translateY(110%); transition: transform .2s ease; }
	.ak-pdp-bar.is-on { transform: none; }
	.ak-pdp-bar[hidden] { display: none !important; }
	.ak-pdp-bar__price { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
	.ak-pdp-bar__price strong { font: 700 18px/1.1 var(--ak-font); white-space: nowrap; }
	.ak-pdp-bar__price span { font: 400 12px/1.2 var(--ak-font); color: var(--ak-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.ak-pdp-bar__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; background: var(--ak-ink); color: #fff; cursor: pointer; font: 700 15px/1 var(--ak-font); }
	.ak-pdp-bar__btn .ak-pdp-i { width: 18px; height: 18px; }
	body.ak-pdp-has-bar { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.ak-pdp-bar, .ak-pdp__faq summary::after { transition: none; }
}
/* ====================== end 1. single product ====================== */
