/* 5x112 uniform UI v1.2 (2026-11-20): account, cart, checkout, contact, info pages, popups.
   Brand: yellow #f8bd19 / #e0a800, ink #1b1b1b, Oswald headings, 8px controls, 10px cards.
   Undo: delete the <link> to this file in journal3/template/common/header.tpl. */
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper){--u-accent:#f8bd19;--u-accent-dark:#e0a800;--u-red:#f8303d;--u-ink:#1b1b1b;--u-muted:#6b7280;--u-line:#e5e7eb;--u-bg:#f7f7f8}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) *,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) *:before,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) *:after{box-sizing:border-box}

/* ---------- form controls ---------- */
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input.form-control,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) select.form-control,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) textarea.form-control,
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input[type=text]:not(.qty),:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input[type=email],:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input[type=tel],:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input[type=password],:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input[type=number]:not(.qty),:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) select:not([multiple]){
  height:48px;min-height:48px;padding:0 14px;font-size:16px;color:var(--u-ink);background-color:#fff;
  border:1.5px solid #d1d5db;border-radius:8px;box-shadow:none;transition:border-color .15s,box-shadow .15s;max-width:none}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) textarea.form-control,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) textarea{height:auto;min-height:130px;padding:12px 14px;font-size:16px;border:1.5px solid #d1d5db;border-radius:8px;box-shadow:none}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) select.form-control,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) select:not([multiple]){-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 38px 0 14px!important;cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1b1b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .form-control:hover,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) select:hover{border-color:#9ca3af}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .form-control:focus,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input:focus,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) select:focus,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) textarea:focus{outline:0;border-color:var(--u-accent-dark)!important;box-shadow:0 0 0 4px rgba(248,189,25,.25)!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .form-control::placeholder{color:#9ca3af}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .has-error .form-control,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .form-control.is-invalid{border-color:var(--u-red)}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .text-danger{color:var(--u-red);font-size:13px;margin-top:6px}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .control-label,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) label.control-label{font-size:14px;font-weight:600;color:var(--u-ink)}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .required .control-label:after,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .required > label:after{color:var(--u-red)}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input[type=checkbox],:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) input[type=radio]{accent-color:var(--u-accent-dark);width:18px;height:18px;vertical-align:-3px;margin-right:6px}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .form-group{margin-bottom:18px}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .form-horizontal .form-group{align-items:center}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .form-horizontal .form-group:has(textarea){align-items:flex-start}

/* ---------- buttons ---------- */
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn{border-radius:8px;transition:background .15s,color .15s,border-color .15s;box-shadow:none}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-primary,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-success{min-height:48px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--u-accent)!important;border:0!important;color:var(--u-ink)!important;font-family:Oswald,sans-serif;font-weight:600;font-size:16px;text-transform:uppercase;letter-spacing:.04em}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-primary:hover,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-primary:focus,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-success:hover{background:var(--u-accent-dark)!important;color:var(--u-ink)!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-default,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-secondary{min-height:48px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#fff!important;border:1.5px solid var(--u-ink)!important;color:var(--u-ink)!important;font-family:Oswald,sans-serif;font-weight:600;font-size:15px;text-transform:uppercase;letter-spacing:.04em}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-default:hover,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-secondary:hover{background:var(--u-ink)!important;color:#fff!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-danger{border-radius:8px}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px;border:0;padding:0}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons:before,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons:after{display:none}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons .pull-left,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons .pull-right{float:none!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons .pull-right{margin-left:auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap}

/* ---------- headings ---------- */
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) h1.page-title{margin-bottom:24px}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) h2,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) h3,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) legend{font-family:Oswald,sans-serif;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--u-ink)}

/* ---------- cards: fieldsets, wells, account panels ---------- */
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) fieldset,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) form > #account,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) form > #address{background:#fff;border:1px solid var(--u-line);border-radius:10px;box-shadow:0 6px 20px rgba(17,24,39,.05);padding:24px 26px 8px;margin:0 0 20px;min-width:0}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) fieldset legend,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) form > #account > legend,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) form > #address > legend{float:left;width:100%;border:0;margin:0 0 18px;padding:0 0 12px;font-size:19px;border-bottom:1px solid var(--u-line)}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) legend:after,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .well h2.title:after,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .title:after{display:none!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) fieldset legend + *{clear:both}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .well{background:#fff!important;margin-bottom:20px;border:1px solid var(--u-line);border-top:4px solid var(--u-accent);border-radius:10px;box-shadow:0 6px 20px rgba(17,24,39,.05);padding:26px 28px;height:100%;display:flex;flex-direction:column}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .well h2.title{font-size:21px;margin:0 0 12px;padding:0}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .well .buttons{margin-top:auto;padding-top:18px;border-top:1px solid var(--u-line)!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .well .buttons .pull-right,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .well .buttons .btn{width:100%}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .login-form a[href*="forgotten"]{display:inline-block;margin-top:8px;font-size:14px;color:var(--u-ink);text-decoration:underline;text-decoration-color:var(--u-accent);text-underline-offset:3px}

/* ---------- tables (cart, order history, returns, addresses) ---------- */
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table-responsive{border:1px solid var(--u-line);border-radius:10px;overflow:auto;box-shadow:0 6px 20px rgba(17,24,39,.05);background:#fff;margin-bottom:20px}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table-responsive > .table{margin:0;border:0}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table{background:#fff}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table > thead > tr > td,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table > thead > tr > th{background:var(--u-bg);font-family:Oswald,sans-serif;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:13px;color:var(--u-ink);border-bottom:1px solid var(--u-line)!important;padding:12px 14px;vertical-align:middle}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table > tbody > tr > td,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table > tfoot > tr > td{padding:14px;border-color:var(--u-line)!important;vertical-align:middle}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table-bordered,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table-bordered > tbody > tr > td,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table-bordered > thead > tr > td{border-left:0!important;border-right:0!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table-bordered{border-top:0!important}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table-hover > tbody > tr:hover{background:#fffbeb}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .table img.img-thumbnail{border-radius:8px;border:1px solid var(--u-line)}

:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .stepper input.form-control{height:100%;min-height:0;padding:0 6px;border-radius:0;font-size:inherit;text-align:center}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-update,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .btn-remove{border-radius:0}

/* ---------- alerts ---------- */
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .alert{border-radius:8px;border-width:1px;padding:12px 16px}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .alert-success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .alert-danger{background:#fef2f2;border-color:#fecaca;color:#991b1b}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .alert-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}
:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}

/* ---------- account menu tiles (my account dashboard) ---------- */
body.account-account #content ul.list-unstyled{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:0 0 26px;padding:0}
body.account-account #content ul.list-unstyled li{margin:0}
body.account-account #content ul.list-unstyled a{display:flex;align-items:center;min-height:56px;padding:12px 16px;background:#fff;border:1px solid var(--u-line);border-radius:10px;color:var(--u-ink);font-weight:600;text-decoration:none;transition:border-color .15s,background .15s}
body.account-account #content ul.list-unstyled a:hover{border-color:var(--u-accent-dark);background:#fffbeb}
body.account-account #content h2{font-size:20px;margin:6px 0 14px}

/* ---------- cart page ---------- */
body.checkout-cart #content .cart-table .table-responsive{margin-bottom:0}
body.checkout-cart #content .cart-bottom .panel-group{background:#fff!important;border:1px solid var(--u-line);border-top:4px solid var(--u-accent);border-radius:10px;box-shadow:0 6px 20px rgba(17,24,39,.05)}
body.checkout-cart #content .input-group .btn{min-height:48px}
body.checkout-cart #content .input-group-btn .btn{border-radius:0 8px 8px 0}
body.checkout-cart #content .input-group .form-control:first-child{border-radius:8px 0 0 8px}

/* ---------- Stripe one-page checkout ---------- */
body.checkout-stripepay #content .spc-card{border:1px solid var(--u-line);border-top:4px solid var(--u-accent);border-radius:10px;box-shadow:0 6px 20px rgba(17,24,39,.05)}
body.checkout-stripepay #content .spc-card-title{font-family:Oswald,sans-serif;font-weight:600;text-transform:uppercase;letter-spacing:.03em;font-size:20px}
body.checkout-stripepay #content .spc-num{background:var(--u-accent)!important;color:var(--u-ink)!important;font-family:Oswald,sans-serif;font-weight:600;width:30px;height:30px;line-height:30px}
body.checkout-stripepay #content .spc-summary{border:1px solid var(--u-line);border-top:4px solid var(--u-accent);border-radius:10px;box-shadow:0 6px 20px rgba(17,24,39,.05)}
body.checkout-stripepay #content .spc-field label,body.checkout-stripepay #content .spc-field > span{font-size:14px;font-weight:600}
body.checkout-stripepay #content .spc-req{color:var(--u-red)}
body.checkout-stripepay #content .spc-account-bar{border-radius:8px;background:var(--u-bg)}
body.checkout-stripepay #content .spc-shipto{border-radius:8px;border-color:var(--u-line)}
body.checkout-stripepay #content .spc-pay{min-height:54px;font-size:18px}
body.checkout-stripepay #content .spc-total-text,body.checkout-stripepay #content .spc-total-row strong{font-family:Oswald,sans-serif}

/* ---------- information pages ---------- */
body[class*="information-information"] #content{font-size:16px;line-height:1.7;color:#374151}
body[class*="information-information"] #content h2{font-size:22px;margin:28px 0 10px}
body[class*="information-information"] #content h3{font-size:18px;margin:22px 0 8px}
body[class*="information-information"] #content a{color:var(--u-ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--u-accent);text-underline-offset:3px}
body[class*="information-information"] #content img{max-width:100%;height:auto;border-radius:10px}
body[class*="information-information"] #content ul,body[class*="information-information"] #content ol{padding-left:22px}

/* ---------- contact page (dark Journal form block) ---------- */
body.information-contact #content .module-form fieldset{background:none;border:0;box-shadow:none;padding:0;margin:0}
body.information-contact #content .module-form .control-label{color:#fff!important}
body.information-contact #content .module-form .btn-primary{min-width:180px}

/* ---------- mobile ---------- */
@media (max-width:767px){
  :is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) fieldset,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) form > #account,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) form > #address{padding:18px 16px 4px}
  :is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .well{padding:20px 16px}
  :is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .login-box{display:block!important;margin:0}
  :is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .login-box > div{width:100%!important;max-width:none!important;flex:none!important;padding:0!important;float:none!important}
  :is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons{flex-direction:column-reverse;align-items:stretch}
  :is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons .pull-left,:is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons .pull-right{width:100%;margin:0}
  :is(body[class*="account-"] #content,body.checkout-cart #content,body.checkout-stripepay #content,body.information-contact #content,body[class*="information-information"] #content,html.popup-login body .site-wrapper,html.popup-register body .site-wrapper) .buttons .btn{width:100%}
  body.checkout-cart #content .cart-page{display:block!important}
  body.checkout-cart #content .cart-page > .cart-table,body.checkout-cart #content .cart-page > .cart-bottom{width:100%!important;max-width:none!important;flex:none!important;margin-left:0!important;padding-left:0!important}
  body.checkout-cart #content .cart-table .table-responsive{overflow:visible}
  body.checkout-cart #content .cart-table .input-group{display:flex;width:auto;max-width:220px}
  body.checkout-cart #content .cart-table .input-group > *{float:none;position:relative}
  body.checkout-cart #content .cart-table .stepper{flex:0 0 80px;width:80px!important;min-width:80px}
  body.checkout-cart #content .cart-table .table{min-width:0!important;width:100%!important;display:block}
  body.checkout-cart #content .cart-table .table > thead{display:none}
  body.checkout-cart #content .cart-table .table > tbody{display:block}
  body.checkout-cart #content .cart-table .table > tbody > tr{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:14px;border-bottom:1px solid var(--u-line)}
  body.checkout-cart #content .cart-table .table > tbody > tr:last-child{border-bottom:0}
  body.checkout-cart #content .cart-table .table > tbody > tr > td{display:block;padding:0!important;border:0!important;text-align:left!important;width:auto!important}
  body.checkout-cart #content .cart-table .table > tbody > tr > td:nth-child(1){grid-row:1 / span 2}
  body.checkout-cart #content .cart-table .table > tbody > tr > td:nth-child(2){grid-column:2 / 4;font-weight:600}
  body.checkout-cart #content .cart-table .table > tbody > tr > td:nth-child(3),body.checkout-cart #content .cart-table .table > tbody > tr > td:nth-child(5){display:none}
  body.checkout-cart #content .cart-table .table > tbody > tr > td:nth-child(4){grid-column:2}
  body.checkout-cart #content .cart-table .table > tbody > tr > td:nth-child(6){grid-column:3;font-weight:700;text-align:right!important}
  body.checkout-cart #content .cart-table .table img{max-width:64px;height:auto}
  body.account-account #content ul.list-unstyled{grid-template-columns:1fr}
}

/* ======================================================================
   Popups (v1.1): Journal login/register popups (iframe) + generic bounds
   ====================================================================== */
/* every Journal popup stays inside the viewport */
.popup-wrapper .popup-container{max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;
  border-radius:12px;overflow:hidden;background:#fff;border-top:4px solid #f8bd19;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.popup-wrapper .popup-body,.popup-wrapper .popup-inner-body{max-height:inherit}
.popup-wrapper .popup-body{position:relative;z-index:1}
.popup-wrapper .popup-bg{background:rgba(17,17,17,.6)!important;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.popup-wrapper .popup-container{position:relative}
.popup-wrapper .popup-close{position:absolute!important;color:#1b1b1b!important;width:36px!important;height:36px!important;top:10px!important;right:10px!important;border-radius:50%!important;background:#f7f7f8!important;z-index:10!important;display:flex!important;align-items:center;justify-content:center;transition:background .15s}
.popup-wrapper .popup-close:hover{background:#f8bd19!important}
.popup-wrapper .popup-close:before{color:#1b1b1b!important}
/* login / register: grow to fit the form, scroll inside when taller than the screen */
.popup-login .popup-container,.popup-register .popup-container{height:auto!important;width:520px!important}
.popup-login .popup-body,.popup-register .popup-body{height:auto!important}
.popup-login .popup-inner-body,.popup-register .popup-inner-body{height:auto!important;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.popup-login iframe,.popup-register iframe{display:block;width:100%!important;min-height:120px;border:0}
.popup-register .popup-container{width:640px!important}

/* inside the popup iframe (html.popup): flat form, no nested cards */
html:is(.popup-login,.popup-register),html:is(.popup-login,.popup-register) body{background:#fff!important}
html:is(.popup-login,.popup-register) body .site-wrapper{padding:26px 26px 22px!important;background:#fff!important}
html:is(.popup-login,.popup-register) body h1.page-title{display:none}
html:is(.popup-login,.popup-register) body .site-wrapper .well,html:is(.popup-login,.popup-register) body .site-wrapper fieldset,html:is(.popup-login,.popup-register) body .site-wrapper form > #account,html:is(.popup-login,.popup-register) body .site-wrapper form > #address{
  background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0 0 6px!important;height:auto}
html:is(.popup-login,.popup-register) body .site-wrapper .well h2.title,html:is(.popup-login,.popup-register) body .site-wrapper legend{font-size:20px!important;margin:0 0 16px!important;padding:0 0 12px!important;border-bottom:1px solid #e5e7eb!important;float:none;width:100%;padding-right:40px!important}
html:is(.popup-login,.popup-register) body .site-wrapper .login-box{display:block!important;margin:0!important}
html:is(.popup-login,.popup-register) body .site-wrapper .login-box > div{width:100%!important;max-width:none!important;padding:0!important;float:none!important}
html:is(.popup-login,.popup-register) body .site-wrapper .form-group{flex-direction:column;flex-wrap:wrap;align-items:stretch!important;margin:0 0 14px!important}
html:is(.popup-login,.popup-register) body .site-wrapper .form-control{width:100%!important;max-width:none!important}
html:is(.popup-login,.popup-register) body .site-wrapper .form-group > label,html:is(.popup-login,.popup-register) body .site-wrapper .form-group > .control-label{display:block!important;width:auto!important;max-width:none!important;flex:none!important;padding:0!important;margin:0 0 6px!important;text-align:left!important}
html:is(.popup-login,.popup-register) body .site-wrapper .form-group > div[class*="col-"]{width:100%!important;max-width:none!important;flex:none!important;padding:0!important}
html:is(.popup-login,.popup-register) body .site-wrapper .well .buttons{border-top:0!important;padding-top:6px;margin-top:8px}
html:is(.popup-login,.popup-register) body .site-wrapper .buttons{margin-top:14px}
html:is(.popup-login,.popup-register) body .site-wrapper .buttons .btn{width:100%}
html:is(.popup-login,.popup-register) body .site-wrapper .register-page > p:first-child,html:is(.popup-login,.popup-register) body .site-wrapper > p:first-of-type{font-size:14px;color:#6b7280}
@media (max-width:767px){
  html:is(.popup-login,.popup-register) body .site-wrapper{padding:20px 16px 16px!important}
  .popup-login .popup-container,.popup-register .popup-container{width:calc(100vw - 24px)!important}
}
