:root {
	--dsk-font: 'Bodoni MT', 'Bodoni', Georgia, serif;
	--dsk-muted: #c6c6c6;
	--dsk-accent: #a12227;
}

/* خاصية hidden لازم تفوز دايمًا على أي display (وإلا القوائم تفضل مفتوحة) */
.dsk-wrap [hidden] {
	display: none !important;
}

.dsk-wrap {
	direction: rtl;
	text-align: right;
	font-family: var(--dsk-font);
	max-width: 640px;
	margin: 0 auto;
	color: #333;
}

.dsk-tabs {
	display: flex;
	justify-content: center;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
}

.dsk-tab {
	padding: 12px 20px;
	font-size: 16px;
	color: #999;
}

.dsk-tab-active {
	color: var(--dsk-accent);
	border-bottom: 2px solid var(--dsk-accent);
	font-weight: bold;
}

.dsk-summary {
	display: flex;
	flex-direction: column;
}

.dsk-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	border-bottom: 1px solid #eee;
	padding: 16px 4px;
	width: 100%;
	cursor: pointer;
	font-family: var(--dsk-font);
	text-align: right;
	text-decoration: none;
	color: inherit;
}

/*
 * ترتيب الصف مثبّت (السهم يسار، النص يمين) بغض النظر عن اتجاه الموقع/القالب،
 * عشان الموقع العربي (RTL) ما يقلب الترتيب. النص العربي نفسه بيتعرض صح تلقائيًا.
 */
.dsk-wrap .dsk-row,
.dsk-info-wrap .dsk-row,
.dsk-wrap .dsk-row-text,
.dsk-info-wrap .dsk-row-text,
.dsk-wrap .dsk-row-value,
.dsk-info-wrap .dsk-row-value {
	direction: ltr !important;
}

.dsk-row-text,
.dsk-row-value {
	text-align: right;
}

.dsk-row-disabled {
	opacity: .5;
	cursor: not-allowed;
	pointer-events: none;
}

.dsk-row-icon {
	color: var(--dsk-accent);
}

.dsk-row-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	margin-right: 10px;
}

.dsk-row-label {
	color: var(--dsk-muted);
	font-size: 13px;
}

.dsk-row-value {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	color: #222;
}

.dsk-panel {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 14px;
	margin-top: 10px;
	background: #fff;
}

.dsk-country-box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	background: #f7f7f7;
	border-radius: 6px;
	padding: 12px;
	margin-bottom: 10px;
}

.dsk-country-item {
	margin-bottom: 10px;
	border: 1px solid #eee;
	border-radius: 6px;
	overflow: hidden;
}

.dsk-country-header {
	gap: 6px;
}

.dsk-country-flag {
	font-size: 16px;
}

.dsk-country-option.dsk-selected {
	color: var(--dsk-accent);
	font-weight: bold;
}

.dsk-non-kw-note {
	color: var(--dsk-muted);
	font-size: 13px;
	padding: 10px 4px;
}

.dsk-search-box {
	position: relative;
	margin-bottom: 10px;
}

.dsk-search-input {
	width: 100%;
	padding: 10px 34px 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-family: var(--dsk-font);
}

.dsk-search-box .dashicons-search {
	position: absolute;
	right: 10px;
	top: 10px;
	color: var(--dsk-accent);
}

.dsk-gov-item {
	border-bottom: 1px solid #eee;
}

.dsk-gov-header {
	width: 100%;
	background: #f7f7f7;
	border: none;
	padding: 14px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	cursor: pointer;
	font-family: var(--dsk-font);
	font-size: 15px;
	color: var(--dsk-accent);
}

.dsk-gov-header .dashicons {
	transition: transform .15s ease-in-out;
}

.dsk-gov-item.dsk-open .dsk-gov-header .dashicons {
	transform: rotate(180deg);
}

.dsk-gov-item.dsk-open > .dsk-gov-header {
	font-weight: bold;
}

.dsk-area-list {
	display: flex;
	flex-direction: column;
}

.dsk-area-item {
	background: none;
	border: none;
	border-bottom: 1px solid #f2f2f2;
	padding: 12px 6px;
	text-align: right;
	cursor: pointer;
	font-family: var(--dsk-font);
	font-size: 15px;
}

.dsk-area-item:hover {
	background: #fafafa;
}

.dsk-time-options {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.dsk-time-btn {
	flex: 1;
	min-width: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid var(--dsk-accent);
	background: #fff;
	color: var(--dsk-accent);
	cursor: pointer;
	font-family: var(--dsk-font);
	font-size: 15px;
}

.dsk-time-btn.dsk-active,
.dsk-time-btn:hover:not(.dsk-locked) {
	background: var(--dsk-accent);
	color: #fff;
}

.dsk-time-btn.dsk-locked,
.dsk-time-btn[disabled] {
	border-color: var(--dsk-muted);
	color: var(--dsk-muted);
	cursor: not-allowed;
	background: #fafafa;
}

.dsk-specify-note {
	color: var(--dsk-muted);
	font-size: 13px;
	margin-top: 10px;
}

.dsk-slots-list {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dsk-slot-item {
	padding: 10px;
	border: 1px solid #eee;
	border-radius: 6px;
	background: #fff;
	text-align: right;
	cursor: pointer;
	font-family: var(--dsk-font);
}

.dsk-slot-item:hover {
	border-color: var(--dsk-accent);
	color: var(--dsk-accent);
}

.dsk-message {
	margin-top: 10px;
	padding: 10px;
	border-radius: 6px;
	background: #fdecea;
	color: #a12227;
	font-size: 14px;
}

/* [delivery_info] shortcode -- نفس شكل صفوف الملخص (التوصيل إلى / وقت التوصيل) */
.dsk-info-wrap {
	direction: rtl;
	text-align: right;
	font-family: var(--dsk-font);
	width: 100%;
	color: #333;
}
