:root {
    --primary-color: #111111;
    --secondary-color: #888;
    --button-color: #2FA84F;
    --max-width: 1320px;
    --border-color: #e6e6e6;
    --total-price: rgb(47 168 79 / 60%);
}

.order_contanier {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 60px;
}

.product_search {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px
}

.cat_title {
        font-size: 16px;
    background-color: var(--button-color);
    text-align: center;
    color: #fff;
    padding: 8px 45px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product_search_title {
    font-size: 40px;
}

.product_search_desc {
    margin-top: 5px;
    color: var(--secondary-color)
}

.product_search_form {
    margin-top: 10px
}

.search_box {
   width: 100%;
    padding: 4px 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    outline: none;
}

.product_cat_filter {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.product_cat_filter_left {
    /*width: 75%;*/
}

.cat_tabs {
    margin: 25px 0;
    display: flex;
    gap: 12px;
    flex-direction: row;
    /* white-space: nowrap; */
}

.product_cat_filter_right {
    /* width: 25%; */
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.product_cat_filter_right>* {
    margin-left: 10px
}

.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading:before {
    content: '';
    position: absolute;
    border: 3px solid #00000029;
    border-top: 3px solid #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 2s linear infinite;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.swiper-slide.tab {
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-weight: 600;
    width: auto;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color .4s, color .4s;
}

.swiper-slide.tab:hover {
    background-color: var(--button-color);
    color: #fff;
}

.swiper-slide.tab.active {
    background: var(--button-color);
    color: white;
    border-color: var(--button-color);
}

.list_view,
.grid_view,
.cat_toggle {
    display: inline-block;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    position: relative;
    background-color: transparent;
    color: #000;
    cursor: pointer;
    transition: background-color .4s, color .4s;
}

.list_view i,
.grid_view i,
.cat_toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.list_view:hover,
.grid_view:hover,
.cat_toggle:hover {
    background-color: var(--button-color);
    color: #fff;
}

.list_view.active,
.grid_view.active,
.open_cat .cat_toggle {
    background-color: var(--button-color);
    color: white;
    border-color: var(--button-color);
}

.product_filter {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    position: relative;
    background-color: transparent;
    z-index: 9;
}

.product_list {
    font-size: 0;
}

.product_list ._col {
    margin-top: 20px
}

.product_list ._row {
    margin: -20px -10px 0 -10px;
}


._col {
    display: inline-block;
    padding: 0 10px;
}

._col_4 {
    width: 33.33%;
}

.product_image {
    position: relative;
}

.product_con {
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.probgCon {
    background: url() no-repeat 50% 50%;
    overflow: hidden;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.probgimage {
    /* position: absolute;
    left: 0;
    top: 0; */
    width: 100%;
    height: 170px;
    object-fit: contain;
}

.product_content {
    padding: 10px;
}

.product_title {
    font-size: 17px;
    color: var(--primary-color);
    width: 150px;
}

.product_desc {
    font-size: 14px;
    color: var(--secondary-color);
    margin-top: 10px;
}

.product_price_group {
    display: flex;
    justify-content: space-between;
}

.product_total_price {
    font-size: 18px;
    background-color: var(--total-price);
    padding: 5px 35px 3px 35px;
    line-height: 1.3;
    border-radius: 5px;
}

.product_price {
    display: flex;
    align-items: center;
}

.old_price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 14px;
    margin-right: 10px
}

.new_price {
    color: var(--button-color);
    font-size: 20px;
    font-weight: bold;
}

.product_button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    background-color: var(--button-color);
    color: #fff;
}

.button_group {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.button_group input {
    padding: 4px 10px;
    margin: 0 10px;
    border-radius: 4px;
    text-align: center;
    width: calc(100% - 100px);
    border: 1px solid #000;
    color:#000; font-size:13px;
}

.product_quantity {
    background-color: var(--button-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    line-height: 1;
    font-size: 14px;
    position: relative;
    width: 30px;
    height: 30px;
}

.product_quantity .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product_list.list ._col._col_4 {
    width: 100%;
}

.product_list.list ._col._col_4 .product_image {
    padding-top: 0%;
    height: 80px;
    width: 80px;
}

.product_list.list ._col._col_4 .product_image .probgimage {
    height: 100%
}

.product_list.list ._col._col_4 .product_con {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.product_list.list ._col._col_4 .product_content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 10px);
    align-items: center;
}

.product_list.list ._col._col_4 .product_button {
    width: auto;
    padding: 8px 45px;
}

.product_list.list ._col._col_4 .button_group {
    width: 20%;
    margin-top: 0;
}

.product_list.list ._col._col_4 .button_group input {
    width: 100px;
}

.product_list.list ._col._col_4 .button_group.add {
    justify-content: center;
}

.product_list.list ._col._col_4 .product_price_group .product_total_price,
.product_list .product_content>.product_total_price {
    display: none;
}

.product_list.list ._col._col_4 .product_content>.product_total_price {
    display: block;
    width: 15%;
    text-align: center;
}

.no_data {
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
}

.overall_total {
    background-color: var(--button-color);
    color: #fff;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
    font-size: 25px;
    font-weight: 600;
    border-radius: 10px;
}

.place_order_div {
    margin-top: 20px;
    text-align: center;
}

.place_order {
    font-size: 16px;
    display: inline-block;
    padding: 10px;
    background-color: var(--primary-color);
    color: #ffff;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: border .4s, background-color .4s, color .4s;
}

.place_order:hover {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.table {
    width: 100%;
    vertical-align: middle;
}

.table_secondary {
    --bs-table-bg: #e2e3e5;
    --bs-table-striped-bg: #d7d8da;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #cbccce;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #d1d2d4;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #cbccce;
}

.table>thead {
    vertical-align: bottom;
}

.table>tbody {
    vertical-align: inherit;
}

.cart_list .empty_cart {
    text-align: center;
    display: block;
}

.table_striped>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

.table td {
    text-align: center;
    border: 1px solid #000;
    vertical-align: middle;
}

.table td img {
    width: 70px;
    height: auto;
}

.table>:not(caption)>*>* {
    padding: .5rem .5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.cth thead tr th {
    text-align: center;
    background-color: var(--primary-color) !important;
    color: #fff;
}

.cth tbody tr td a {
    color: #000;
    display: inline-block;
}

.cr_cart_qty_plus_minus a {
    position: relative;
    width: 30px;
}

.cr_cart_qty_plus_minus a .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}


tbody,
td,
tfoot,
th,
thead,
tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    vertical-align: middle;
}

.cr_cart_qty_plus_minus {
    font-size: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.cr_cart_qty_plus_minus>* {
    padding: 5px 10px;
    background-color: #fff;
    border: none;
    text-align: center;
    font-size: 14px;
}

.cr_cart_qty_plus_minus a:first-child {
    border: 1px solid #000;
}

.cr_cart_qty_plus_minus input {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.cr_cart_qty_plus_minus a:last-child {
    border: 1px solid #000;
}

.cart_form {
    margin-top: 20px;
}

.customer_details {
    max-width: 800px;
    margin: auto
}

._form_row {
    margin: 0 -20px;
    font-size: 0;
}

._form_row ._col {
    padding: 0 20px
}

._col_2 {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
}

._form_group {
    margin-top: 20px
}

._form_group label {
    font-size: 19px;
    display: block;
}

._form_group .form_control {
    padding: 8px 10px;
    font-size: 16px;
    margin-top: 10px;
    display: block;
    width: 100%;
    border: 1px solid #e6e6e6;
    background-color: transparent;
    z-index: 9;
    position: relative;
}

._form_group .form_control.error_input {
    border: 1px solid #ff0000
}

.cart_summary {
    margin-top: 20px;
}

/* Original alternating brand-color row styling lived here; it's fully
   superseded by the plain bordered-table version further down (search
   "CHECKOUT PAGE REDESIGN"), which needs to win the cascade cleanly rather
   than fight this rule's :nth-child specificity. */

.cart_btns {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.order_confirm_pdf {
    margin-top: 20px;
}

.cart_btns>* {
    display: inline-block;
    vertical-align: middle;
    padding: 7px 20px;
    background-color: #198754;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: border .4s, background-color .4s, color .4s;
}

.cart_btns>*:hover {
    background-color: transparent;
    border: 1px solid #198754;
    color: #198754
}

.cart_coupon_code {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.cart_coupon_code a {
    text-align: center;
    font-size: 24px;
    display: inline-block;
    cursor: pointer;
    font-weight: 700;
}

.coupon_code_form {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 10px;
}

.coupon_code {
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 10px;
}

.coupon_code_submit {
    border: 1px solid transparent;
    padding: 5px 40px;
    color: #fff;
    font-size: 18px;
    border-radius: 10px;
    background-color: #198754;
    transition: border .4s, background-color .4s, color .4s;
}

.coupon_code_submit:hover {
    background-color: transparent;
    color: #198754;
    border: 1px solid #198754;
}

.coupon_code_clear {
    border: 1px solid transparent;
    padding: 5px 40px;
    color: #fff;
    font-size: 18px;
    border-radius: 10px;
    background-color: #dc3545;
    border-color: #dc3545;
    align-content: center;
    transition: border .4s, background-color .4s, color .4s;
}

.coupon_code_clear:hover {
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
}

.coupon_code_form {
    display: none;
}

.error_text {
    font-size: 13px;
    margin-top: 5px;
    color: #ff0000;
}

.order_confirm_contanier {
    max-width: 1024px;
    margin: auto;
}

.product_list_row {
    margin: 0 -10px;
}

.product_list_row>* {
    display: inline-block;
    padding: 0 10px;
}

.product_list_left {
    width: 20%;
    font-size: 14px;
}

.product_list_left a {
    display: block;
    padding: 15px;
    color: #000;
    background-color: transparent;
    border-color: transparent;
    border-radius: 15px;
    transition: border-color .4s, background-color .4s, border-color .4s;
}

.product_list_left a.active,
.product_list_left a:hover {
    background: var(--button-color);
    color: white;
    border-color: var(--button-color);
    border-radius: 15px;
}

.product_list_right {
    width: 80%;
}
/* Custom category dropdown — trigger matches the .product_filter (Latest) box */
.cat_dropdown {
    position: relative;
    font-size: 14px;
}

.cat_dropdown_selected {
    padding: 5px 28px 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: #000;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    position: relative;
}

.cat_dropdown_selected i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    transition: transform .3s;
}

.cat_dropdown.open .cat_dropdown_selected i {
    transform: translateY(-50%) rotate(180deg);
}

/* Option list — styled exactly like the .product_list_left sidebar */
.cat_dropdown_list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 99;
    min-width: 200px;
    max-height: 320px;
    overflow: auto;
    text-align: left;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0px 1px 6px 1px rgb(0 0 0 / 20%);
    padding: 8px;
    display: none;
}

.cat_dropdown.open .cat_dropdown_list {
    display: block;
}

.cat_dropdown_list a {
    display: block;
    padding: 12px 15px;
    color: #000;
    background-color: transparent;
    border-color: transparent;
    border-radius: 15px;
    text-decoration: none;
    transition: background-color .4s, color .4s;
}

.cat_dropdown_list a.active,
.cat_dropdown_list a:hover {
    background: var(--button-color);
    color: #fff;
    border-radius: 15px;
}

/* Category dropdown is only used in mobile view; sidebar is used on desktop */

/* =========================================================================
   PREMIUM ORDER PAGE REDESIGN
   Everything below is scoped under `.order_details` on purpose: that wrapper
   only exists on the product-listing page, so none of this can leak into
   cart.php (`.cart_details`) or the homepage sections (four_col/banner/etc.)
   that reuse the same generic ._col/._row/.form_select utility classes.

   Colors reuse the site's existing tokens instead of inventing a new
   palette:
     --button-color   (#2FA84F, defined above)  -> primary brand green
     --primary-color  (#111111, defined above)  -> ink
     --border-color   (#e6e6e6, defined above)  -> hairlines
     --accent-color   (#faa633, from stylesheet.css :root) -> gold accent
     --error-color    (from stylesheet.css :root)          -> red accent
   ========================================================================= */

.order_details {
    --od-primary: var(--button-color);
    --od-primary-dark: #23883e;
    --od-ink: var(--primary-color);
    --od-muted: #767676;
    --od-border: var(--border-color);
    --od-gold: var(--accent-color, #faa633);
    --od-gold-dark: #e08e1d;
    --od-red: var(--error-color, #c0392b);
    --od-bg: #faf9f6;
    --od-card: #ffffff;
    --od-radius-sm: 10px;
    --od-radius-md: 14px;
    --od-radius-lg: 18px;
    --od-space-1: 8px;
    --od-space-2: 16px;
    --od-space-3: 24px;
    --od-shadow-sm: 0 1px 3px rgba(17, 17, 17, .06), 0 1px 2px rgba(17, 17, 17, .05);
    --od-shadow-md: 0 8px 24px rgba(17, 17, 17, .08);
    --od-shadow-lg: 0 16px 40px rgba(17, 17, 17, .16);
    background: var(--od-bg);
}

/* Reset native button chrome for controls that used to be plain links/divs.
   Only font-family is reset (not the `font` shorthand): `.product_list` has
   a `font-size: 0` inline-block-whitespace hack further up, and a full
   `font: inherit` reset would wipe out .product_button/.place_order's own
   explicit font-size, collapsing their label text to invisible 0px. */
.order_details .cat_tab,
.order_details .cat_toggle,
.order_details .cat_dropdown_selected,
.order_details .place_order,
.order_details .product_button {
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    cursor: pointer;
    text-align: inherit;
}

.order_details a,
.order_details button {
    text-decoration: none;
}

/* ---------------------------- Toolbar ---------------------------- */
.order_details .product_cat_filter {
    background: var(--od-card);
    border: 1px solid var(--od-border);
    border-radius: var(--od-radius-md);
    padding: var(--od-space-2);
    box-shadow: var(--od-shadow-sm);
    row-gap: var(--od-space-2);
    flex-wrap: wrap;
}

.order_details .product_cat_filter_right {
    gap: var(--od-space-1);
}

.order_details .product_cat_filter_right > * {
    margin-left: 0;
}

.order_details .cat_toggle {
    display: none;
}

.order_details .grid_view,
.order_details .list_view,
.order_details .cat_toggle {
    border-radius: var(--od-radius-sm);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}

.order_details .grid_view:hover,
.order_details .list_view:hover,
.order_details .cat_toggle:hover {
    transform: translateY(-2px);
}

.order_details .od-search-wrap {
    position: relative;
    flex: 1 1 220px;
}

.order_details .od-search-wrap .fa-magnifying-glass {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--od-muted);
    pointer-events: none;
}

.order_details .search_box {
    padding: 10px 16px 10px 38px;
    border-radius: var(--od-radius-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.order_details .search_box:focus {
    border-color: var(--od-primary);
    box-shadow: 0 0 0 3px rgba(47, 168, 79, .15);
}

.order_details .cat_dropdown_selected {
    display: inline-flex;
    align-items: center;
    border-radius: var(--od-radius-sm);
    max-width: 220px;
}

.order_details .cat_dropdown_list {
    border-radius: var(--od-radius-md);
    box-shadow: var(--od-shadow-lg);
}

/* ------------------------- Category sidebar ------------------------- */
.order_details .product_list_left {
    background: var(--od-card);
    border: 1px solid var(--od-border);
    border-radius: var(--od-radius-md);
    padding: var(--od-space-1);
    box-shadow: var(--od-shadow-sm);
}

.order_details .product_list_left .cat_tab,
.order_details .cat_dropdown_list .cat_tab {
    display: block;
    width: 100%;
    border-radius: var(--od-radius-sm);
    font-weight: 600;
    padding: 12px 16px;
    background: transparent;
    color: var(--od-ink);
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.order_details .product_list_left .cat_tab.active,
.order_details .product_list_left .cat_tab:hover,
.order_details .cat_dropdown_list .cat_tab.active,
.order_details .cat_dropdown_list .cat_tab:hover {
    background: var(--od-primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(47, 168, 79, .28);
}

/* Sticky category rail — desktop only, so the ≤1024px off-canvas drawer
   behaviour already defined in responsive.css is left completely alone. */
@media (min-width: 1025px) {
    .order_details .product_list_left {
        position: sticky;
        top: 90px;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        align-self: flex-start;
    }
}

/* ---------------------------- Product cards ---------------------------- */
.order_details .cat_title {
    border-radius: var(--od-radius-sm);
    box-shadow: var(--od-shadow-sm);
    display: inline-block;
}

.order_details .product_con {
    border-radius: var(--od-radius-lg);
    box-shadow: var(--od-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.order_details .product_list:not(.list) .product_con:hover {
    transform: translateY(-4px);
    box-shadow: var(--od-shadow-md);
}

.order_details .product_image {
    background: linear-gradient(180deg, #fbf7ef, #f2ede4);
}

.order_details .product_image .probgimage {
    padding: 10px;
    box-sizing: border-box;
}

.order_details .od-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--od-muted);
    font-size: 32px;
}

.order_details .od-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: var(--od-shadow-sm);
}

.order_details .od-badge--discount {
    background: var(--od-red);
}

.order_details .product_title {
    font-weight: 600;
    line-height: 1.35;
}

.order_details .old_price {
    color: var(--od-muted);
}

.order_details .new_price {
    color: var(--od-primary);
}

.order_details .product_total_price {
    background: #e7f6ec;
    background: color-mix(in srgb, var(--od-primary) 15%, #fff);
    color: var(--od-primary-dark);
    font-weight: 700;
    border-radius: var(--od-radius-sm);
}

.order_details .product_button.add {
    border-radius: var(--od-radius-sm);
    background: var(--od-primary);
    letter-spacing: .01em;
    transition: background-color .2s ease, transform .12s ease, box-shadow .2s ease;
    box-shadow: 0 6px 16px rgba(47, 168, 79, .28);
}

.order_details .product_button.add:hover {
    background: var(--od-primary-dark);
    transform: translateY(-1px);
}

.order_details .product_button.add:active {
    transform: translateY(0);
}

.order_details .button_group {
    background: #f4f4f2;
    border-radius: var(--od-radius-sm);
    padding: 4px;
    align-items: center;
}

.order_details .button_group.add {
    background: transparent;
    padding: 0;
}

.order_details .product_quantity {
    border-radius: 8px;
    transition: background-color .2s ease, transform .1s ease;
}

.order_details .product_quantity:hover {
    background: var(--od-primary-dark);
}

.order_details .product_quantity:active {
    transform: scale(.92);
}

.order_details .button_group input.qty_input {
    background: #fff;
    border-radius: 6px;
    font-weight: 700;
}

/* Loading state — ready for any button that gains a `.loading` class */
.order_details .product_button.loading,
.order_details .place_order.loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}

.order_details .product_button.loading::after,
.order_details .place_order.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: od-spin .7s linear infinite;
}

@keyframes od-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ------------------------------ Empty state ------------------------------ */
.order_details .no_data {
    background: var(--od-card);
    border: 1px dashed var(--od-border);
    border-radius: var(--od-radius-md);
    padding: 48px 24px;
    font-size: 16px;
    color: var(--od-muted);
}

.order_details .no_data::before {
    content: '🎇';
    display: block;
    font-size: 40px;
    margin-bottom: var(--od-space-1);
}

/* --------------------------- Sticky summary bar --------------------------- */
.order_details .od-summary-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-top: var(--od-space-3);
    padding-top: var(--od-space-1);
    background: linear-gradient(180deg, rgba(250, 249, 246, 0) 0%, var(--od-bg) 35%);
}

.order_details .overall_total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--od-space-1);
    text-align: left;
    border-radius: var(--od-radius-md);
    box-shadow: var(--od-shadow-lg);
    background: linear-gradient(135deg, var(--od-primary), var(--od-primary-dark));
}

.order_details .od-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    opacity: .9;
}

.order_details .overall_totals {
    font-size: 26px;
}

.order_details .place_order_div {
    margin-top: var(--od-space-2);
}

.order_details .place_order {
    box-sizing: border-box;
    border-radius: var(--od-radius-sm);
    background: var(--od-gold);
    color: #402a00;
    font-weight: 700;
    padding: 14px;
    font-size: 16px;
    box-shadow: 0 10px 24px rgba(250, 166, 51, .35);
    transition: background-color .2s ease, color .2s ease, transform .12s ease;
}

.order_details .place_order:hover {
    background: var(--od-gold-dark);
    color: #2a1c00;
    border-color: transparent;
    transform: translateY(-1px);
}

/* ------------------------------ Accessibility ------------------------------ */
.order_details a:focus-visible,
.order_details button:focus-visible,
.order_details input:focus-visible {
    outline: 3px solid var(--od-gold);
    outline-offset: 2px;
}

/* -------------------------------- Responsive -------------------------------- */
@media (max-width: 1024px) {
    .order_details .cat_toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .order_details .product_cat_filter {
        flex-direction: column;
        align-items: stretch;
    }

    .order_details .product_cat_filter_right {
        justify-content: space-between;
    }

    .order_details .od-search-wrap {
        order: 3;
        flex-basis: 100%;
    }

    .order_details .overall_total {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .order_details .od-summary-label {
        font-size: 14px;
    }
}

/* =========================================================================
   CHECKOUT PAGE REDESIGN (cart.php)
   Scoped under `.cart_details` / new `.cart_page_*` classes, all of which
   only exist in common/components/cart.php, so nothing here can leak into
   the order.php product-listing page or any other section reusing the
   shared ._col/._row/.form_control utility classes.
   ========================================================================= */

/* Pinned down explicitly (rather than left to the shared .sec_pad utility)
   so the checkout page gets a consistent, modest gap above/below the box
   regardless of what other pages set .sec_pad to. */
.cart_details.sec_pad {
    padding-top: 30px;
    padding-bottom: 30px;
}

.cart_details .checkout_title {
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.cart_page_box {
    border: 2px dashed var(--button-color);
    border-radius: 24px;
    padding: 40px;
    background: #fff;
}

.cart_page_row {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.cart_page_col_billing {
    width: 36%;
}

.cart_page_col_items {
    width: 64%;
}

.cart_page_col_title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Full-width field variant alongside the existing 50%-wide ._col_2, used for
   Address/State so they span the billing column instead of sitting at half
   width with an empty gap next to them. */
._col_1 {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.cart_table_wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Qty stepper — flat black squares instead of the brand-colored pill used by
   .product_quantity on the product-listing page. align-items:center is the
   key fix here: the base .cr_cart_qty_plus_minus rule (order.css, earlier in
   this file) is display:flex with no cross-axis alignment, so once the
   buttons got an explicit fixed height below they no longer stretched to
   match the input, leaving them visually mis-aligned. */
.cr_cart_qty_plus_minus {
    align-items: center;
}

.cr_cart_qty_plus_minus a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: #111;
    color: #fff;
    border: none !important;
    border-radius: 4px;
    width: 26px;
    height: 26px;
    padding: 0 !important;
}

.cr_cart_qty_plus_minus a .fa {
    position: static;
    top: auto;
    left: auto;
    transform: none;
}

.cr_cart_qty_plus_minus input.cart_qty {
    box-sizing: border-box;
    border: 1px solid #111 !important;
    width: 46px;
    height: 26px;
    padding: 0 5px;
    font-weight: 700;
}

.cth tbody tr td a.delete_item {
    color: #e02020;
    font-size: 17px;
}

/* Summary — plain bordered rows instead of the alternating brand-color
   blocks used elsewhere. */
.cart_summary {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 25px;
}

.cart_summary > * {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #fff;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.cart_summary > *:last-child {
    border-bottom: none;
}

.cart_summary > * span {
    font-weight: 800;
}

.cart_summary > .overall_total_cart {
    font-size: 19px;
}

.cart_summary > .overall_total_cart span {
    font-size: 21px;
    color: var(--button-color);
}

/* Buttons — solid pill shape instead of the outlined-on-hover style used
   elsewhere on the site. */
.cart_btns > * {
    background-color: var(--button-color);
    border-color: var(--button-color);
    border-radius: 50px;
    padding: 12px 34px;
    font-weight: 700;
}

.cart_btns > *:hover {
    background-color: transparent;
    color: var(--button-color);
    border: 1px solid var(--button-color);
}

@media (max-width: 900px) {
    .cart_page_row {
        flex-direction: column;
    }

    .cart_page_col_billing,
    .cart_page_col_items {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cart_details .checkout_title {
        font-size: 26px;
    }

    .cart_page_box {
        padding: 15px;
        border-radius: 16px;
    }

    .cart_page_row {
        gap: 25px;
    }
}

/* Order-confirm action buttons — each a separate pill with its own colour
   (Download = blue, Share Whatsapp = WhatsApp green, Back = neutral dark).
   Download uses blue rather than the site's brand green so it stays visually
   distinct from the green Whatsapp button. The two-class selectors below
   intentionally out-specify the generic `.cart_btns > *` pill styling above. */
.cart_btns .confirm_actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}

.cart_btns .confirm_btn {
    display: inline-block;
    padding: 12px 34px;
    border-radius: 50px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: border .3s, background-color .3s, color .3s;
}

/* Download — blue */
.cart_btns .confirm_order_download {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.cart_btns .confirm_order_download:hover {
    background-color: transparent;
    color: #0d6efd;
    border-color: #0d6efd;
}

/* Share Whatsapp — WhatsApp green */
.cart_btns .confirm_order_whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}

.cart_btns .confirm_order_whatsapp:hover {
    background-color: transparent;
    color: #128C7E;
    border-color: #128C7E;
}

/* Back — neutral dark */
.cart_btns .confirm_order_back {
    background-color: #333333;
    border-color: #333333;
}

.cart_btns .confirm_order_back:hover {
    background-color: transparent;
    color: #333333;
    border-color: #333333;
}

@media (max-width: 576px) {
    .cart_btns .confirm_actions {
        width: 100%;
        flex-direction: column;
    }

    .cart_btns .confirm_btn {
        width: 100%;
    }
}