/* Depomax | Essential personal account / addresses / GDPR | scoped to account routes only */
:root { --dpx-yellow: #ffd400; --dpx-black: #161616; --dpx-muted: #5d6570; --dpx-border: #e6e8ec; }
body.dpx-account-ui #content { color:#222; }
body.dpx-account-ui #content > h1,
body.dpx-account-ui #content > h2:first-child { font-size:26px; font-weight:750; letter-spacing:-.02em; }
body.dpx-account-ui .breadcrumb { margin:22px 0 24px; }

/* Personal account: show essential links in responsive cards */
body.dpx-account-home #account-account #content .dpx-account-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:14px 0 42px;
}
body.dpx-account-home #account-account #content .dpx-account-card {
  background:#fff; border:1px solid var(--dpx-border); border-radius:14px;
  box-shadow:0 7px 28px rgba(17,17,17,.045); padding:24px 25px; min-width:0;
}
body.dpx-account-home #account-account .dpx-account-card > h2 {
  font-size:19px; font-weight:700; color:var(--dpx-black); margin:0 0 15px;
  padding:0 0 12px; border-bottom:3px solid var(--dpx-yellow); line-height:1.35;
}
body.dpx-account-home #account-account .dpx-account-card ul { margin:0; padding:0; }
body.dpx-account-home #account-account .dpx-account-card li { border-bottom:1px solid #f0f1f3; margin:0; list-style:none; }
body.dpx-account-home #account-account .dpx-account-card li:last-child { border-bottom:0; }
body.dpx-account-home #account-account .dpx-account-card a {
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 2px; font-size:15px; color:#252525; text-decoration:none;
  transition:color .15s ease;
}
body.dpx-account-home #account-account .dpx-account-card a::after {content:'›'; color:#8c939b; font-size:23px; line-height:1; margin-left:15px;}
body.dpx-account-home #account-account .dpx-account-card a:hover,
body.dpx-account-home #account-account .dpx-account-card a:focus { color:#8b6c00; }
body.dpx-account-home #account-account .dpx-account-card a:focus-visible {outline:3px solid var(--dpx-yellow);outline-offset:2px;}

/* GDPR: visual hierarchy and link readability; privacy controls remain interactive */
body.dpx-gdpr #content {max-width:1080px; margin:0 auto 45px;}
body.dpx-gdpr #content h1 {font-size:27px; font-weight:750; margin-bottom:24px;}
body.dpx-gdpr #content h2, body.dpx-gdpr #content h3 {font-size:20px; font-weight:700; line-height:1.4; color:#151515;margin:26px 0 14px;}
body.dpx-gdpr #content .dpx-privacy-section {
  border:1px solid var(--dpx-border); border-left:4px solid var(--dpx-yellow);
  border-radius:12px; padding:24px 27px 22px; background:#fff; margin:18px 0;
  box-shadow:0 4px 21px rgba(17,17,17,.035);
}
body.dpx-gdpr #content .dpx-privacy-section > :first-child {margin-top:0;}
body.dpx-gdpr #content .dpx-privacy-section > :last-child {margin-bottom:0;}
body.dpx-gdpr #content p,body.dpx-gdpr #content li {font-size:15px;line-height:1.7;}
body.dpx-gdpr #content a {color:#4c5d70; text-decoration:underline; text-decoration-color:#e0bb00; text-underline-offset:3px;}
body.dpx-gdpr #content a:hover {color:#111;}
body.dpx-gdpr #content a:focus-visible {outline:3px solid var(--dpx-yellow); outline-offset:3px;}

@media(max-width:767px) {
  body.dpx-account-home #account-account #content .dpx-account-grid {grid-template-columns:1fr;gap:13px;}
  body.dpx-account-home #account-account #content .dpx-account-card {padding:20px 17px;}
  body.dpx-gdpr #content .dpx-privacy-section {padding:18px 16px;}
}

/* The affiliate area is intentionally absent from the client account UI. */
body.dpx-account-home #account-account .dpx-account-grid:empty {display:none;}
body.dpx-account-home #account-account .dpx-account-card a {overflow-wrap:anywhere;}
@media (prefers-reduced-motion: reduce) {body.dpx-account-home #account-account .dpx-account-card a {transition:none;}}

/* Account address book and address form: localized, clean, non-destructive UI */
body.dpx-address-page #account-address #content {padding-bottom:48px;}
body.dpx-address-page #account-address #content > h1,
body.dpx-address-page #account-address #content > h2 {font-weight:750; font-size:27px; color:#171717; margin:0 0 20px;}
body.dpx-address-page #account-address .breadcrumb {margin:22px 0 24px;}
body.dpx-address-page #account-address .dpx-address-intro {color:#5a626e; font-size:14px; line-height:1.65; margin:0 0 17px;}
body.dpx-address-page #account-address #content > form.form-horizontal {
  max-width:1020px; background:#fff; border:1px solid var(--dpx-border);
  border-top:4px solid var(--dpx-yellow); border-radius:16px;
  box-shadow:0 8px 32px rgba(0,0,0,.045); padding:30px 35px;
  margin-bottom:30px;
}
body.dpx-address-page #account-address form.form-horizontal fieldset {min-width:0;}
body.dpx-address-page #account-address form.form-horizontal .form-group {
  display:grid; grid-template-columns:minmax(180px,220px) minmax(0,1fr);
  align-items:start; gap:12px 18px; margin:0 0 17px;
}
body.dpx-address-page #account-address form.form-horizontal .form-group > .col-sm-2,
body.dpx-address-page #account-address form.form-horizontal .form-group > .col-sm-10 {
  width:auto; max-width:none; float:none; padding:0; margin:0; min-width:0;
}
body.dpx-address-page #account-address form.form-horizontal .form-group > label.control-label {
  font-size:14px; font-weight:650; text-align:left; color:#242424;
  padding-top:11px; line-height:1.45;
}
body.dpx-address-page #account-address form.form-horizontal .form-control {
  width:100%; max-width:100%; min-height:45px; padding:10px 13px;
  border:1px solid #dbe0e6; border-radius:8px; background-color:#fff;
  font-size:14px; color:#222; box-shadow:none;
}
body.dpx-address-page #account-address form.form-horizontal textarea.form-control {min-height:96px;}
body.dpx-address-page #account-address form.form-horizontal .form-control:focus {
  border-color:#b58d00; outline:2px solid rgba(255,212,0,.24); outline-offset:0;
}
body.dpx-address-page #account-address form.form-horizontal .form-control::placeholder {color:#7a8088; opacity:1;}
body.dpx-address-page #account-address form.form-horizontal .radio-inline,
body.dpx-address-page #account-address form.form-horizontal .checkbox,
body.dpx-address-page #account-address form.form-horizontal .radio {margin-right:20px; font-size:14px;}
body.dpx-address-page #account-address form.form-horizontal .radio-inline {padding-top:8px;}
body.dpx-address-page #account-address form.form-horizontal .text-danger {font-size:13px; margin-top:5px;}
body.dpx-address-page #account-address form.form-horizontal .buttons {
  border-top:1px solid #edf0f2; padding-top:22px; margin-top:10px;
}
body.dpx-address-page #account-address #content .btn {
  min-height:41px; padding:10px 22px; border-radius:10px; font-size:14px;
  font-weight:650; transition:background-color .15s ease;
}
body.dpx-address-page #account-address #content .btn-primary {background:#ffd400; color:#151515; border-color:#ffd400; text-shadow:none;}
body.dpx-address-page #account-address #content .btn-primary:hover {background:#ebc100; border-color:#ebc100;}
body.dpx-address-page #account-address #content .btn-default {background:#fff; border-color:#d8dde2; color:#282828;}
body.dpx-address-page #account-address #content .btn-default:hover {background:#f5f6f8;}
body.dpx-address-page #account-address #content .btn:focus-visible {outline:3px solid #cfa900; outline-offset:3px;}
/* Address book list: same visual language, no modification to its actions */
body.dpx-address-page #account-address #content .table-responsive {border-radius:12px; border:1px solid var(--dpx-border); overflow:auto; margin:20px 0;}
body.dpx-address-page #account-address #content .table-responsive .table {margin-bottom:0;}
body.dpx-address-page #account-address #content .table > tbody > tr > td {padding:18px; vertical-align:middle;}
body.dpx-address-page #account-address #content .table > tbody > tr > td:last-child {white-space:nowrap;}
@media(max-width:767px) {
 body.dpx-address-page #account-address #content > h1,
 body.dpx-address-page #account-address #content > h2 {font-size:23px;}
 body.dpx-address-page #account-address #content > form.form-horizontal {padding:20px 16px; border-radius:12px;}
 body.dpx-address-page #account-address form.form-horizontal .form-group {grid-template-columns:1fr; gap:4px; margin-bottom:15px;}
 body.dpx-address-page #account-address form.form-horizontal .form-group > label.control-label {padding-top:0;}
 body.dpx-address-page #account-address form.form-horizontal .buttons .pull-left,
 body.dpx-address-page #account-address form.form-horizontal .buttons .pull-right {float:none!important; margin:7px 0;}
 body.dpx-address-page #account-address form.form-horizontal .buttons .btn {display:block; width:100%; text-align:center;}
 body.dpx-address-page #account-address #content .table > tbody > tr > td {padding:12px;}
}
@media(prefers-reduced-motion: reduce) {body.dpx-address-page #account-address #content .btn {transition:none;}}


/* County autocomplete: enhancements to the existing zone_id SELECT. */
body.dpx-address-page #account-address form.form-horizontal select.dpx-county-native {
  position:absolute!important; width:1px!important; height:1px!important;
  padding:0!important; margin:0!important; overflow:hidden!important;
  clip-path:inset(50%); white-space:nowrap; opacity:0;
  pointer-events:none; border:0!important;
}
body.dpx-address-page #account-address .dpx-county-combo {
  position:relative; width:100%; min-width:0;
}
body.dpx-address-page #account-address .dpx-county-search {
  padding-right:40px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23596068' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 13px center;
}
body.dpx-address-page #account-address .dpx-county-hint {
  font-size:12px; color:#69717c; line-height:1.5; margin-top:6px;
}
body.dpx-address-page #account-address .dpx-county-options {
  position:absolute; top:calc(100% + 5px); left:0; right:0;
  z-index:1000; max-height:248px; overflow:auto;
  background:#fff; border:1px solid #d9dee5; border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,.12); padding:5px;
}
body.dpx-address-page #account-address .dpx-county-options[hidden] {display:none!important;}
body.dpx-address-page #account-address .dpx-county-option {
  font-size:14px; line-height:1.4; color:#20242b; padding:11px 12px;
  cursor:pointer; border-radius:6px; touch-action:manipulation;
}
body.dpx-address-page #account-address .dpx-county-option:hover,
body.dpx-address-page #account-address .dpx-county-option.dpx-county-active {
  background:#fff3b5; color:#181818;
}
body.dpx-address-page #account-address .dpx-county-empty {
  font-size:13px; padding:12px; color:#6b7280;
}
@media(max-width:767px) {
  body.dpx-address-page #account-address .dpx-county-options {max-height:220px;}
}


/* DEPOMAX v6 | account navigation and dashboard, theme OPC100238_1 */
body.dpx-account-v6 {--dpx-accent:#ffd600;--dpx-surface:#fff;--dpx-back:#f2f2f2;--dpx-ink:#171717;--dpx-line:#e6e6e6;}
.dpx-account-container{max-width:1320px!important;padding-bottom:65px;}
.dpx-account-container>.breadcrumb{margin-bottom:24px;}
.dpx-page-title{font-size:29px;font-weight:750;color:#171717;margin:10px 0 26px;line-height:1.25;}
.dpx-account-shell{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:30px;align-items:start;}
.dpx-account-nav{background:#fff;border:1px solid #e8e8e8;min-width:0;}
.dpx-account-nav a{color:#151515!important;display:flex;align-items:center;padding:13px 14px;gap:13px;border-bottom:1px solid #ededed;text-decoration:none!important;font-size:15px;line-height:1.4;transition:background-color .12s ease;}
.dpx-account-nav a:last-child{border-bottom:0;}
.dpx-account-nav a:hover{background:#fff8d5;}
.dpx-account-nav a:focus-visible{outline:3px solid #d6ab00;outline-offset:-3px;}
.dpx-account-nav a[aria-current="page"]{background:var(--dpx-accent);font-weight:750;}
.dpx-account-nav a .fa{width:19px;flex:0 0 19px;text-align:center;font-size:18px;}
.dpx-account-nav .dpx-account-nav-out{border-top:2px solid #e9e9e9;}
.dpx-account-panel{background:#fff;min-width:0;padding:27px 32px 32px;border:1px solid #ededed;min-height:390px;}
.dpx-account-panel h2{font-size:22px;color:#181818;font-weight:750;margin:0 0 23px;padding-bottom:16px;border-bottom:1px solid #dedede;}
.dpx-profile-overview{display:flex;align-items:center;gap:22px;margin:0 0 34px;}
.dpx-profile-avatar{display:flex;justify-content:center;align-items:center;width:100px;height:100px;background:#e7e7e7;color:#141414;font-size:32px;font-weight:700;border-radius:50%;flex:none;}
.dpx-profile-intro strong{display:block;font-size:18px;font-weight:750;line-height:1.35;}
.dpx-profile-intro span{font-size:14px;color:#676767;line-height:1.65;}
.dpx-profile-section{padding:19px 0;border-top:1px solid #e2e2e2;}
.dpx-profile-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;}
.dpx-profile-section-title h3{margin:0;font-size:19px;font-weight:750;line-height:1.4;}
.dpx-profile-section-title a{font-size:14px;font-weight:700;text-decoration:underline!important;color:#151515!important;}
.dpx-profile-section-body{margin-top:13px;font-size:15px;line-height:1.6;overflow-wrap:anywhere;}
.dpx-account-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px;}
.dpx-account-shortcuts a{display:flex;gap:12px;align-items:center;text-decoration:none!important;border:1px solid #e2e2e2;padding:16px;min-width:0;color:#161616!important;font-size:14px;font-weight:700;}
.dpx-account-shortcuts a:hover{background:#fff7c6;border-color:#edc900;}
.dpx-account-shortcuts .fa{font-size:22px;color:#111;}
/* Existing OpenCart account pages: reuse the native controls and server-side saving. */
.dpx-legacy-shell{display:flex;align-items:stretch;gap:28px;flex-wrap:nowrap;}
.dpx-legacy-shell > .dpx-account-nav{flex:0 0 280px;max-width:280px;align-self:flex-start;}
.dpx-legacy-shell > #content{float:none!important;width:auto!important;max-width:none!important;min-width:0;flex:1 1 0;padding:28px 30px!important;background:#fff;border:1px solid #ececec;margin-bottom:42px;}
.dpx-legacy-shell > #content > h1{font-size:25px!important;font-weight:750;margin:0 0 24px;}
.dpx-legacy-shell > #column-left, .dpx-legacy-shell > #column-right{display:none!important;}
.dpx-legacy-shell > #content .btn-primary{background:#ffd600!important;color:#121212!important;border-color:#ffd600!important;text-shadow:none!important;font-weight:700;}
.dpx-legacy-shell > #content .btn-primary:hover{background:#e9c100!important;border-color:#e9c100!important;}
.dpx-legacy-shell > #content .form-control{min-height:43px;}
/* Header dropdown only when logged in; preserve the theme account icon. */
header .myaccount-menu .dpx-menu-greeting{display:block;padding:14px 18px 10px;font-weight:750;border-bottom:1px solid #e7e7e7;color:#151515;white-space:normal;}
header .myaccount-menu .dpx-menu-greeting .fa{margin-right:6px;}
header .myaccount-menu li.dpx-menu-item > a{display:block;padding:10px 18px;white-space:normal;font-size:14px;line-height:1.4;}
header .myaccount-menu li.dpx-menu-item > a:hover{background:#fff1aa;color:#111!important;}
header .myaccount-menu li.dpx-menu-separator{border-top:1px solid #e3e3e3;}
header .myaccount-menu{min-width:235px!important;max-height:min(80vh,560px);overflow-y:auto;}
/* Login form visual refresh; no change to authentication flow. */
#account-login #content > .row .well{background:#fff;border:1px solid #e6e6e6;border-top:4px solid #ffd600;box-shadow:none;border-radius:8px;padding:26px;min-height:280px;}
#account-login #content > .row .well h2{font-size:21px;font-weight:750;color:#111;}
#account-login .btn-primary{background:#ffd600;border-color:#ffd600;color:#111;text-shadow:none;font-weight:750;}
#account-login input.form-control{min-height:44px;}
@media(max-width:991px){.dpx-account-shell{grid-template-columns:220px minmax(0,1fr);gap:18px}.dpx-legacy-shell>.dpx-account-nav{flex-basis:220px;max-width:220px}.dpx-account-panel{padding:22px}.dpx-legacy-shell>#content{padding:20px!important}}
@media(max-width:767px){.dpx-account-shell{display:flex;flex-direction:column;gap:16px}.dpx-account-shell>.dpx-account-nav{width:100%}.dpx-account-shell>.dpx-account-panel{width:100%;min-height:0}.dpx-legacy-shell{display:flex;flex-direction:column;gap:16px}.dpx-legacy-shell>.dpx-account-nav{max-width:none;width:100%;flex:auto}.dpx-legacy-shell>#content{width:100%!important;flex:auto;padding:18px!important}.dpx-account-panel{padding:21px 17px}.dpx-profile-overview{gap:14px}.dpx-profile-avatar{height:70px;width:70px;font-size:23px}.dpx-account-shortcuts{grid-template-columns:1fr}.dpx-page-title{font-size:25px}}
@media(prefers-reduced-motion:reduce){.dpx-account-nav a{transition:none;}}

/* v6: two-column native address form, aligned labels and full-width controls. */
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset {
  display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; row-gap:16px;
}
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>legend,
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>.dpx-address-full {grid-column:1/-1;}
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>.form-group{
  display:block!important; min-width:0!important; margin:0!important; padding:0!important;
}
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>.form-group>label,
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>.form-group>.control-label{
  float:none!important; display:block!important; width:100%!important; max-width:100%!important;
  text-align:left!important; padding:0 0 8px!important; margin:0!important; font-size:14px!important;
}
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>.form-group>[class*="col-sm-"]{
  float:none!important; width:100%!important; max-width:100%!important; min-width:0!important;
  margin:0!important; padding:0!important;
}
body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>.form-group .form-control{
  display:block!important;width:100%!important;max-width:none!important;min-height:48px;
}
/* Keep the real OpenCart select as the submitted value, but do not render a second dropdown. */
body.dpx-address-page #account-address form.form-horizontal select.dpx-county-native {display:none!important;}
body.dpx-address-page #account-address form.dpx-address-v6-form .dpx-county-combo {width:100%;}
body.dpx-address-page #account-address form.dpx-address-v6-form .dpx-county-hint{margin:6px 0 0;}
@media(max-width:767px){
 body.dpx-address-page #account-address form.dpx-address-v6-form fieldset{display:block!important;}
 body.dpx-address-page #account-address form.dpx-address-v6-form fieldset>.form-group{margin-bottom:18px!important;}
}
/* Wishlist: product presentation (stock is not used as a customer-facing promise). */
body.dpx-wishlist-v6 #account-wishlist #content .dpx-wishlist-hide-stock{display:none!important;}
body.dpx-wishlist-v6 #account-wishlist #content .table-responsive{border:0;overflow-x:auto;}
body.dpx-wishlist-v6 #account-wishlist #content .table{border-collapse:separate;border-spacing:0 10px;}
body.dpx-wishlist-v6 #account-wishlist #content .table thead>tr>td,
body.dpx-wishlist-v6 #account-wishlist #content .table thead>tr>th{background:#f4f4f4;border-color:#eee;font-weight:700;}
body.dpx-wishlist-v6 #account-wishlist #content .table tbody>tr>td{vertical-align:middle;padding:18px 13px;border-color:#eee;}
body.dpx-wishlist-v6 #account-wishlist #content .table tbody>tr>td:first-child{min-width:120px;}
body.dpx-wishlist-v6 #account-wishlist #content .table tbody>tr>td:first-child img{width:98px!important;max-width:98px!important;height:auto;object-fit:contain;}
body.dpx-wishlist-v6 #account-wishlist #content .table tbody>tr>td:nth-child(2){min-width:220px;line-height:1.55;}
body.dpx-wishlist-v6 #account-wishlist #content .btn-primary{background:#ffd600!important;border-color:#ffd600!important;color:#111!important;}
/* Password and secure change, not pre-populated on either GET or validation errors. */
.dpx-security-intro{color:#626975;font-size:14px;margin:0 0 20px;line-height:1.6;}
.dpx-password-form{max-width:680px;}
.dpx-password-form .dpx-password-field{margin:0 0 19px;}
.dpx-password-form .dpx-password-field label{display:block;font-size:14px;font-weight:700;margin-bottom:9px;}
.dpx-password-form .dpx-password-input{position:relative;}
.dpx-password-form .dpx-password-input input{padding-right:52px;min-height:48px;}
.dpx-password-form .dpx-toggle-password{position:absolute;top:1px;right:1px;width:47px;height:45px;
  border:0;background:transparent;color:#252525;cursor:pointer;}
.dpx-password-form .dpx-toggle-password:focus-visible{outline:2px solid #c5a000;}
.dpx-password-form .dpx-password-actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px;}
.dpx-password-form .dpx-password-actions .btn{padding:12px 19px;border-radius:10px;font-weight:700;}
/* Support uses the original form in an embedded same-origin page, not a duplicate submit handler. */
.dpx-support-intro{color:#646b73;margin:-4px 0 18px;font-size:14px;line-height:1.6;}
.dpx-support-frame{display:block;width:100%;min-height:1000px;border:0;background:#fff;}
.dpx-support-fallback{font-size:14px;margin:8px 0 15px;}
@media(max-width:767px){.dpx-password-form .dpx-password-actions{flex-wrap:wrap;}.dpx-password-form .dpx-password-actions .btn{flex:1;}.dpx-support-frame{min-height:1400px;}}
