/* Responsive Styles */

/* Extra Large Devices, Wide Screens */
@media only screen and (max-width: 1300px) {
	.product-single .container,
	.archive-page .container,
	.container.header-inner {
		padding: 0 50px;
	}

	.container.ticker-inner {
		padding: 0 0 0 50px;
		gap: var(--spacing-md);
	}

	.container.top-bar-inner {
		padding: 10px 50px;
	}

	.container.hero-inner {
		padding: 0 0 0 50px;
	}

	.search-field {
		width: 150px;
	}

	.quote-calculator .container {
		padding: 0 50px;
	}

	.container.pre-footer-inner {
		gap: 40px;
		padding: 0 50px;
	}

	.pre-footer-cta .cta-content {
		padding: var(--spacing-lg);
	}

	section.split-section.bg-light .container.split-inner {
		padding: 0 50px 0 0;
	}

	.site-footer {
		padding: var(--spacing-xxl) 50px var(--spacing-lg);
	}

	section.split-section.cbd-oil-packaging .container.split-inner,
	.product-grid.top-selling .container,
	.product-grid.cannabis-weed .container {
		padding: 0 50px;
	}

	.product-grid.top-selling .product-slider-wrapper,
	.product-grid.cannabis-weed .product-slider-wrapper {
		padding-left: max(50px, calc((100vw - 1440px) / 2 + 50px));
	}

	.btn-outline-small {
		padding: 10px 14px;
		font-size: 12px;
	}

	.header-actions {
		gap: 1rem;
	}

	.container.footer-top {
		padding: 0 0 50px;
	}

	.container.footer-bar {
		padding: 30px 0 0;
	}

	.premium-finishes-header :is(h1, h2, h3) {
		font-size: 40px;
	}

	.premium-finishes-header p {
		font-size: 16px;
	}

	.finishes-tab {
		font-size: 13px;
	}

	.finish-item h3 {
		font-size: 16px;
		line-height: 24px;
	}

	.finish-item p {
		font-size: 12px;
		line-height: 20px;
	}
}

/* Archive product grid responsive */
@media only screen and (max-width: 1024px) {
	.archive-product-grid .grid.col-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 560px) {
	.archive-title {
		font-size: 30px;
	}

	.archive-product-grid .grid.col-4 {
		grid-template-columns: 1fr;
	}
}

/* Large Devices, Desktops */
@media only screen and (max-width: 1199px) {
	.menu-toggle {
		display: block;
		background: none;
		border: none;
		cursor: pointer;
		padding: 10px;
		z-index: 1001;
	}

	.hamburger-box {
		width: 30px;
		height: 24px;
		display: inline-block;
		position: relative;
	}

	.hamburger-inner {
		display: block;
		top: 50%;
		margin-top: -2px;
	}

	.hamburger-inner,
	.hamburger-inner::before,
	.hamburger-inner::after {
		width: 30px;
		height: 3px;
		background-color: var(--color-dark);
		border-radius: 4px;
		position: absolute;
		transition: transform 0.15s ease;
	}

	.hamburger-inner::before,
	.hamburger-inner::after {
		content: "";
		display: block;
	}

	.hamburger-inner::before {
		top: -8px;
	}

	.hamburger-inner::after {
		bottom: -8px;
	}

	/* Menu State Toggled */
	.menu-toggle[aria-expanded="true"] .hamburger-inner {
		transform: rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .hamburger-inner::before {
		top: 0;
		opacity: 0;
	}

	.menu-toggle[aria-expanded="true"] .hamburger-inner::after {
		bottom: 0;
		transform: rotate(-90deg);
	}

	.main-navigation {
		display: none;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		background: var(--color-white);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		padding: 20px;
		z-index: 999;
	}

	.main-navigation.toggled {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 0;
	}

	.main-navigation li a {
		padding: 15px 0;
		border-bottom: 1px solid var(--color-border);
	}

	.main-navigation ul.sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		display: none;
		padding-left: 15px;
		margin-top: 0;
	}

	.main-navigation li.menu-item-has-mega > .cbd-mega-menu {
		display: none;
		position: static;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding: 14px 0 6px;
	}

	.main-navigation li.menu-item-has-mega.active > .cbd-mega-menu {
		display: block;
	}

	.cbd-mega-menu__inner {
		display: block;
		border: 1px solid var(--color-border);
		border-radius: 14px;
		box-shadow: none;
		overflow: hidden;
		background: #fff;
	}

	.cbd-mega-menu--moonday .cbd-mega-menu__left {
		background: var(--color-bg-gray);
	}

	.cbd-mega-menu--moonday .cbd-mega-menu__nav {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.cbd-mega-menu--moonday .cbd-mega-menu__nav-item {
		width: 100%;
		text-align: left;
		border: 1px solid var(--color-border);
		background: #fff;
		padding: 12px;
		border-radius: 14px;
		display: flex;
		gap: 12px;
		align-items: flex-start;
	}

	.cbd-mega-menu--moonday .cbd-mega-menu__solutions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.cbd-mega-menu--moonday .cbd-mega-menu__footer {
		margin-top: 14px;
		padding-top: 14px;
		border-top: 1px solid var(--color-border);
		display: grid;
		gap: 12px;
	}

	.cbd-mega-menu__left,
	.cbd-mega-menu__right {
		padding: 18px;
	}

	.cbd-mega-menu__right {
		border-left: none;
		border-top: 1px solid var(--color-border);
		background: #f7f8f9;
	}

	.cbd-mega-menu__eyebrow {
		margin: 0 0 16px;
		font-size: 11px;
		line-height: 1.2;
		letter-spacing: 0.14em;
		font-weight: 800;
		text-transform: uppercase;
		color: #121212;
	}

	.cbd-mega-menu__categories {
		display: grid;
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.cbd-mega-menu__category {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
		text-decoration: none;
	}

	.cbd-mega-menu__category-thumb {
		width: 56px;
		height: 56px;
		border-radius: 12px;
		background: linear-gradient(135deg, #ff8a39, #ff6f3d);
		overflow: hidden;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.cbd-mega-menu__category-thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.cbd-mega-menu__category-title {
		display: block;
		color: #121212;
		font-size: 14px;
		line-height: 1.25;
		font-weight: 700;
		margin-bottom: 3px;
	}

	.cbd-mega-menu__category-text {
		display: block;
		color: #70757a;
		font-size: 12px;
		line-height: 1.45;
	}

	.cbd-mega-menu__thumb-grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
		margin-bottom: 14px;
	}

	.cbd-mega-menu__promo-title {
		margin: 0 0 8px;
		font-size: 16px;
		line-height: 1.2;
		font-weight: 700;
		color: #121212;
	}

	.cbd-mega-menu__promo-text {
		margin: 0;
		font-size: 13px;
		line-height: 1.6;
		color: #70757a;
	}

	.cbd-mega-menu__promo-btn {
		margin-top: 16px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 11px 20px;
		border-radius: 999px;
		background: linear-gradient(135deg, #ff8a39, #ff6f3d);
		color: #fff;
		font-size: 13px;
		font-weight: 700;
		text-decoration: none;
	}

	.main-navigation li.menu-item-has-children.active > ul.sub-menu {
		display: block;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.site-branding {
		order: 1;
	}

	.header-actions {
		order: 2;
		gap: 1rem;
	}

	.menu-toggle {
		order: 3;
	}

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

	.container.hero-inner {
		padding: 0 0 0 40px;
	}

	.container.header-inner {
		padding: 0 40px;
	}

	.container.top-bar-inner {
		padding: 10px 40px;
	}

	.product-single .container,
	.archive-page .container,
	.quote-calculator .container,
	.container.pre-footer-inner {
		padding: 0 40px;
	}

	.container.ticker-inner {
		padding: 0 0 0 40px;
	}

	.site-footer {
		padding: var(--spacing-xxl) 40px var(--spacing-lg);
	}

	.product-grid.top-selling .container,
	.product-grid.cannabis-weed .container {
		padding: 0 40px;
	}

	.product-grid.top-selling .product-slider-wrapper,
	.product-grid.cannabis-weed .product-slider-wrapper {
		padding-left: max(40px, calc((100vw - 1440px) / 2 + 40px));
	}

	.grid.col-4 {
		gap: var(--spacing-md);
	}

	.hero-image img {
		height: auto;
		max-height: 420px;
	}

	.hero-section--acf .hero-image img {
		height: 380px;
		max-height: none;
	}

	.hero-content h1 {
		font-size: 36px;
	}

	.container.footer-top {
		gap: 30px;
	}

	/* Archive page grid adjust */
	.capabilities-faq-section .grid {
		gap: 2rem !important;
	}

	.search-field {
		width: 200px;
	}

	section.split-section.bg-light .container.split-inner {
		padding: 0 40px 0 0;
	}

	section.split-section.cbd-oil-packaging .container.split-inner,
	.product-grid.top-selling .container,
	.product-grid.cannabis-weed .container {
		padding: 0 40px;
	}

	.product-gallary-wrap {
		grid-template-columns: 45% 55%;
		gap: 24px;
	}

	.pgs-product-title {
		font-size: 40px;
	}

	.pgs-lead {
		font-size: 15px;
	}

	.pgs-help-box h3 {
		font-size: 18px;
	}

	.pgs-help-box p,
	.pgs-help-box a {
		font-size: 15px;
	}

	.quote-split-form-side h2 {
		font-size: 42px;
	}

	.quote-split-upload h4 {
		font-size: 24px;
	}
}

/* Medium Devices, Laptops and Tablets */
@media only screen and (max-width: 1024px) {
	/* Structural layout fixes for mobile/tablet */
	.hero-inner {
		padding-top: 40px;
	}

	section.split-section.cbd-oil-packaging .container.split-inner,
	.product-grid.top-selling .container,
	.product-grid.cannabis-weed .container {
		padding: 0 20px;
	}

	.product-grid.top-selling .product-slider-wrapper,
	.product-grid.cannabis-weed .product-slider-wrapper {
		padding-left: max(20px, calc((100vw - 1440px) / 2 + 20px));
	}

	.container.top-bar-inner {
		padding: 10px 20px;
		display: flex;
		flex-direction: row;
	}

	.container.header-inner {
		padding: 0 20px;
	}

	.container.hero-inner {
		padding: 0 0 0 20px;
	}

	.hero-content,
	.hero-image {
		width: 100%;
	}

	.hero-image {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		justify-content: center;
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.hero-section--acf .hero-image {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		justify-content: center;
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.container.ticker-inner {
		flex-direction: column;
		text-align: center;
	}

	.logos-slider {
		width: 100%;
		flex: none;
	}

	.hero-image img {
		height: auto;
		max-height: 400px;
		width: 100%;
		object-fit: contain;
		border-radius: 12px;
	}

	/* If only one hero image exists, let it span full width */
	.hero-image img:only-child {
		grid-column: 1 / -1;
	}

	.hero-section--acf .hero-image img {
		height: auto;
		max-height: 380px;
		width: 100%;
		object-fit: contain;
		border-radius: 12px;
	}

	section.split-section.cbd-oil-packaging {
		flex-direction: column;
		height: auto;
		padding: 40px 0;
	}

	.split-section.bg-light {
		height: auto;
		padding: 40px 0;
	}

	.form-row.col-4,
	.form-row.col-3,
	.form-row.col-5-mixed,
	.form-row.col-5-equal,
	.form-row.col-6 {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 18px;
		justify-content: space-around;
	}

	.form-row.col-4 > .form-group {
		flex: 0 0 calc(50% - 0.5rem);
		max-width: calc(50% - 0.5rem);
	}

	.form-row.col-5-mixed > .form-group:nth-child(-n + 3),
	.form-row.col-5-equal > .form-group:nth-child(-n + 3),
	.form-row.col-6 > .form-group {
		flex: 0 0 calc(33.333% - 0.666rem);
		max-width: calc(33.333% - 0.666rem);
	}

	.form-row.col-5-mixed > .form-group:nth-child(n + 4),
	.form-row.col-5-equal > .form-group:nth-child(n + 4) {
		flex: 0 0 calc(50% - 0.5rem);
		max-width: calc(50% - 0.5rem);
	}

	.container.pre-footer-inner {
		flex-direction: column;
	}

	.pre-footer-cta .cta-content,
	.faq-content {
		width: 100%;
	}

	.footer-links-row {
		flex-wrap: wrap;
		gap: 20px;
		justify-content: space-between;
	}

	.wholesale-banner .container {
		padding: 0 20px;
	}

	.footer-widget.footer-links {
		flex: 0 0 calc(24% - 15px);
	}

	.footer-bottom {
		gap: 20px;
		flex-direction: row;
		justify-content: center;
	}

	/* Single Product Page */
	.product-config-wrap .split-inner {
		flex-direction: column;
	}

	.product-gallery,
	.product-config {
		width: 100%;
	}

	/* Archive Page */
	.capabilities-faq-section .grid {
		grid-template-columns: 1fr !important;
	}

	/* Capabilities + FAQ (this component uses .capabilities-faq-grid, not .grid) */
	.capabilities-faq-section {
		padding: 50px 0;
	}

	.capabilities-faq-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.capabilities-title,
	.capabilities-faq-title {
		font-size: 28px;
	}

	.capabilities-btn {
		width: 100%;
		max-width: 320px;
		justify-content: center;
	}

	/* Samples Page */
	.samples-page .split-inner {
		flex-direction: column;
	}

	.samples-page .split-content {
		width: 100%;
		padding-right: 0 !important;
	}

	.sample-options {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.sample-option-card {
		margin-bottom: 0;
	}

	.table-responsive {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.container.split-inner {
		padding: 0 20px;
		gap: 20px;
	}

	.dielines-delivery-section {
		padding: 40px 0;
	}

	.dielines-card h3,
	.dielines-featured-content h3 {
		font-size: 30px;
		line-height: 1.2;
	}

	.dielines-card p,
	.dielines-featured-content p {
		font-size: 16px;
		line-height: 1.6;
	}

	.dielines-card {
		padding: 22px;
	}

	.dielines-card-art {
		width: 130px;
	}

	.dielines-artwork span {
		width: 130px;
		height: 69px;
		background-size: 739px 554px;
		background-position: -235px -125px;
	}

	.dielines-samples span {
		width: 49px;
		height: 33px;
		background-size: 739px 554px;
	}

	.dielines-samples span:nth-child(1) {
		background-position: -587px -127px;
	}

	.dielines-samples span:nth-child(2) {
		background-position: -642px -127px;
	}

	.dielines-samples span:nth-child(3) {
		background-position: -587px -162px;
	}

	.dielines-samples span:nth-child(4) {
		background-position: -642px -162px;
	}

	.dielines-featured-content {
		padding: 30px 24px;
	}

	.pack-shot-open {
		width: 176px;
		height: 193px;
		left: 40px;
		bottom: 36px;
		background-size: 739px 554px;
		background-position: -47px -304px;
	}

	.pack-shot-tall {
		width: 113px;
		height: 127px;
		left: 180px;
		bottom: 130px;
		background-size: 739px 554px;
		background-position: -208px -265px;
	}

	.pack-shot-small {
		width: 79px;
		height: 87px;
		left: 230px;
		bottom: 48px;
		background-size: 739px 554px;
		background-position: -219px -411px;
	}

	.split-content {
		padding: unset;
	}

	.container.ticker-inner,
	.product-single .container,
	.archive-page .container,
	.quote-calculator .container,
	.container.pre-footer-inner {
		padding: 0 20px;
	}

	.site-footer {
		padding: 50px 20px;
	}

	.pre-footer-cta h2,
	.split-content h2,
	.wholesale-banner :is(h1, h2, h3, h4, h5, h6),
	.section-header :is(h1, h2, h3, h4, h5, h6) {
		font-size: 28px;
		line-height: 1.2;
	}

	.product-grid {
		padding: 40px 0;
	}

	.section-header {
		margin-bottom: var(--spacing-md);
	}

	section.split-section.bg-light .container.split-inner {
		padding: 0 20px;
	}

	.pgs-gallery {
		grid-template-columns: 72px 1fr;
	}

	.pgs-thumb-img {
		width: 68px;
		height: 52px;
	}

	.pgs-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.quote-split-wrap {
		grid-template-columns: 1fr;
	}

	.quote-split-media {
		min-height: 420px;
		background-position: center;
		background-size: cover;
	}

	.compare-head :is(h1, h2, h3) {
		font-size: 40px;
	}

	.compare-table thead th h3 {
		font-size: 15px;
	}

	.ps-header :is(h1, h2, h3) {
		font-size: 42px;
	}

	.about-cbd-header :is(h1, h2, h3) {
		font-size: 42px;
	}

	.process-steps-section h2 {
		font-size: 44px;
	}

	.process-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}

	.cbd-section--process-timeline .process-steps-grid {
		gap: 40px;
	}

	.sample-recommendations-section :is(h1, h2, h3) {
		font-size: 42px;
	}

	.sample-kit-left :is(h1, h2, h3) {
		font-size: 42px;
	}

	.sample-kit-wrap {
		grid-template-columns: 1fr;
	}

	.sample-kit-right {
		min-height: 360px;
		background-position: center;
		background-size: cover;
	}

	.get-a-quote-wrap {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.get-a-quote-media img,
	.get-a-quote-media-placeholder {
		min-height: 280px;
	}

	.get-a-quote-title {
		font-size: 28px;
	}

	.contact-connect-top {
		grid-template-columns: 1fr;
	}

	.contact-card-info h2,
	.contact-card-form h2 {
		font-size: 42px;
	}

	.facilitate-header h2 {
		font-size: 42px;
	}

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

	.launch-cta-card :is(h1, h2, h3) {
		font-size: 32px;
	}
}

/* Small Phones */
@media only screen and (max-width: 420px) {
	.cbd-section--process-timeline .process-steps-grid {
		grid-template-columns: 1fr;
	}
}

/* Hero (mobile) — match design screenshot exactly */
@media only screen and (max-width: 480px) {
	.container.hero-inner {
		padding: 40px 0 !important;
		align-items: flex-start;
	}

	.hero-content h1 {
		font-size: 32px;
		line-height: 1.15;
		margin-bottom: 12px;
	}

	.hero-content p {
		font-size: 14px;
		line-height: 22px;
		margin-bottom: 18px;
	}

	.hero-actions {
		flex-direction: column;
		gap: 12px;
		width: 100%;
	}

	.hero-actions .btn-primary,
	.hero-actions .btn-white {
		width: 100%;
		justify-content: center;
	}

	.hero-image,
	.hero-section--acf .hero-image {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		padding: 18px 0 24px;
		max-width: 100%;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}

	.hero-image img,
	.hero-section--acf .hero-image img {
		width: 100%;
		height: auto;
		max-height: none;
		object-fit: cover;
		border-radius: 12px;
		aspect-ratio: 4 / 3;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width: 991px) {
	.hero-no-btn-section {
		padding: 40px 0;
	}

	.hero-no-btn-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
	}

	.hero-no-btn-content {
		max-width: 100%;
		padding: 0 4px;
	}

	.hero-no-btn-title {
		font-size: 26px;
	}

	.hero-no-btn-figure {
		justify-content: center;
	}

	.hero-no-btn-figure img {
		max-width: 100%;
	}

	.container.hero-inner {
		padding: 40px 0;
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		align-items: flex-start;
	}

	.container.footer-top {
		flex-direction: column;
	}

	.container.footer-top .footer-brand,
	.container.footer-top .footer-links-area {
		max-width: 100%;
		flex: 100%;
	}

	.hero-image img {
		height: auto;
	}

	.hero-content {
		padding: 20px;
		max-width: 75%;
	}

	.wholesale-features {
		gap: 10px;
	}

	.card-meta h3 {
		font-size: 16px;
		line-height: 1.3;
	}

	.finishes-tabs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

	.ps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 22px;
	}

	.ps-header :is(h1, h2, h3) {
		font-size: 34px;
	}

	.about-cbd-grid {
		grid-template-columns: 1fr;
	}

	.about-cbd-header :is(h1, h2, h3) {
		font-size: 34px;
	}

	.process-steps-section h2 {
		font-size: 36px;
	}

	.sample-kit-cards {
		grid-template-columns: 1fr;
	}

	.sample-kit-left :is(h1, h2, h3) {
		font-size: 34px;
	}

	.sample-recommendations-section :is(h1, h2, h3) {
		font-size: 34px;
	}

	.contact-map-overlay h3 {
		font-size: 28px;
	}

	.facilitate-header h2 {
		font-size: 34px;
	}

	.launch-cta-card :is(h1, h2, h3) {
		font-size: 30px;
	}

	.latest-insights-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 767px) {
	.dielines-delivery-section .dielines-featured-media {
		width: 100%;
	}
	.dielines-delivery-section .dielines-featured-content {
		width: 100%;
		padding: 36px 34px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		text-align: left;
		gap: 10px;
	}
	
	/* Product sliders: avoid 100vw overflow on small screens */
	.product-grid.top-selling .product-slider-wrapper,
	.product-grid.cannabis-weed .product-slider-wrapper {
		width: 100%;
		left: auto;
		right: auto;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.product-swiper,
	.cannabis-swiper {
		overflow: hidden;
	}

	/* Slide widths from Swiper (slidesPerView 1.25: first card full in row + ~20% peek of next); do not set width:100% on slides */

	/* Mobile slider arrows (smaller, centered vertically on cards) */
	.product-slider-wrapper .swiper-nav {
		display: inline-flex;
		top: 50%;
		font-size: 11px !important;
		transform: translateY(-50%);
		box-shadow: 0 8px 18px rgba(18, 18, 18, 0.12);
	}

	.product-slider-wrapper .swiper-nav svg {
		width: 18px;
		height: 18px;
	}

	.product-slider-wrapper .swiper-nav--prev {
		left: 8px;
	}

	.product-slider-wrapper .swiper-nav--next {
		right: 8px;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	section.split-section.vape-packaging.bg-light .container.split-inner {
		flex-direction: column-reverse;
	}

	.hero-content {
		max-width: 100%;
	}

	.site-branding {
		order: 1;
		margin-right: auto;
	}

	.premium-finishes-section {
		padding: 44px 0;
	}

	.how-it-works-section {
		padding: 48px 0 52px;
	}

	.how-it-works-headline {
		margin-bottom: 36px;
		font-size: 26px;
	}

	.how-it-works-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.how-it-works-step p {
		max-width: 400px;
	}

	.premium-finishes-header :is(h1, h2, h3) {
		font-size: 26px;
	}

	.branding-slider-section {
		padding: 28px 0 22px;
	}

	.branding-slider-title {
		font-size: 28px;
	}

	.branding-split-slider {
		height: 240px;
		--branding-bg-y: -118px;
	}

	.structures-grid-section {
		padding: 36px 0 22px;
	}

	.structures-expertise__inner {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.structures-expertise__side {
		gap: 24px;
		align-items: center;
		text-align: center;
	}

	.structures-expertise__item,
	.structures-expertise__text {
		max-width: 520px;
        display: flex;
        flex-direction: column;
        align-items: center;
	}

	.structures-expertise__item--right {
		margin-left: 0;
		text-align: center;
	}

	.structures-expertise__item--right .structures-expertise__icon {
		margin-left: 0;
	}

	.structures-expertise__tiles {
		max-width: 520px;
	}

	.structures-expertise__tile--short {
		height: 160px;
	}

	.structures-expertise__tile--tall {
		height: 240px;
	}

	.finishes-grid {
		grid-template-columns: 1fr;
	}

	.pgs-gallery {
		grid-template-columns: 1fr;
	}

	.pgs-thumbs {
		flex-direction: row;
	}

	.pgs-main {
		min-height: 240px;
	}

	.pgs-main-img {
		height: 100%;
		max-height: 240px;
	}

	.pgs-delivery-strip {
		flex-wrap: wrap;
	}

	.pgs-delivery-strip .btn-primary {
		margin-left: 0;
		width: 100%;
		font-size: 14px;
	}

	.pgs-product-title {
		font-size: 34px;
	}

	.pgs-lead,
	.pgs-help-box p,
	.pgs-help-box a {
		font-size: 16px;
	}

	.pgs-help-box h3 {
		font-size: 24px;
	}

	.pgs-cols-2 {
		grid-template-columns: 1fr;
	}

	.quote-split-section {
		padding: 40px 0;
	}

	.quote-split-form-side h2 {
		font-size: 34px;
	}

	.quote-split-form {
		grid-template-columns: 1fr;
	}

	.quote-split-upload h4 {
		font-size: 20px;
	}

	.latest-insights-title {
		font-size: 22px;
	}

	.latest-insights-grid {
		grid-template-columns: 1fr;
	}

	.before-ask-section {
		padding: 44px 0 48px;
	}

	.before-ask-title {
		font-size: 28px;
	}

	.before-ask-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.before-ask-card {
		padding: 22px 20px 20px;
	}

	.included-title {
		font-size: 26px;
		margin-bottom: 26px;
	}

	.included-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.included-card {
		padding: 22px 20px 20px;
	}

	.included-item {
		font-size: 14px;
	}

	.included-note {
		font-size: 12px;
		margin-top: 22px;
	}

	.deliverables-title {
		font-size: 24px;
		margin-bottom: 18px;
	}

	.deliverables-box {
		padding: 14px 18px 14px;
	}

	.deliverables-text {
		font-size: 14px;
	}

	.cost-title {
		font-size: 22px;
		margin-bottom: 14px;
	}

	.cost-table-wrap {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.cost-table {
		min-width: 560px;
	}

	.cost-table th,
	.cost-table td {
		padding: 10px 12px;
	}
	.pgs-field p {
		margin: 0;
	}

	.pgs-field br {
		display: none;
	}
	.reimbursement-box {
		padding: 18px 16px;
	}

	.reimbursement-box h3 {
		font-size: 16px;
	}

	.revisions-title {
		font-size: 26px;
		margin-bottom: 22px;
	}

	.revisions-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.revision-card {
		padding: 20px 18px 18px;
	}

	.revision-card p {
		font-size: 16px;
		line-height: 24px;
	}

	.about-cbd-section {
		padding: 44px 0 38px;
	}

	.about-cbd-header :is(h1, h2, h3) {
		font-size: 30px;
	}

	.about-cbd-card {
		padding: 18px;
		border-radius: 16px;
	}

	.process-steps-section {
		padding: 40px 0;
	}

	.process-steps-section--smooth {
		padding: 44px 0;
	}

	.process-steps-section h2 {
		font-size: 30px;
	}

	.process-steps-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.process-steps-section--smooth .process-steps-grid--smooth {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.process-steps-section--smooth .process-step {
		padding: 16px 16px 14px;
		border-radius: 16px;
		background: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(255, 255, 255, 0.12);
	}

	.process-steps-section--smooth .process-step-tag {
		margin-bottom: 12px;
	}

	.process-steps-section--smooth .process-step h3 {
		font-size: 1.05rem;
	}

	.process-steps-section--smooth .process-step p {
		font-size: 0.95rem;
	}

	.cbd-section--process-timeline .process-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}

	.cbd-section--process-timeline .process-steps-heading,
	.cbd-section--process-timeline
	:is(h1, h2, h3, h4, h5, h6).process-steps-heading {
		font-size: 28px;
		margin-bottom: 32px;
	}

	/* Process & Timeline: keep icons readable on mobile */
	.cbd-section--process-timeline .process-timeline-icon {
		width: 56px;
		height: 56px;
	}

	.cbd-section--process-timeline .process-timeline-icon img,
	.cbd-section--process-timeline .process-timeline-icon svg {
		width: 26px;
		height: 26px;
	}

	.sample-kit-section {
		padding: 40px 0;
	}

	.sample-kit-left :is(h1, h2, h3) {
		font-size: 26px;
	}

	.sample-kit-left > p {
		font-size: 14px;
		line-height: 22px;
	}

	.sample-kit-card h3 {
		font-size: 18px;
	}

	.sample-kit-card h4 {
		font-size: 15px;
		line-height: 22px;
	}

	.sample-kit-card p {
		font-size: 13px;
		line-height: 20px;
	}

	.sample-recommendations-section {
		padding: 40px 0;
	}

	.sample-recommendations-heading,
	.sample-recommendations-section
	:is(h1, h2, h3).sample-recommendations-heading {
		font-size: 26px;
        line-height: 1.3;
	}

	.sample-rec-item summary {
		font-size: 14px;
		padding: 12px 16px;
		padding-right: 40px;
	}

	.contact-connect-section {
		padding: 40px 0;
	}

	.contact-card-info,
	.contact-card-form {
		padding: 20px 18px;
	}

	.contact-card-info h2,
	.contact-card-form h2 {
		font-size: 26px;
	}

	.get-in-touch-section .contact-card-form h2.get-in-touch-form-title {
		font-size: 26px;
		line-height: 36px;
	}

	.get-in-touch-section .contact-card-form.get-in-touch-form-card {
		padding: 24px 20px;
		border-radius: 20px;
	}

	.get-in-touch-section .contact-map-wrap.get-in-touch-map {
		border-radius: 20px;
		min-height: 260px;
	}

	.get-in-touch-section .contact-map-overlay.get-in-touch-map-overlay {
		width: 320px;
		max-width: calc(100% - 32px);
		padding: 22px 16px 18px;
	}

	.get-in-touch-section .ccf-field label {
		font-size: 14px;
		line-height: 20px;
		margin-bottom: 6px;
	}

	.get-in-touch-section .ccf-field input,
	.get-in-touch-section .ccf-field textarea {
		font-size: 14px;
		padding: 12px 12px;
	}

	.ccf-grid {
		grid-template-columns: 1fr;
	}

	.facilitate-section {
		padding: 40px 0;
	}

	.facilitate-header h2 {
		font-size: 32px;
	}

	.facilitate-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.compare-head {
		padding: 24px 0 56px;
	}

	.compare-title,
	.compare-head :is(h1, h2, h3).compare-title {
		font-size: 32px;
	}

	.compare-table-wrap {
		overflow-x: auto;
	}

	.compare-table {
		min-width: 920px;
	}

	.makers-wrap {
		grid-template-columns: 1fr;
	}

	.makers-sidebar {
		margin-bottom: 18px;
	}

	.makers-grid {
		grid-template-columns: 1fr;
	}

	.makers-sidebar {
		padding-right: 0;
	}

	.packaging-solutions-section {
		padding: 46px 0 40px;
	}

	.ps-header :is(h1, h2, h3) {
		font-size: 30px;
	}

	.ps-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.launch-cta-section {
		padding: 40px 0;
	}

	.launch-cta-card {
		border-radius: 20px;
		padding: 34px 18px;
	}

	.launch-cta-card :is(h1, h2, h3) {
		font-size: 26px;
	}

	.launch-cta-card p {
		font-size: 16px;
		line-height: 26px;
	}

	.launch-cta-card p br,
	.launch-cta-card :is(h1, h2, h3) br {
		display: none;
	}

	.launch-cta-actions {
		flex-direction: column;
		align-items: center;
	}

	.launch-btn-primary,
	.launch-btn-white {
		width: 100%;
		max-width: 260px;
	}

	.header-actions {
		width: auto;
		justify-content: flex-end;
		margin-top: 0;
		order: 2;
		gap: 15px;
	}

	.menu-toggle {
		order: 3;
		margin-left: 5px;
		padding: 5px;
	}

	.header-account,
	.header-country {
		display: none;
	}

	.btn-outline-primary {
		padding: 10px 12px;
		font-size: 14px;
	}

	.top-bar-inner {
		flex-direction: column;
		gap: 10px;
		text-align: left;
		align-items: flex-start;
	}

	.top-bar-left {
		width: 100%;
		overflow: hidden;
	}
	
	.form-action.text-center.mt-4.pt-4 {
		margin-top: 30px;
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}
	.top-bar-left span {
		display: inline-block;
		white-space: nowrap;
		padding-left: 100%;
		will-change: transform;
		animation: cbd-topbar-marquee 14s linear infinite;
	}

	.container.header-inner {
		padding: 0 20px;
	}

	.grid.col-4 {
		grid-template-columns: 1fr;
	}

	.form-row.col-4,
	.form-row.col-3,
	.form-row.col-5-mixed,
	.form-row.col-5-equal,
	.form-row.col-6 {
		flex-direction: row;
	}

	.form-row > .form-group {
		flex: 1 1 47% !important;
		max-width: 100% !important;
	}
	.form-group input, .form-group select, .form-group textarea {
		padding: 14px 10px !important;
	}

	.calculator-footer-new {
		flex-direction: column;
	}

	.pre-footer-cta {
		padding: 40px 0;
	}

	.cta-actions {
		flex-direction: column;
		width: 100%;
	}

	.cta-actions a {
		width: 100%;
	}

	.container.footer-bar {
		flex-direction: column-reverse;
		gap: 20px;
		text-align: center;
		margin-top: 40px;
	}

	.compliance-list {
		justify-content: center;
		flex-wrap: wrap;
	}

	/* Single Product Page */
	.product-gallery {
		flex-direction: column-reverse;
	}

	.gallery-thumbs {
		flex-direction: row !important;
		width: 100% !important;
		justify-content: center;
	}

	.gallery-thumbs img {
		width: 60px;
		height: 60px;
	}

	.form-row.col-2 {
		grid-template-columns: 1fr !important;
	}

	.config-summary {
		flex-direction: column;
		text-align: left;
		gap: 15px;
	}

	.price-action {
		text-align: left !important;
	}

	/* Archive Page */
	.archive-header h1 {
		font-size: 2rem !important;
	}

	/* Capabilities + FAQ */
	.capabilities-faq-title {
		margin-bottom: 14px;
	}

	.capabilities-faq-section .faq-question {
		font-size: 14px;
		line-height: 1.4;
	}

	.capabilities-faq-section .faq-answer-inner {
		font-size: 14px;
		line-height: 1.6;
	}

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

	.quote-calculator {
		padding: unset;
	}

	.quote-calculator .container {
		padding: 40px 20px;
	}

	.container {
		padding: 0 20px;
	}

	.footer-links li {
		margin-bottom: 10px;
	}

	.copyright {
		font-size: 12px;
	}

	.footer-widget.footer-links {
		flex: 0 0 calc(50% - 15px);
	}

	.container.split-inner {
		flex-direction: column;
	}

	.container.footer-top {
		padding: unset;
	}

	.dielines-grid {
		grid-template-columns: 1fr;
	}

	.dielines-delivery-section .section-header {
		text-align: center;
		margin-bottom: 22px;
	}

	.dielines-delivery-section .section-header .dielines-main-heading {
		font-size: 26px;
		line-height: 1.2;
	}

	.dielines-delivery-section .section-header p {
		font-size: 14px;
		line-height: 1.6;
		margin-left: auto;
		margin-right: auto;
	}

	.dielines-card {
		flex-direction: column;
		align-items: flex-start;
		min-height: unset;
	}

	.dielines-card-art {
		width: 100%;
		max-width: 240px;
		align-self: flex-end;
	}

	.dielines-card-art--image img {
		max-width: 100%;
		width: 100%;
		height: auto;
	}

	.dielines-artwork span {
		width: 150px;
		height: 79px;
		background-size: 853px 640px;
		background-position: -271px -146px;
	}

	.dielines-samples span {
		width: 56px;
		height: 38px;
		background-size: 853px 640px;
	}

	.dielines-samples span:nth-child(1) {
		background-position: -676px -147px;
	}

	.dielines-samples span:nth-child(2) {
		background-position: -738px -147px;
	}

	.dielines-samples span:nth-child(3) {
		background-position: -676px -189px;
	}

	.dielines-samples span:nth-child(4) {
		background-position: -738px -189px;
	}

	.dielines-featured-card {
		flex-direction: column;
	}

	.dielines-featured-media,
	.dielines-featured-content {
		width: 100%;
	}

	.dielines-featured-media {
		height: auto;
		padding: 18px 18px 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.dielines-featured-media--image img {
		width: 100%;
		max-width: 280px;
		height: auto;
		max-height: 240px;
		min-height: 0;
		padding: 0;
		margin: 0 auto;
	}

	.dielines-featured-content {
		padding: 22px 20px;
	}

	.dielines-featured-cta {
		width: 100%;
		justify-content: center;
	}

	.pack-shot-open {
		width: 137px;
		height: 150px;
		left: 30px;
		bottom: 28px;
		background-size: 576px 432px;
		background-position: -38px -237px;
	}

	.pack-shot-tall {
		width: 88px;
		height: 97px;
		left: 152px;
		bottom: 108px;
		background-size: 576px 432px;
		background-position: -162px -207px;
	}

	.pack-shot-small {
		width: 61px;
		height: 67px;
		left: 220px;
		bottom: 30px;
		background-size: 576px 432px;
		background-position: -171px -321px;
	}

	.wholesale-features {
		gap: 1rem;
	}

	.footer-bottom {
		align-items: end;
	}

	.methods-icons img,
	.partners-icons img {
		width: 34px;
		height: 28px;
	}

	.pre-footer-cta h2,
	.split-content h2,
	.wholesale-banner :is(h1, h2, h3, h4, h5, h6),
	.section-header :is(h1, h2, h3, h4, h5, h6) {
		font-size: 26px !important;
		line-height: 1.2;
	}

	.file-upload-box {
		padding: 20px 24px;
	}
}

@keyframes cbd-topbar-marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.top-bar-left span {
		animation: none !important;
		padding-left: 0 !important;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 575px) {
	.header-country {
		display: none;
	}
	.header-inner .header-search {
		display: none;
	}
	.top-bar-right {
		display: none;
	}

	.hero-content h1 {
		font-size: 30px;
	}

	.wholesale-features {
		flex-direction: column;
		align-items: center;
	}

	/* Single Product */
	.gallery-main {
		min-height: 300px !important;
	}

	.finish-filters button {
		padding: 0.4rem 0.8rem !important;
		font-size: 0.75rem !important;
	}

	/* Archive Page */
	.capabilities-grid {
		grid-template-columns: 1fr !important;
	}

	/* Capabilities + FAQ */
	.capabilities-faq-section .capabilities-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.capabilities-faq-section {
		padding: 40px 0;
	}

	.capabilities-title,
	.capabilities-faq-title {
		font-size: 24px;
		line-height: 1.2;
	}

	.capabilities-grid {
		gap: 12px;
		margin-top: 18px;
	}

	.capability-item {
		padding: 14px 10px;
	}

	.capability-text {
		font-size: 12px;
	}

	.capabilities-faq-section .faq-question {
		padding: 14px 14px;
		align-items: flex-start;
		gap: 12px;
	}

	.capabilities-faq-section .faq-icon {
		flex: 0 0 24px;
		margin-top: 2px;
	}

	.capabilities-faq-section .faq-answer-inner,
	.faq-item.active .faq-answer-inner {
		padding-left: 14px;
		padding-right: 14px;
	}

	.social-links {
		display: flex;
		gap: 15px;
		margin-top: 1.3rem;
	}

	.btn-white {
		padding: 12px 18px;
		font-size: 13px;
	}

	.btn-primary {
		padding: 12px 18px;
		font-size: 13px;
		width: fit-content !important;
	}

	.footer-bottom {
		flex-wrap: wrap;
	}

	.compliance-list li a {
		font-size: 13px;
	}

	.cert-icons img {
		height: 50px;
	}

	.content-box-section {
		padding: 32px 0 40px;
	}

	.content-box-panel {
		padding: 24px 18px 22px;
	}

	.content-box-list {
		gap: 28px;
	}

	.content-box-item {
		gap: 14px;
	}

	.content-box-icon {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}

	.content-box-icon img {
		width: 44px;
		height: 44px;
	}

	.content-box-icon-placeholder {
		width: 40px;
		height: 40px;
	}

	.content-box-title {
		font-size: 22px;
		line-height: 28px;
	}

	.content-box-text {
		font-size: 16px;
		line-height: 26px;
	}

	.content-box-footer {
		margin-top: 32px;
		padding-top: 20px;
		font-size: 13px;
	}
}

/* Right Image Box */
@media only screen and (max-width: 1024px) {
	.right-image-box__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.right-image-box__media {
		border-radius: 28px;
	}

	.right-image-box__media img {
		min-height: 360px;
	}
}
