/* ===================================================
   YAKUZA BUSINESS THEME — Clan13 Shop0
   Deep black + Gold accent + Angular Japanese aesthetic
   =================================================== */

/* --- CSS Custom Properties --- */
:root {
    --bg-deepest: #0a0a0a;
    --bg-dark: #111111;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    --gold: #c9a84c;
    --gold-bright: #d4af37;
    --gold-dim: rgba(201, 168, 76, 0.35);
    --gold-faint: rgba(201, 168, 76, 0.15);
    --gold-glow: rgba(201, 168, 76, 0.25);
    --text-primary: #e8dcc8;
    --text-muted: rgba(232, 220, 200, 0.5);
    --text-dim: rgba(232, 220, 200, 0.3);
    --crimson: #8b0000;
    --crimson-bg: rgba(139, 0, 0, 0.3);
    --success-bg: rgba(45, 106, 48, 0.3);
    --success-border: rgba(45, 106, 48, 0.5);
    --warning-bg: rgba(212, 183, 31, 0.25);
    --border-subtle: rgba(201, 168, 76, 0.12);
}

/* --- Reset --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, main,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
a {
    color: var(--gold);
}
a:hover,
a:focus {
    color: var(--gold-bright);
}
select, input, textarea {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* --- Base styles --- */
html {
    font-size: 14px;
}
body {
    background: var(--bg-deepest);
    color: var(--text-primary);
    font: 14px/1.5 Montserrat, Arial, Helvetica, sans-serif;
    background-size: contain;
    position: relative;
}

/* --- Decorative body pattern: subtle vertical lines --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(201, 168, 76, 0.03) 0px,
        rgba(201, 168, 76, 0.03) 1px,
        transparent 1px,
        transparent 60px
    );
    pointer-events: none;
    z-index: 0;
}

.cf:after {
    content: "";
    display: table;
    clear: both;
}

/* --- Alerts & notices --- */
.alert {
    position: relative;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 0;
}
.alert-success {
    color: var(--text-primary);
    font-size: 18px;
    background-color: var(--success-bg);
    border-color: var(--success-border);
}
.alert-danger {
    color: var(--text-primary);
    background-color: var(--crimson-bg);
    border-color: var(--crimson);
}
.notice {
    border: 1px solid var(--gold);
    padding: 15px;
    margin-bottom: 15px;
    color: var(--gold);
    border-radius: 0;
    font-weight: bold;
}
.long-wallet {
    word-wrap: break-word;
}

/* --- Layout structure --- */
.wrapper {
    display: flex;
    min-height: 100vh;
    background: rgba(10, 10, 10, 0.85);
    position: relative;
    z-index: 1;
}
.content-wrap {
    width: 100%;
    padding-bottom: 15px;
}
.italic {
    font-style: italic;
}
.ex {
    font-weight: 700;
}

/* --- Transitions --- */
.p-list a,
.make-order a, .add-review a, .more-news,
.logo,
.select-list a,
.balance-btn {
    -o-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.header-mobile {
    display: none;
}

/* --- Action buttons --- */
.action-btn {
    display: inline-block;
    vertical-align: top;
    margin: 0 3px;
    background: var(--gold);
    color: var(--bg-deepest);
    border-radius: 0;
    width: 27px; height: 27px;
    line-height: 23px;
    text-align: center;
}
.action-btn i:before {
    vertical-align: middle;
}
.action-btn:hover,
.action-btn:focus {
    text-decoration: none;
    background: var(--text-primary);
    color: var(--bg-deepest);
}

/* --- Balance row --- */
.balance-row {
    padding: 10px 0;
    font: 14px Oswald, Arial, Helvetica, sans-serif;
    color: var(--text-muted);
    text-align: right;
}
.balance,
.balance-row .balance-btn,
.balance-btn {
    display: inline-block;
    vertical-align: middle;
}
.balance-row .balance-btn,
.balance-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    font: bold 12px Roboto, Arial, Helvetica, sans-serif;
    border-radius: 0;
    padding: 5px 10px;
    margin-right: 4px;
    border: 1px solid var(--border-subtle);
}
.balance-row .balance-btn:hover,
.balance-row .balance-btn:focus,
.balance-btn:hover,
.balance-btn:focus {
    text-decoration: none;
    background: var(--gold);
    color: var(--bg-deepest);
    border-color: var(--gold);
}

/* --- Top navigation --- */
.top-nav {
    text-align: right;
}
.top-nav > li {
    display: inline-block;
    vertical-align: top;
}
.top-nav > li > a {
    color: var(--text-muted);
    font: 14px Oswald, Arial, Helvetica, sans-serif;
}
.top-nav > li > a:hover,
.top-nav > li > a:focus {
    background: transparent;
    color: var(--gold);
}

/* --- Sidebar navigation column --- */
.nav-col {
    flex-basis: 250px;
    padding: 25px 40px;
    border-right: 1px solid var(--border-subtle);
}

/* --- Logo with gold underline accent --- */
.logo {
    color: var(--gold);
    text-transform: uppercase;
    font: bold 30px Oswald, Arial, Helvetica, sans-serif;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.logo:hover,
.logo:focus {
    color: var(--text-primary);
    text-decoration: none;
}

/* --- General navigation --- */
.general-nav {
    padding: 15px 0;
}
.general-nav > li > a {
    display: block;
    text-decoration: none;
    padding: 10px 0;
    padding-left: 0;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--text-muted);
    transition: all .3s ease-out;
    cursor: pointer;
    border-left: 2px solid transparent;
}
.general-nav > li > a:hover,
.general-nav > li > a:focus {
    color: var(--gold);
    background-color: transparent;
    padding-left: 10px;
    border-left: 2px solid var(--gold);
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: transparent;
    border-color: transparent;
}

/* --- Dropdown menus --- */
.dropdown-menu {
    border: 1px solid var(--gold-dim);
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-radius: 0;
}
.dropdown-menu > li + li {
    border-top: 1px solid var(--border-subtle);
}
.dropdown-menu > li > a {
    color: var(--text-primary);
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background: rgba(201, 168, 76, 0.1);
    outline: 0;
    color: var(--gold);
}
.lighter {
    font-size: 1.2em;
    color: var(--gold);
}

/* --- Content frame --- */
.content-frame {
    padding: 0 15px;
}

/* --- Reviews --- */
.review-item {
    text-align: left;
    padding: 15px;
    border-radius: 0;
    margin-bottom: 25px;
    border: 1px solid var(--border-subtle);
}
.reply-item {
    padding-left: 6%;
}
.reply-user {
    float: left;
}
.reply-text {
    overflow: hidden;
    padding-left: 15px;
}
.reply-user img {
    width: 60px;
    height: auto;
}
.review-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 10px;
    color: var(--gold);
    font: 17px Oswald, Arial, Helvetica, sans-serif;
}
.review-date {
    font-size: 0.9em;
}
.rating {
    font: 0/0 serif;
    width: 180px; height: 33px;
}
.rating-1 {
    background: url("../images/star1.png");
}
.rating-2 {
    background: url("../images/star2.png");
}
.rating-3 {
    background: url("../images/star3.png");
}
.rating-4 {
    background: url("../images/star4.png");
}
.rating-5 {
    background: url("../images/star5.png");
}
.add-review {
    text-align: center;
    padding: 15px 15px 45px;
}

/* --- Error / Welcome blocks --- */
.welcome,
.error,
.select-list .error {
    display: block;
    width: 100%;
    color: var(--text-primary);
    background: var(--crimson-bg);
    font-size: 20px;
    font-weight: bold;
    border-radius: 0;
    padding: 25px;
    margin: 0 auto 25px;
    border: 1px solid rgba(139, 0, 0, 0.4);
}
.select-list li + .error,
.error + .error {
    display: none;
}
.select-list .error a {
    background: none transparent;
    display: inline;
    width: auto;
    padding: 0;
}
.error-page {
    padding: 5%;
    text-align: center;
    color: var(--text-primary);
    font-size: 2.5rem;
    text-shadow: 1px 1px 1px rgba(139, 0, 0, 0.6), -1px -1px 1px rgba(139, 0, 0, 0.6);
}

/* --- Page titles with decorative flanking lines --- */
.general-ttl {
    padding: 25px 0;
    text-transform: uppercase;
    font: 3rem Oswald, Arial, Helvetica, sans-serif;
    text-align: center;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.general-ttl::before,
.general-ttl::after {
    content: "";
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.general-ttl::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}
.general-ttl a {
    color: var(--text-primary);
    text-decoration: none;
}
.general-ttl a:hover,
.general-ttl a:focus {
    color: var(--gold);
}
.general-ttl + .sub-ttl {
    margin-top: -15px;
}
.sub-ttl {
    padding: 0 15px 25px;
    font: 2.5rem Oswald, Arial, Helvetica, sans-serif;
    text-align: center;
}

/* --- Home text block: dark gradient with gold tint --- */
.home-text {
    padding: 25px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(201, 168, 76, 0.08) 50%, var(--bg-dark) 100%);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.2rem;
    text-align: justify;
}
.home-text a {
    background: var(--gold);
    color: var(--bg-deepest);
    padding: 0 4px;
}
.home-text a:hover,
.home-text a:focus {
    background: var(--gold-bright);
    transition: all .3s;
    text-decoration: none;
}
.page-content {
    padding: 25px;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 1.2rem;
    text-align: justify;
}
.home-ttl,
.home-text h2,
.home-text h1 {
    font-size: 2rem;
    text-transform: uppercase;
}
.home-text h3 {
    font-size: 1.75rem;
}
.home-text h4 {
    font-size: 1.5rem;
}
.home-text h5 {
    font-size: 1.4rem;
}
.home-text h6 {
    font-size: 1.3rem;
}
.home-text h1, .home-text h2, .home-text h3, .home-text h4, .home-text h5, .home-text h6 {
    font-family: Oswald, Arial, Helvetica, sans-serif;
    padding-bottom: 0.6em;
    text-align: left;
    color: var(--gold);
}
.home-text p,
.home-text ul,
.home-text ol,
.page-content p,
.page-content ul,
.page-content ol {
    margin-bottom: 15px;
}

/* --- Make order / Add review buttons --- */
.make-order {
    padding: 15px 0;
    text-align: center;
}
.make-order a,
.add-review a,
.more-news {
    padding: 10px 25px;
    background: var(--bg-card);
    color: var(--gold);
    border: 1px solid var(--gold);
    font: 16px Oswald, Arial, Helvetica, sans-serif;
    border-radius: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .2s ease-out;
}
.make-order a:hover, .make-order a:focus,
.add-review a:hover, .add-review a:focus,
.more-news:hover, .more-news:focus {
    background: var(--gold);
    color: var(--bg-deepest);
    border: 1px solid var(--gold);
    text-decoration: none;
}
.make-order p {
    padding-bottom: 15px;
}

/* --- Blockquote --- */
blockquote {
    padding: 10px 0 10px 30px;
    quotes: "\201C""\201D""\2018""\2019";
    border-left: 2px solid var(--gold-dim);
}
blockquote:before {
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
    content: open-quote;
    color: var(--gold-dim);
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 10px 0;
    margin-bottom: 20px;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    font-size: 12px;
}
.breadcrumb > li {
    display: inline-block;
    vertical-align: middle;
}
.breadcrumb > li {
    text-shadow: none;
}
.breadcrumb > li + li:before {
    padding: 0 5px;
    color: var(--text-dim);
    content: "\0087";
}
.breadcrumb a {
    color: var(--text-dim);
    text-decoration: none;
}
.breadcrumb a:hover,
.breadcrumb a:focus {
    color: var(--gold);
}
.breadcrumb .active {
    color: var(--text-dim);
}

/* --- Select list (category grid) --- */
.select-list {
    padding-bottom: 25px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    font: 0 / 0 serif;
}
.select-list li {
    position: relative;
    width: 20%;
}
.select-list li:before {
    margin-top: 100%;
    display: block;
    content: "";
}
.select-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    bottom: 5px;
    right: 5px;
    left: 5px;
    margin: auto;
    cursor: pointer;
    text-transform: uppercase;
    padding: 5px;
    color: var(--gold);
    text-shadow: 0 0 2px #000;
    font: bold 30px Oswald, Arial, Helvetica, sans-serif;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
}
.list-bg {
    position: absolute;
    top: 0; bottom: 0;
    right: 0; left: 0;
    filter: grayscale(1);
    background: url("../images/ukraine.png") center no-repeat;
    background-size: contain;
    z-index: -1;
}
.select-list li:nth-child(even) .list-bg {
    opacity: .83;
}
.select-list a span {
    width: 100%;
}
.select-list a:hover,
.select-list a:focus {
    text-decoration: none;
    background: var(--gold);
    color: var(--bg-deepest);
    border-color: var(--gold);
}

/* --- Product list & cards --- */
.product-list {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
}
.product-list li {
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 24.5%;
    padding: 0 15px 30px;
    text-align: center;
}
.product-wrap {
    width: 100%; height: 100%;
    padding: 10px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    color: var(--text-primary);
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    margin-bottom: 10px;
    transition: all .2s ease-out;
}
.product-wrap:hover,
.product-wrap:focus {
    text-decoration: none;
    color: var(--text-primary);
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 4px 20px var(--gold-glow);
}
.img-wrap {
    display: block;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.img-wrap:before {
    display: block;
    padding-top: 100%;
    content: "";
}
.img-wrap img {
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    max-width: 100%;
    margin: auto;
}
.product {
    width: 100%;
    padding-bottom: 45px;
}
.product-ttl {
    font-size: 18px;
    text-decoration: none;
    padding: 10px 0;
}
.price {
    display: block;
    padding-bottom: 10px;
    font: 18px Oswald, Arial, Helvetica, sans-serif;
    color: var(--gold);
}
.product-description {
    font-size: 0.9em;
    padding: 10px 0;
}
.review-qty {
    display: inline-block;
    vertical-align: top;
    color: var(--gold);
    font-size: 12px;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: all .2s ease-out;
}
.review-qty:hover,
.review-qty:focus {
    color: var(--gold-bright);
    text-decoration: none;
}

/* --- Posts / News --- */
div.post {
    background: var(--bg-card);
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid var(--border-subtle);
}
.news-title {
    padding: 15px 0;
    font-weight: bold;
}
.post img {
    max-width: 100%;
}
a.post {
    color: var(--text-primary);
    text-decoration: none;
}
a.post:hover,
a.post:focus {
    color: var(--gold);
    text-decoration: none;
}
.post-meta {
    padding: 10px 0;
}
.post-meta > li {
    display: inline-block;
    vertical-align: top;
}
.post-meta > li + li {
    padding-left: 10px;
}
.widget {
    padding-bottom: 25px;
}
.widget-title {
    color: var(--text-muted);
    font-weight: bold;
}

/* --- Order details --- */
.order-details {
    font-size: 18px;
    padding: 15px 4%;
    border-radius: 0;
    background: linear-gradient(135deg, var(--bg-dark), rgba(201, 168, 76, 0.08));
    border: 1px solid var(--gold-dim);
    margin-bottom: 25px;
}
.order-details span {
    font-size: 23px;
    color: var(--gold);
}
.order-details .lighter {
    font-size: 1.6em;
}

/* --- Form styles --- */
.payment-form ::-webkit-input-placeholder,
::-webkit-input-placeholder {
    color: #666;
}
.payment-form ::-moz-placeholder,
::-moz-placeholder {
    color: #666;
}
.payment-form :-ms-input-placeholder,
:-ms-input-placeholder {
    color: #666;
}
.payment-form :-moz-placeholder,
:-moz-placeholder {
    color: #666;
}
.content-page {
    font-size: 17px;
    padding: 25px 0;
    margin-bottom: 25px;
}
.g-recaptcha > div {
    margin: auto;
    max-width: 100%;
    overflow: hidden;
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--gold);
    font: 20px Arial, Helvetica, sans-serif;
    cursor: pointer;
    opacity: 1;
}
.content-page p,
.content-page ul,
.content-page ol {
    padding-bottom: 15px;
}
.content-page ul {
    list-style: inside circle;
}
.content-page ol {
    list-style: inside decimal;
}
.content-page ul li,
.content-page ol li {
    padding-bottom: 10px;
}
.contact-form {
    width: 800px;
    max-width: 100%;
    margin: auto;
    padding-bottom: 25px;
}
.contact-form input:not([type=submit]),
.contact-form textarea {
    width: 100%;
    border: 0;
    padding: 10px 15px;
    background: transparent;
    color: var(--text-muted);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--gold-dim);
    border-radius: 0;
}
.form-button {
    text-align: center;
}
.payment-form {
    text-align: center;
    padding: 15px;
    width: 650px;
    max-width: 100%;
    margin: auto;
}
.payment-form .has-error input:focus,
.payment-form input:focus {
    outline: 0;
    box-shadow: none;
    border-color: var(--gold);
}
.payment-form select,
.payment-form input[type=text],
.payment-form input[type=email],
.payment-form input[type=password],
.payment-form textarea {
    padding: 10px 15px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 0;
    display: block;
    box-shadow: none;
    width: 100%;
    height: auto;
}
.payment-form select:focus,
.payment-form input[type=text]:focus,
.payment-form input[type=email]:focus,
.payment-form input[type=password]:focus,
.payment-form textarea:focus {
    border-color: var(--gold);
}
#statusform-verifycode,
#reviewform-verifycode,
#contactform-verifycode,
#signupform-verifycode {
    padding: 13px 15px;
}
.help-block {
    margin: 0;
    padding: 5px 0 0;
    text-align: left;
}
.has-error .help-block {
    color: var(--crimson);
}
.has-error .form-control,
.has-error .form-control:focus,
.has-success .form-control,
.has-success .form-control:focus,
.form-control:focus {
    box-shadow: none;
}
.form-row {
    padding-bottom: 15px;
}
.field-addfundsform-mode > label {
    text-align: left;
    padding-bottom: 15px;
    display: block;
}
#addfundsform-mode label,
.payment-row label {
    display: inline-block;
    vertical-align: top;
    padding: 10px 15px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 17px;
    margin-bottom: 10px;
    border: 1px solid var(--border-subtle);
}
.check-col {
    position: relative;
    display: inline-block;
    vertical-align: top;
}
.check-col + .check-col {
    margin-left: 2px;
}
.check-col input {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    margin: auto;
    opacity: 0;
}
.payment-form .check-col label {
    padding: 10px 15px;
    background: var(--bg-card);
    display: block;
    color: var(--text-primary);
    font-size: 17px;
    opacity: .5;
    border: 1px solid var(--border-subtle);
}
.check-col input:checked + label,
.check-col:hover label {
    opacity: 1;
    border-color: var(--gold);
}
.payment-form label {
    padding-right: 10px;
}
.payment-form .radio {
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    padding: 7px 15px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: bold;
    border-radius: 0;
    border: 1px solid var(--border-subtle);
}
.payment-form .field-confirmform-mode > label {
    text-transform: uppercase;
    font: 1.4rem Oswald, Arial, Helvetica, sans-serif;
}

/* --- Submit buttons --- */
.payment-form input[type=submit],
.reload,
.address-form button[type=submit],
.payment-form button[type=submit],
.contact-form input[type=submit],
.contact-form button[type=submit] {
    padding: 10px 25px;
    background: var(--gold);
    color: var(--bg-deepest);
    border: 1px solid var(--gold);
    text-transform: uppercase;
    font: bold 16px Oswald, Arial, Helvetica, sans-serif;
    border-radius: 0;
    transition: all .2s ease-out;
    cursor: pointer;
}
.reload {
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
}
.reload-wrap {
    text-align: center;
}
.captcha-img {
    float: left;
    padding-right: 10px;
}
.captcha-input {
    overflow: hidden;
}

/* --- Accordion --- */
.accordion-section {
    background: var(--bg-card);
    padding: 15px;
    border: 1px solid var(--border-subtle);
}
.main-city {
    padding-bottom: 20px;
}
.mc-ttl {
    color: var(--gold);
    font-weight: bold;
}
.option {
    position: relative;
    margin-bottom: 1em;
}
.title,
.content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: all 0.2s;
}
.title {
    background: var(--bg-card);
    border: 1px solid var(--gold-dim);
    padding: 1em;
    display: block;
    color: var(--gold);
}
.title:after, .title:before {
    content: '';
    position: absolute;
    right: 1.25em;
    top: 1.25em;
    width: 2px;
    height: 0.75em;
    background-color: var(--gold);
    transition: all 0.2s;
}
.title:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.content {
    max-height: 0;
    overflow: hidden;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-top: 0;
}
.content > ul {
    padding: 15px;
}
.toggle {
    display: none;
}
.toggle:checked + .title, .toggle:checked + .title + .content {

}
.toggle:checked + .title + .content {
    max-height: none;
}
.toggle:checked + .title:before {
    -webkit-transform: rotate(90deg) !important;
    transform: rotate(90deg) !important;
}

/* --- Submit button hover states --- */
.payment-form input[type=submit]:hover,
.payment-form input[type=submit]:focus,
.payment-form button[type=submit]:hover,
.payment-form button[type=submit]:focus,
.address-form button[type=submit]:hover,
.address-form button[type=submit]:focus,
.contact-form button[type=submit]:hover,
.contact-form button[type=submit]:focus,
.reload:focus,
.reload:hover {
    color: var(--bg-deepest);
    outline: 0;
    background: var(--gold-bright);
    border: 1px solid var(--gold-bright);
}
.review-list .summary {
    display: none;
}
.summary {
    padding-bottom: 15px;
}

/* --- Tables --- */
.table .action-column {
    width: 75px;
}
.table-wrap {
    width: 100%;
    overflow: auto;
}
.table-wrap .table {
    max-width: none;
}
.table {
    border: 0;
}
.table-wrap .table > thead > tr > th {
    background: var(--gold-faint);
    border-color: var(--border-subtle);
    color: var(--gold);
    vertical-align: middle;
}
.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th {
    background-color: var(--crimson-bg);
}
.table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th {
    background-color: var(--warning-bg);
}
.table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th {
    background-color: var(--success-bg);
}
.table > thead > tr > th {
    background: var(--gold-faint);
    color: var(--gold);
    font: 15px Oswald, Arial, Helvetica, sans-serif;
    border: 1px solid var(--border-subtle);
}
.table > thead > tr > th > a {
    color: var(--gold);
}
.table-wrap thead th a {
    color: var(--gold);
}
.table .multi-width {
    min-width: 170px;
}
.responsive-table .table {
    max-width: 100%;
    border: 0;
}
.responsive-table img {
    max-width: 100%;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(201, 168, 76, 0.04);
}
.table td[data-title="Номер для пополнения"] {
    overflow: hidden;
    text-overflow: ellipsis;
}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid var(--border-subtle);
}

/* --- Pagination --- */
.pagination {
    display: block;
    padding-bottom: 15px;
    text-align: center;
    border-radius: 0;
}
.pagination>li {
    display: inline-block;
    vertical-align: top;
}
.pagination>li a {
    padding: 0 7px;
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    color: var(--text-primary);
}
.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
    opacity: .6;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 0 7px;
    color: var(--text-muted);
    font-size: 1.5rem;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    padding: 0 7px;
    font-size: 1.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}
.pagination>li a:hover,
.pagination>li a:focus {
    color: var(--gold);
    background: var(--bg-elevated);
    border-color: var(--gold-dim);
}
.pagination>li:first-child>a, .pagination>li:first-child>span,
.pagination>li:last-child>a, .pagination>li:last-child>span {
    border-radius: 0;
}

/* --- Big text --- */
.big {
    font-size: 2em;
}
.big-text {
    padding-bottom: 25px;
    font-size: 1.5em;
}

/* --- Tabs & Button wells --- */
.tabs-well,
.btn-well {
    padding-bottom: 10px;
}
.tabs-well .tabs-link,
.tabs-well .btn,
.tabs-well .balance-btn,
.btn-well a,
.btn-logout,
.removeItem,
#addItem {
    display: inline-block;
    vertical-align: top;
    padding: 6px 15px;
    margin: 0 5px 5px 0;
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 0;
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}
.tabs-well .btn-success {
    background: var(--gold);
    color: var(--bg-deepest);
    border-color: var(--gold);
}
.tabs-well .tabs-link:hover,
.tabs-well .btn:hover,
.tabs-well .balance-btn:hover,
.tabs-well .tabs-link:focus,
.tabs-well .btn:focus,
.btn-well a:hover,
.btn-well a:focus,
.btn-logout:hover,
.btn-logout:focus,
.removeItem:hover,
.removeItem:focus,
.tabs-well .balance-btn:focus,
#addItem:hover,
#addItem:focus {
    border: 1px solid var(--gold);
    outline: 0;
    box-shadow: none;
    background: var(--gold);
    color: var(--bg-deepest);
    text-decoration: none;
}

/* --- Footer --- */
.main-footer a {
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}
.main-footer a:hover,
.main-footer a:focus {
    color: var(--gold);
    text-decoration: none;
}
.footer-nav a {
    display: inline-block;
    vertical-align: top;
    font-size: 19px;
}

/* --- Vue app & misc --- */
#app {
    max-width: 100%;
}
#product_items .item,
.address-wrap {
    background: rgba(201, 168, 76, 0.05);
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid var(--border-subtle);
}
.address-form .form-body {
    padding-bottom: 20px;
    background: var(--bg-card);
}
.address-form .form-group {
    float: left;
    width: 25%;
    padding: 0 10px;
}
.address-form .field-address-1-address_text,
.address-form .field-address-address_text,
.address-form .field-address-1-priority,
.address-form .field-address-priority {
    float: none;
    width: 100%;
}
.qr-code {
    padding-bottom: 15px;
    text-align: center;
}
body .application--wrap {
    min-height: 0;
}
body .theme--light.application {
    background: transparent;
    color: inherit;
}
.ticket-info {
    padding-bottom: 15px;
}
.admin-info {
    margin-bottom: 30px;
    color: var(--gold);
}
.admin-info p,
.admin-info ol,
.admin-info ul {
    padding-bottom: 10px;
}
.admin-info ol {
    list-style: decimal inside;
}
.admin-info strong {
    font-weight: bold;
}
.admin-info ul {
    list-style: circle inside;
}

/* --- Modal --- */
#mainTextModal {
    z-index: 9999999 !important;
    background: rgba(0, 0, 0, 0.6);
}
.modal-backdrop.in {
    z-index: 9999998 !important;
    opacity: 0.8 !important;
}
.modal-content .btn-primary {
    padding: 10px 25px;
    background: var(--gold);
    color: var(--bg-deepest);
    border: 1px solid var(--gold);
    text-transform: uppercase;
    font: bold 16px Oswald, Arial, Helvetica, sans-serif;
    border-radius: 0;
    transition: all .2s ease-out;
}
.modal-content .btn-primary:hover,
.modal-content .btn-primary:focus, .modal-content .btn-primary.focus {
    color: var(--bg-deepest);
    outline: 0;
    background: var(--gold-bright);
    border: 1px solid var(--gold-bright);
}
.modal-content {
    background: var(--bg-dark);
    color: var(--text-primary);
    border: 1px solid var(--gold-dim);
    border-radius: 0;
}
.modal-header,
.modal-footer {
    border-color: var(--border-subtle);
}
.modal-title {
    font-weight: bold;
    text-align: center;
    font-size: 1.5em;
    color: var(--gold);
}

/* --- Bot links --- */
.matrix-bots a {
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
}

/* --- Live chat embed --- */
#lhc_status_container_page {
    position: relative !important;
    background: var(--bg-card);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
}
#lhc_faq_embed_container {
    position: relative !important;
    background: var(--bg-card);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
}
body #lhc_status_container_page iframe {
    height: 425px!important;
}

/* ===================================================
   @font-face declarations
   =================================================== */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.eot');
    src: url('../fonts/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Montserrat-Medium.woff2') format('woff2'),
    url('../fonts/Montserrat-Medium.woff') format('woff'),
    url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.eot');
    src: url('../fonts/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Montserrat-Regular.woff2') format('woff2'),
    url('../fonts/Montserrat-Regular.woff') format('woff'),
    url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Regular.eot');
    src: url('../fonts/Oswald-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Oswald-Regular.woff2') format('woff2'),
    url('../fonts/Oswald-Regular.woff') format('woff'),
    url('../fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===================================================
   Fontello icons
   =================================================== */
@font-face {
    font-family: 'fontello';
    src: url('../fonts/fontello.eot?58234571');
    src: url('../fonts/fontello.eot?58234571#iefix') format('embedded-opentype'),
    url('../fonts/fontello.woff2?58234571') format('woff2'),
    url('../fonts/fontello.woff?58234571') format('woff'),
    url('../fonts/fontello.ttf?58234571') format('truetype'),
    url('../fonts/fontello.svg?58234571#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-basket:before { content: '\e800'; }
.icon-award:before { content: '\e801'; }
.icon-login-1:before { content: '\e802'; }
.icon-briefcase:before { content: '\e803'; }
.icon-user:before { content: '\e804'; }
.icon-globe:before { content: '\e805'; }
.icon-location:before { content: '\e806'; }
.icon-dollar:before { content: '\f155'; }
.icon-user-plus:before { content: '\f234'; }
.icon-shopping-basket:before { content: '\f291'; }
.icon-clock:before { content: '\e807'; }
.icon-cancel:before { content: '\e808'; }
.icon-pencil:before { content: '\e809'; }
.icon-reply:before { content: '\f112'; }
.icon-star:before { content: '\e80a'; }
.icon-star-empty:before { content: '\e80b'; }

/* ===================================================
   Media queries — all 7 breakpoints preserved
   =================================================== */
@media screen and (max-width: 1600px) {
    .select-list li {
        width: 33%;
    }
}
@media screen and (max-width: 1040px) {
    .general-header {
        text-align: center;
    }
    .general-nav {
        float: none;
    }
    .responsive-table .table,
    .responsive-table .table tbody,
    .responsive-table .table thead,
    .responsive-table .table tr,
    .responsive-table .table td,
    .responsive-table .table thead tr.filters {
        display: block;
        width: 100%;
    }
    .responsive-table .table thead tr {
        display: none;
    }
    .responsive-table td[data-title]:before {
        padding-right: 15px;
        font-weight: bold;
        content: attr(data-title);
        color: var(--gold);
    }
    .responsive-table .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: rgba(201, 168, 76, 0.04);
    }
    .responsive-table .table td {
        border: 0;
    }
}
@media screen and (max-width: 900px) {
    .product-list li {
        width: 32.5%;
    }
    .select-list li {
        width: 50%;
    }
    .order-details {
        padding-left: 10px;
    }
    .dropdown-menu > li > a {
        white-space: normal;
    }
}
@media screen and (max-width: 790px) {
    .wrapper {
        flex-direction: column;
    }
    .address-form .form-group:not(:last-child) {
        width: 50%;
    }
    .header-mobile {
        display: block;
    }
    .header-wrap {
        display: none;
    }
    .nav-col {
        padding: 10px;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    .general-nav > li > a {
        padding: 5px 0;
        border-left: none;
    }
    .general-nav > li > a:hover,
    .general-nav > li > a:focus {
        padding-left: 0;
        border-left: none;
    }
    .general-ttl {
        display: flex;
    }
    .select-list li {
        padding: 5px;
    }
    .list-bg,
    .select-list li:before {
        display: none;
    }
    .select-list a {
        position: relative;
        border: 1px solid var(--gold);
    }
}
@media screen and (max-width: 650px) {
    .product-list li {
        width: 45.5%;
    }
    .general-ttl {
        font-size: 2rem;
    }
    .general-nav li {
        display: block;
        text-align: center;
    }
    .general-nav > li > a {
        display: inline-block;
        vertical-align: top;
    }
    .select-list {
        text-align: center;
    }
    .round-wrap .sukub {
        display: none;
    }
    .address-form .form-group:not(:last-child) {
        width: 100%;
        float: none;
    }
    .review-header {
        text-align: center;
    }
    .rating {
        margin: 10px auto 0;
    }
}
@media screen and (max-width: 560px) {
    .select-list {
        padding: 0 5%;
    }
    .select-list li {
        width: 100%;
    }
    .general-header {
        padding: 10px 0;
    }
    .general-nav .dropdown-menu {
        position: relative;
        z-index: 9999;
        width: 100%;
    }
    .select-list li {
        width: 100%;
    }
    .balance-row {
        text-align: center;
    }
    .balance {
        display: block;
        margin-bottom: 5px;
    }
    .top-nav {
        text-align: left;
    }
    .top-nav > li {
        width: 48%;
    }
}
@media screen and (max-width: 480px) {
    .product-list li {
        width: 100%;
    }
}
