
.ttw-form-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}

/* Title */
.ttw-main-title {
  font-size: 32px;
  font-weight: 700;
  
  color: #111;
  text-align: center;
  margin: 0 0 8px;
}

.ttw-main-subtitle {
  color: #666;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

/* Card (section) */
.ttw-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
}

.ttw-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ttw-card-icon {
  font-size: 24px;
  color: #5d5e0d;
}

.ttw-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.ttw-card .ttw-add-position-top {
  margin-left: auto;
  background: #5d5e0d;
  color: white ;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  border-radius: 10px;
}

.ttw-card-desc {
  color: #555;
  font-size: 15px;
  margin: 0 0 20px;
}

/* Inputs & Fields */
.ttw-label {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  display: block;
}

.ttw-input-wrapper {
  position: relative;
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  background: #fdfdfd;
}

input:focus, select:focus, textarea:focus {
  border-color: #5d5e0d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(93,94,13,0.15);
}

input::placeholder {
  color: #aaa;
  font-weight: 400;
}

/* Unit */
.ttw-unit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 15px;
}

/* Message */
.ttw-message {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
}

.ttw-message.small { background: #fff8e1; border: 1px solid #ffe58f; }
.ttw-message.large { background: rgba(93,94,13,0.08); border: 1px solid #5d5e0d; }

.ttw-message-icon {
  width: 36px;
  height: 36px;
  background: #5d5e0d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Species / Condition */
.ttw-species-buttons, .ttw-condition-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ttw-species-btn, .ttw-condition-option {
  padding: 12px 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
}

.ttw-species-btn input, .ttw-condition-option input { display: none; }

.ttw-species-btn.active, .ttw-condition-option.active,
.ttw-species-btn:hover, .ttw-condition-option:hover {
  border-color: #5d5e0d;
  background: rgba(93,94,13,0.08);
  color: #5d5e0d;
}

/* Row */
.ttw-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.ttw-location-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 12px;
}

/* Unit buttons */
.ttw-unit-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.ttw-unit-btn {
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 14px;
}

.ttw-unit-btn.ttw-active {
  background: #5d5e0d;
  color: white;
  border-color: #5d5e0d;
}

/* Actions */
.ttw-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.ttw-btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.ttw-btn-cancel {
  background: #f3f4f6;
  color: #444;
}

.ttw-btn-save {
  background: #5d5e0d;
  color: white;
}

/* Info box */
.ttw-info-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 32px 0;
  font-size: 15px;
  color: #444;
}

/* Submit */
.ttw-submit-area {
  text-align: center;
  margin-top: 40px;
}

.ttw-btn-submit {
  background: #5d5e0d;
  color: white;
  padding: 16px 48px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.ttw-btn-submit:hover {
  background: #4a4b0a;
}

/* Position Card */
.ttw-position-card {
  display: flex;
  justify-content: space-between;
  background: #fdfdf9;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.ttw-position-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ttw-position-number {
  width: 28px;
  height: 28px;
  background: #5d5e0d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

#ttw-positions-list .ttw-action-btn
{
  padding: 9px;
    color: white;
    border-radius: 10px;
}



#ttw-total-volume {
  font-size: 16px;
  color: #222;
  padding: 10px;
  border-radius: 10px;
}
#ttw-total-volume::placeholder {
  color: #999;
  font-size: 14px;
}
.ttw-submit-area .ttw-btn-submit
{
    color:white;
}
#ttw-country
{
    height: 45px;
    padding: 0px;
    padding-left: 13px;
}
#ttw-zip, #ttw-city
{
border: 1px solid #c0c0c0;
    height: 45px;
    border-radius: 10px;
}
#ttw-zip, #ttw-city
{
border: 1px solid #c0c0c0;
    height: 45px;
    border-radius: 10px;
}
#ttw-email, #ttw-company-name, #ttw-contact-person, #ttw-phone, #ttw-quality, #ttw-length, #ttw-quantity
{
   border: 1px solid #c0c0c0;
    height: 45px;
    border-radius: 10px; 
     padding: 0px;
    padding-left: 13px;
}
.ttw-species-buttons label
{
  font-weight: 500;
}
#ttw-product-form .ttw-unit-btn
{
height: 43px;
border-radius: 10px;
color: white;
}
.ttw-form-actions .ttw-btn-cancel, .ttw-form-actions .ttw-btn-save
{
    color: white;
    border-radius: 10px;
}

.ttw-condition-option
{
 display: block;
}

.ttw-condition-option .ttw-desc
{
   font-size: 14px;
    font-weight: 400;
    color: #4e4e4e;
}

/* Responsive */
@media (max-width: 768px) {
  .ttw-row, .ttw-location-row { grid-template-columns: 1fr; gap: 20px; }
}




/* b2c form style start */
.msg-div
{
  display: flex;
  justify-content: center;
}
        .quote-trigger-button {
            display: block;
            width: 100%;
            max-width: 320px;
            margin: 2rem auto;
            margin-left: 0px;
            padding: 1.1rem 1.6rem;
            background: #5d5e0d;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.15rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            text-align: center;
        }

        .quote-trigger-button:hover {
            background: #6d6e1d;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(93, 94, 13, 0.4);
        }

        /* Modal Overlay */
        .quote-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 99999;
            background-color: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(4px);
            overflow-y: auto;
        }

        /* Modal Content Container */
        .quote-modal-content {
            background: #5d5e0d;
            margin: 8% auto;
            padding: 3.5rem 2rem;
            border-radius: 16px;
            width: 90%;
            max-width: 540px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);
            position: relative;
            color: white;
        }

        /* Close Button */
        .quote-modal-close {
            position: absolute;
            right: 1.5rem;
            top: 1rem;
            color: white;
            font-size: 3.4rem;
            font-weight: bold;
            cursor: pointer;
            line-height: 1;
        }

        .quote-modal-close:hover,
        .quote-modal-close:focus {
            color: #e0e066;
        }

        /* Form Styles (inside modal) */
        .quote-modal-content .custom-quote-fields {
            background: transparent;
            padding: 0;
            box-shadow: none;
        }

        .quote-modal-content .quote-title {
            text-align: center;
            margin: 3rem 0 3rem;
            font-size: 2.65rem;
            font-weight: 600;
            color: white;
        }

        .quote-modal-content .form-group {
            margin-bottom: 1.7rem;
        }

        .quote-modal-content label {
            display: block;
            margin-bottom: 0.65rem;
            font-weight: 500;
            color: white;
            font-size: 1.7rem;
        }

        .quote-modal-content .required {
            color: #ffcccc;
        }

        .single.single-product .quote-modal-content input[type="text"],
        .single.single-product .quote-modal-content .quote-modal-content input[type="email"],
        .single.single-product .quote-modal-content .quote-modal-content input[type="tel"],
        .single.single-product .quote-modal-content .quote-modal-content input[type="number"],
        .single.single-product .quote-modal-content .quote-modal-content textarea {
            width: 100%;
            padding: 13px 16px;
            border: none;
            border-radius: 10px;
            background: white;
            color: #111;
            max-width: 100% !important;
            font-size: 1.5rem !important;
            box-sizing: border-box;
        }

        .quote-modal-content input:focus,
        .quote-modal-content textarea:focus {
            outline: none;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);

        }

        .quote-modal-content textarea {
            resize: vertical;
            min-height: 85px;
            border-radius: 10px;
        }

        .quote-modal-content .radio-group {
            margin: 1rem 0 1.3rem;
        }

        .quote-modal-content .radio-label {
            display: flex;
            align-items: center;
            margin: 1rem 0;
            cursor: pointer;
            font-size: 1.7rem;
            color: white;
        }

        .quote-modal-content .radio-group input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .quote-modal-content .radio-custom {
            width: 24px;
            height: 24px;
            border: 2.5px solid white;
            border-radius: 50%;
            margin-right: 14px;
            position: relative;
            flex-shrink: 0;
        }

        .quote-modal-content .radio-custom::after {
            content: '';
            width: 12px;
            height: 12px;
            background: white;
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.18s ease;
        }

        .quote-modal-content input[type="radio"]:checked+.radio-custom::after {
            transform: translate(-50%, -50%) scale(1);
        }

        .quote-modal-content input[type="radio"]:checked+.radio-custom {
            border-color: #e0e066;
        }

        .quote-modal-content .delivery-info {
            margin-top: 0.8rem;
            font-size: 1.6rem;
            color: #111110;
            font-style: italic;
            background: white;
            padding: 10px 14px;
            border-radius: 10px;
        }

        .quote-modal-content .total-price {
            font-size: 21px;
            font-weight: 400;
            text-align: center;
            margin: 2.2rem 0 1.8rem;
            padding: 15px;
            background: rgba(0, 0, 0, 0.18);
            border-radius: 12px;
            color: #fffffc;
        }

        .quote-modal-content .quote-button {
            width: 98%;
            padding: 1.7rem;
            background: white;
            color: #5d5e0d;
            border: none;
            border-radius: 12px;
            font-size: 1.4rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .quote-modal-content .quote-button:hover {
            background: #f8f8e0;
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        /* Delivery fields specific */
        #delivery_address_fields {
            padding-top: 1.2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.18);
        }

        #delivery_address_fields .form-group {
            margin-bottom: 1.4rem;
        }

        /* Responsive */
        @media (max-width: 520px) {
            .quote-modal-content {
                margin: 10% auto 5%;
                padding: 1.8rem 1.5rem;
            }

            .quote-modal-close {
                right: 1rem;
                top: 0.8rem;
                font-size: 2rem;
            }
        }

        input#customer_email,
        input#customer_phone,
        input#product_volume,
        input#customer_phone {
            width: 100%;
            padding: 13px 16px;
            border: none;
            border-radius: 10px;
            background: white;
            color: #111;
            max-width: 100% !important;
            font-size: 1.5rem !important;
            box-sizing: border-box;
        }

        .form-group .form-group {
            margin-top: 30px;
        }
  

        /* b2c form style end here */

/* Bulk purshace floating button css */

              #bulk-purchase-btn {
            position: fixed;
            bottom: 60px;
            right: 10px;
            background-color: #5D5E0D;
            color: #fff;
            padding: 15px 25px;
            font-size: 16px;
            font-weight: bold;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            z-index: 9999;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            transition: background 0.3s, transform 0.2s;
        }

        #bulk-purchase-btn:hover {
            background-color: #4a4b09;
            transform: scale(1.05);
        }