:root {
    --tmr-bg: #050505;
    --tmr-panel: #0b0b09;
    --tmr-panel-soft: #10100e;
    --tmr-gold: #C9A84C;
    --tmr-gold-hover: #e0c068;
    --tmr-text: #ffffff;
    --tmr-muted: #b8b8b8;
    --tmr-line: rgba(201,168,76,.22);
}

/* WOODMART WRAPPER FIX */
body.tax-menu-category .main-content,
body.tax-menu-category .wd-content-layout,
body.tax-menu-category .content-layout-wrapper,
body.single-menu-item .main-content,
body.single-menu-item .wd-content-layout,
body.single-menu-item .content-layout-wrapper,
body.page-template-page-build-order .main-content,
body.page-template-page-build-order .wd-content-layout,
body.page-template-page-build-order .content-layout-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.tax-menu-category .wd-page-content,
.single-menu-item .wd-page-content,
.page-template-page-build-order .wd-page-content {
    background: var(--tmr-bg) !important;
}

/* GLOBAL */
.tmr-menu-page,
.tmr-single-page,
.tmr-builder-page {
    background: var(--tmr-bg);
    color: var(--tmr-text);
    padding: 48px 0;
}

.tmr-menu-page *,
.tmr-single-page *,
#tmr-build-order-page * {
    box-sizing: border-box;
}

.tmr-menu-shell,
.tmr-single-shell {
    max-width: var(--wd-container-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* CATEGORY HERO */
.tmr-menu-hero {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 34px;
    align-items: center;
    border-bottom: 1px solid var(--tmr-line);
    padding-bottom: 28px;
    margin-bottom: 30px;
}

.tmr-menu-hero h1,
.tmr-single-content h1 {
    color: var(--tmr-gold);
    text-transform: uppercase;
    line-height: 1.08;
    margin: 0 0 14px;
}

.tmr-menu-hero h1 {
    font-size: 38px;
    max-width: 760px;
}

.tmr-menu-hero p {
    color: var(--tmr-muted);
    max-width: 460px;
    font-size: 15px;
    line-height: 1.6;
}

.tmr-hero-img img {
    width: 100%;
    display: block;
    border-radius: 3px;
}
.tmr-subcategory-block {
    margin-bottom: 36px;
}

.tmr-subcategory-title {
    color: #C9A84C;
    font-size: 22px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201,168,76,.28);
}
.tmr-hero-fallback {
    min-height: 240px;
    background:
        radial-gradient(circle at 70% 40%, rgba(201,168,76,.28), transparent 34%),
        linear-gradient(135deg, #050505 0%, #11100c 55%, rgba(201,168,76,.22) 100%);
    border: 1px solid rgba(201,168,76,.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmr-fallback-mark {
    width: 90px;
    height: 90px;
    border: 1px solid rgba(201,168,76,.55);
    color: var(--tmr-gold);
    font-size: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CATEGORY LAYOUT */
.tmr-menu-layout {
    display: grid;
    grid-template-columns: minmax(0, 72%) minmax(280px, 28%);
    gap: 34px;
    align-items: start;
}

.tmr-menu-list {
    min-width: 0;
}

/* MENU TABLE */
.tmr-table-head,
.tmr-row {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr .8fr 110px 105px;
    gap: 18px;
    align-items: center;
}

.tmr-table-head {
    color: var(--tmr-gold);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tmr-line);
}

.tmr-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--tmr-line);
}

.tmr-cut a {
    color: var(--tmr-text);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
}

.tmr-cut a:hover {
    color: var(--tmr-gold-hover);
}

.tmr-desc {
    color: var(--tmr-muted);
    font-size: 13px;
    line-height: 1.45;
}

.tmr-price {
    color: var(--tmr-text);
    font-size: 15px;
    font-weight: 800;
}

/* QTY */
.tmr-row-qty-wrap {
    height: 34px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(201,168,76,.42);
    background: #080808;
    max-width: 105px;
}

.tmr-row-qty {
    width: 58px;
    height: 32px;
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
}

.tmr-row-qty-wrap span {
    color: var(--tmr-gold);
    font-size: 11px;
    padding: 0 8px 0 4px;
    font-weight: 700;
}

.tmr-qty-highlight {
    outline: 2px solid var(--tmr-gold-hover) !important;
    box-shadow: 0 0 0 4px rgba(224,192,104,.18) !important;
}

/* BUTTONS */
.tmr-add-btn,
.tmr-build-btn,
.tmr-clear-btn,
.tmr-remove-build,
.tmr-premium-btn {
    transition: all .22s ease;
}

.tmr-add-btn {
    height: 34px !important;
    background: var(--tmr-gold) !important;
    color: #050505 !important;
    border: 1px solid var(--tmr-gold) !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    letter-spacing: .3px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.tmr-add-btn:hover,
.tmr-add-btn.is-added,
.tmr-add-btn.is-ready-update {
    background: var(--tmr-gold-hover) !important;
    border-color: var(--tmr-gold-hover) !important;
    color: #050505 !important;
}

.tmr-add-btn.is-added,
.tmr-add-btn.is-ready-update {
    font-size: 16px !important;
}

/* CATEGORY SUMMARY */
.tmr-side-summary {
    margin: 0;
    width: 100%;
    max-width: none;
    background: var(--tmr-panel-soft);
    padding: 24px;
    border: 1px solid rgba(201,168,76,.32);
    position: sticky;
    top: 110px;
}

.tmr-side-summary h2 {
    color: #fff;
    font-size: 25px;
    line-height: 1;
    margin: 0 0 8px;
}

.tmr-side-summary > span {
    display: block;
    color: var(--tmr-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 9px;
    margin-bottom: 16px;
}

.tmr-empty {
    color: var(--tmr-muted);
    font-size: 13px;
    margin: 0;
}

.tmr-mini-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--tmr-line);
}

.tmr-mini-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.tmr-mini-item small {
    display: block;
    color: #8f8f8f;
    font-size: 10px;
    line-height: 1.45;
    margin-top: 4px;
}

.tmr-mini-item b {
    color: var(--tmr-gold);
    font-size: 13px;
}

.tmr-remove-mini {
    width: 24px;
    height: 24px;
    min-height: 24px !important;
    padding: 0 !important;
    margin-left: 8px;
    background: var(--tmr-gold-hover) !important;
    border: 1px solid var(--tmr-gold-hover) !important;
    color: #050505 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    line-height: 20px !important;
}

.tmr-remove-mini:hover {
    color: var(--tmr-gold-hover) !important;
    background: transparent !important;
}

.tmr-mini-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 0 18px;
    padding-top: 18px;
    border-top: 1px solid var(--tmr-line);
}

.tmr-mini-total span {
    color: var(--tmr-muted);
    text-transform: uppercase;
    letter-spacing: 2.6px;
    font-size: 10px;
}

.tmr-mini-total strong,
span#tmr-mini-total {
    color: var(--tmr-gold-hover);
    font-size: 25px;
    padding-left:5px;
}

.tmr-build-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--tmr-gold);
    color: #050505 !important;
    padding: 14px 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.tmr-build-btn:hover {
    background: var(--tmr-gold-hover);
    transform: translateY(-1px);
}

/* TOAST */
#tmr-toast {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 999999;
    transform: translateY(22px);
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}

#tmr-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.tmr-toast-inner {
    background: #111;
    border: 1px solid var(--tmr-gold);
    color: #fff;
    padding: 14px 20px;
    min-width: 280px;
    max-width: 360px;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.tmr-toast-inner strong {
    display: block;
    color: var(--tmr-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 10px !important;
    margin-bottom: 5px;
}

.tmr-toast-inner span {
    color: #fff;
    font-size: 12px !important;
    line-height: 1.45;
}

/* BUILD ORDER PAGE - STRICT ID CONTROL */
#tmr-build-order-page {
    width: 100% !important;
    max-width: 100% !important;
    background: var(--tmr-bg) !important;
    padding: 55px 0 !important;
    color: #fff !important;
}

#tmr-build-order-page .tmr-builder-shell {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 5px !important;
    display: block !important;
}

#tmr-build-order-page .tmr-builder-two-col {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(360px, 38%) minmax(0, 62%) !important;
    gap: 32px !important;
    align-items: stretch !important;
}

#tmr-build-order-page .tmr-builder-left,
#tmr-build-order-page .tmr-builder-summary-box {
    width: 100% !important;
    min-height: 560px !important;
    background: var(--tmr-panel) !important;
    border: 1px solid rgba(201,168,76,.28) !important;
    padding: 34px 36px !important;
}

#tmr-build-order-page .tmr-builder-summary-box {
    display: flex !important;
    flex-direction: column !important;
}

#tmr-build-order-page #tmr-build-list {
    flex: 1;
}

#tmr-build-order-page .tmr-builder-left h2,
#tmr-build-order-page .tmr-builder-summary-box h2,
#tmr-build-order-page .tmr-contact-right h2 {
    color: var(--tmr-gold) !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    margin: 0 0 24px !important;
}

#tmr-build-order-page .tmr-builder-left label {
    display: block;
    color: var(--tmr-muted);
    font-size: 12px;
    margin: 14px 0 7px;
}

#tmr-build-order-page .tmr-builder-left select,
#tmr-build-order-page .tmr-builder-left input,
#tmr-build-order-page .tmr-contact-right input,
#tmr-build-order-page .tmr-contact-right textarea,
#tmr-build-order-page .tmr-contact-right select {
    width: 100%;
    background: #080808 !important;
    border: 1px solid rgba(201,168,76,.38) !important;
    color: #fff !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    border-radius: 0 !important;
}

#tmr-build-order-page .tmr-builder-qty-wrap {
    display: grid !important;
    grid-template-columns: 1fr 70px !important;
}

#tmr-build-order-page .tmr-builder-qty-wrap span {
    border: 1px solid rgba(201,168,76,.38);
    border-left: 0;
    color: var(--tmr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

#tmr-build-order-page .tmr-builder-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    color: var(--tmr-muted);
}

#tmr-build-order-page .tmr-builder-price-line strong {
    color: var(--tmr-gold);
    font-size: 30px;
}

#tmr-build-order-page .tmr-premium-btn,
#tmr-build-order-page .tmr-clear-btn,
#tmr-build-order-page .tmr-back-step {
    width: auto !important;
    min-width: 132px !important;
    height: 42px !important;
    padding: 0 18px !important;
    font-size: 11px !important;
    line-height: 42px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.1px !important;
    cursor: pointer !important;
}

#tmr-build-order-page .tmr-premium-btn {
    background: var(--tmr-gold) !important;
    color: #050505 !important;
    border: 1px solid var(--tmr-gold) !important;
    font-weight: 900 !important;
}

#tmr-build-order-page .tmr-premium-btn:hover {
    background: var(--tmr-gold-hover) !important;
    border-color: var(--tmr-gold-hover) !important;
}

#tmr-build-order-page .tmr-clear-btn{
    background: transparent !important;
    color: var(--tmr-gold) !important;
    border: 1px solid rgba(201,168,76,.5) !important;
}
#tmr-build-order-page .tmr-back-step {
    background: transparent !important;
    color: var(--tmr-gold) !important;
    border: 1px solid rgba(201,168,76,.5) !important;
    margin-bottom: 20px !important;
    margin-top: -5px !important;
}

#tmr-build-order-page .tmr-clear-btn:hover,
#tmr-build-order-page .tmr-back-step:hover {
    background: var(--tmr-gold) !important;
    color: #050505 !important;
}

#tmr-build-order-page .tmr-build-item {
    display: grid !important;
    grid-template-columns: minmax(160px, 1fr) 140px 90px 32px !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--tmr-line) !important;
}

#tmr-build-order-page .tmr-build-info strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

#tmr-build-order-page .tmr-build-info small {
    color: #999;
    font-size: 11px;
}

#tmr-build-order-page .tmr-qty-control {
    height: 45px !important;
    display: grid !important;
    grid-template-columns: 34px 1fr 34px !important;
    border: 1px solid rgba(201,168,76,.38) !important;
}

#tmr-build-order-page .tmr-qty-control button {
    background: transparent !important;
    color: var(--tmr-gold) !important;
    border: 0 !important;
    font-size: 15px !important;
    cursor: pointer;
}

#tmr-build-order-page .tmr-build-qty {
    background: #080808 !important;
    color: #fff !important;
    border: 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    padding: 0 !important;
    min-height: 32px !important;
}

#tmr-build-order-page .tmr-build-item b {
    color: #fff;
    font-size: 14px;
}

#tmr-build-order-page .tmr-remove-build {
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    color: #999 !important;
    border: 1px solid rgba(201,168,76,.25) !important;
    font-size: 16px !important;
    cursor: pointer;
}

#tmr-build-order-page .tmr-remove-build:hover {
    color: var(--tmr-gold) !important;
}

#tmr-build-order-page .tmr-builder-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid rgba(201,168,76,.25) !important;
    margin-top: 24px !important;
    padding-top: 22px !important;
}

#tmr-build-order-page .tmr-builder-total span {
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
}
#tmr-build-order-page .tmr-builder-total #tmr-build-total{
    color: var(--tmr-gold-hover);
    font-size: 25px;
    padding-left:5px;
}

#tmr-build-order-page .tmr-builder-total strong {
    color: var(--tmr-gold);
    font-size: 30px;
}

#tmr-build-order-page .tmr-builder-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

#tmr-build-order-page #tmr-next-step {
    min-width: 160px !important;
}

/* CONTACT STEP */
#tmr-build-order-page .tmr-contact-layout {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 30% 70% !important;
    gap: 32px !important;
    align-items: stretch !important;
    animation: tmrSlideFromRight .35s ease;
}
#tmr-build-order-page .tmr-contact-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#tmr-build-order-page .tmr-contact-left > * {
    width: 100%;
}

#tmr-build-order-page .tmr-contact-left,
#tmr-build-order-page .tmr-contact-right {
    width: 100% !important;
    min-height: 560px !important;
    background: var(--tmr-panel) !important;
    border: 1px solid rgba(201,168,76,.28) !important;
    padding: 34px 36px !important;
}

#tmr-build-order-page .tmr-contact-right p {
    color: var(--tmr-muted);
    font-size: 14px;
}

#tmr-build-order-page .tmr-contact-right input[type="submit"] {
    background: var(--tmr-gold) !important;
    color: #050505 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    border: 0 !important;
}

#tmr-build-order-page .tmr-contact-right input[type="submit"]:hover {
    background: var(--tmr-gold-hover) !important;
}
#tmr-build-order-page #tmr-details-step {
    display: none !important;
}

#tmr-build-order-page #tmr-details-step.tmr-is-visible {
    display: grid !important;
    grid-template-columns: 30% 70% !important;
    gap: 32px !important;
    align-items: stretch !important;
}

#tmr-build-order-page #tmr-order-step[style*="display: none"] {
    display: none !important;
}
@keyframes tmrSlideFromRight {
    from {
        opacity: 0;
        transform: translateX(45px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    #tmr-build-order-page #tmr-details-step.tmr-is-visible {
        display: flex !important;
        flex-direction: column !important;
    }

    #tmr-build-order-page .tmr-contact-right {
        order: 1 !important;
        width: 100% !important;
        min-height: auto !important;
    }

    #tmr-build-order-page .tmr-contact-left {
        order: 2 !important;
        width: 100% !important;
        min-height: auto !important;
        margin-top: 22px !important;
    }

    #tmr-build-order-page .tmr-contact-left,
    #tmr-build-order-page .tmr-contact-right {
        padding: 24px !important;
    }

    #tmr-build-order-page .tmr-contact-right form {
        width: 100% !important;
    }

    #tmr-build-order-page .tmr-contact-right input,
    #tmr-build-order-page .tmr-contact-right textarea,
    #tmr-build-order-page .tmr-contact-right select {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* SINGLE ITEM */
.tmr-single-page {
    padding: 56px 0;
}

.tmr-single-shell {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
    background: var(--tmr-panel-soft);
    border: 1px solid rgba(201,168,76,.28);
    padding: 34px;
}

.tmr-single-image img {
    width: 100%;
    display: block;
}

.tmr-single-content h1 {
    font-size: 36px;
}

.tmr-single-content p {
    color: var(--tmr-muted);
    font-size: 15px;
    line-height: 1.6;
}

.tmr-single-price {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    margin: 22px 0;
}

.tmr-back-btn {
    display: inline-block;
    margin-left: 12px;
    color: var(--tmr-gold);
    text-decoration: none;
    font-size: 13px;
}

.tmr-back-btn:hover {
    color: var(--tmr-gold-hover);
}

/* MOBILE */
@media (max-width: 900px) {
    .tmr-menu-page,
    .tmr-single-page,
    #tmr-build-order-page {
        padding: 32px 0 !important;
    }
    #tmr-build-order-page .tmr-builder-price-line strong {
    font-size: 20px;
    }
    .tmr-menu-shell,
    .tmr-single-shell,
    #tmr-build-order-page .tmr-builder-shell {
        padding: 0 15px !important;
    }

    .tmr-menu-hero,
    .tmr-menu-layout,
    .tmr-single-shell,
    #tmr-build-order-page .tmr-builder-two-col,
    #tmr-build-order-page .tmr-contact-layout {
        grid-template-columns: 1fr !important;
    }

    .tmr-menu-hero h1 {
        font-size: 30px;
    }

    .tmr-table-head {
        display: none;
    }

    .tmr-row {
        grid-template-columns: 1fr !important;
        gap: 10px;
        padding: 18px 0;
    }

    .tmr-row-qty-wrap,
    .tmr-add-btn {
        width: 100%;
        max-width: 100%;
    }

    .tmr-side-summary {
        position: static;
    }

    #tmr-build-order-page .tmr-builder-left,
    #tmr-build-order-page .tmr-builder-summary-box,
    #tmr-build-order-page .tmr-contact-left,
    #tmr-build-order-page .tmr-contact-right {
        min-height: auto !important;
        padding: 26px !important;
    }

    #tmr-build-order-page .tmr-build-item {
        grid-template-columns: 1fr !important;
    }

    #tmr-build-order-page .tmr-builder-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #tmr-build-order-page .tmr-premium-btn,
    #tmr-build-order-page .tmr-clear-btn,
    #tmr-build-order-page .tmr-back-step {
        width: 100% !important;
    }

    #tmr-toast {
        right: 15px;
        left: 15px;
        bottom: 18px;
    }

    .tmr-toast-inner {
        min-width: unset;
        max-width: none;
    }
}

/* =========================================================
   CUSTOM QUANTITY SELECTORS
   Used on taxonomy, single item and build-order templates
   ========================================================= */

/* Remove browser-native number arrows while retaining manual entry. */
.tmr-qty-selector input[type="number"],
#tmr-build-order-page .tmr-qty-control input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.tmr-qty-selector input[type="number"]::-webkit-inner-spin-button,
.tmr-qty-selector input[type="number"]::-webkit-outer-spin-button,
#tmr-build-order-page .tmr-qty-control input[type="number"]::-webkit-inner-spin-button,
#tmr-build-order-page .tmr-qty-control input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Main selector: minus | value | plus | unit */
.tmr-qty-selector {
    width: 100%;
    max-width: 220px;
    min-width: 170px;
    height: 40px;
    display: grid !important;
    grid-template-columns: 38px minmax(48px, 1fr) 38px auto;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,.42);
    background: #080808;
}

.tmr-qty-selector .tmr-qty-minus,
.tmr-qty-selector .tmr-qty-plus {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--tmr-gold) !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 38px !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition:
        background-color .2s ease,
        color .2s ease,
        opacity .2s ease;
}

.tmr-qty-selector .tmr-qty-minus {
    border-right: 1px solid rgba(201,168,76,.24) !important;
}

.tmr-qty-selector .tmr-qty-plus {
    border-left: 1px solid rgba(201,168,76,.24) !important;
    border-right: 1px solid rgba(201,168,76,.24) !important;
}

.tmr-qty-selector .tmr-qty-minus:hover,
.tmr-qty-selector .tmr-qty-plus:hover,
.tmr-qty-selector .tmr-qty-minus:focus-visible,
.tmr-qty-selector .tmr-qty-plus:focus-visible {
    background: rgba(201,168,76,.14) !important;
    color: var(--tmr-gold-hover) !important;
    outline: 0 !important;
}

.tmr-qty-selector .tmr-qty-minus:disabled,
.tmr-qty-selector .tmr-qty-plus:disabled,
.tmr-qty-selector .tmr-qty-minus[aria-disabled="true"],
.tmr-qty-selector .tmr-qty-plus[aria-disabled="true"] {
    opacity: .3 !important;
    cursor: not-allowed !important;
    background: transparent !important;
}

.tmr-qty-selector .tmr-row-qty,
#tmr-build-order-page .tmr-qty-selector #tmr-builder-qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #080808 !important;
    color: #fff !important;
    box-shadow: none !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 38px !important;
}

.tmr-qty-selector .tmr-row-qty:focus,
#tmr-build-order-page .tmr-qty-selector #tmr-builder-qty:focus {
    outline: 0 !important;
    box-shadow: inset 0 0 0 1px var(--tmr-gold-hover) !important;
}

.tmr-qty-selector .tmr-qty-unit {
    width: auto !important;
    min-width: 44px;
    height: 38px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border: 0 !important;
    background: rgba(201,168,76,.07);
    color: var(--tmr-gold) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: lowercase;
}

/* Taxonomy table needs more width for the four-part selector. */
.tmr-table-head,
.tmr-row {
    grid-template-columns: 1.05fr 1.65fr .72fr minmax(170px, 220px) 92px;
}

.tmr-row .tmr-qty-selector {
    max-width: 220px;
}

/* Quantity edit feedback. */
.tmr-editing-card .tmr-qty-selector {
    border-color: var(--tmr-gold-hover);
    box-shadow: 0 0 0 3px rgba(224,192,104,.12);
}

.tmr-qty-blink {
    animation: tmrQtyBlink .8s ease-in-out 2;
}

@keyframes tmrQtyBlink {
    0%,
    100% {
        background: #080808 !important;
    }

    50% {
        background: rgba(201,168,76,.18) !important;
    }
}

/* Build-order item selector. */
#tmr-build-order-page .tmr-builder-qty-wrap.tmr-qty-selector {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    display: grid !important;
    grid-template-columns: 44px minmax(70px, 1fr) 44px auto !important;
    border: 1px solid rgba(201,168,76,.38) !important;
}

#tmr-build-order-page .tmr-builder-qty-wrap.tmr-qty-selector .tmr-qty-minus,
#tmr-build-order-page .tmr-builder-qty-wrap.tmr-qty-selector .tmr-qty-plus {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    line-height: 44px !important;
}

#tmr-build-order-page .tmr-builder-qty-wrap.tmr-qty-selector #tmr-builder-qty {
    height: 44px !important;
    min-height: 44px !important;
    line-height: 44px !important;
}

#tmr-build-order-page .tmr-builder-qty-wrap.tmr-qty-selector #tmr-builder-unit {
    min-width: 64px !important;
    height: 44px !important;
    border: 0 !important;
    padding: 0 12px !important;
}

/* Existing order-summary +/- selector. */
#tmr-build-order-page .tmr-qty-control {
    overflow: hidden;
}

#tmr-build-order-page .tmr-qty-control button:hover,
#tmr-build-order-page .tmr-qty-control button:focus-visible {
    background: rgba(201,168,76,.14) !important;
    color: var(--tmr-gold-hover) !important;
    outline: 0 !important;
}

/* =========================================================
   SINGLE MENU ITEM
   Template uses mr-* classes
   ========================================================= */

.mr-single-page {
    width: 100%;
    background: var(--tmr-bg);
    color: var(--tmr-text);
    padding: 56px 20px;
}

.mr-single-page * {
    box-sizing: border-box;
}

.mr-single-box {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    background: var(--tmr-panel-soft);
    border: 1px solid rgba(201,168,76,.28);
    padding: 34px;
}

.mr-single-image {
    min-width: 0;
}

.mr-single-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mr-single-content {
    min-width: 0;
}

.mr-single-content h1 {
    color: var(--tmr-gold);
    text-transform: uppercase;
    font-size: 36px;
    line-height: 1.08;
    margin: 0 0 14px;
}

.mr-single-content > p {
    color: var(--tmr-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.mr-single-price {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    margin: 22px 0;
}

.mr-single-content .tmr-qty-selector {
    margin: 0 0 18px;
}

.mr-single-content .mr-add-btn {
    min-width: 170px;
}

.mr-back-btn {
    display: inline-block;
    margin-left: 12px;
    color: var(--tmr-gold);
    text-decoration: none;
    font-size: 13px;
}

.mr-back-btn:hover {
    color: var(--tmr-gold-hover);
}

/* =========================================================
   RESPONSIVE QUANTITY CONTROLS
   ========================================================= */

@media (max-width: 1100px) and (min-width: 901px) {
    .tmr-table-head,
    .tmr-row {
        grid-template-columns: 1fr 1.35fr .7fr minmax(160px, 190px) 78px;
        gap: 12px;
    }

    .tmr-qty-selector {
        min-width: 160px;
    }
}

@media (max-width: 900px) {
    .tmr-row .tmr-qty-selector,
    .mr-single-content .tmr-qty-selector {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-template-columns: 46px minmax(60px, 1fr) 46px auto;
        height: 46px;
    }

    .tmr-row .tmr-qty-selector .tmr-qty-minus,
    .tmr-row .tmr-qty-selector .tmr-qty-plus,
    .mr-single-content .tmr-qty-selector .tmr-qty-minus,
    .mr-single-content .tmr-qty-selector .tmr-qty-plus {
        width: 46px !important;
        min-width: 46px !important;
        height: 44px !important;
        min-height: 44px !important;
        line-height: 44px !important;
        font-size: 21px !important;
    }

    .tmr-row .tmr-qty-selector .tmr-row-qty,
    .mr-single-content .tmr-qty-selector .tmr-row-qty {
        height: 44px !important;
        min-height: 44px !important;
        line-height: 44px !important;
        font-size: 14px !important;
    }

    .tmr-row .tmr-qty-selector .tmr-qty-unit,
    .mr-single-content .tmr-qty-selector .tmr-qty-unit {
        height: 44px !important;
        min-width: 54px;
    }

    .mr-single-page {
        padding: 32px 15px;
    }

    .mr-single-box {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 24px;
    }

    .mr-single-content h1 {
        font-size: 30px;
    }

    .mr-single-content .mr-add-btn {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        height: 44px !important;
    }

    .mr-back-btn {
        display: block;
        margin: 16px 0 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tmr-qty-selector,
    .tmr-row .tmr-qty-selector,
    .mr-single-content .tmr-qty-selector {
        grid-template-columns: 44px minmax(50px, 1fr) 44px auto;
    }

    #tmr-build-order-page .tmr-builder-qty-wrap.tmr-qty-selector {
        grid-template-columns: 44px minmax(54px, 1fr) 44px auto !important;
    }

    #tmr-build-order-page .tmr-builder-qty-wrap.tmr-qty-selector #tmr-builder-unit {
        min-width: 54px !important;
        padding: 0 8px !important;
    }
}