/*!
Theme Name: Bulletproof Automotive
Theme URI: http://underscores.me/
Author: Nucleus Marketing
Author URI: https://www.nucleusmarketing.org/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bulletproof
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Bulletproof Automotive is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald-Regular.eot');
    src: url('./fonts/Oswald-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Oswald-Regular.woff2') format('woff2'),
        url('./fonts/Oswald-Regular.woff') format('woff'),
        url('./fonts/Oswald-Regular.ttf') format('truetype'),
        url('./fonts/Oswald-Regular.svg#Oswald-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald-Medium.eot');
    src: url('./fonts/Oswald-Medium.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Oswald-Medium.woff2') format('woff2'),
        url('./fonts/Oswald-Medium.woff') format('woff'),
        url('./fonts/Oswald-Medium.ttf') format('truetype'),
        url('./fonts/Oswald-Medium.svg#Oswald-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald-Bold.eot');
    src: url('./fonts/Oswald-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Oswald-Bold.woff2') format('woff2'),
        url('./fonts/Oswald-Bold.woff') format('woff'),
        url('./fonts/Oswald-Bold.ttf') format('truetype'),
        url('./fonts/Oswald-Bold.svg#Oswald-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald-Light.eot');
    src: url('./fonts/Oswald-Light.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Oswald-Light.woff2') format('woff2'),
        url('./fonts/Oswald-Light.woff') format('woff'),
        url('./fonts/Oswald-Light.ttf') format('truetype'),
        url('./fonts/Oswald-Light.svg#Oswald-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Light.eot');
    src: url('./fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Roboto-Light.woff2') format('woff2'),
        url('./fonts/Roboto-Light.woff') format('woff'),
        url('./fonts/Roboto-Light.ttf') format('truetype'),
        url('./fonts/Roboto-Light.svg#Roboto-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Regular.eot');
    src: url('./fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Roboto-Regular.woff2') format('woff2'),
        url('./fonts/Roboto-Regular.woff') format('woff'),
        url('./fonts/Roboto-Regular.ttf') format('truetype'),
        url('./fonts/Roboto-Regular.svg#Roboto-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Bold.eot');
    src: url('./fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/Roboto-Bold.woff2') format('woff2'),
        url('./fonts/Roboto-Bold.woff') format('woff'),
        url('./fonts/Roboto-Bold.ttf') format('truetype'),
        url('./fonts/Roboto-Bold.svg#Roboto-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Navigation
--------------------------------------------- */

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* reCaptcha hide */

.grecaptcha-badge {
  visibility: hidden;
}

@media screen and (min-width: 0px) and (max-width: 720px) {
  #splitit-installment-price-checkout {
    display: none;
  }
}

/* Bulletproof Auto Spa Style Start */

.bulletproof-auto-spa .text-brand,
.bulletproof-auto-spa .blogCats a {
	display: none;
}

.bulletproof-auto-spa section.relative.bg-hexagon {
	background: #000;
}

.bulletproof-auto-spa section.relative.bg-hexagon .py-48 {
	padding-bottom: 5rem;
	padding-top: 4rem;
}

.bulletproof-auto-spa section.relative.bg-hexagon h1 {
	margin-bottom: 20px;
	position: relative;
	width: fit-content;
}

.bulletproof-auto-spa section.relative.bg-hexagon h1:after {
	position: absolute;
	--tw-content: "";
	content: var(--tw-content);
	--tw-bg-opacity: 1;
	background-color: rgb(223 0 1 / var(--tw-bg-opacity));
	width: 100%;
	height: .25rem;
	top: 100%;
	left: 0;
}

.bulletproof-auto-spa section.py-24 {
	padding-bottom: 3rem;
	padding-top: 3rem;
}

.bulletproof-auto-spa .blogCats::before {
	font-family: Roboto, sans-serif;
	content: "Bulletproof Auto Spa is the dedicated vehicle protection and appearance division of Bulletproof Automotive, offering high-end detailing and surface protection services for performance, luxury, and exotic vehicles. Based in Los Angeles, our state-of-the-art facility operates by appointment only, allowing our team to provide focused, hands-on attention to every vehicle that enters the shop.";
	text-transform: none;
	margin-bottom: 15px;
	display: block;
	cursor: text;
}

.bulletproof-auto-spa .blogCats::after {
	font-family: Roboto, sans-serif;
	content: "We proudly serve as an exclusive partner of XPEL, delivering their industry-leading paint protection film, ceramic coatings, nano-ceramic window tint, and windshield protection solutions. XPEL products are trusted worldwide for their durability, clarity, and long-term performance, and our experienced installers ensure each application meets the highest standards of fit, finish, and longevity.";
	text-transform: none;
	cursor: text;
}

.bulletproof-auto-spa .container .pr-32 .flex.flex-wrap.-mx-2 .w-1\/2 {
	width: 25%;
}

.bulletproof-auto-spa .text-sm {
	font-size: 1rem;
}

.bulletproof-auto-spa .prose h2 {
	margin-top: 0;
	white-space: normal;
}

.bg-\[\#f0f0f0\] {
	--tw-bg-opacity: 1;
	background-color: rgb(240 240 240 / var(--tw-bg-opacity));
}

.prose .contact-button + p,
.wrapper-prose .text-sm + p {
	margin: 0;
}

.bulletproof-auto-spa .prose h2.auto-spa {
	font-size: 1.4em;
}

.prose .contact-button a {
	--tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
	line-height: 1.75rem;
	font-weight: 700;
	font-size: 1.25rem;
    padding: .5rem 2rem;
	text-decoration: none;
}

.prose .contact-button a:hover {
	text-decoration: none;
}

@media screen and (min-width: 1024px) {
	.bulletproof-auto-spa .pr-32 {
		padding-right: 3rem;
	}

	.bulletproof-auto-spa .lg\:flex-row-reverse {
		flex-direction: row-reverse;
	}

	.bulletproof-auto-spa .lg\:-ml-\[10\%\] {
		margin-left: -10%;
	}

	.bulletproof-auto-spa .lg\:-ml-\[20\%\] {
		margin-left: -20%;
	}

	.bulletproof-auto-spa .lg\:-mr-\[20\%\] {
		margin-right: -20%;
	}

	.bulletproof-auto-spa .w-\[120\%\] {
		width: 120%;
	}
}

@media screen and (max-width: 1680px) {
	.bulletproof-auto-spa .prose h2 span {
		display: inline-block;
		margin-bottom: 4px;
		width: fit-content;
	}
}

@media screen and (max-width: 1023px) {

	.bulletproof-auto-spa .flex-row .relative .bg-\[\#f0f0f0\].lg\:py-7 {
		padding-bottom: .25rem;
	}

	.bulletproof-auto-spa section.py-24 {
		padding-bottom: 0.5rem;
		padding-top: 0.5rem;
	}

	.bulletproof-auto-spa .prose figure,
	.bulletproof-auto-spa .prose img,
	.bulletproof-auto-spa .prose :where(picture):not(:where([class~=not-prose], [class~=not-prose] *)) {
		margin-bottom: 0em;
		margin-top: 0em;
	}

	.bulletproof-auto-spa .flex-row {
		flex-direction: column;
	}

	.bulletproof-auto-spa .lg\:text-lg {
		font-size: 2rem;
		line-height: 1.75rem;
	}

	.bulletproof-auto-spa .container .pr-32 .flex.flex-wrap.-mx-2 .w-1\/2 {
		width: 50%;
	}

	.bulletproof-auto-spa section.relative.bg-hexagon .py-48 {
		padding-bottom: 3rem;
		padding-top: 2rem;
	}

	.bulletproof-auto-spa section.relative.bg-hexagon h1,
	.bulletproof-auto-spa .blogCats {
		color: #fff;
	}

	.bulletproof-auto-spa .blogCats {
		display: block;
	}

	.bulletproof-auto-spa .blogCats::before {
		font-family: Roboto, sans-serif;
		content: "Bulletproof Auto Spa is the dedicated vehicle protection and appearance division of Bulletproof Automotive, offering high-end detailing and surface protection services for performance, luxury, and exotic vehicles. Based in Los Angeles, our state-of-the-art facility operates by appointment only, allowing our team to provide focused, hands-on attention to every vehicle that enters the shop.";
		text-transform: none;
		margin-bottom: 15px;
		display: block;
		cursor: text;
		font-size: 16px;
		line-height: normal;
	}

	.bulletproof-auto-spa .blogCats::after {
		font-family: Roboto, sans-serif;
		content: "We proudly serve as an exclusive partner of XPEL, delivering their industry-leading paint protection film, ceramic coatings, nano-ceramic window tint, and windshield protection solutions. XPEL products are trusted worldwide for their durability, clarity, and long-term performance, and our experienced installers ensure each application meets the highest standards of fit, finish, and longevity.";
		text-transform: none;
		display: block;
		cursor: text;
		font-size: 16px;
		line-height: normal;
	}
}

@media screen and (max-width: 360px) {
	.bulletproof-auto-spa section.relative.bg-hexagon .py-48 {
		padding-bottom: 2rem;
		padding-top: 2rem;
	}

	.bulletproof-auto-spa section.relative.bg-hexagon h1:after {
		display: none;
	}

	.bulletproof-auto-spa section.relative.bg-hexagon h1 {
		line-height: 1.3;
	}
}

/* Bulletproof Auto Spa Style End */
/**** BRAND PAGE ****/

.container.brandHeader{
	display: flex;
	gap: 20px;
	align-items: center;
}
.brand-logo-hero {
    flex: 0 0 33.3333%;
}

.brand-title-description {
    flex: 0 0 66.6667%;
}

.bp-featured-products.brand_feature_products {
  background: #F3F3F3;
  padding: 25px 0px 10px;
  margin-bottom: 50px;
}
.brand-logo-hero:empty {
    display: none;
}
.brand-title-description + .brand-logo-hero:empty +  {
    flex: 0 0 100%;
}

.brand-logo-hero:empty ~ .brand-title-description,
.brand-title-description:has(+ .brand-logo-hero:empty) {
    flex: 0 0 100%;
}
@media screen and (max-width: 600px) {
	.container.brandHeader{
		flex-direction: column;
	}
/*
	.brand-logo-hero{
		display: none;
	}
	.brand-title-description{
		 flex: 0 0 100%;
	}
*/	
}

  .container.brand-search-results fieldset{
    border: solid 1px #e5e7eb;
    margin-bottom: 20px;
    padding: 10px;
  }
  .container.brand-search-results fieldset legend{
    font-size: 14px;
  }
  .container.brand-search-results .search-brand-card__image{
    text-align: center;
  }
  .container.brand-search-results .search-brand-card__image img{
    display: inline-block;
  }
  .container.brand-search-results h2.text-xl{
    font-size: 1.75em;
	margin-bottom: 5px;
  }
  .container.brand-search-results p.search-brand-card__cta{
      margin-top: 8px;
      
      font-size: 0.9em;
   }
   .container.brand-search-results p.search-brand-card__cta a{
    color: #df0001;
   } 
   .container.brand-search-results p.search-brand-card__cta a:hover{
    color: #a10d0e;
   }


/* Lightbox css */
.nucleus-lightbox{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s ease-in-out;backdrop-filter:blur(10px)}.nucleus-lightbox--visible{opacity:1;visibility:visible}.nucleus-lightbox__content{position:relative;z-index:9999;height:100%;width:100%;padding:25px 0;overflow:hidden}.nucleus-lightbox__close{position:absolute;top:20px;right:20px;padding:10px;cursor:pointer;color:#ffffffd9;width:50px;height:50px;font-size:20px;line-height:1;transition:color .3s ease-in-out;z-index:2}.nucleus-lightbox__close:hover,.nucleus-lightbox__content .swiper-button-next,.nucleus-lightbox__content .swiper-button-prev{color:#fff}.nucleus-lightbox__close svg{filter:drop-shadow(0 2px 2px #000)}.nucleus-lightbox__image{height:100%;position:relative;display:flex;justify-content:center;align-items:center}.nucleus-lightbox__image img{max-width:100%;max-height:100%}.nucleus-lightbox--slider{height:85%;margin-bottom:10px}.nucleus-lightbox--navigation{height:15%}.nucleus-lightbox--pagination{position:absolute;bottom:0;left:50%;transform:translateX(-50%);color:#fff;font-size:18px;width:auto;z-index:99;text-shadow:0 2px 2px #000}.nucleus-lightbox--navigation .swiper-slide .nucleus-lightbox__image img{border-bottom:4px solid transparent;transition:border-color .15s ease-in-out;height:100%;width:100%;object-fit:cover;object-position:center;opacity:.7}.nucleus-lightbox--navigation .swiper-slide-thumb-active .nucleus-lightbox__image img{opacity:1;border-bottom:4px solid #fff}.nucleus-lightbox--navigation .swiper-button-next,.nucleus-lightbox--navigation .swiper-button-prev{display:none!important}.nucleus-lightbox--navigation .swiper-slide{cursor:pointer;border-color:rgba(255,255,255,.5)}@media screen and (max-width:800px){.nucleus-lightbox--slider{height:75%}.nucleus-lightbox__content{height:60%}.nucleus-lightbox__content .swiper-button-next::after,.nucleus-lightbox__content .swiper-button-prev::after{font-size:20px}}


/* =========================================================
   BA – Order Received (Thank You) page restyle
   Scope: body.woocommerce-order-received only. Safe to paste into
   Appearance > Customize > Additional CSS, or append to the theme's
   woocommerce.css. Matches My Account styling: Oswald headings,
   Roboto body, brand red #DF0001, #f7f7f7 panels, gray-300 rules.
   ========================================================= */

body.woocommerce-order-received {
  --ba-red: #df0001;
  --ba-red-dark: #a10d0e;
  --ba-ink: #000;
  --ba-gray: #6b7280;
  --ba-rule: #d1d5db;
  --ba-panel: #f7f7f7;
}

/* ---------- Hero ---------- */
.woocommerce-order-received .woocommerce-order > .container:first-child > .py-10 {
  padding: 8px 0 40px;
  text-align: center;
}
/* red check badge */
.woocommerce-order-received .woocommerce-order > .container:first-child > .py-10::before {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 9999px;
  background: var(--ba-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 32px no-repeat;
}
/* the theme's .font-bebas points at "Bebas Neue", which isn't loaded – that's why it fell back to Arial */
.woocommerce-order-received .woocommerce-order .font-bebas {
  font-family: Oswald, sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}
.woocommerce-order-received .woocommerce-order > .container:first-child > .py-10 > .font-bebas {
  font-size: 56px;
  line-height: 1.05;
  color: var(--ba-ink);
}
.woocommerce-order-received .woocommerce-order > .container:first-child > .py-10 > .font-sans {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: #374151;
}

/* ---------- Section headings ---------- */
.woocommerce-order-received .woocommerce-order > .container:first-child > .font-bebas.mb-4,
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
  font-family: Oswald, sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ba-ink);
  line-height: 1.1;
}
.woocommerce-order-received .woocommerce-order > .container:first-child > .font-bebas.mb-4 {
  font-size: 32px;
  margin-bottom: 16px;
}
.woocommerce-order-received .woocommerce-order-details__title {
  font-size: 24px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--ba-red);
  display: inline-block;
}
.woocommerce-order-received .woocommerce-column__title {
  font-size: 20px;
  margin: 0 0 10px;
}

/* ---------- Order overview strip ---------- */
.woocommerce-order-received .woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--ba-panel);
  border-top: 4px solid var(--ba-red);
  margin: 0;
  padding: 0;
}
.woocommerce-order-received .woocommerce-order-overview > div {
  padding: 20px 24px !important;
  border-left: 1px solid #e5e7eb;
  min-width: 0;
}
.woocommerce-order-received .woocommerce-order-overview > div:first-child { border-left: 0; }
.woocommerce-order-received .woocommerce-order-overview > div > div:first-child {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ba-gray);
  margin-bottom: 4px;
}
.woocommerce-order-received .woocommerce-order-overview > div > div:last-child {
  padding: 0 !important;
  font-size: 17px;
  color: var(--ba-ink);
  overflow-wrap: anywhere;
}

/* ---------- Two-column body: details left, addresses right ---------- */
.woocommerce-order-received .woocommerce-order > .container:nth-child(2) {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details { margin: 0 !important; }

/* ---------- Order details table ---------- */
.woocommerce-order-received table.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse !important;
  border: 0 !important;
  margin: 0;
}
/* theme puts 1px black borders on thead/tbody/tfoot – remove */
.woocommerce-order-received table.woocommerce-table--order-details thead,
.woocommerce-order-received table.woocommerce-table--order-details tbody,
.woocommerce-order-received table.woocommerce-table--order-details tfoot,
.woocommerce-order-received table.woocommerce-table--order-details tr {
  border: 0 !important;
}
.woocommerce-order-received table.woocommerce-table--order-details th,
.woocommerce-order-received table.woocommerce-table--order-details td {
  border: 0 !important;
  border-bottom: 1px solid var(--ba-rule) !important;
  padding: 14px 16px !important;
  vertical-align: top;
  text-align: left;
  background: none;
}
.woocommerce-order-received table.woocommerce-table--order-details thead th {
  background: var(--ba-ink);
  color: #fff;
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 0 !important;
}
.woocommerce-order-received table.woocommerce-table--order-details .product-total { text-align: right; white-space: nowrap; }
.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name a {
  color: var(--ba-red);
  font-weight: 500;
  text-decoration: none;
}
.woocommerce-order-received table.woocommerce-table--order-details tbody td.product-name a:hover { color: var(--ba-red-dark); text-decoration: underline; }
.woocommerce-order-received table.woocommerce-table--order-details .product-quantity { font-weight: 700; color: var(--ba-ink); }
.woocommerce-order-received .wc-item-meta { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; color: var(--ba-gray); }
.woocommerce-order-received .wc-item-meta li { display: flex; gap: 4px; margin: 0; }
.woocommerce-order-received .wc-item-meta li p { margin: 0; display: inline; }
.woocommerce-order-received .wc-item-meta-label { font-weight: 500; color: #374151; }

/* totals */
.woocommerce-order-received table.woocommerce-table--order-details tfoot th {
  font-weight: 400;
  color: #374151;
}
.woocommerce-order-received table.woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:first-child th,
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:first-child td {
  border-top: 2px solid var(--ba-ink) !important;
}
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
  font-family: Oswald, sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--ba-ink);
  background: var(--ba-panel);
  border-bottom: 0 !important;
}

/* ---------- Addresses (sidebar cards) ---------- */
.woocommerce-order-received .woocommerce-customer-details .col2-set {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
.woocommerce-order-received .woocommerce-customer-details .col2-set::before,
.woocommerce-order-received .woocommerce-customer-details .col2-set::after { display: none; }
.woocommerce-order-received .woocommerce-customer-details .woocommerce-column {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--ba-panel);
  border: 0 !important;
  border-top: 4px solid var(--ba-red) !important;
  padding: 20px 24px;
  margin: 0 !important;
}
.woocommerce-order-received .woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.6;
  color: #1f2937;
  border: 0;
  padding: 0;
}
.woocommerce-order-received .woocommerce-customer-details address p { margin: 6px 0 0; }
.woocommerce-order-received .woocommerce-customer-details--phone,
.woocommerce-order-received .woocommerce-customer-details--email { color: var(--ba-gray); font-size: 15px; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .woocommerce-order-received .woocommerce-order > .container:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .woocommerce-order-received .woocommerce-customer-details .col2-set { grid-template-columns: 1fr 1fr; }
  /* 2 columns: number | date, email full width, total | payment */
  .woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-order-received .woocommerce-order-overview > div { border-left: 0; border-bottom: 1px solid #e5e7eb; }
  .woocommerce-order-received .woocommerce-order-overview > div:nth-child(3) { grid-column: 1 / -1; }
  .woocommerce-order-received .woocommerce-order-overview > div:nth-child(n+4) { border-bottom: 0; }
  .woocommerce-order-received .woocommerce-order-overview > div:nth-child(5) { border-left: 1px solid #e5e7eb; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .woocommerce-order-received .woocommerce-order > .container:first-child > .py-10 > .font-bebas { font-size: 38px; }
  .woocommerce-order-received .woocommerce-order > .container:first-child > .py-10 > .font-sans { font-size: 15px; }
  .woocommerce-order-received .woocommerce-order > .container:first-child > .font-bebas.mb-4 { font-size: 26px; }
  .woocommerce-order-received .woocommerce-order-overview > div { padding: 14px 16px !important; }
  .woocommerce-order-received .woocommerce-customer-details .col2-set { grid-template-columns: 1fr; }
  .woocommerce-order-received table.woocommerce-table--order-details th,
  .woocommerce-order-received table.woocommerce-table--order-details td { padding: 12px 10px !important; }
}
