/* =================================================================
ShipDeez — global styles
================================================================= */
/* Design tokens */
:root {
	--orange: #F26B1F;
	--orange-dark: #D9591A;
	--orange-soft: #FFF2E8;
	--ink: #1B2333;
	--muted: #6B7280;
	--line: #E6E8EC;
}

/* Page-level */
html {
	scroll-behavior: smooth;
}

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =================================================================
   Hero
   ================================================================= */
.hero-bg {

	background-image:
		linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
		url('../hero_portrait.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

}

@media (min-width: 768px) {

	.hero-bg {
		background-image:
			linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
			url('../Hero.svg');
	}

}

/* =================================================================
   Buttons
   ================================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	font-family: inherit;
	border-radius: 0.5rem;
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn:focus-visible {
	outline: 2px solid var(--orange);
	outline-offset: 2px;
}

/* Sizes */
.btn-sm {
	padding: 8px 16px;
	font-size: 13px;
}

.btn-md {
	padding: 10px 24px;
	font-size: 14px;
}

.btn-lg {
	padding: 14px 28px;
	font-size: 15px;
}

/* Variants */
.btn-primary {
	background: var(--orange);
	color: #fff;
	box-shadow: 0 6px 14px -6px rgba(242, 107, 31, 0.6);
}

.btn-primary:hover {
	background: var(--orange-dark);
	transform: translateY(-1px);
	box-shadow: 0 10px 20px -8px rgba(242, 107, 31, 0.7);
}

.btn-outline {
	background: transparent;
	color: var(--orange);
	border-color: var(--orange);
}

.btn-outline:hover {
	background: var(--orange);
	color: #fff;
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}

.btn-ghost:hover {
	background: #f5f6f8;
}

/* Bag selector buttons in the quote form */
.bag-selector-btn {
	background: transparent;
	transition: all .15s ease;
}

.bag-selector-btn.active {
	background-color: var(--orange);
	color: #fff;
	border-color: var(--orange);
}

/* Floating CTA */
.floating-cta {
	transform: translateY(100px);
	transition: transform 0.3s ease-in-out;
}

.floating-cta.visible {
	transform: translateY(0);
}

/* =================================================================
   Marquee
   ================================================================= */
@keyframes marquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.animate-marquee {
	display: flex;
	width: max-content;
	animation: marquee 40s linear infinite;
	will-change: transform;
}

.animate-marquee:hover {
	animation-play-state: paused;
}

.marquee-track {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 64px;
	padding: 0 32px;
}

.logo-slot {
	flex: 0 0 auto;
	width: 200px;
	height: 110px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	filter: grayscale(100%);
	opacity: 0.65;
	transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.logo-slot:hover {
	filter: grayscale(0%);
	opacity: 1;
	transform: translateY(-1px);
}

.logo-slot img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

/* =================================================================
   Details (FAQ accordion fallback if used elsewhere)
   ================================================================= */
details>summary {
	list-style: none;
}

details>summary::-webkit-details-marker {
	display: none;
}

details[open] summary .expand-icon {
	transform: rotate(180deg);
}

/* =================================================================
   FAQ section
   ================================================================= */
.faq {
	background: #FFFFFF;
	padding: 96px 0;
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--ink);
}

.faq .container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

.faq .mono {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--orange);
}

.faq .section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 56px;
}

.faq .section-head h2 {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	font-size: clamp(38px, 4vw, 56px);
	letter-spacing: -0.02em;
	max-width: 760px;
	margin: 14px 0 0;
	line-height: 1.05;
}

.faq-tabs {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.faq-tab {
	padding: 10px 18px;
	border-radius: 999px;
	background: white;
	border: 1px solid var(--line);
	font-family: inherit;
	font-weight: 600;
	font-size: 14px;
	color: #3a4356;
	cursor: pointer;
	transition: all .15s;
}

.faq-tab:hover {
	border-color: #cfd4dc;
}

.faq-tab.active {
	background: var(--ink);
	color: white;
	border-color: var(--ink);
}

.faq-tab small {
	display: inline-block;
	margin-left: 6px;
	background: rgba(0, 0, 0, 0.06);
	padding: 1px 7px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
}

.faq-tab.active small {
	background: rgba(255, 255, 255, 0.18);
}

.faq-list {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq-item {
	background: white;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}

.faq-item:hover {
	transform: translateY(-2px);
	border-color: rgba(242, 107, 31, 0.35);
	box-shadow: 0 12px 28px -14px rgba(242, 107, 31, 0.25), 0 4px 10px -6px rgba(14, 26, 43, 0.08);
}

.faq-item:hover .chev {
	background: var(--orange-soft);
	color: var(--orange);
}

.faq-item[data-open="true"] {
	border-color: rgba(242, 107, 31, 0.5);
	box-shadow: 0 14px 32px -16px rgba(242, 107, 31, 0.3);
}

.faq-q {
	width: 100%;
	text-align: left;
	padding: 20px 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	font-family: inherit;
	font-weight: 600;
	font-size: 16px;
	color: var(--ink);
	transition: color .15s ease;
}

.faq-q:hover {
	color: var(--orange-dark);
}

.faq-q .chev {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #F3F4F6;
	color: var(--ink);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	transition: transform .25s ease, background .2s ease, color .2s ease;
}

.faq-item[data-open="true"] .chev {
	transform: rotate(180deg);
	background: var(--orange);
	color: white;
}

.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

.faq-a-inner {
	padding: 0 24px 22px;
}

.faq-item[data-open="true"] .faq-a {
	max-height: 300px;
}

.faq-link {
	text-align: center;
	margin-top: 32px;
}

.faq-link a {
	color: var(--orange);
	font-weight: 600;
	font-size: 15px;
	border-bottom: 1px solid var(--orange);
	padding-bottom: 2px;
	text-decoration: none;
}

/* =================================================================
   Mobile Sidebar Overlay (Rate Drawer) & Navigation
   ================================================================= */
@media (max-width: 1023px) {
	#rate-drawer-sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		width: 320px;
		max-width: calc(100% - 60px);
		z-index: 100;
		transform: translateX(-100%);
		transition: transform 0.3s ease-in-out;
		background: #fff;
		box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
		display: none;
	}

	#rate-drawer-sidebar.open {
		display: block;
		transform: translateX(0);
	}

	#rate-drawer-sidebar-overlay {
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.4);
		backdrop-filter: blur(4px);
		z-index: 90;
		opacity: 0;
		transition: opacity 0.3s ease-in-out;
		pointer-events: none;
	}

	#rate-drawer-sidebar-overlay.open {
		opacity: 1;
		pointer-events: auto;
	}
}