 /* Reset and base */
 * {
     box-sizing: border-box;
 }

 body {
     margin: 0;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
         Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
     background: #fff;
     color: #000;
 }

 a {
     color: #000;
     text-decoration: none;
 }

 a:hover,
 a:focus {
     text-decoration: underline;
 }

 input,
 select,
 button,
 textarea {
     font-family: inherit;
     font-size: 1rem;
 }

 /* Container */
 .container {
     max-width: 480px;
     margin: 0 auto;
     padding: 0 16px 48px;
 }

 /* Header */
 .header {
     position: sticky;
     top: 0;
     background: #000;
     color: white;
     display: flex;
     align-items: center;
     justify-content: center;
     height: 44px;
     padding: 0 12px;
     font-weight: 600;
     font-size: 14px;
     z-index: 10;
 }

 .header a.close-btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-weight: 700;
     font-size: 20px;
     text-decoration: none;
     user-select: none;
 }

 .header .domain {
     font-weight: 700;
 }

 .header .domain-sub {
     font-weight: 400;
     font-size: 11px;
     opacity: 0.75;
 }

 .header .cart-icon {
     font-size: 22px;
 }

 /* Order summary bar */
 .order-bar {
     background: #f7f7f7;
     display: flex;
     justify-content: space-between;
     font-weight: 700;
     padding: 12px 16px;
     font-size: 17px;
     cursor: pointer;
     border-bottom: 1px solid #ddd;
 }

 .order-bar span {
     display: flex;
     align-items: center;
 }

 .order-bar .arrow {
     margin-left: 8px;
     font-weight: 300;
     font-size: 18px;
     transform-origin: center;
     transition: transform 0.3s ease;
 }

 .order-bar.open .arrow {
     transform: rotate(180deg);
 }

 /* Order summary details */
 .order-summary {
     border: 1px solid #ddd;
     border-top: none;
     padding: 12px 12px 8px;
     display: none;
 }

 .order-summary.open {
     display: block;
 }

 .order-items {
     max-height: 220px;
     overflow-y: auto;
 }

 .order-item {
     display: flex;
     margin-bottom: 12px;
 }

 .order-item:last-child {
     margin-bottom: 4px;
 }

 .order-item img {
     width: 64px;
     height: 64px;
     border-radius: 8px;
     border: 1px solid #ddd;
     margin-right: 12px;
     object-fit: cover;
 }

 .order-item-info {
     flex: 1;
 }

 .order-item-title {
     font-weight: 700;
     font-size: 15px;
 }

 .order-item-subtitle {
     font-size: 14px;
     color: #666;
 }

 .order-item-qty {
     background: #777;
     color: white;
     font-weight: 700;
     font-size: 11px;
     border-radius: 50%;
     width: 20px;
     height: 20px;
     line-height: 20px;
     text-align: center;
     position: relative;
     top: -4px;
     left: -44px;
     user-select: none;
 }

 .order-item-price {
     font-weight: 600;
     font-size: 14px;
     white-space: nowrap;
     margin-left: 12px;
     align-self: center;
 }

 /* Discount code form in summary */
 .discount-code-sm {
     display: flex;
     margin-top: 10px;
     gap: 8px;
 }

 .discount-code-sm input {
     flex: 1;
     padding: 8px 10px;
     font-size: 14px;
     border: 1px solid #ddd;
     border-radius: 6px;
 }

 .discount-code-sm button {
     background: #000;
     color: #fff;
     padding: 8px 14px;
     border: none;
     font-weight: 700;
     border-radius: 6px;
     cursor: pointer;
     transition: background 0.3s ease;
 }

 .discount-code-sm button:hover {
     background: #222;
 }

 /* Totals */
 .cost-totals {
     padding-top: 12px;
     border-top: 1px solid #ddd;
     font-size: 15px;
     font-weight: 500;
 }

 .cost-row {
     display: flex;
     justify-content: space-between;
     padding: 4px 0;
 }

 .cost-row.total {
     font-size: 18px;
     font-weight: 700;
     padding-top: 8px;
     border-top: 1px solid #ddd;
 }

 .cost-row .help-icon {
     font-weight: 900;
     margin-left: 4px;
     cursor: help;
     color: #666;
     font-size: 16px;
 }

 /* EXPRESS CHECKOUT */
 .express-checkout-label {
     text-align: center;
     color: gray;
     font-weight: 500;
     font-size: 14px;
     margin: 22px 0 8px 0;
     user-select: none;
 }

 .btn-apple-pay {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 100%;
     background: black;
     color: white;
     border-radius: 12px;
     height: 44px;
     border: none;
     font-size: 18px;
     font-weight: 600;
     cursor: pointer;
     gap: 10px;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
         Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
 }

 .btn-apple-pay svg {
     width: 22px;
     height: 22px;
     fill: white;
 }

 .or-divider {
     text-align: center;
     font-weight: 600;
     color: #888;
     margin-top: 14px;
     margin-bottom: 14px;
     user-select: none;
     position: relative;
 }

 .or-divider::before,
 .or-divider::after {
     content: "";
     position: absolute;
     top: 50%;
     width: calc(50% - 30px);
     height: 1px;
     background: #ddd;
 }

 .or-divider::before {
     left: 0;
 }

 .or-divider::after {
     right: 0;
 }

 /* Contact section */
 .section-header {
     font-size: 22px;
     font-weight: 700;
     margin-top: 0;
     margin-bottom: 10px;
 }

 .log-in-link {
     font-weight: 700;
     font-size: 14px;
     float: right;
 }

 .input-group {
     margin-bottom: 16px;
 }

 input[type="email"],
 input[type="text"],
 select,
 textarea,
 input[type="tel"] {
     width: 100%;
     padding: 12px 14px;
     font-size: 16px;
     border: 1.7px solid #666;
     border-radius: 10px;
     outline-offset: -2px;
     outline-color: transparent;
     transition: outline-color 0.2s ease;
 }

 input[type="email"]:focus,
 input[type="text"]:focus,
 select:focus,
 textarea:focus,
 input[type="tel"]:focus {
     outline-color: #000;
 }

 input::placeholder {
     color: gray;
 }

 /* Checkbox label styles */
 .checkbox-label {
     font-weight: 600;
     font-size: 15px;
     margin-top: -6px;
     display: flex;
     align-items: center;
     gap: 8px;
     user-select: none;
 }

 input[type="checkbox"] {
     width: 20px;
     height: 20px;
     cursor: pointer;
 }

 /* Align checkbox and label nicely */
 .checkbox-container {
     margin: 3px 0 14px 0;
 }

 /* Delivery section */
 select.country-select {
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     background-image:
         linear-gradient(45deg, transparent 50%, black 50%),
         linear-gradient(135deg, black 50%, transparent 50%),
         linear-gradient(to right, #ccc, #ccc);
     background-position:
         calc(100% - 20px) calc(1em + 1px),
         calc(100% - 15px) calc(1em + 1px),
         calc(100% - 25px) 0.9em;
     background-size: 5px 5px, 5px 5px, 1px 1.5em;
     background-repeat: no-repeat;
 }

 /* Shipping method */
 .shipping-methods {
     margin-bottom: 20px;
 }

 .shipping-method {
     padding: 12px 14px;
     border: 1.5px solid #666;
     border-radius: 10px;
     margin-bottom: 12px;
     cursor: pointer;
     font-weight: 600;
     font-size: 15px;
 }

 .shipping-method.active,
 .shipping-method:hover {
     border-color: black;
     background-color: #f5f5f5;
 }

 /* Ship/Billing radio */
 .billing-address {
     margin-bottom: 24px;
 }

 .billing-option {
     padding: 12px 14px;
     border: 1.5px solid #666;
     border-radius: 10px;
     margin-bottom: 12px;
     cursor: pointer;
     font-weight: 600;
     font-size: 15px;
 }

 .billing-option.active,
 .billing-option:hover {
     border-color: black;
     background-color: #f5f5f5;
 }

 /* Payment section */
 .payment-section {
     margin-bottom: 24px;
 }

 .payment-header {
     font-weight: 700;
     font-size: 22px;
     margin-bottom: 4px;
 }

 .payment-desc {
     font-size: 14px;
     color: #777;
     margin-top: 0;
     margin-bottom: 14px;
     user-select: none;
 }

 .payment-method {
     border: 1.5px solid #666;
     border-radius: 10px;
     padding: 14px 14px 14px 12px;
     margin-bottom: 14px;
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 12px;
     font-weight: 600;
     font-size: 16px;
     position: relative;
 }

 .payment-method:hover {
     border-color: black;
 }

 .payment-method input[type="radio"] {
     cursor: pointer;
     transform: scale(1.2);
 }

 .payment-label-text {
     flex: 1;
 }

 .card-icons {
     display: flex;
     gap: 6px;
     align-items: center;
 }

 .card-icons img {
     height: 22px;
     object-fit: contain;
     border-radius: 3px;
     border: 1px solid #ddd;
     background-color: #fff;
 }

 .apple-pay-label svg {
     width: 24px;
     height: 24px;
     vertical-align: middle;
     fill: black;
 }

 /* COD extra info box */
 .cod-info {
     background: #e8e8e8;
     border-radius: 10px;
     padding: 12px 14px;
     font-size: 14px;
     font-weight: 600;
     color: black;
     margin-top: -10px;
     line-height: 1.3;
     user-select: none;
 }

 /* Discount code section in bottom summary */
 .discount-code-bottom {
     display: flex;
     gap: 8px;
     margin-bottom: 18px;
 }

 .discount-code-bottom input {
     flex: 1;
     padding: 10px 12px;
     font-size: 16px;
     border: 1.7px solid #666;
     border-radius: 10px;
 }

 .discount-code-bottom button {
     background: #ddd;
     border: none;
     border-radius: 10px;
     padding: 10px 14px;
     font-weight: 700;
     cursor: pointer;
     user-select: none;
     transition: background 0.3s ease;
 }

 .discount-code-bottom button:hover:not(:disabled) {
     background: #bbb;
 }

 .discount-code-bottom button:disabled {
     cursor: not-allowed;
     opacity: 0.6;
 }

 /* Complete order button */
 .complete-order-btn {
     width: 100%;
     background: black;
     color: white;
     border: none;
     padding: 16px;
     font-weight: 700;
     font-size: 18px;
     border-radius: 12px;
     cursor: pointer;
     margin-bottom: 16px;
 }

 .complete-order-btn:hover {
     background: #222;
 }

 /* Footer links bottom */
 footer.links {
     font-size: 12px;
     font-weight: 600;
     margin-bottom: 32px;
     display: flex;
     justify-content: center;
     gap: 22px;
     flex-wrap: wrap;
     user-select: none;
 }

 footer.links a {
     color: #000;
 }

 /* Scrollbar in order item list */
 .order-items::-webkit-scrollbar {
     width: 6px;
 }

 .order-items::-webkit-scrollbar-thumb {
     background: #bbb;
     border-radius: 2px;
 }

 .order-items::-webkit-scrollbar-track {
     background: #f7f7f7;
 }

 .hidden {
     display: none;
 }

 #etisalatId~.card-icons img {
     width: 100px;
     height: 30px;
 }


 /* styles for coupon visuals */
.old-price {
  text-decoration: line-through;
  color: #777;
  margin-right: 8px;
  font-weight: 600;
}
.new-price {
  font-weight: 700;
  color: #000;
}