/* ==========================================================================
   Al Fardan Jewellers – additions (Oct 2026)
   - Keyboard / touch access for the "About us" dropdown
   - Gold Advance Plans page (gold-advance-plans.html)
   - Policies page (privacy-policy.html)
   Uses the existing theme palette (#c6a12f gold, #7f174b plum) and fonts.
   ========================================================================== */

/* ---------- Main menu: "Gold Plans" added as a top-level item ----------
   The logo-centred menu has limited width, so on mid-size desktops the side
   columns (search / phone) are narrowed and spacing is tightened slightly.
   Below 1280px the site's existing hamburger header is used instead. */
@media (min-width: 1280px) and (max-width: 1699px) {
	.site-header .header-desktop .header-left,
	.site-header .header-desktop .header-right { flex: 0 0 170px !important; max-width: 170px !important; }
	.site-header .header-desktop .header-center { flex: 1 1 auto !important; max-width: calc(100% - 340px) !important; }
	.site-header .header-desktop .header-right .wishlist-box a { font-size: 16px !important; }
	.site-header .header-desktop .site-logo { margin-left: 50px !important; margin-right: 50px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 { padding-right: 16px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 > a { letter-spacing: 1.8px !important; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
	.site-header .header-desktop .site-logo { margin-left: 30px !important; margin-right: 30px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 { padding-right: 12px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 > a { letter-spacing: 1.2px !important; }
}
@media (min-width: 1280px) and (max-width: 1365px) {
	.site-header .header-desktop .site-logo { margin-left: 20px !important; margin-right: 20px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 { padding-right: 10px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 > a { letter-spacing: 1px !important; font-size: 11px !important; }
}
@media (min-width: 992px) and (max-width: 1279px) {
	.site-header .header-desktop .header-left,
	.site-header .header-desktop .header-right { flex: 0 0 150px !important; max-width: 150px !important; }
	.site-header .header-desktop .header-center { flex: 1 1 auto !important; max-width: calc(100% - 300px) !important; }
	.site-header .header-desktop .header-right .wishlist-box a { font-size: 14px !important; }
	.site-header .header-desktop .site-logo { margin-left: 16px !important; margin-right: 16px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 { padding-right: 9px !important; }
	.site-header .header-desktop .site-navigation ul > li.level-0 > a { letter-spacing: .6px !important; font-size: 10.5px !important; }
}
.site-navigation a:focus-visible,
.site-footer a:focus-visible,
.afj-app-badge:focus-visible,
.afj-toc a:focus-visible {
	outline: 2px solid #c6a12f;
	outline-offset: 3px;
}

/* ---------- Shared content helpers ---------- */
.afj-page .afj-lead {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	color: #868686;
	font-size: 16px;
	line-height: 1.8;
}
.afj-page h2.afj-section-title {
	font-family: "Cormorant Garamond", serif;
	font-size: 38px;
	font-weight: 500;
	color: #000;
	text-align: center;
	margin: 0 0 10px;
	line-height: 1.2;
}
.afj-page .afj-section-sub {
	text-align: center;
	color: #c6a12f;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	margin-bottom: 35px;
}
.afj-page h3.afj-sub-title {
	font-family: "Cormorant Garamond", serif;
	font-size: 26px;
	font-weight: 600;
	color: #000;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e5e5;
	position: relative;
}
.afj-page h3.afj-sub-title:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 60px;
	height: 2px;
	background: #c6a12f;
}
.afj-page h4.afj-item-title {
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	margin: 0 0 8px;
}
.afj-page p,
.afj-page li {
	color: #555;
	font-size: 15px;
	line-height: 1.8;
}

/* ---------- Gold Advance Plans ---------- */
.afj-scheme {
	border: 1px solid #e5e5e5;
	background: #fff;
	padding: 50px;
	margin-bottom: 70px;
}
.afj-scheme-head {
	text-align: center;
	margin-bottom: 40px;
}
.afj-scheme-head .afj-scheme-label {
	display: inline-block;
	color: #7f174b;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	margin-bottom: 8px;
}
.afj-scheme-head h2 {
	font-family: "Cormorant Garamond", serif;
	font-size: 40px;
	font-weight: 500;
	margin: 0;
	color: #000;
}

.afj-highlights {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px 45px;
}
.afj-highlight {
	flex: 1 1 200px;
	margin: 10px;
	background: #fcfbfe;
	border-top: 2px solid #c6a12f;
	padding: 22px 18px;
	text-align: center;
}
.afj-highlight .afj-hl-label {
	display: block;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #868686;
	margin-bottom: 6px;
}
.afj-highlight .afj-hl-value {
	display: block;
	font-family: "Cormorant Garamond", serif;
	font-size: 26px;
	font-weight: 600;
	color: #7f174b;
	line-height: 1.25;
}

.afj-terms {
	counter-reset: afj-term;
	list-style: none;
	padding: 0;
	margin: 0 0 45px;
}
.afj-terms > li {
	counter-increment: afj-term;
	position: relative;
	padding: 0 0 14px 46px;
	margin-bottom: 14px;
	border-bottom: 1px dashed #e5e5e5;
}
.afj-terms > li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}
.afj-terms > li:before {
	content: counter(afj-term);
	position: absolute;
	left: 0;
	top: 2px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 50%;
	border: 1px solid #c6a12f;
	color: #c6a12f;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
}
.afj-plan-tag {
	display: inline-block;
	background: #7f174b;
	color: #fff;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 4px 14px;
	margin-bottom: 18px;
}

.afj-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.afj-benefit {
	background: #f5f5f5;
	padding: 26px 26px 18px;
}
.afj-benefit.afj-wide {
	grid-column: 1 / -1;
}
.afj-benefit .afj-num {
	display: block;
	font-family: "Cormorant Garamond", serif;
	color: #c6a12f;
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 8px;
}
.afj-benefit ul {
	padding-left: 18px;
	margin: 0 0 10px;
}
.afj-em {
	color: #7f174b;
	font-weight: 700;
}
.afj-note {
	border-left: 3px solid #c6a12f;
	background: #fff;
	padding: 10px 16px;
	margin: 10px 0;
	font-style: italic;
}

/* App download */
.afj-app {
	text-align: center;
	padding: 60px 30px;
	background: #f5f5f5;
}
.afj-app-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 25px;
}
.afj-app-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 200px;
	padding: 10px 22px;
	background: #000;
	color: #fff !important;
	border-radius: 8px;
	text-align: left;
	transition: background .3s ease;
}
.afj-app-badge:hover {
	background: #7f174b;
	color: #fff;
}
.afj-app-badge i {
	font-size: 30px;
	width: 30px;
	text-align: center;
}
.afj-app-badge small {
	display: block;
	font-size: 11px;
	letter-spacing: .5px;
	line-height: 1.2;
	opacity: .85;
}
.afj-app-badge strong {
	display: block;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
}

/* ---------- Policies page ---------- */
.afj-toc {
	border: 1px solid #e5e5e5;
	padding: 28px 32px;
	margin-bottom: 60px;
	background: #fcfbfe;
}
.afj-toc h2 {
	font-family: "Cormorant Garamond", serif;
	font-size: 26px;
	font-weight: 600;
	margin: 0 0 12px;
}
.afj-toc ol {
	margin: 0;
	padding-left: 20px;
}
.afj-toc a {
	color: #7f174b;
	font-size: 16px;
}
.afj-toc a:hover {
	color: #c6a12f;
}
.afj-policy {
	padding-bottom: 50px;
	margin-bottom: 50px;
	border-bottom: 1px solid #e5e5e5;
	scroll-margin-top: 120px;
}
.afj-policy:last-child {
	border-bottom: 0;
	margin-bottom: 0;
}
.afj-policy h2 {
	font-family: "Cormorant Garamond", serif;
	font-size: 36px;
	font-weight: 500;
	margin: 0 0 25px;
	color: #000;
}
.afj-policy h3 {
	font-family: "Cormorant Garamond", serif;
	font-size: 24px;
	font-weight: 600;
	color: #7f174b;
	margin: 30px 0 10px;
}
.afj-policy a {
	color: #7f174b;
}
.afj-back-top {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #868686 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.afj-scheme { padding: 35px 25px; }
}
@media (max-width: 767px) {
	.afj-scheme { padding: 28px 18px; margin-bottom: 45px; }
	.afj-scheme-head h2 { font-size: 32px; }
	.afj-page h2.afj-section-title { font-size: 30px; }
	.afj-benefits { grid-template-columns: 1fr; }
	.afj-highlight .afj-hl-value { font-size: 22px; }
	.afj-policy h2 { font-size: 30px; }
	.afj-toc { padding: 22px 20px; }
}
@media (max-width: 767px) {
	.page-policies .section-container { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Our Shops (Gold Advance Plans page) ---------- */
.afj-shops {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.afj-shop {
	display: flex;
	flex-direction: column;
	border: 1px solid #e5e5e5;
	border-top: 2px solid #c6a12f;
	background: #fff;
	padding: 28px 26px 26px;
}
.afj-shop-brand {
	color: #c6a12f;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.afj-page h3.afj-shop-name {
	font-family: "Cormorant Garamond", serif;
	font-size: 28px;
	font-weight: 600;
	color: #7f174b;
	margin: 4px 0 16px;
}
.afj-shop-info {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	flex: 1 1 auto;
}
.afj-page .afj-shop-info li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 9px;
	font-size: 14px;
	line-height: 1.65;
	word-break: break-word;
}
.afj-shop-info li i {
	position: absolute;
	left: 0;
	top: 5px;
	width: 16px;
	text-align: center;
	color: #c6a12f;
	font-size: 13px;
}
.afj-shop-info .afj-label {
	display: block;
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #868686;
	line-height: 1.4;
}
.afj-shop-info a { color: #000; }
.afj-shop-info a:hover { color: #c6a12f; }
.afj-shop-btn { align-self: flex-start; }
@media (max-width: 991px) {
	.afj-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
	.afj-shops { grid-template-columns: 1fr; }
}
