.pzfm-dashboard-wrap #ast-scroll-top {
    display: none;
}
#fmwoo-create-order_template_wrapper #gform_submit_button_1 {
    background-color: #0c3759;
	font-size: 16px;
}
#fmwoo-create-order_template_wrapper .grand_total {
    color: #000;
}
#fmwoo-create-order_template_wrapper .payment_balance {
    color: red;
}
#fmwoo-create-order_template_wrapper .grand_total, 
#fmwoo-create-order_template_wrapper .payment_balance{
    font-size: 18px;
}
.memorial-order-form .mt-28{
    margin-top: 28px !important;
}
.memorial-order-form .mb-28{
    margin-bottom: 28px !important;
}
.memorial-order-form .pl-0{
    padding-left: 0 !important;
}
.memorial-order-form .pr-0{
    padding-right: 0 !important;
}
.memorial-order-form .pt-0{
    padding-top: 0 !important;
}
.memorial-order-form .pb-0{
    padding-bottom: 0 !important;
}
.memorial-order-form .pl-10{
    padding-left: 15px !important;
}
.memorial-order-form .pr-10{
    padding-right: 15px !important;
}
.memorial-order-form  #field_1_66{
    height: 54px !important;
    display: flex;
    align-items: flex-end;
}
.memorial-order-form #field_1_89,
.memorial-order-form #field_1_90{
    height: 74px !important;
    display: flex;
    align-items: flex-end;
}
.memorial-order-form .gfield--type-choice legend.gfield_label {
    font-size: 18px;
}
.pzfm-card-header .card-icon{
    background-color: #f3f3f4 !important;
}
.memorial-order-form .gform_fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px 50px;
    margin: 0 auto;
    row-gap: 0;
	column-gap: 0;
}
.memorial-order-form .gfield {
    padding: 10px;
}
.memorial-order-form .full-width-cont {
    padding: 10px 0 !important;
}
.memorial-order-form .header-cont-left{
    flex: 0 0 70%;
    max-width: 70%;
}
.memorial-order-form .header-cont-right{
    flex: 0 0 28%;
    max-width: 28%;
}
.memorial-order-form .header-sect-info img {
    width: 100px;
    margin-right: 12px;
}
.memorial-order-form .header-sect-info {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.memorial-order-form .header-sect-info p {
    margin-bottom: 10px;
}
.memorial-order-form .branch-phone {
    margin-right: 10px;
}
.memorial-order-form .order-no-wrap {
    display: flex;
    align-items: center;
}
.memorial-order-form .order-no-wrap h5 {
    margin-right: 10px;
    font-weight: 700;
}
.memorial-order-form .order-no-wrap span {
    font-size: 18px;
}
.memorial-order-form .select2.select2-container {
    border: 1px solid #b6e2e6 !important;
    border-radius: var(--gf-ctrl-radius);
}
.memorial-order-form input,
.memorial-order-form select,
.memorial-order-form textarea{
    border-color: #b6e2e6 !important;
    height: 26px !important;
    line-height: 26px !important;
}
.memorial-order-form .select2{
    border-color: #b6e2e6 !important;
}
.memorial-order-form .select2-container .select2-selection--single {
    height: 26px;
    border: 0 !important;
}
.memorial-order-form .select2-container .select2-selection--single .select2-selection__rendered {
    height: 26px;
}
.memorial-order-form .select2-selection__placeholder {
    top: 5px;
    position: absolute;
    color: #686e77;;
    line-height: 16px;
}
.memorial-order-form input[type="checkbox"]{
    width: 18px !important;
    height: 18px !important;
}
.memorial-order-form .gfield_label{
    color: #0c3759 !important;
}
.memorial-order-form .gf-print-btn{
    background-color: #3BA6AE !important;
}
.memorial-order-form .title-wrap {
    background-color: #3BA6AE;
    padding: 10px 0;
	width: 100%;
	margin: 20px 0;
    border-radius: var(--gf-ctrl-radius);
}
.memorial-order-form .title-inner-wrap h3{
    background-color: #3BA6AE;
    padding: 10px 0;
	width: 100%;
}
.memorial-order-form .title-wrap h1, .memorial-order-form .title-wrap h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    width: 100%;
}
.memorial-order-form .gfield--type-hidden {
    display: none;
}
.memorial-order-form .two-col-cont{
    flex: 0 0 50%;
    max-width: 50%;
}
.memorial-order-form .gfield input {
    width: 100% !important;
}
.memorial-order-form .full-width-cont {
    width: 100%;
}
.memorial-order-form .plot-info h3 {
    font-size: 18px;
    margin-bottom: 0;
}
.memorial-order-form .three-col-cont {
    flex: 0 0 27%;
    max-width: 27%;
    padding: 0 5px;
}
.memorial-order-form .third-col-cont {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}
.memorial-order-form .monument_calc_total p {
    margin-bottom: 0;
}
.memorial-order-form .five-col-cont {
    flex: 0 0 14.2%;
    max-width: 14.2%;
}
.memorial-order-form .four-col-cont {
    flex: 0 0 25%;
    max-width: 25%;
}
.memorial-order-form .d-none {
    display: none !important;
}
.memorial-order-form .calc_total_amount {
    text-align: right;
    padding-right: 20px !important;
}
.memorial-order-form .label-cont h5 {
    font-size: 18px;
    color: #112337;
}
.memorial-order-form p,
.memorial-order-form .sub_total {
    color: #112337;
}
.memorial-order-form .two-col-gcont .ginput_container {
    width: 50%;
}
.memorial-order-form .title-inner-wrap {
    padding: 0;
    border: 0 !important;
}
.memorial-order-form .title-inner-wrap h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 0;
    color: #fff;
    width: 100%;
}
.memorial-order-form .gfield textarea.large {
    min-block-size: 10rem;
}
.memorial-order-form .lantern_calc_total span,
.memorial-order-form .incense_calc_total span,
.memorial-order-form .vase_calc_total span,
.memorial-order-form .ceramic_calc_total span,
.memorial-order-form .backside_fname_price_total span,
.memorial-order-form .delivery_distance_price_total span,
.memorial-order-form .calc_total_amount span{
    display: block;
    font-weight: 700;
}
.memorial-order-form .gform-footer.gform_footer.top_label {
    justify-content: center;
}
.memorial-order-form #gform_submit_button_2 {
    background-color: #3BA6AE;
    color: #000;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 30px;
}
.memorial-order-form .hide-label legend {
    display: none !important;
}
.memorial-order-form .fmwoo-currency-wrap {
    position: relative;
}
.memorial-order-form .fmwoo-currency-prefix {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    opacity: 0; /* hidden by default */
    pointer-events: none;
}
.memorial-order-form .fmwoo-currency-wrap input {
    padding-left: 22px !important;
}
.monument-discount-type .gfield_label {
    font-size: var(--gf-local-font-size) !important;
    margin-bottom: 0;
}
.memorial-order-form .monument_calc_total .monument_calc_total-label{
    font-weight: bold;
    font-size: 18px;
    color: #112337;
}
.memorial-order-form .product_specs_subtotal{
    padding-left:8px
}
.memorial-order-form .monument-tablet-size,
.memorial-order-form .monument-price,
.memorial-order-form .monument-discount-type,
.memorial-order-form .monument-discount,
.memorial-order-form .monument-tax,
.memorial-order-form .monument_calc_total{
    padding-left: 0;
}
.memorial-order-form .product_specification_note,
.memorial-order-form .note-field{
    padding-right: 0;
}
/* Spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 3px solid #ccc;
  border-top: 3px solid #0b3759; /* WP Blue */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Fun Loading Dots */
.loading-dots {
  display: inline-block;
  margin-left: 5px;
}
.loading-dots span {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #3BA6AE;
  border-radius: 50%;
  margin: 0 2px;
  animation: bounce 1s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); }
  40% { transform: scale(1); }
}

/* Track Order */
/* Tracking form wrapper */
.order-tracking .tracking-form {
    display: flex;
    align-items: center;      /* vertical center */
    gap: 12px;                /* space between input & button */
    max-width: 520px;
    margin: 0 auto;           /* center horizontally */
}

/* Input field */
.order-tracking input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 0;
}

/* Button */
.order-tracking button {
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    height: 40px;
}
#track-result-information{
    display: flex;
    gap: 30px;
    margin: 36px 0;
}
#track-result-information .mb-18{
    margin-bottom: 18px !important;
}

#track-result-information .note-value, 
#track-result-information .label, 
#track-result-information .label-md, 
#track-result-information .sub-header {
    font-weight: 400;
    color: #555;
    margin-right: 6px;
	font-size:1.2em
}
#track-result-information .label-md{
	font-size:1.1em
}
#track-result-information .sub-header{
	font-size:1.3em;
    margin: 18px 0 !important;
    font-weight: 600;
}

#track-result-information .value {
    font-weight: 600;
    color: #0b3759;
}
.tracking-timeline {
    padding-left: 40px;
}
.fmwoo-order-logs-wrapper strong {
    color: #112337;
}
.logs-header {
    background-color: #3BA6AE;
    padding: 10px;
    width: 100%;
    margin: 20px 0;
    color: #fff;
    font-size: 1.2em;
}
.fmwoo-order-logs{
    list-style: none;
    padding: 0;
}
.fmwoo-logdate{
    cursor: pointer;
    padding:4px;
}
.fmwoo-logdate:hover{
    background-color:#e3e6f0;
}
.fmwoo-logdate .fmwoo-loginfo{
    padding-left: 12px;
}
.fmwoo-logdate .fmwoo-loginfo .log-changes{
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #c2bdbd;
}
.fmwoo-logdate .fmwoo-loginfo .log-changes:last-child {
    border: none;
}
.fmwoo-logdate .fmwoo-loginfo p{
    margin:0;
}
/* Each event */
.tracking-event {
    position: relative;
    padding-left: 30px;
    padding-bottom: 30px;
    border-left: 2px solid #008285;
    color: #000000;
}
.order-timeline .tracking-event {
    padding-left: 18px;
}
.tracking-event:first-of-type:before,
.tracking-event:first-of-type {
    border-left: 2px solid #008285;
    color: #008285;
}

/* Dot centered on the line */
.tracking-event::before {
    content: "";
    position: absolute;
    left: -1px; /* same as line */
    top: 50%; /* adjust depending on layout */
    transform: translate(-50%, -50%); /* centers dot over the line */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #949494;
    z-index: 1;
}
.tracking-event:first-of-type:before {
    background-color: #008285;
    border: 2px solid #008285;
}

.tracking-timeline {
    width: 25%;
}

#fwoo-tracking-result p {
    margin: 0;
}

#order-information {
    width: 75%;
}

#track-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.site-info.header-sect-info {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.site-info.header-sect-info img {
    width: 100px;
    margin-right: 12px;
}

.order-info {
    width: 28%;
}
.section-header {
    font-size: 24px;
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    width: 100%;
    background-color: #3BA6AE;
    padding: 10px 0;
    width: 100%;
    margin: 20px 0;
}

/* Reset default checkbox */
.styled-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    position: relative;
    background-color: #fff;
    cursor: not-allowed;
    border: 2px solid #cecece;
}

/* Checked state */
.styled-checkbox:checked {
    background-color: #222;
    border-color: #222; /* border appears only when checked */
}

/* Check icon */
.styled-checkbox:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

/* Disabled state visibility */
.styled-checkbox:disabled {
    opacity: 0.9;
}

/* Optional alignment */
.styled-checkbox {
    vertical-align: middle;
}

/* Monumner Image */
.monument-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    padding: 18px;
    margin: 24px 0;

    border: 1px solid #e3e3e3;
    border-radius: 14px;

    background: #fafafa;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Title */
.monument-image-wrapper h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #333;
    letter-spacing: 0.3px;
}

/* Image */
.monument-image-wrapper img {
    max-width: 100%;
    max-height: 320px;

    object-fit: contain;
    border-radius: 10px;

    background: #fff;
    padding: 10px;

    border: 1px solid #ddd;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.memorial-order-form .monument-discount-type [type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin-right: 0;
}
/* Inventory form */
.modify-inventory-form .form-control.qty-stock-input{
    width: 80px;
}

/* Base grid */
.grid {
    display: grid;
    gap: 12px 24px;
}

/* Column variations */
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid-7 {
    grid-template-columns: repeat(7, 1fr);
}
/* Table like layout */
.bordered-field {
    border: 1px solid #b6e2e6;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bordered-field span {
    color: #112337;
    text-align: center;
}
.bordered-field p{
    margin-bottom: 0;
}
.bordered-field h5 {
    margin-bottom: 0;
}
.bordered-field h6 {
    margin-bottom: 5px;
    font-size: 18px;
    text-align: center;
    color: #112337;
}
.no-top-border {
    border-top: 0;
}
.no-left-border{
    border-left: 0;
}
.no-right-border{
    border-right: 0;
}
.memorial-order-form .mt-28{
    margin-top: 28px !important;
}
.memorial-order-form .mb-28{
    margin-bottom: 28px !important;
}
.memorial-order-form .pl-0{
    padding-left: 0 !important;
}
.memorial-order-form .pr-0{
    padding-right: 0 !important;
}
.memorial-order-form .pt-0,
body .memorial-order-form .padding-zero-top{
    padding-top: 0 !important;
}
.memorial-order-form .pb-0{
    padding-bottom: 0 !important;
}
.memorial-order-form .pl-10{
    padding-left: 15px !important;
}
.memorial-order-form .pr-10{
    padding-right: 15px !important;
}

/* Optional: remove default <p> margin */
.grid p {
    margin: 0;
}

/* Accessories Table Layout */
table.accessories-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Urbanist", sans-serif;
}
.accessories-table td,
.accessories-table th {
    border: 1px solid #b6e2e6;
    min-height: 90px;
    color: #112337;
    font-weight: 400;
    padding: 10px;
    text-align: left;
}
.accessories-table td.title {
    font-size: 16px;
}
.accessories-table th {
    background: #FFFFFF;
    font-size: 16px;
}
th.total {
    text-align: center;
}
.accessories-table td.discount-wrapper select {
    margin-bottom: 5px;
}
.accessories-table td.total .total-display {
    text-align: center;
    font-weight: 600;
}
.memorial-order-form .discount-wrapper .memorial-radio-input{
    width: 14px !important;
    height: 14px !important;
    margin-right: 0;
}
.memorial-order-form .discount-wrapper .memorial-radio-input:before{
    width: 8px !important;
    height: 8px !important;
}
.memorial-order-form .discount-wrapper label{
    margin-top: 5px;
    margin-bottom: 0;
	font-size: 10px;
}
.memorial-order-form .discount-wrapper label:last-child {
    margin-left: 0;
}
.accessories-table thead th {
    font-weight: 700;
    font-size: 18px;
    color: #3ca5ae;
    text-align: center;
}
.unit-price-display {
    text-align: center;
}
@media (max-width: 576px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6,
    .grid-7 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .monument-image-wrapper {
        padding: 14px;
    }
    .monument-image-wrapper h3 {
        font-size: 15px;
    }
    .monument-image-wrapper img {
        max-height: 220px;
    }
    .grid-3,
    .grid-4,
    .grid-6,
    .grid-7 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-6,
    .grid-7 {
        grid-template-columns: repeat(3, 1fr);
    }
}