/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

.taxonomy-region a {
	text-decoration: none;
}

.distributor .wp-block-post-terms__prefix,
.gb-loop-item .wp-block-post-terms__prefix {
    display: none;
}

.blog .page-title {
    display: none;
}

.tax-product_cat #main > .wf-wrap {
    padding-right: 50px; /* or 0 */
    padding-left: 50px;
}

/* HEADER */

/* The7 popup search – remove white background */
.header-bar .popup-search .popup-search-wrap {
    background: transparent !important;
    top: calc(100% + 16px);
}

.tax-product_cat .description-under-image.dt-products {
    margin-bottom: 40px;
}

/* Product Categories */
.tax-product_cat #fancy-header {
    padding: 0 !important;
    min-height: unset !important;
}

.tax-product_cat #fancy-header .fancy-title {
    display: none !important;
}

.tax-product_cat #fancy-header .wf-wrap {
    min-height: 70px !important;
}

.tax-product_cat #fancy-header .breadcrumbs {
    padding-left: 18px !important;
}

/* Product category description → heading style */
.tax-product_cat .term-description p {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 500;
    color: #1a1a1a; /* adjust if needed */
    margin-bottom: 20px;
}

#fancy-header .fancy-title {
    display: inline-block;
    font-weight: 400;
    letter-spacing: 1px;
}

#fancy-header .fancy-subtitle {
    font-weight: 100;
}

.wp-block-query .wp-block-post-terms a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
    cursor: default;
}

.breadcrumbs {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
}

#fancy-header.breadcrumbs {
	padding-left: 18px;
}

.breadcrumbs::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 14px;
    background: #FBD000;
    transform: translateY(-50%);
}

.breadcrumbs a {
    color: #111827;
    font-weight: 500;
}

.single-product .page-title-head {
    display: none;
}

page-title .breadcrumbs, .page-title .breadcrumbs a {
	color: #111b29;
	font: normal 500 14px / 24px "Poppins";
	text-transform: none;
}

.page-title .wf-wrap {
	min-height: 80px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.fancy-header .wf-wrap {
	min-height: 80px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.ct-feature-image .vc_single_image-wrapper {
    border-radius: 24px !important;
    overflow: hidden;
}

.ct-feature-content p {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #6f7579;
    max-width: 620px;
}

.markets-row .vc_col-lg-offset-2 {
    margin-left: 0 !important;
}

.markets-row .vc_col-lg-8 {
    width: 100% !important;
}

.markets-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.market-card {
    border-radius: 28px !important;
    overflow: hidden;
    margin-right: 10px;
    max-width: 300px !important;
    background: linear-gradient(
        160deg,
        #2a4f72 0%,
        #244766 35%,
        #1f3f5e 70%,
        #1a3550 100%
    );
    box-shadow:
        0 25px 50px rgba(0,0,0,0.45),
        0 10px 20px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/*
#main .wf-wrap, .page-title .wf-wrap, .fancy-header .wf-wrap {
	padding: 0 50px 0 50px;
}
*/

#fancy-header.content-left .breadcrumbs, #fancy-header.content-right .breadcrumbs, #fancy-header.title-center .breadcrumbs {
	margin-bottom: 0px;
}

/* Main menu button-style items */
.main-nav > li > a {
    padding: 5px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

/* Hover */
.main-nav > li > a:hover {
    border-color: #ffd400;
}

/* Active/current page */
.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-ancestor > a {
    border-color: #ffd400;
}

/* Disable bullets for Icon Lists */ 
.vc_icon_element-list,
.vc_icon_element-list li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Fix WPBakery Icon List alignment */
.uavc-list > li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

/* Align icon properly */
.uavc-list .align-icon {
  text-align: left !important;
  min-width: 18px;
}

/* Remove extra margins WPBakery adds */
.uavc-list-content {
  margin-top: 0 !important;
}

/* Force icon + text onto the same row (Ultimate Addons Icon List) */
.uavc-list > li > .uavc-list-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stop icon centering */
.ult-just-icon-wrapper,
.align-icon {
  text-align: left !important;
}

/* Normalize icon width */
.ult-just-icon-wrapper {
  min-width: 18px;
}

/* Remove leftover margins */
.uavc-list-content {
  margin-top: 0 !important;
}

.content ol, .content ul {
    /* margin: 0px; */
    margin: 0px 0px 0px 12px;
}

/* Remove the white space on the main page */
.home #main > .wf-wrap {
  padding: 0 !important;
}

/* Make WPBakery column inner a flex container */
.distributor-card > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ct-product-symbols {
  margin: 16px 0 24px;
  font-size: 44px;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.products .wf-cell {
	display: block;
	padding: 20px;
	opacity: 0;
	border: 1px solid #FBD000 !important;
	border-radius: 10px;
	box-shadow: 0px 0px 20px 0px #D5D5D5;
}

.products .wf-cell:hover {
	box-shadow: 0px 0px 15px 0px #FBD000;
}

.vc_single_image-wrapper img[title="ct-iso"] {
    width: 75%;
    height: auto;
}

/* Hide product count on product category tiles */

.woocommerce .products article.product-category .woocom-list-content .count {
    display: none;
}

/* Main notice */
.woocommerce-message {
    background: #0C041C !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 30px 64px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Remove default border */
.woocommerce-message::before {
    color: #fff !important;
    font-size: 14px;
}

/* Link inside text */
.woocommerce-message a {
    color: #fff !important;
    text-decoration: none;
}

/* Reset + rebuild the button */
.woocommerce-message a.button.wc-forward {
    all: unset; /* 💥 kills The7 styles completely */

    margin-left: auto;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 500;

    background: rgba(255,255,255,0.15);
    color: #fff;

    transition: all 0.2s ease;
}

/* Hover */
.woocommerce-message a.button.wc-forward:hover {
    background: #ffffff;
    color: #0C041C;
}

/* Remove underline forever */
.woocommerce-message a.button.wc-forward,
.woocommerce-message a.button.wc-forward:hover,
.woocommerce-message a.button.wc-forward:focus,
.woocommerce-message a.button.wc-forward:active,
.woocommerce-message a.button.wc-forward:visited {
    text-decoration: none !important;
}

/* Remove shadow on mini-cart "View List" button */
.shopping-cart-bottom a.button.view-cart:hover {
    box-shadow: none !important;
}

/* From Custom CSS */

.shopping-cart-inner {
	background-color: rgba(255,255,255,1);
	width: 350px;
}

.related-product > li {
	position: relative;
	display: -ms-flexbox;
	display: -ms-flex;
	display: flex;
	width: 31% !important;
	padding: 15px 15px 5px 15px;
	box-sizing: border-box;
	margin: 10px;
	border: 1px solid #D5D5D5;
	border-radius: 5px;
	box-shadow: 0px 0px 10px 0px #D5D5D5;
}

.related-product > li:hover {
	box-shadow: 0px 0px 15px 0px #cccccc;
}

@media only screen and (max-width: 778px) {
  .related-product > li {
		width: 85% !important;
		margin-top: 10px;
		margin-bottom: 10px;
		margin-left: auto;
		margin-right: auto;
	}
}

.shop-page {
	padding-bottom: 20px;
}

.product_list_widget img, .woocommerce .wf-cell .product_list_widget img {
	width: 100px;
}

.the7-elementor-widget .product_meta .posted_in, .the7-elementor-widget .product_meta .sku_wrapper, .entry-summary .product_meta .posted_in, .entry-summary .product_meta .sku_wrapper, .dhvc-woocommerce-page .product_meta .posted_in, .dhvc-woocommerce-page .product_meta .sku_wrapper {
	display: block;
}

.woocommerce-Tabs-panel--wcpoa_product_tab .wcpoa_attachment_name {
	display: inline-block;
	margin-top: 0;
	max-width: 80.5%;
	display: none;
}

/* Team name (Scott / Magnus) */
.dt-team-shortcode .team-author-name {
    font-size: 32px; /* adjust as needed */
    line-height: 1.6;
}

.dt-team-shortcode.team-masonry-shortcode .team-author-name {
    font-size: 32px !important;
}

article.product-category .woocom-list-content .count {
	font: 12px / 20px "Rubik", Helvetica, Arial, Verdana, sans-serif;
	text-transform: none;
}

article.product-category {
	padding-bottom: 10px;
}

/* Sorting and product count set to display none */

.switcher-wrap {
	display: none;
}

/* FOOTER */

#footer .widget-title {
	color: #FBD000 !important;
}

/* Footer dark overlay */
#footer {
	position: relative;
}

#footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(5, 15, 30, 0.55); /* dark blue overlay */
	z-index: 0;
}

/* Ensure footer content stays above overlay */
#footer > * {
	position: relative;
	z-index: 1;
}

/* Social icon wrapper */
#footer .soc-ico a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 10px;
	border-radius: 50%;
	border: 2px solid rgba(251, 208, 0, 0.5);
	background: #FBD000;
	transition: all 0.25s ease;
}

/* Icon itself */
#footer .soc-ico a .soc-font-icon {
	color: #0B1E2D;
	font-size: 16px;
	transition: color 0.25s ease;
}

/* Hover state */
#footer .soc-ico a:hover {
	background: #FBD000;
	border-color: #FBD000;
	transform: translateY(-2px);
}

/* Icon hover color */
#footer .soc-ico a:hover .soc-font-icon {
	color: #0B1E2D;
}

/* Footer WPForms container */
#footer .wpforms-container {
	position: relative;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 18px;
	padding: 26px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

#footer .wpforms-field-container {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Footer form inputs & textarea */
#footer .wpforms-field input,
#footer .wpforms-field textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.54);
	border: none;
	border-radius: 20px;
	padding: 4px 14px;
	font-size: 14px;
	color: #0B1E2D;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}

#footer .wpforms-field input::placeholder,
#footer .wpforms-field textarea::placeholder {
	color: #6E7C8A;
}

/* Hide labels (you already use placeholders) */
#footer .wpforms-field-label {
	display: none;
}

#footer .wpforms-field input:focus,
#footer .wpforms-field textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(251, 208, 0, 0.45);
}

#footer .wpforms-submit-container {
	margin-top: 16px;
}

#footer .wpforms-submit {
	background: #FBD000;
	color: #0B1E2D;
	border-radius: 999px;
	padding: 12px 28px;
	font-weight: 400;
	border: none;
	transition: all 0.25s ease;
}

#footer .wpforms-submit:hover {
	background: #ffd633;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(251, 208, 0, 0.45);
}

#footer .ct-footer-about p {
    font-size: 16px !important;
    line-height: 2;
    margin-right: 80px;
    padding-top: 10px;
}

@media only screen and (max-width: 778px) {
  #footer .mini-nav {
		display: none;
	}
}

/* GLOBAL */

a[href^="tel"] {
	color: inherit; /* Inherit text color of parent element. */
    text-decoration: none; /* Remove underline. */
}

.page-description {
	font-size: 1.2em;
	line-height: 2;
	font-weight: 200;
	padding-bottom: 20px;
}

/* CONTACT FORM */

.wpforms-container .wpforms-field {
	padding: 0px;
	position: relative;
}

/* Ensure content container is positioned */
.woocommerce .products article.product-category .woocom-list-content {
    position: relative;
    z-index: 2;
}

/* Style and lift the category title button ABOVE the overlay */
.woocommerce .products article.product-category 
.woocom-list-content .entry-title > a {
    position: relative;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    font: var(--the7-btn-s-font);
    /*font-size: var(--the7-btn-s-font-size);*/
    font-size: 18px;
    text-transform: var(--the7-btn-s-text-transform);
    letter-spacing: var(--the7-btn-s-letter-spacing);
    word-spacing: var(--the7-btn-s-word-spacing);

    padding: var(--the7-btn-s-padding);
    padding-bottom: 20px;
    min-width: var(--the7-btn-s-min-width);
    min-height: var(--the7-btn-s-min-height);

    border-width: var(--the7-btn-s-border-width);
    border-style: var(--the7-btn-s-border-style);
    border-radius: var(--the7-btn-s-border-radius);
    border-color: var(--the7-btn-border-color);

    color: var(--the7-btn-color);
    /*background: var(--the7-btn-bg, #fdd800); /* important for visual contrast */

    text-decoration: none;
    box-sizing: border-box;
}

.product div.summary {
    float: left;
    margin-bottom: 0px;
    box-sizing: border-box;
}

/*
#main > .wf-wrap {
  padding: 0px 50px 50px 50px;
}
*/

#main.sidebar-none {
	padding-bottom: 20px;
}

#front-page.sidebar-none {
	padding-top: 0px;
	padding-bottom: 0px;
}

header.woocommerce-products-header {
	font-size: 16px;
}

body.page-id-3641 #main {
    padding-bottom: 0px;
}

/* 1. Make the card a column layout */
.products .product-category {
    display: flex;
    flex-direction: column;
}

/* 2. Make figure fill the card */
.products .product-category figure {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 3. THIS is the key element */
.products .product-category .woocom-list-content {
    display: flex;
    flex-direction: column;
    flex: 1; /* fill remaining space */
}

/* 4. Push footer (button wrapper) down */
.products .product-category .category-footer {
    margin-top: auto;
}

.products .woo-buttons-on-img {
    height: 200px;        /* reduce from 256px */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products .woo-buttons-on-img img {
    max-height: none;
    height: 100%;         /* zoom in = removes white space */
    width: auto;
}

.gb-loop-item {
    transition: opacity 0.25s ease, transform 0.25s ease;
}


/* Wrapper spacing (optional) */
.ct-region-filter {
    margin-bottom: 30px;
}

/* Main select styling */
#region-filter {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 999px;

    padding: 12px 45px 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #333;

    cursor: pointer;
    transition: all 0.25s ease;

    /* subtle shadow like your cards/buttons */
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);

    /* arrow */
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Hover */
#region-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    border-color: #fbd000;
}

/* Focus (important for UX) */
#region-filter:focus {
    outline: none;
    border-color: #fbd000;
    box-shadow: 0 0 0 3px rgba(251, 208, 0, 0.2);
}

/* Active / selected feel */
#region-filter:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Remove The7 title pill */
.products .product-category h2 {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 22px;
  font-weight: 600;
  color: #0f2437;
  margin-bottom: 10px;
}

/* Description */
.products .product-category .woocommerce-category-description,
.products .product-category p {
  font-size: 14px;
  line-height: 1.6;
  color: #6f7780;
  margin-bottom: 20px;
}

/* Footer button wrapper */
.products .product-category .category-footer {
  margin-top: 20px;
}

/* REAL button */
.products .product-category .category-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #FBD000;
  color: #000;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.products .product-category {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.products .product-category > a {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.products .product-category .category-footer {
  margin-top: auto;
}

.single-product .product-action-buttons {
    display: flex;
    gap: 12px;          /* space between buttons */
    flex-wrap: wrap;    /* safe on small screens */
    margin: 12px 0;
}

.single-product .product-action-buttons .dt-btn {
    width: auto;        /* prevent full-width */
	background: #0B1E2D !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(251, 208, 0, 0.45);
	color: #fff;
}



/* Push footer down so overlay does not overlap content */
.single-product #footer {
    margin-top: 40px;
}

.woocommerce div.product div.summary h1 {
    margin-bottom: 20px;
}

/* Safari fix: ensure submenu items are visible when clickable */
.sub-nav li,
.sub-nav li a {
    visibility: visible !important;
}

.sub-nav .current-menu-item,
.sub-nav .current-menu-item a {
    visibility: visible !important;
}

.woocommerce div.product div.summary .woocommerce-product-details__short-description {
    margin-bottom: 10px !important;
}

/* Product card layout */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* =========================
   PRODUCT PAGE – SOCIAL ICONS (FINAL)
   ========================= */

/* Wrapper */
.single-product .single-share-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

/* The icon button */
.single-product .single-share-box .share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;          /* force circle */
    height: 32px;         /* force circle */
    padding: 0;           /* kill oval padding */
    min-width: 20px;

    border-radius: 100%;
    background: #0B1E2D;
    border: 0px solid #FBD000;

    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Kill platform colors (THIS fixes blue icons) */
.single-product .single-share-box .share-buttons a,
.single-product .single-share-box .share-buttons a * {
    color: #FBD000 !important;
    fill: #fff !important;
}

/* Icon size */
.single-product .single-share-box .share-buttons a .soc-font-icon,
.single-product .single-share-box .share-buttons a::before {
    font-size: 12px;
    line-height: 1;
}

/* Hover */
.single-product .single-share-box .share-buttons a:hover {
    transform: translateY(-2px);
}

/* Stack share text above icons */
.single-product .single-share-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;          /* space between text and icons */
    margin-top: 4px;
}

/* Share title */
.single-product .single-share-box .share-link-description {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #0B1E2D;
}

/* Icons row */
.single-product .single-share-box .share-buttons {
    display: flex;
    gap: 4px;
}

/* BLOG → match PRODUCT share buttons */
.single-post .share-buttons a {
    width: 24px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    background: #0B1E2D; /* your dark navy */
    color: #fff;
    border-radius: 40px;
    
    transition: all 0.2s ease;
}

/* Icon size */
.single-post .share-buttons a i {
    font-size: 16px;
}

/* Hover */
.single-post .share-buttons a:hover {
    background: #0B1E2D; /* your yellow */
    color: #0B1E2D;
}

/* Sidebar news widget */
.widget_recent_entries li {
    padding: 14px 0;
    border-bottom: 1px solid #E6EAF0;
}

/* Remove last border */
.widget_recent_entries li:last-child {
    border-bottom: none;
}

/* News title */
.widget_recent_entries li a {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    color: #0B1E2D;
    display: block;
    margin-bottom: 4px;
}

/* Date */
.widget_recent_entries .post-date {
    font-size: 13px;
    color: #8A949E;
}

/* Hover (subtle, not flashy) */
.widget_recent_entries li a:hover {
    color: #f5b400;
}

.single-post #main {
    display: block !important;
}

.single-post #page {
    display: block !important;
}

.product_meta {
	margin-bottom: 0px;
}

.the7-elementor-widget .product_meta,
.entry-summary .product_meta,
.dhvc-woocommerce-page .product_meta {
  margin-bottom: 0px;
}

.the7-elementor-widget .product_meta .posted_in:after, .entry-summary .product_meta .posted_in:after, .dhvc-woocommerce-page .product_meta .posted_in:after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    content: "";
    border-radius: 50%;
    display: none;
}

.sidebar-none.sidebar-divider-vertical {
padding: 0px !important;
}

/* Quote popup */

/* Overlay */
.ct-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 40px;
}

/* Active state */
.ct-popup-overlay.active {
    display: flex;
}

/* Modal box */
.ct-popup-box {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 18px;
    padding: 50px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
    animation: popupFade 0.25s ease forwards;
}

/* Animation */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close button */
.ct-popup-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s ease;
}

.ct-popup-close:hover {
    opacity: 1;
}

/* Trigger button */
.ct-popup-trigger {
    background: #f5b400;
    color: #000;
    border: none;
    padding: 14px 34px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: 0.3s ease;
    width: 50%;
}

.ct-popup-trigger:hover {
    background: #d99d00;
}

form.cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
}

form.cart > * {
    order: unset;
}

form.cart .single_add_to_cart_button {
    order: -1;
}

form.cart div.quantity + button.single_add_to_cart_button {
    margin-left: 0 !important;
}

form.cart .quantity buttons_added {

}

/* Reduce size of product action buttons */
.product form.cart .single_add_to_cart_button,
.ct-popup-trigger {
    padding: 12px 32px !important;
    font-size: 14px !important;
    border-radius: 30px !important;
}

/* Make all action elements same height */
.product-action-buttons .ct-popup-trigger,
.product-action-buttons .single_add_to_cart_button {
    height: 48px !important;
    padding: 0 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-action-buttons .quantity {
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.product-action-buttons form.cart {
    margin-bottom: 10px !important;
}

.product-action-buttons h5 {
    margin-top: 20px !important;
}

/* === Inquiry Card === */

.product-inquiry-card {
    margin-top: 50px;
    padding: 40px 30px 20px 30px;
    background: #f7f9fb;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    text-align: center;
}

/* Title */
.product-inquiry-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Subtitle */
.product-inquiry-sub {
    color: #6b7a86;
    margin-bottom: 18px;
}

/* Button Row */
.product-action-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
}

/* Primary (Yellow) */
.inquiry-btn-primary {
    background: #f5b400;
    color: #000;
    border: none;
    height: 48px;
    padding: 0 32px;
    border-radius: 28px;
    font-weight: 600;
    transition: 0.25s ease;
}

.inquiry-btn-primary:hover {
    background: #e2a700;
}

/* Secondary (Navy) */
.product-action-buttons .single_add_to_cart_button {
    background: #0e2433 !important;
    color: #fff !important;
    height: 48px;
    padding: 0 32px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Remove Woo default spacing */
.product-action-buttons form.cart {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Meta text */
.product-inquiry-meta {
    color: #7b8a96;
    font-size: 14px;
    margin-bottom: 40px !important;
    margin-top: 18px;
}

/* Meta text */
.product-inquiry-meta p {
    color: #7b8a96;
    font-size: 14px;
    margin-bottom: 0px;
}

.product-action-buttons .single_add_to_cart_button::after {
    content: "›";
    font-size: 18px;
    margin-left: 8px;
}

.product-action-buttons .single_add_to_cart_button::after {
    content: "\203A"; /* proper single right angle quote */
    font-size: 18px;
    margin-left: 8px;
}

.product-action-buttons {
    justify-content: center;
    gap: 14px;
}

.product-action-buttons .quantity {
    margin-left: -6px;
}

.product-inquiry-card {
    margin-top: 20px;
    padding: 40px 30px 20px 30px;
    background: linear-gradient(180deg, #f6f8fb 0%, #eef2f6 100%);
    border-radius: 18px;
    margin-bottom: 10px;

    /* subtle border */
    border: 1px solid rgba(14, 36, 51, 0.08);

    /* proper layered shadow */
    box-shadow:
        0 25px 50px rgba(14, 36, 51, 0.08),
        0 10px 20px rgba(14, 36, 51, 0.05),
        inset 0 1px 0 rgba(255,255,255,0.7);

    text-align: center;
}

.inquiry-btn-primary {
    box-shadow: 0 8px 18px rgba(245, 180, 0, 0.35);
}

.product-action-buttons .single_add_to_cart_button {
    box-shadow: 0 8px 18px rgba(14, 36, 51, 0.25);
}

.product-inquiry-meta a {
    color: #6b7a86;
    text-decoration: underline;
}

.product-inquiry-meta a:hover {
    color: #0e2433;
}

.product-action-buttons button {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-action-buttons button:hover {
    transform: translateY(-2px);
}

.product-action-buttons button {
    box-shadow:
        0 10px 20px rgba(14, 36, 51, 0.15),
        0 4px 8px rgba(14, 36, 51, 0.08);
}

.product-action-buttons .single_add_to_cart_button {
    background: linear-gradient(180deg, #1c3550 0%, #0e2433 100%) !important;
    border: 0px solid rgba(255,255,255,0.1);
}

.inquiry-btn-primary {
    background: #FBD000;
    border: 0px solid rgba(255,255,255,0.4);
}

.product-action-buttons button {
    transition: all 0.25s ease;
}

.product-action-buttons button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 30px rgba(14, 36, 51, 0.18),
        0 6px 12px rgba(14, 36, 51, 0.10);
}


/* Keep Request Quote same yellow on hover */
.inquiry-btn-primary:hover,
.inquiry-btn-primary:focus,
.inquiry-btn-primary:active {
    background: linear-gradient(180deg, #f8c200 0%, #f5b400 100%) !important;
    color: #000 !important;
}

/* Left align ONLY the attachment buttons row */
.woocommerce-product-details__full-description + .product-action-buttons {
    justify-content: flex-start !important;
    margin-left: 0 !important;
}

/* Hide quantity counter */
.product-inquiry-card .quantity,
.product-inquiry-card .quantity.buttons_added {
    display: none !important;
}

/* Request Quote button exact brand yellow */
.product-inquiry-card .ct-popup-trigger {
    background-color: #FBD000 !important;
    border-color: #FBD000 !important;
    color: #000 !important;
}

.product-inquiry-card .ct-popup-trigger:hover,
.product-inquiry-card .ct-popup-trigger:focus {
    background-color: #FBD000 !important;
    border-color: #FBD000 !important;
    color: #000 !important;
    transform: none;
}

.product-inquiry-meta a {
    color: #6b7a86;
    text-decoration: none;
}

/* Remove underline from inquiry meta links */
.product-inquiry-meta a {
    text-decoration: none !important;
}

.product-inquiry-meta a:hover {
    text-decoration: none !important;
}

/* Hide all WooCommerce prices */
.woocommerce .price,
.woocommerce-Price-amount {
    display:none !important;
}

.shopping-cart-bottom p.total {
    display: none !important;
}

#wpforms-5630-field_11 {
    font-size: 12px;
    min-height: 280px;
}

#wpforms-5097-field_9-container {
    display: none;
}