/* ==========================================================================
   ARFA KHUSHBOO — full-width PDP sections below the buy box.

   Three stacked bands, all drawn from template-parts/product/related.php:
   the information accordions, the related-products grid, and the content
   tiles. Everything here is greyscale and built out of the tokens in
   theme.css — no new colour, no second typeface, no hardcoded hex.

   Grid, section heading, card and button styles come from theme.css; this
   file only adds what those do not already cover.
   ========================================================================== */

/* --------------------------------------------------------------- rhythm */

/* Three sections in a row would otherwise stack three full section
   paddings. Halve them, and beat `.ak-section--tight` on specificity so the
   result does not depend on stylesheet order. */
.ak-pdpsec.ak-section {
	padding-block: calc(var(--ak-section) * .5);
}

/* The accordions follow the buy box directly, so they only need a rule
   above them, not a second helping of space. */
.ak-pdpsec--info.ak-section {
	padding-block-start: calc(var(--ak-section) * .4);
}

/* ---------------------------------------------------------- accordions */

.ak-info {
	display: grid;
	gap: .5rem;
}

.ak-info__item {
	border: 1px solid var(--ak-line);
	border-radius: var(--ak-radius);
	background: var(--ak-white);
	overflow: hidden;
	scroll-margin-top: calc(var(--ak-header-h) + 1rem);
}

.ak-info__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 52px;
	padding: .9rem 1.1rem;
	background: var(--ak-cream);
	color: var(--ak-ink);
	cursor: pointer;
	list-style: none;
	font-size: var(--ak-fs-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

/* Safari still paints the disclosure triangle without this. */
.ak-info__head::-webkit-details-marker { display: none; }

.ak-info__head:hover { background: var(--ak-cream-deep); }

.ak-info__head:focus-visible {
	outline: 2px solid var(--ak-black);
	outline-offset: -2px;
}

.ak-info__label { min-width: 0; }

.ak-info__chev {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--ak-muted);
	transition: transform .2s var(--ak-ease);
}
.ak-info__chev svg { width: 16px; height: 16px; }

.ak-info__item[open] > .ak-info__head .ak-info__chev { transform: rotate(90deg); }

.ak-info__body {
	padding: 1.1rem;
	max-width: var(--ak-max-text);
}

.ak-info__list {
	display: grid;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ak-muted);
	font-size: var(--ak-fs-sm);
	line-height: 1.65;
}

.ak-info__list li {
	position: relative;
	padding-inline-start: 1.1rem;
}

/* A short rule instead of a bullet — quieter, and it stays monochrome. */
.ak-info__list li::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: .78em;
	width: 6px;
	height: 1px;
	background: var(--ak-gold-soft);
}

/* --------------------------------------------------------- content tiles */

.ak-tiles {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 760px) {
	.ak-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

.ak-tile {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	padding: 1.5rem 1.25rem;
	background: var(--ak-cream);
	border-radius: var(--ak-radius);
}

.ak-tile__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: .5rem;
	border: 1px solid var(--ak-line);
	border-radius: 50%;
	background: var(--ak-white);
	color: var(--ak-black);
}
.ak-tile__ico svg { width: 18px; height: 18px; }

.ak-tile__title {
	margin: 0;
	color: var(--ak-black);
	font-size: var(--ak-fs-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.ak-tile__text {
	margin: 0;
	color: var(--ak-muted);
	font-size: var(--ak-fs-sm);
	line-height: 1.65;
}

.ak-tile__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: .4rem;
	min-height: 44px;            /* touch target */
	margin-block-start: auto;
	padding-block-start: .9rem;
	color: var(--ak-black);
	font-size: var(--ak-fs-xs);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ak-tile__link:hover {
	color: var(--ak-black);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.ak-tile__link:focus-visible {
	outline: 2px solid var(--ak-black);
	outline-offset: 3px;
}

.ak-tile__arrow {
	display: inline-flex;
	transition: transform .18s var(--ak-ease);
}
.ak-tile__arrow svg { width: 14px; height: 14px; }

.ak-tile__link:hover .ak-tile__arrow { transform: translateX(3px); }

/* ------------------------------------------------------------ preferences */

@media (prefers-reduced-motion: reduce) {
	.ak-info__chev,
	.ak-tile__arrow {
		transition: none;
	}
	.ak-tile__link:hover .ak-tile__arrow { transform: none; }
}

/* ------------------------------------------- inside the summary column now

   These accordions were built to sit full width below both columns, so the
   part wraps its contents in `.ak-wrap` and pads like a page section. Rendered
   inside the buying column that gutter applies a second time, leaving them
   narrower than the description panel directly above. Strip both so all three
   panels share one edge. */

.ak-pdp__summary .ak-pdpsec {
	padding-block: 0;
}

.ak-pdp__summary .ak-pdpsec > .ak-wrap {
	max-width: none;
	padding-inline: 0;
	margin-inline: 0;
}

/* Sit directly under the description rather than a section's worth away. */
.ak-pdp__summary .ak-pdpsec--info { margin-top: .75rem; }

/* Match the description panel's own rhythm. */
.ak-pdp__summary .ak-info + .ak-info { margin-top: .5rem; }
