 /* Theme */
 .root {
   --primary: #E45A2A;
   --secondary: #FF8A3D;
   --dark: #B93F16;
   --tint: #FFF1E8;

   /* Neutrals */
   --ink: #0f172a;
   --muted: #64748b;
   --border: rgba(15, 23, 42, .10);
   --bg: #f6f7fb;
   --white: #fff;

   /* Radius + Shadows */
   --r: 22px;
   --shadow: 0 18px 55px rgba(2, 6, 23, .12);
   --shadow-sm: 0 10px 30px rgba(2, 6, 23, .08);

   /* Footer color (B88E80 theme) */
   --footer-1: #9F786C;
   --footer-2: #B88E80;
   --footer-3: #8A675C;
 }

 * {
   box-sizing: border-box;
   margin: 0;
   padding: 0
 }

 body {
   font-family: 'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
   background: var(--bg);
   color: var(--ink);
   line-height: 1.7;
 }

 a {
   color: inherit;
   text-decoration: none
 }

 img {
   max-width: 100%;
   display: block
 }

 .container {
   width: 92%;
   max-width: 1200px;
   margin: 0 auto;
   padding-inline: 16px;
 }

 /* =========================
       HEADER
       ========================= */
 .header {
   background: var(--white);
   border-bottom: 1px solid rgba(15, 23, 42, .06);
   position: sticky;
   top: 0;
   z-index: 1000;
   box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
 }


 .brand-mark {
   width: 44px;
   height: 44px;
   border-radius: 16px;
   background: linear-gradient(135deg, var(--primary), var(--secondary));
   box-shadow: 0 14px 40px rgba(2, 6, 23, .14);
   flex: 0 0 auto;
 }

 .search {
   position: relative;
   display: flex;
   align-items: center;
 }

 .search input {
   width: 240px;
   padding: 11px 14px 11px 44px;
   border-radius: 999px;
   border: 2px solid rgba(15, 23, 42, .10);
   outline: none;
   transition: .18s ease;
   font: inherit;
   background: #fff;
 }

 .search input:focus {
   border-color: rgba(228, 90, 42, .40);
   box-shadow: 0 0 0 4px rgba(228, 90, 42, .12);
 }

 .search .icon {
   position: absolute;
   left: 12px;
   width: 22px;
   height: 22px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: rgba(15, 23, 42, .55);
   pointer-events: none;
   font-weight: 900;
 }

 .pill {
   height: 42px;
   padding: 0 14px;
   border-radius: 999px;
   border: 2px solid rgba(15, 23, 42, .10);
   background: #fff;
   color: rgba(15, 23, 42, .80);
   font-weight: 900;
   cursor: pointer;
   transition: .18s ease;
   display: inline-flex;
   align-items: center;
   gap: 10px;
   white-space: nowrap;
 }

 .pill:hover {
   border-color: rgba(228, 90, 42, .30);
   color: var(--dark);
   background: rgba(228, 90, 42, .06);
 }

 .cart-pill {
   position: relative;
 }

 .cart-count {
   position: absolute;
   top: -8px;
   right: -6px;
   min-width: 20px;
   height: 20px;
   padding: 0 6px;
   border-radius: 999px;
   background: var(--secondary);
   color: #FF7A2F;
   font-size: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 900;
   border: 2px solid #fff;
 }


 .mobile-menu .search input {
   width: 100%;
 }

 /* =========================
       PAGE HERO / TITLE
       ========================= */
 .page-head {
   padding: 18px 0 14px;
 }

 .crumb {
   display: flex;
   align-items: center;
   justify-content: flex-start;
   gap: 10px;
   flex-wrap: wrap;
   color: var(--muted);
   font-weight: 900;
   font-size: 13px;
   margin-bottom: 10px;
 }

 .crumb .sep {
   opacity: .55
 }

 .page-title {
   font-size: 28px;
   font-weight: 900;
   color: var(--ink);
   letter-spacing: -.2px;
   margin: 0 0 6px;
 }

 .page-sub {
   margin: 0;
   color: var(--muted);
   font-weight: 800;
   font-size: 14px;
   line-height: 1.9;
 }

 /* =========================
       CHECKOUT LAYOUT
       ========================= */
 .checkout {
   padding: 10px 0 40px;
 }

 .grid {
   display: grid;
   grid-template-columns: 1.05fr .95fr;
   gap: 16px;
   align-items: start;
 }

 .card {
   background: rgba(255, 255, 255, .96);
   border: 1px solid rgba(15, 23, 42, .10);
   border-radius: var(--r);
   box-shadow: var(--shadow-sm);
   overflow: hidden;
 }

 .card-hd {
   padding: 18px 18px 14px;
   border-bottom: 1px solid rgba(15, 23, 42, .08);
   background:
     radial-gradient(900px 320px at 80% -30%, rgba(228, 90, 42, .14), transparent 60%),
     linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .92));
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
 }

 .card-hd h2 {
   margin: 0;
   font-size: 16px;
   font-weight: 900;
 }

 .hint {
   color: var(--muted);
   font-weight: 900;
   font-size: 12px;
 }

 .card-bd {
   padding: 16px 18px 18px;
 }

 .section-title {
   margin: 0 0 10px;
   font-size: 14px;
   font-weight: 900;
   color: rgba(15, 23, 42, .88);
 }

 .divider {
   height: 1px;
   background: rgba(15, 23, 42, .08);
   margin: 14px 0;
 }

 /* Form */
 .form-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 12px;
 }

 .field {
   display: flex;
   flex-direction: column;
   gap: 8px;
 }

 .full {
   grid-column: 1 / -1;
 }

 label {
   font-weight: 900;
   font-size: 13px;
   color: rgba(15, 23, 42, .82);
 }

 input,
 select,
 textarea {
   width: 100%;
   border: 2px solid rgba(15, 23, 42, .10);
   background: #fff;
   border-radius: 16px;
   padding: 12px 12px;
   font: inherit;
   outline: none;
   transition: .18s ease;
 }

 textarea {
   min-height: 96px;
   resize: vertical;
 }

 input:focus,
 select:focus,
 textarea:focus {
   border-color: rgba(228, 90, 42, .45);
   box-shadow: 0 0 0 4px rgba(228, 90, 42, .12);
 }

 .error {
   display: none;
   font-weight: 900;
   font-size: 12px;
   color: #b91c1c;
 }

 .field.invalid .error {
   display: block;
 }

 .field.invalid input,
 .field.invalid select,
 .field.invalid textarea {
   border-color: rgba(185, 28, 28, .45);
   box-shadow: 0 0 0 4px rgba(185, 28, 28, .10);
 }

 /* Shipping chips */
 .ship-row {
   display: flex;
   gap: 10px;
   flex-wrap: wrap;
   align-items: center;
 }

 .chip {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   border: 1px solid rgba(15, 23, 42, .10);
   background: #fff;
   border-radius: 999px;
   padding: 10px 12px;
   cursor: pointer;
   user-select: none;
   font-weight: 900;
   font-size: 13px;
   transition: .18s ease;
 }

 .chip input {
   width: 18px;
   height: 18px;
   accent-color: var(--primary);
 }

 .chip.active {
   border-color: rgba(228, 90, 42, .32);
   background: rgba(228, 90, 42, .06);
 }

 .small-note {
   margin-top: 10px;
   color: var(--muted);
   font-weight: 800;
   font-size: 13px;
   line-height: 1.8;
 }

 /* Payment list */
 .pay-list {
   display: grid;
   gap: 10px;
 }

 .pay-item {
   border: 1px solid rgba(15, 23, 42, .10);
   background: #fff;
   border-radius: 18px;
   padding: 12px;
   display: flex;
   align-items: flex-start;
   gap: 12px;
   cursor: pointer;
   transition: .18s ease;
 }

 .pay-item input {
   margin-top: 3px;
   width: 18px;
   height: 18px;
   accent-color: var(--primary);
 }

 .pay-item.active {
   border-color: rgba(228, 90, 42, .32);
   background: rgba(228, 90, 42, .06);
 }

 .pay-icon {
   width: 48px;
   height: 48px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(15, 23, 42, .04);
   border-radius: 12px;
   flex-shrink: 0;
 }

 .pay-icon i {
   font-size: 24px;
   color: var(--primary-green);
 }

 .pay-icon-logo {
   background: transparent;
   padding: 4px;
 }

 .pay-icon-logo img {
   width: 100%;
   height: 100%;
   object-fit: contain;
   display: block;
 }

 .pay-item.active .pay-icon {
   background: rgba(228, 90, 42, .12);
 }

 .pay-item.active .pay-icon-logo {
   background: rgba(228, 90, 42, .08);
 }

 .pay-item.active .pay-icon i {
   color: var(--primary-green);
 }

 .pay-main {
   flex: 1;
 }

 .pay-title {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   font-weight: 900;
   font-size: 14px;
 }

 .tag {
   font-size: 12px;
   font-weight: 900;
   padding: 6px 10px;
   border-radius: 999px;
   background: rgba(15, 23, 42, .06);
   border: 1px solid rgba(15, 23, 42, .08);
   color: rgba(15, 23, 42, .72);
   white-space: nowrap;
 }

 .pay-sub {
   margin-top: 6px;
   color: var(--muted);
   font-weight: 800;
   font-size: 13px;
   line-height: 1.7;
 }

 .pay-extra {
   display: none;
   margin-top: 10px;
 }

 .pay-item.active .pay-extra {
   display: block;
 }

 /* Summary */
 .summary {
   position: sticky;
   top: 96px;
   /* under header */
 }

 .items {
   display: grid;
   gap: 10px;
 }

 .item {
   display: grid;
   grid-template-columns: 64px 1fr;
   gap: 10px;
   align-items: center;
   padding: 10px;
   border-radius: 18px;
   background: #fff;
   border: 1px solid rgba(15, 23, 42, .08);
 }

 .thumb {
   width: 64px;
   height: 64px;
   border-radius: 16px;
   background: #f1f5f9;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 900;
   color: rgba(15, 23, 42, .55);
   overflow: hidden;
 }

 .thumb img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }

 .item-name {
   font-weight: 900;
   font-size: 14px;
   line-height: 1.4;
   margin-bottom: 4px;
 }

 .item-meta {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   color: var(--muted);
   font-weight: 900;
   font-size: 12px;
 }

 .money {
   color: var(--primary);
   font-weight: 900;
   white-space: nowrap;
   font-size: 13px;
 }

 .coupon {
   display: flex;
   gap: 10px;
   align-items: center;
   margin-top: 12px;
 }

 .btn {
   border: none;
   cursor: pointer;
   border-radius: 16px;
   padding: 12px 14px;
   font-weight: 900;
   font-family: inherit;
   transition: .18s ease;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   white-space: nowrap;
 }

 .btn-primary {
   /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
   color: #fff;
   box-shadow: 0 14px 40px rgba(2, 6, 23, .14);
   width: 100%;
   height: 52px;
   border-radius: 18px;
 }

 .btn-primary:hover {
   transform: translateY(-1px);
   box-shadow: 0 18px 55px rgba(2, 6, 23, .18);
 }

 .btn-ghost {
   background: #fff;
   border: 2px solid rgba(15, 23, 42, .12);
   color: rgba(15, 23, 42, .78);
   height: 48px;
   width: 100%;
   border-radius: 18px;
 }

 .btn-ghost:hover {
   border-color: rgba(228, 90, 42, .30);
   color: var(--dark);
   background: rgba(228, 90, 42, .06);
 }

 .totals {
   margin-top: 14px;
   background: #fff;
   border: 1px solid rgba(15, 23, 42, .08);
   border-radius: 18px;
   padding: 12px;
   display: grid;
   gap: 8px;
 }

 .row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   font-weight: 900;
   font-size: 13px;
 }

 .row span {
   color: var(--muted);
   font-weight: 900;
 }

 .row strong {
   color: var(--ink);
 }

 .row.total {
   padding-top: 8px;
   border-top: 1px dashed rgba(15, 23, 42, .18);
   font-size: 15px;
 }

 .row.total strong {
   color: var(--primary);
 }

 .note {
   margin-top: 10px;
   color: var(--muted);
   font-weight: 800;
   font-size: 12px;
   line-height: 1.7;
 }

 /* Toast */
 .toast {
   position: fixed;
   left: 16px;
   bottom: 16px;
   width: min(520px, calc(100% - 32px));
   background: rgba(255, 255, 255, .96);
   border: 1px solid rgba(15, 23, 42, .12);
   border-radius: 18px;
   box-shadow: var(--shadow);
   padding: 14px;
   z-index: 9999;
   display: none;
 }

 .toast.show {
   display: block;
 }

 .toast h4 {
   margin: 0 0 6px;
   font-size: 16px;
   font-weight: 900;
   color: var(--ink);
 }

 .toast p {
   margin: 0;
   color: var(--muted);
   font-weight: 900;
   font-size: 13px;
   line-height: 1.7;
 }

 /* =========================
       FOOTER (B88E80)
       ========================= */
 .footer {
    background: #0F1C2E !important;
    padding: 60px 0 26px;
     color: #fff;
    margin-top: 36px;
  }

 .footer-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap: 18px;
   margin-bottom: 16px;
 }

 .footer-card {
   background: rgba(255, 255, 255, .08);
   border: 1px solid rgba(255, 255, 255, .12);
   border-radius: 18px;
   padding: 18px;
   backdrop-filter: blur(6px);
 }

 .footer h4 {
   margin: 0 0 10px;
   font-weight: 900;
   font-size: 15px;
   color: #FF7A2F;
 }

 .footer p {
   margin: 0;
   color: rgba(255, 255, 255, .86);
   font-weight: 800;
   font-size: 13px;
   line-height: 1.9;
 }

 .footer ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: grid;
   gap: 8px;
 }

 .footer a {
   color: rgba(255, 255, 255, .88);
   font-weight: 900;
   font-size: 13px;
   padding: 4px 0;
   display: inline-flex;
   transition: .18s ease;
 }

 .footer a:hover {
   color: #FF7A2F;
   transform: translateX(-2px);
   text-decoration: underline;
   text-underline-offset: 4px;
 }

 .social {
   display: flex;
   gap: 10px;
   margin-top: 12px;
   flex-wrap: wrap;
 }

 .social a {
   width: 44px;
   height: 44px;
   border-radius: 14px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, .10);
   border: 1px solid rgba(255, 255, 255, .14);
   text-decoration: none;
 }

 .social a:hover {
   background: rgba(184, 142, 128, .25);
   border-color: rgba(184, 142, 128, .35);
   transform: translateY(-2px);
 }

 .footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, .16);
   padding-top: 16px;
   text-align: center;
   color: rgba(255, 255, 255, .78);
   font-weight: 900;
   font-size: 13px;
 }

 /* =========================
       RESPONSIVE
       ========================= */
 @media (max-width: 980px) {
   .grid {
     grid-template-columns: 1fr;
   }

   .summary {
     position: static;
     top: auto;
   }

   .search input {
     width: 200px;
   }
 }

 :root {
   /* NEW PALETTE (from your image) */
   --p: #1F3A5F;
   /* primary (navy) */
   --p2: #2FA4B7;
   /* secondary (teal) */
   --accent: #E45A2A;
   /* accent (orange) */

   --ink: #1F3A5F;
   /* main text */
   --muted: #6B6E72;
   /* muted text */

   --border: rgba(31, 58, 95, .18);
   --card: rgba(255, 255, 255, .92);

   --shadow: 0 18px 55px rgba(31, 58, 95, .14);
   --shadow-sm: 0 12px 34px rgba(31, 58, 95, .12);

   --r: 22px;
 }

 :focus-visible {
   outline: 3px solid rgba(47, 164, 183, .40);
   outline-offset: 2px;
   border-radius: 12px;
 }

 /* Header buttons: subtle focus so hamburger/lang don’t get a heavy ring */
 .header .hamburger:focus-visible,
 .header .lang-toggle:focus-visible {
   outline: 2px solid rgba(228, 90, 42, .4);
   outline-offset: 2px;
 }

 .sr-only {
   position: absolute !important;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0
 }

 .skip-link {
   position: absolute;
   top: -60px;
   right: 16px;
   background: var(--p);
   color: #FF7A2F;
   padding: 10px 14px;
   border-radius: 12px;
   z-index: 9999;
   transition: top .2s;
   text-decoration: none;
   font-weight: 900
 }

 .skip-link:focus {
   top: 16px
 }


/* Apple Pay Logo Style */
.pay-item.pay-apple .pay-icon { background: #000 !important; color: #fff !important; }
.pay-item.pay-apple .pay-icon i { color: #fff !important; }


