/* Sanad Account: login modal + "my orders" page */
html.snda-lock { overflow: hidden; }
.snda-ov { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 4, 5, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.snda-ov.is-open { display: flex; animation: sndaFade .22s ease both; }
.snda-card { position: relative; width: min(100%, 390px); margin-top: 40px; padding: 54px 26px 24px; border: 1px solid transparent; border-radius: 24px; background: radial-gradient(260px 140px at 50% 0, rgba(232, 195, 90, .14), transparent 70%) padding-box, linear-gradient(#121110, #0d0c0a) padding-box, linear-gradient(160deg, rgba(246, 221, 134, .75), rgba(232, 195, 90, .08) 45%, rgba(184, 144, 44, .45)) border-box; color: #f6f1e3; box-shadow: 0 30px 70px rgba(0, 0, 0, .65); text-align: center; font-family: Cairo, Tahoma, sans-serif; }
.snda-ov.is-open .snda-card { animation: sndaPop .32s cubic-bezier(.2, .9, .3, 1.15) both; }
.snda-card.is-shake { animation: sndaShake .38s ease; }
.snda-logo { position: absolute; top: -40px; left: 50%; width: 80px; height: 80px; margin-left: -40px; border-radius: 50%; padding: 3px; background: linear-gradient(145deg, #f6dd86, #8a6a10); box-shadow: 0 0 0 6px #09090b, 0 10px 30px rgba(232, 195, 90, .35); }
.snda-logo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.snda-card h3 { margin: 0 0 18px; font-size: 23px; font-weight: 900; color: #f6f1e3; line-height: 1.4; }
.snda-card h3::after { content: ""; display: block; width: 38px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: linear-gradient(90deg, #b8902c, #f6dd86, #b8902c); }
.snda-sub { margin: -6px 0 18px; color: #9a968a; font-size: 14px; line-height: 1.7; }
.snda-sub b { color: #e8c35a; font-weight: 700; word-break: break-all; }
.snda-x { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border: 1px solid #2f2c23; border-radius: 50%; background: #16150f; color: #9a968a; font-size: 20px; line-height: 1; cursor: pointer; transition: color .15s, border-color .15s; }
.snda-x:hover { color: #e8c35a; border-color: #e8c35a; }
.snda-field { position: relative; display: block; }
.snda-field::before { content: ""; position: absolute; top: 50%; left: 15px; width: 20px; height: 20px; margin-top: -10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8c35a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .85; pointer-events: none; }
.snda-card input.snda-email { width: 100% !important; height: 54px !important; margin: 0 !important; padding: 0 14px 0 46px !important; border-radius: 14px !important; border: 1px solid #34312a !important; background: #09090b !important; color: #f6f1e3 !important; font-family: inherit; font-size: 16px !important; text-align: left; outline: none; box-shadow: none; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.snda-email::placeholder { color: #5f5b51; }
.snda-card input.snda-email:focus { border-color: #e8c35a !important; box-shadow: 0 0 0 4px rgba(232, 195, 90, .16) !important; }
.snda-code input:focus { border-color: #e8c35a; box-shadow: 0 0 0 4px rgba(232, 195, 90, .16); }
.snda-btn { position: relative; width: 100%; height: 54px; margin-top: 14px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #f6dd86, #d4ab45 55%, #b8902c); color: #17130a; font-family: inherit; font-size: 17px; font-weight: 900; cursor: pointer; box-shadow: 0 4px 0 #6d551b, 0 12px 26px rgba(232, 195, 90, .22); transition: transform .12s, box-shadow .12s, filter .15s; }
.snda-btn:hover { filter: brightness(1.05); }
.snda-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #6d551b; }
.snda-btn:disabled { opacity: .65; cursor: default; }
.snda-btn:focus-visible, .snda-link:focus-visible, .snda-x:focus-visible { outline: 2px solid #f6dd86; outline-offset: 3px; }
.snda-code { display: flex; gap: 10px; justify-content: center; margin: 2px 0 4px; }
.snda-code input { width: 60px; height: 68px; border-radius: 14px; border: 1px solid #34312a; background: #09090b; color: #f6dd86; font-family: inherit; font-size: 30px; font-weight: 900; text-align: center; outline: none; padding: 0; transition: border-color .15s, background .15s, box-shadow .15s; }
.snda-code input:valid { border-color: #b8902c; background: #16140e; }
.snda-links { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.snda-link { border: 0; background: transparent; color: #9a968a; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; padding: 6px 4px; }
.snda-link:hover:not(:disabled) { color: #e8c35a; }
.snda-link:disabled { opacity: .5; cursor: default; }
.snda-err { margin: 14px 0 0; padding: 10px 12px; border: 1px solid rgba(193, 18, 31, .35); border-radius: 12px; background: rgba(193, 18, 31, .12); color: #ff9a9a; font-size: 13.5px; font-weight: 700; }
.snda-err[hidden], .snda-step[hidden] { display: none; }
@keyframes sndaFade { from { opacity: 0; } }
@keyframes sndaPop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes sndaUp { from { transform: translateY(100%); } }
@keyframes sndaShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@media (max-width: 560px) {
	.snda-ov { align-items: flex-end; padding: 0; }
	.snda-card { width: 100%; margin: 0; padding: 54px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; border-bottom: 0; }
	.snda-ov.is-open .snda-card { animation: sndaUp .34s cubic-bezier(.2, .9, .3, 1) both; }
	.snda-code input { width: 58px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .snda-ov, .snda-card { animation: none !important; } }

/* my orders page */
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
body.woocommerce-account .woocommerce-MyAccount-navigation a { display: inline-block; padding: 9px 16px; border-radius: 10px; border: 1px solid #3a3526; color: #f6f1e3; text-decoration: none; background: #121110; }
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: #e8c35a; border-color: #e8c35a; color: #17130a; font-weight: 800; }
body.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: 100%; }
body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
body.woocommerce-account table.shop_table { border-collapse: separate; border-spacing: 0; width: 100%; border: 1px solid #2f2c23; border-radius: 14px; overflow: hidden; background: #121110; }
body.woocommerce-account table.shop_table th, body.woocommerce-account table.shop_table td { padding: 12px 14px; border-color: #2f2c23; color: #f6f1e3; }
body.woocommerce-account table.shop_table a { color: #e8c35a; }

/* hide the WooCommerce email-verification notice: the login code already verifies the email */
.woocommerce-MyAccount-content .woocommerce-info:has(a[href*="wc_send_verification"]) { display: none !important; }
