/*
 * Casetti: the product page, tighter and with new tabs (owner's request, 2026-11-29; inc/site/product-quickhelp.php).
 * The shipping line right under "Hemen Al"; smaller gaps down to the tabs and the related products; the tabs (Açıklama,
 * Ek Bilgi, Değerlendirmeler, Taksit Tablosu) as rounded cards, each with a small icon, a chevron, the open one framed.
 */

/* ---- Gaps ---- */
.single-product.woocommerce div.product .casetti-trust {
	margin: -6px 0 6px;
}

.single-product.woocommerce div.product .casetti-trust__list + .casetti-trust__ship,
.single-product.woocommerce div.product .casetti-trust__ship {
	padding: 0;
}

.single-product.woocommerce div.product .summary {
	margin-bottom: 18px;
}

.single-product.woocommerce div.product .myco-product-accordion {
	margin: 0 0 28px;
}

/* ---- The tabs ---- */
.single-product.woocommerce div.product .myco-product-accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 0;
}

.single-product.woocommerce div.product .myco-product-accordion__item {
	overflow: hidden;
	border: 1px solid #e7e2da;
	border-radius: 10px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-product.woocommerce div.product .myco-product-accordion__item[open] {
	border-color: var(--casetti-ink, #1a1a1a);
	box-shadow: 0 8px 24px -16px rgba(20, 18, 14, 0.35);
}

.single-product.woocommerce div.product .myco-product-accordion__item > summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	padding: 0 48px 0 16px;
	background: #faf8f5;
	color: var(--casetti-ink, #1a1a1a);
	font: 600 14px/1.3 var(--casetti-font-heading, inherit);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.single-product.woocommerce div.product .myco-product-accordion__item[open] > summary {
	background: #fff;
	border-bottom: 1px solid #efebe4;
}

/* The icon at the left (::before) on a small round ground; the chevron at the right (::after). */
.single-product.woocommerce div.product .myco-product-accordion__item > summary::before {
	content: "";
	position: static;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	margin: 0;
	border-radius: 50%;
	background-color: #f1ebe1;
	background-image: var(--tab-icon);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	transform: none;
}

.single-product.woocommerce div.product .myco-product-accordion__item > summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 9px;
	height: 9px;
	margin-top: -7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	background: none;
	transform: rotate(45deg);
	transition: transform 0.25s ease, margin-top 0.25s ease;
}

.single-product.woocommerce div.product .myco-product-accordion__item[open] > summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

#tab-title-description { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8865a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
#tab-title-additional_information { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8865a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3H3v18h18zM3 9h18M9 21V9'/%3E%3C/svg%3E"); }
#tab-title-reviews { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8865a' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E"); }
#tab-title-paytr_installment { --tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8865a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E"); }
.single-product.woocommerce div.product .myco-product-accordion__item > summary:not([id]) { --tab-icon: none; }

/* The panel */
.single-product.woocommerce div.product .myco-product-accordion__item > .woocommerce-Tabs-panel {
	padding: 16px 18px 18px;
	font-size: 15px;
	line-height: 1.75;
}

.single-product.woocommerce div.product .myco-product-accordion .woocommerce-Tabs-panel strong {
	color: var(--casetti-ink, #1a1a1a);
	font-weight: 600;
}

/* "Ek Bilgi": a tidy two-column table */
.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes th,
.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes td {
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid #efebe4;
	background: none;
	font-size: 14px;
	text-align: left;
	vertical-align: top;
}

.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes tr:last-child th,
.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes tr:last-child td {
	border-bottom: 0;
}

.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes th {
	width: 40%;
	color: var(--myco-color-muted);
	font-weight: 500;
}

.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes td {
	color: var(--casetti-ink, #1a1a1a);
	font-weight: 500;
}

.single-product.woocommerce div.product .myco-product-accordion table.woocommerce-product-attributes td p {
	margin: 0;
}

/* The related products closer */
.single-product.woocommerce div.product section.related {
	margin-top: 0;
	padding-top: 0;
}

@media (prefers-reduced-motion: reduce) {
	.single-product.woocommerce div.product .myco-product-accordion__item > summary::after {
		transition: none;
	}
}
