/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* =========================================================
   My Account → View Quote (/my-account/view-quote/{id}/)
   Matches the Request A Quote page: white card, Inter type,
   #1A1612 ink, #BAFF26 accent — scoped to the plugin's own
   .wtwraq-quote-details-container / .wtwraq_quote_actions_div
   ========================================================= */
.wtwraq-quote-details-container {
	display: block;
	background-color: #FFFFFF;
	border: 2px solid rgba(26,22,18,0.10);
	border-radius: 12px;
	padding: 60px;
	font-family: 'Inter', sans-serif;
	color: #1A1612;
	box-sizing: border-box;
}
.wtwraq-quote-details-container h4 {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #1A1612;
	margin: 0 0 12px;
}
.wtwraq-quote-details-container > p {
	color: #1A1612;
	font-size: 15px;
	line-height: 1.6;
}

/* Status timeline */
.wtwraq-quote-details-container .wtwraq-quotes-action-status-bullets {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 24px;
	padding: 0;
}
.wtwraq-quote-details-container .wtwraq-quotes-action-status-bullets li {
	list-style: none !important;
	list-style-type: none !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	background: rgba(26,22,18,0.025);
	border-radius: 6px;
	margin-bottom: 8px;
	font-size: 14px;
}
/* The plugin draws its own timeline dot + connector line via ::before/::after —
   not a native list marker, so list-style:none alone doesn't remove it. Hidden here. */
.wtwraq-quote-details-container .wtwraq-quotes-action-status-bullets li::before,
.wtwraq-quote-details-container .wtwraq-quotes-action-status-bullets li::after {
	content: none !important;
	display: none !important;
}
.wtwraq-quote-details-container .wtwraq-action-status-date {
	color: rgba(26,22,18,0.5);
	font-size: 13px;
}
.wtwraq-quote-details-container .wtwraq-download-quote-pdf-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #1A1612;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid rgba(26,22,18,0.15);
	border-radius: 6px;
	padding: 10px 18px;
	margin-bottom: 24px;
	transition: background-color .2s ease, color .2s ease;
}
.wtwraq-quote-details-container .wtwraq-download-quote-pdf-link:hover {
	background: #1A1612;
	color: #F7F4F3;
}

/* ---- Quote table — same white-card row formatting as the off-canvas drawer, but ----
   ---- since there's ample width here, image + name + spec-line + price all sit on ----
   ---- ONE horizontal row instead of stacking (the spec line never needs to wrap).  ---- */
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list,
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list.shop_table,
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody,
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tr,
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list td {
	display: block;
	width: auto;
	border: none !important;
	box-shadow: none !important;
	background: none !important;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list {
	width: 100%;
	border-collapse: collapse;
	margin: 28px 0 24px;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list thead,
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list thead tr,
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list thead th {
	border: none !important;
	box-shadow: none !important;
	display: table-cell;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list thead {
	display: table;
	width: 100%;
	table-layout: fixed;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list thead tr {
	display: table-row;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list thead th {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(26,22,18,0.5);
	text-align: left;
	vertical-align: middle;
	padding: 0 20px 12px;
	background: none;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list th.product-price {
	text-align: right;
	width: 140px;
}

/* Each product row = one white card on the page's white background, all in one line */
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:not(:last-child) {
	display: flex !important;
	align-items: center;
	gap: 16px;
	width: 100%;
	background-color: #FFFFFF !important;
	border: 2px solid rgba(26,22,18,0.08) !important;
	border-radius: 6px;
	padding: 14px 20px;
	margin-bottom: 10px;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:not(:last-child) > td {
	padding: 0 !important;
	border: none !important;
	background: none !important;
}

/* Thumbnail — 72x72, sits beside the name, no border */
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list td.product-thumbnail {
	flex: 0 0 72px !important;
	width: 72px !important;
}
.wtwraq-quote-details-container .product-thumbnail img {
	width: 72px !important;
	height: 72px !important;
	object-fit: cover;
	border-radius: 6px;
	border: none !important;
	display: block;
}

/* Name + spec line — grows to fill the middle of the row */
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list td.product-name {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0;
	text-align: left !important;
}
.wtwraq-quote-details-container .product-name a {
	display: block;
	color: #1A1612;
	font-weight: 700;
	text-decoration: none;
	margin-bottom: 6px;
	text-align: left;
}
.wtwraq-quote-details-container .product-name a:hover { color: #79A619; }
.wtwraq-quote-details-container .product-name dl {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	white-space: nowrap;
}
.wtwraq-quote-details-container .product-name dt,
.wtwraq-quote-details-container .product-name dd {
	display: inline-block;
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	color: rgba(26,22,18,0.55);
	white-space: nowrap;
}
.wtwraq-quote-details-container .product-name dt::after { content: ":"; }
.wtwraq-quote-details-container .product-name dd { margin: 0 15px 0 4px; }

/* Price — pinned to the far right of the same row, right aligned */
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list td.product-price {
	flex: 0 0 auto !important;
	width: auto !important;
	margin-left: auto;
	text-align: right !important;
}
.wtwraq-quote-details-container .product-price {
	font-weight: 700;
	color: #1A1612;
	white-space: nowrap;
}

/* Expiry / subtotal / discount / tax / shipping / total block */
.wtwraq-quote-details-container .wtwraq-quote-expiry-text-block {
	color: rgba(26,22,18,0.6);
	font-size: 13px;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:last-child td {
	padding-top: 16px;
	padding-bottom: 16px;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:last-child p {
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:last-child p:last-child { margin-bottom: 0; }
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:last-child p span {
	float: none !important;
	margin-left: 15px;
}
.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:last-child p.wtwraq_quote_total {
	font-size: 20px;
	font-weight: 700;
	padding-top: 12px;
	margin-top: 8px;
	border-top: 2px solid rgba(26,22,18,0.10);
}
.wtwraq-quote-details-container .wtwraq-shipping-details {
	margin-left: 15px;
	color: rgba(26,22,18,0.5);
	font-size: 13px;
}

/* ---- Quote actions (Accept & pay / Decline / Ask again / Go to checkout) ---- */
.wtwraq_quote_actions_div {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 24px;
}
.wtwraq_quote_actions_div .form-row { margin: 0; }
.wtwraq_quote_actions_div a.button,
.wtwraq_quote_actions_div button.button {
	display: inline-block;
	background-color: #BAFF26 !important;
	color: #1A1612 !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 14px 24px !important;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.wtwraq_quote_actions_div a.button:hover,
.wtwraq_quote_actions_div button.button:hover {
	background-color: #1A1612 !important;
	color: #F7F4F3 !important;
}
.wtwraq_quote_actions_div .wtwraq_decline_button {
	background-color: transparent !important;
	color: #1A1612 !important;
	border: 2px solid rgba(26,22,18,0.15) !important;
}
.wtwraq_quote_actions_div .wtwraq_decline_button:hover {
	background-color: transparent !important;
	border-color: #1A1612 !important;
	color: #1A1612 !important;
}
.wtwraq_quote_actions_div p.form-row > a:not(.button) {
	color: #1A1612;
	font-weight: 700;
	text-decoration: underline;
}

/* Responsive: below this width the row wraps (image+name on top, price below) instead
   of squeezing everything onto one line; the spec line only wraps onto two lines once
   truly cramped, on small phones. */
@media (max-width: 640px) {
	.wtwraq-quote-details-container { padding: 30px 24px; }
	.wtwraq-quote-details-container table.wtwraq-request-quote-product-list thead { display: none; }
	.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:not(:last-child) {
		flex-wrap: wrap !important;
	}
	.wtwraq-quote-details-container table.wtwraq-request-quote-product-list td.product-name {
		flex-basis: calc(100% - 88px) !important;
	}
	.wtwraq-quote-details-container table.wtwraq-request-quote-product-list td.product-price {
		flex-basis: 100% !important;
		margin-left: 0 !important;
		margin-top: 8px;
		padding-left: 88px !important;
	}
	.wtwraq-quote-details-container table.wtwraq-request-quote-product-list tbody tr:last-child p { justify-content: flex-start; }
}
@media (max-width: 420px) {
	.wtwraq-quote-details-container .product-name dl {
		flex-wrap: wrap !important;
		white-space: normal !important;
	}
	.wtwraq-quote-details-container .product-name dt,
	.wtwraq-quote-details-container .product-name dd {
		white-space: normal !important;
	}
}


