/* Royal Graphite for native OpenCart pages. Commerce and category layouts keep their own rules. */
body.royal-site{--page-line:#414342;--page-muted:#babdb9;--page-control:#686b66;--page-panel:#202223;caret-color:#ddc397;scrollbar-color:#8c806a #202223}
.royal-site ::selection{background:#ddc397;color:#171819}.royal-site :focus-visible{outline:2px solid #ddc397;outline-offset:3px}.royal-site select,.royal-site textarea{font-family:inherit}.royal-site input[type=checkbox],.royal-site input[type=radio]{accent-color:#ddc397}
.royal-site footer{border-top:1px solid var(--page-line);margin-top:24px}.royal-site footer h5{font-size:14px;margin-bottom:16px}.royal-site footer li{font-size:13px;line-height:1.7}.royal-site footer li a{min-height:34px}.royal-site footer .row{display:flex;flex-wrap:wrap}.royal-site footer .col-sm-3{width:25%}
.royal-preferences{display:flex;align-items:center;gap:20px;border-top:1px solid var(--page-line);padding-top:18px;margin-top:18px}.royal-preferences form{float:none!important;margin:0}.royal-preferences .btn-link{color:#ddc397;text-shadow:none}.royal-preferences .dropdown-menu{background:#202223;border-color:#686b66}.royal-preferences .dropdown-menu button{color:#f5f4f0;text-align:left;width:100%}.royal-preferences .dropdown-menu button:hover{background:#343632}.royal-preferences .dropdown-menu a{color:#f5f4f0}
/* The native body shares the same outer grid as the existing header. */
.royal-legacy>.container{width:min(1440px,100% - 80px);padding:0;margin-inline:auto;padding-bottom:55px;min-height:50vh}
.royal-legacy #content{min-height:300px;font-size:15px;line-height:1.7;color:#f5f4f0;overflow-wrap:break-word}.royal-legacy #content h1{font-size:clamp(29px,3vw,42px);line-height:1.2;letter-spacing:-.025em;margin:6px 0 30px;font-weight:700}.royal-legacy #content h2{font-size:25px;line-height:1.35;letter-spacing:-.015em;margin:30px 0 18px}.royal-legacy #content h3{font-size:21px;line-height:1.4;margin:26px 0 16px}.royal-legacy #content h4{font-size:17px;line-height:1.5;color:#f5f4f0;font-family:inherit;margin:0 0 12px}.royal-legacy #content p{margin:0 0 16px}.royal-legacy #content p:last-child{margin-bottom:0}.royal-legacy #content a:not(.btn){color:#ddc397}.royal-legacy #content a:not(.btn):hover{text-decoration:underline;text-underline-offset:3px}.royal-legacy #content img{max-width:100%;height:auto}.royal-legacy #content hr{border-color:var(--page-line);margin:26px 0}
.royal-legacy .breadcrumb{display:flex;flex-wrap:wrap;gap:9px 12px;background:none;border:0;padding:27px 0;margin:0 0 8px;border-radius:0;font-size:13px}.royal-legacy .breadcrumb>li{padding:0;white-space:normal;line-height:1.7;text-shadow:none}.royal-legacy .breadcrumb>li:after{display:none}.royal-legacy .breadcrumb>li+li:before{content:'/';padding:0 12px 0 0;color:var(--page-muted)}.royal-legacy .breadcrumb>li a{color:var(--page-muted)}.royal-legacy .breadcrumb>li:last-child a{color:#f5f4f0}.royal-legacy .breadcrumb i{font-size:14px}
/* Forms: existing names, endpoints, validation and checkout behavior stay intact. */
.royal-legacy .well,.royal-legacy .panel{background:var(--page-panel);border:1px solid var(--page-line);border-radius:10px;box-shadow:none;color:#f5f4f0}.royal-legacy .well{padding:26px;margin-bottom:24px}.royal-legacy #content .well h2{margin-top:0}.royal-legacy .panel-body{padding:24px}.royal-legacy .panel-default>.panel-heading{background:#262829;color:#f5f4f0;border-color:var(--page-line);border-radius:9px 9px 0 0;padding:18px 22px}.royal-legacy .panel-title{font-size:16px;margin:0!important}.royal-legacy .panel-title a{display:block;color:#f5f4f0!important}.royal-legacy .panel-group .panel+.panel{margin-top:12px}.royal-legacy .panel-group .panel-heading+.panel-collapse>.panel-body{border-color:var(--page-line)}.royal-legacy fieldset{margin-bottom:26px}.royal-legacy legend{color:#f5f4f0;border-color:var(--page-line);font-size:21px;padding-bottom:12px;margin-bottom:22px}.royal-legacy label{font-size:14px;font-weight:400}.royal-legacy .control-label{padding-top:12px}.royal-legacy .form-group{margin-bottom:22px}.royal-legacy .form-control{min-height:46px;height:auto;background:#171819;border:1px solid var(--page-control);border-radius:7px;color:#f5f4f0;box-shadow:none;font-size:15px;padding:11px 13px;line-height:1.5}.royal-legacy .form-control::placeholder{color:#aeb3ad;opacity:1}.royal-legacy .form-control:focus{border-color:#ddc397;box-shadow:none;outline:2px solid #ddc397;outline-offset:2px}.royal-legacy select.form-control{color-scheme:dark;max-width:100%}.royal-legacy textarea.form-control{min-height:135px;resize:vertical}.royal-legacy .form-control[disabled],.royal-legacy .form-control[readonly]{background:#343635;color:#babdb9;cursor:not-allowed}.royal-legacy .input-group-addon{background:#2c2f2e;color:#deded8;border-color:var(--page-control);font-size:13px;white-space:normal}.royal-legacy .input-group-btn .btn{min-height:46px}.royal-legacy .checkbox,.royal-legacy .radio{margin:14px 0}.royal-legacy .checkbox-inline,.royal-legacy .radio-inline{line-height:1.7;min-height:28px}.royal-legacy input[type=checkbox],.royal-legacy input[type=radio]{width:17px;height:17px}.royal-legacy .checkbox label,.royal-legacy .radio label,.royal-legacy .checkbox-inline,.royal-legacy .radio-inline{padding-left:25px}.royal-legacy div.required .control-label:before{color:#f0b5b0}.royal-legacy .help-block,.royal-legacy small{color:var(--page-muted)}
.royal-legacy .btn{min-height:44px;padding:11px 18px;font-size:14px;line-height:1.5;border-radius:7px;text-shadow:none;background-image:none;box-shadow:none;font-weight:400}.royal-legacy .btn-primary{background:#ddc397;color:#171819;border:1px solid #ddc397}.royal-legacy .btn-primary:hover,.royal-legacy .btn-primary:focus{background:#ead3ad;border-color:#ead3ad;color:#171819}.royal-legacy .btn-default,.royal-legacy .btn-info{background:#272a28;color:#f5f4f0;border:1px solid #686b66}.royal-legacy .btn-default:hover,.royal-legacy .btn-default.active,.royal-legacy .btn-info:hover{background:#3a3d36;color:#f5f4f0}.royal-legacy .btn-link{background:transparent;color:#ddc397;border:0}.royal-legacy .btn-danger{background:#492f30;color:#f6cdca;border-color:#8d6060}.royal-legacy .btn-danger:hover{background:#604043}.royal-legacy .btn-success{background:#304739;color:#c9e5d1;border-color:#6c9477}.royal-legacy .btn.disabled,.royal-legacy .btn:disabled{opacity:.55;cursor:not-allowed}.royal-legacy .buttons{margin-top:26px;padding-top:18px;border-top:1px solid var(--page-line)}.royal-legacy .buttons:after{content:'';display:table;clear:both}.royal-legacy .buttons .pull-right{max-width:100%}.royal-legacy .buttons input[type=checkbox]{vertical-align:middle;margin:0 6px}
.royal-legacy .alert{border:1px solid #6e6b52;background:#343326;color:#ede1b7;border-radius:8px;padding:17px 44px 17px 18px;font-size:14px;line-height:1.6}.royal-legacy .alert-danger{border-color:#8c6664;background:#3a292b;color:#f4c9c5}.royal-legacy .alert-success{border-color:#628171;background:#27392f;color:#c1e5cd}.royal-legacy .alert-info{border-color:#637c87;background:#27353b;color:#c9e0ea}.royal-legacy .close,.royal-site .modal .close{color:#f5f4f0;opacity:1;text-shadow:none}.royal-legacy .alert .close{min-width:32px;min-height:32px}.royal-legacy .text-danger{color:#f0b5b0}.royal-legacy .has-error .form-control{border-color:#d28e89}.royal-legacy .has-error .control-label,.royal-legacy .has-error .help-block{color:#f0b5b0}
/* Account navigation, articles and factual store information. */
.royal-legacy .list-group{border-radius:8px;overflow:hidden}.royal-legacy .list-group-item{background:#202223;border-color:var(--page-line);color:#d7d9d4;padding:12px 16px;font-size:13px}.royal-legacy a.list-group-item:hover,.royal-legacy .list-group-item.active{background:#343832;color:#ddc397}.royal-legacy #information-information #content{max-width:85ch}.royal-legacy #information-information #content p{margin-bottom:20px}.royal-legacy address{line-height:1.7;margin-top:10px}.royal-legacy #information-contact form{max-width:1040px;margin-top:32px}.royal-legacy #information-contact .panel-body .col-sm-3{min-height:85px}.royal-legacy #product-manufacturer #content>h2{border-bottom:1px solid var(--page-line);padding-bottom:14px;margin-top:36px}.royal-legacy #product-manufacturer #content>.row a{display:inline-flex;align-items:center;min-height:44px;padding-block:6px}.royal-legacy #information-sitemap #content ul{padding-left:23px}.royal-legacy #information-sitemap #content li{padding-block:3px}.royal-legacy #information-sitemap #content>ul>li{margin-top:20px}
/* Native product lists keep their list/grid controls and commerce actions. */
.royal-legacy #content .row:has(>.product-layout){display:flex;flex-wrap:wrap}.royal-legacy #content .row:has(>.product-layout):before,.royal-legacy #content .row:has(>.product-layout):after{display:none}.royal-legacy .product-layout{display:flex;float:none;margin-bottom:24px}.royal-legacy .product-grid{width:33.3333%}.royal-legacy .product-list{width:100%}.royal-legacy .product-thumb{display:flex;flex-direction:column;background:#202223;border:1px solid var(--page-line);border-radius:10px;overflow:hidden;width:100%;margin:0}.royal-legacy .product-thumb>.image{float:none;padding:18px;background:#fff}.royal-legacy .product-thumb .image img{width:100%;height:210px!important;object-fit:contain}.royal-legacy .product-thumb>.image+div{display:flex;flex:1;flex-direction:column;min-width:0}.royal-legacy .product-thumb .caption{min-height:0;padding:18px;margin-left:0;flex:1}.royal-legacy #content .product-thumb h4{font-size:14px;line-height:1.6;margin-bottom:14px}.royal-legacy #content .product-thumb h4 a{color:#f5f4f0}.royal-legacy .product-thumb .caption>p:not(.price){color:var(--page-muted);font-size:12px}.royal-legacy .product-thumb .price{color:#f5f4f0;font-size:21px;font-weight:700;margin:0;line-height:1.5;letter-spacing:-.02em}.royal-legacy .product-thumb .price-old{color:var(--page-muted);font-size:14px;font-weight:400}.royal-legacy .product-thumb .price-tax{display:block;color:var(--page-muted);font-size:11px;font-weight:400}.royal-legacy .product-thumb .button-group{display:grid;grid-template-columns:1fr 44px;overflow:visible;border:0;border-top:1px solid var(--page-line);background:none}.royal-legacy .product-thumb .button-group button{min-height:46px;width:auto!important;float:none;border:0;background:transparent;color:#f5f4f0;text-shadow:none;font-size:13px}.royal-legacy .product-thumb .button-group button:first-child{background:#ddc397;color:#171819}.royal-legacy .product-thumb .button-group button:first-child span{display:inline!important}.royal-legacy .product-thumb .button-group button:hover{background:#343832}.royal-legacy .product-thumb .button-group button:first-child:hover{background:#ead3ad}.royal-legacy .product-thumb .button-group .tk-catalog-compare{grid-column:1/-1;width:100%;border-top:1px solid var(--page-line);color:#ddc397}.royal-legacy .product-list .product-thumb{flex-direction:row}.royal-legacy .product-list .product-thumb>.image{width:230px;flex-shrink:0;display:flex;align-items:center}.royal-legacy .product-list .product-thumb>.image+div{flex:1}.royal-legacy #product-search #content>label{margin-bottom:10px}.royal-legacy #product-search #content>.row:first-of-type .form-control{margin-bottom:12px}.royal-legacy #product-search .checkbox-inline{padding-top:8px}
.royal-legacy .pagination{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 20px}.royal-legacy .pagination>li>a,.royal-legacy .pagination>li>span{border:1px solid #686b66;background:#242627;color:#f5f4f0;border-radius:5px;min-width:40px;min-height:40px;text-align:center;padding:8px 12px}.royal-legacy .pagination>.active>span{background:#ddc397;color:#171819;border-color:#ddc397}.royal-legacy #content>.row>.text-right{font-size:13px;color:var(--page-muted)}
/* Table contents scroll inside their region on phones, never the entire page. */
.royal-legacy .table{color:#f5f4f0;background:#202223;border-color:var(--page-line);font-size:14px;font-variant-numeric:tabular-nums;margin-bottom:22px}.royal-legacy .table td,.royal-legacy .table th{border-color:var(--page-line)!important;padding:14px 16px;vertical-align:middle}.royal-legacy .table thead{background:#2a2d2b;color:#deded8}.royal-legacy .table-hover>tbody>tr:hover{background:#30332f}.royal-legacy .table-bordered{border:1px solid var(--page-line)}.royal-legacy .table-responsive{border:0;max-width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#8c806a #202223;margin-bottom:22px}.royal-legacy .table-responsive>.table{margin-bottom:0}.royal-legacy .table .img-thumbnail{max-width:90px;padding:5px;background:#fff;border-color:#686b66;border-radius:6px}.royal-legacy #checkout-cart .table-responsive>.table{min-width:800px}.royal-legacy #checkout-cart input[name^=quantity]{min-width:58px}.royal-legacy #checkout-cart .input-group{min-width:164px}.royal-legacy .table .text-right{white-space:nowrap}.royal-legacy #checkout-checkout #accordion{max-width:1080px}.royal-legacy #checkout-checkout .panel-body h2{margin-top:0}.royal-legacy .label-info{background:#344750;color:#d0e5ec}
/* Shared dialogs and calendar popovers can be appended outside the native page. */
.royal-site .modal-content{background:#202223;color:#f5f4f0;border:1px solid #686b66;border-radius:10px}.royal-site .modal-header,.royal-site .modal-footer{border-color:var(--page-line)}.royal-site .modal-title{font-size:22px;line-height:1.4}.royal-site .modal-body{font-size:15px;line-height:1.7}.royal-site .modal-body p{margin-bottom:16px}.royal-site .modal-body a{color:#ddc397}.royal-site .bootstrap-datetimepicker-widget{background:#202223;color:#f5f4f0;border-color:#686b66}.royal-site .bootstrap-datetimepicker-widget td:hover,.royal-site .bootstrap-datetimepicker-widget th:hover{background:#41463d!important}.royal-site .bootstrap-datetimepicker-widget td.active{background:#ddc397;color:#171819}
@media(max-width:1200px){.royal-legacy>.container{width:calc(100% - 48px)}.royal-legacy .product-grid{width:50%}.royal-legacy .well{padding:20px}.royal-legacy .input-group-addon{font-size:12px}}
@media(max-width:900px){.royal-site footer .col-sm-3{width:50%;margin-bottom:24px}.royal-legacy #account-login #content .col-sm-6{width:100%}.royal-legacy .product-thumb .image img{height:190px!important}}
@media(max-width:767px){.royal-legacy #column-left,.royal-legacy #column-right{margin-top:28px}.royal-legacy .form-horizontal .control-label{padding-top:0;margin-bottom:8px}.royal-legacy .well{padding:22px}.royal-legacy .table-responsive>.table>tbody>tr>td,.royal-legacy .table-responsive>.table>thead>tr>td{white-space:normal}.royal-legacy .table-responsive>.table .text-right{white-space:nowrap}.royal-legacy .buttons .pull-left,.royal-legacy .buttons .pull-right{float:none!important;margin:12px 0}.royal-legacy #checkout-cart .buttons a{width:100%;text-align:center;display:block}.royal-legacy #content .row>.col-xs-6:has(#input-sort),.royal-legacy #content .row>.col-xs-6:has(#input-limit){width:100%}.royal-legacy .panel-body{padding:20px}.royal-legacy .form-control{font-size:16px}.royal-legacy #product-manufacturer #content>.row>.col-sm-3{display:inline-block;width:50%;vertical-align:top}}
@media(max-width:600px){.royal-legacy>.container{width:calc(100% - 32px);padding-bottom:30px}.royal-legacy .breadcrumb{font-size:12px;padding:20px 0;margin-bottom:8px}.royal-legacy #content{font-size:14px}.royal-legacy #content h1{font-size:29px;letter-spacing:-.02em;margin-bottom:24px}.royal-legacy #content h2{font-size:23px;margin-top:28px}.royal-legacy #content h3,.royal-legacy legend{font-size:20px}.royal-legacy .product-layout{padding-inline:6px;margin-bottom:12px}.royal-legacy #content .row:has(>.product-layout){margin-inline:-6px}.royal-legacy .product-thumb>.image{padding:12px}.royal-legacy .product-thumb .image img{height:145px!important}.royal-legacy .product-thumb .caption{padding:13px}.royal-legacy #content .product-thumb h4{font-size:12px;line-height:1.55}.royal-legacy .product-thumb .price{font-size:17px}.royal-legacy .product-thumb .price-tax{font-size:10px}.royal-legacy .product-thumb .button-group{grid-template-columns:1fr 36px}.royal-legacy .product-thumb .button-group button{font-size:12px}.royal-legacy .product-list .product-thumb{flex-direction:column}.royal-legacy .product-list .product-thumb>.image{width:100%;justify-content:center}.royal-legacy .product-list .product-thumb .image img{height:220px!important}.royal-site footer .row{display:flex;gap:0;margin-inline:-7px}.royal-site footer .col-sm-3{width:50%;padding-inline:7px;margin-bottom:22px}.royal-site footer li{font-size:12px}.royal-site footer h5{font-size:13px}.royal-site footer li a{min-height:36px}.royal-legacy #content .well h2{font-size:23px}}
/* Maintenance uses the same content scale without changing the store's maintenance setting. */
.royal-legacy #common-maintenance{padding-top:45px}.royal-legacy #common-maintenance #content{padding:0 15px}.royal-legacy #common-maintenance #content h1{font-size:32px}.royal-legacy #common-maintenance #content p{max-width:70ch;margin:20px auto}
/* Cart totals must fit both narrow phones and Bootstrap's intermediate columns. */
.royal-legacy #checkout-cart #content>.row>.col-sm-4{float:none;width:min(100%,440px);margin-left:auto}
.royal-legacy #checkout-cart #content>.row .table td:first-child{white-space:normal;overflow-wrap:anywhere}
