/**
 * Native theme layout — no Enfold merged CSS required.
 */

body.starbox-native-theme {
	margin: 0;
	color: #1a2b4a;
	font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	background: #fff;
}

#wrap_all {
	overflow-x: hidden;
}

.starbox-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 50px;
	box-sizing: border-box;
}

.starbox-main {
	padding-top: 0;
}

.starbox-section {
	padding: 3.5rem 0;
}

.starbox-section--alt {
	background: #f5f7fa;
}

.starbox-section--page {
	padding: 2.5rem 0 4rem;
}

.starbox-page-header {
	margin-bottom: 2rem;
}

.starbox-page-title {
	margin: 0;
	font-size: clamp(1.95rem, 3vw, 2.5rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #1a2b4a;
}

.starbox-h3 {
	margin: 0 0 1rem;
	font-size: 1.125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.starbox-prose p {
	margin: 0 0 1rem;
}

.starbox-prose a {
	color: #c9a227;
}

.starbox-button,
.starbox-prose .starbox-button {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.45rem 0.45rem;
	font-size: 0.675rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: #1a2b4a;
	border-radius: 2px;
	transition: background 0.2s ease, color 0.2s ease;
}

.starbox-button:hover {
	background: #c9a227;
	color: #1a2b4a;
}

.starbox-button--outline {
	background: #fff;
	color: #c9a227;
	box-shadow: inset 0 0 0 2px #c9a227;
}

.starbox-button--outline:hover {
	background: #c9a227;
	color: #1a2b4a;
	box-shadow: inset 0 0 0 2px #c9a227;
}

/* Hero — responsive banner image + HTML CTAs */
.starbox-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #f0f2f5;
}

.starbox-hero:not(.starbox-hero--has-image) {
	min-height: clamp(320px, 38vw, 520px);
}

.starbox-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.starbox-hero--has-image .starbox-hero__overlay {
	position: absolute;
	inset: 0;
}

.starbox-hero__overlay {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 0;
}

.starbox-hero__inner {
	max-width: 460px;
	margin: 0 auto;
	text-align: center;
}

.starbox-hero__title {
	margin: 0;
	font-size: clamp(1.375rem, 2.35vw, 1.5rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #1a2b4a;
}

.starbox-hero__rule {
	display: block;
	width: 2.5rem;
	height: 3px;
	margin: 1rem auto;
	background: #c9a227;
}

.starbox-hero__tagline {
	margin: 0 0 1.75rem;
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 400;
	line-height: 1.4;
	color: #4a5568;
}

.starbox-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem .5rem;
}

.starbox-hero__btn {
	min-width: 0;
	max-width: 100%;
	text-align: center;
}

/* Homepage category grid — 2 cards per row */
.starbox-category-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	padding: 2.5rem 0 3rem;
}

.starbox-category-card--feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 220px;
	padding: 0;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.starbox-category-card--feature:hover {
	border-color: #c9a227;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.starbox-category-card__media {
	display: block;
	background: #e8ecf1;
	min-height: 100%;
}

.starbox-category-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
}

.starbox-category-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.65rem;
	padding: 1.5rem 1.75rem;
}

.starbox-category-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.starbox-category-card--navy .starbox-category-card__badge {
	background: #1a2b4a;
	color: #fff;
}

.starbox-category-card--gold .starbox-category-card__badge {
	background: #c9a227;
	color: #1a2b4a;
}

.starbox-category-card__glyph {
	font-size: 1.125rem;
	line-height: 1;
}

.starbox-category-card__title {
	margin: 0;
	font-size: clamp(0.8125rem, 1.5vw, 1rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #1a2b4a;
	line-height: 1.3;
}

.starbox-category-card__rule {
	display: block;
	width: 2.5rem;
	height: 3px;
	background: #c9a227;
}

.starbox-category-card__excerpt {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #4a5568;
}

.starbox-category-card__cta {
	margin-top: 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1a2b4a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Categories page — four compact cards */
.starbox-category-grid--all {
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.starbox-category-card--compact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.25rem;
	min-height: 0;
	border-radius: 2px;
}

.starbox-category-card--compact .starbox-category-card__icon {
	font-size: 1.5rem;
	color: #c9a227;
	line-height: 1;
}

.starbox-category-card--compact .starbox-category-card__title {
	font-size: 0.875rem;
}

.starbox-category-card--compact .starbox-category-card__excerpt {
	font-size: 0.875rem;
}

/* Home CTA sections */
.starbox-home-block {
	text-align: center;
	padding: 3.5rem 0;
	background-repeat: no-repeat;   
    background-position: 50% 50%;
    background-attachment: fixed;

}

.starbox-home-block--dark {
	background: #1a2b4a;
	color: #fff;
}

.starbox-home-block--dark .starbox-home-block__title,
.starbox-home-block--dark p {
	color: #fff;
}

.starbox-home-block__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	font-weight: 300;
	letter-spacing: 0.02em;
}

.starbox-home-block__title strong {
	font-weight: 700;
	color: #c9a227;
}

.starbox-home-block--dark .starbox-home-block__title strong {
	color: #c9a227;
}

.starbox-home-block__inner {
	margin: 0 auto;
}

/* Product grid — 4 per row on desktop */
.starbox-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	padding: 2rem 0 3rem;
}

.starbox-product-grid__item {
	margin: 0;
	background: #fff;
	border: 1px solid #e8e8e8;
	padding: 0.5rem;
}

.starbox-product-grid__item {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.starbox-product-grid__item img {
	display: block;
	width: 100%;
	height: auto;
	flex: 1 1 auto;
}

.starbox-product-grid__caption {
	margin: 0.65rem 0 0;
	padding: 0 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	color: #1a2b4a;
}

/* Dry box parts — sectioned catalog */
.starbox-dry-catalog {
	padding: 2rem 0 3.5rem;
	background: #fff;
}

.starbox-page-product .starbox-section:first-of-type {
	background: #fff;
}

.starbox-dry-catalog__hero {
	margin: 0 0 2.5rem;
	text-align: center;
}

.starbox-dry-catalog__hero img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.starbox-dry-catalog__section {
	margin-bottom: 2.5rem;
}

.starbox-dry-catalog__section-title {
	margin: 0 0 1.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #1a2b4a;
}

.starbox-dry-catalog__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem 1.25rem;
}

.starbox-dry-catalog__item {
	margin: 0;
	text-align: center;
}

.starbox-dry-catalog__item-title {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a2b4a;
}

.starbox-dry-catalog__item-image {
	margin: 0 auto;
	max-width: 249px;
	border: 1px solid #e8e8e8;
	background: #fff;
	padding: 0.35rem;
}

.starbox-dry-catalog__item-image img {
	display: block;
	width: 100%;
	height: auto;
}

.starbox-dry-catalog__item-caption {
	margin: 0.65rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #4a5568;
}

/* Contact — info row + centered form (reference layout) */
.starbox-contact-info {
	padding: 2rem 0 2.5rem;
	background: #f5f7fa;
}

.starbox-page-contact .starbox-contact-info__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 2.5rem;
	align-items: stretch;
}

.starbox-contact-map {
	min-height: 100%;
}

.starbox-contact-map__link {
	display: block;
	position: relative;
	height: 100%;
	text-decoration: none;
}

.starbox-contact-map__link:hover iframe {
	opacity: 0.92;
}

.starbox-contact-map iframe {
	display: block;
	width: 100%;
	min-height: 280px;
	height: 100%;
	border: 0;
	border-radius: 2px;
	pointer-events: none;
}

.starbox-contact-maps-link {
	font-weight: 600;
	color: #1a2b4a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.starbox-contact-maps-link:hover {
	color: #c9a227;
}

.starbox-contact-details {
	font-size: 0.9375rem;
	color: #4a5568;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.starbox-contact-form-section {
	padding: 3rem 0 4rem;
	background: #fff;
}

.starbox-contact-form-center {
	max-width: 720px;
	margin: 0 auto;
}

.starbox-contact-form-title {
	margin: 0 0 2rem;
	text-align: center;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1a2b4a;
	line-height: 1.2;
}

.starbox-contact-form-title__mark {
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.15em;
	vertical-align: 0.05em;
	background: #c9a227;
}

.starbox-contact-form-wrap {
	margin: 0;
}

.starbox-back {
	margin-top: 2rem;
}

/* About — text left, image right */
.starbox-about-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 3rem;
	align-items: center;
	margin-bottom: 2rem;
}

.starbox-about-split__text {
	color: #4a5568;
	font-size: 1rem;
	line-height: 1.65;
}

.starbox-about-split__cta {
	margin: 1.5rem 0 0;
}

.starbox-about-split__cta .starbox-button {
	margin: 0;
}

.starbox-about-split__media {
	margin: 0;
}

.starbox-about-split__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px;
	object-fit: cover;
}

.starbox-about-extra {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid #e8ecf1;
}

/* About — two rows: text + image */
.starbox-about-editor .starbox-about-row,
.starbox-page-about .starbox-about-row.starbox-about-split {
	margin-bottom: 2.5rem;
}

.starbox-about-editor .wp-block-columns.starbox-about-columns,
.starbox-about-editor .wp-block-columns,
.starbox-page-about .starbox-about-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 3rem;
	margin: 0 0 2rem;
	align-items: center;
}

.starbox-page-about .starbox-about-split__cta {
	margin-top: 1.25rem;
}

.starbox-about-editor .wp-block-buttons {
	margin-top: 1.25rem;
}

.starbox-about-editor .wp-block-button__link {
	background: var(--starbox-navy, #1a365d);
	color: #fff;
	border-radius: 2px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
	text-transform: uppercase;
}

.starbox-about-editor .wp-block-button__link:hover {
	background: var(--starbox-navy-dark, #152a4a);
	color: #fff;
}

.starbox-about-editor .wp-block-column p {
	color: #4a5568;
	line-height: 1.65;
}

.starbox-about-editor .wp-block-image img {
	width: 100%;
	height: auto;
	border-radius: 2px;
}

.starbox-about-editor .wp-block-button__link {
	background: #1a2b4a;
	color: #fff;
	font-size: 0.6rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.75rem 1.75rem;
	border-radius: 2px;
	text-decoration: none;min-width: 2rem;
}

.starbox-about-editor .wp-block-button__link:hover {
	background: #c9a227;
	color: #1a2b4a;
}

/* Products hub — diagram + category grid (2×2 on desktop) */
.starbox-products-hub {
	padding: 0 0 4rem;
}

.starbox-page-categories .starbox-section--page {
	padding-bottom: 1.5rem;
}

.starbox-products-diagram {
	margin: 0;
}

.starbox-products-diagram img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #d0d7e2;
}

.starbox-products-categories {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 2rem;
	margin-top: 2.5rem;
	align-items: stretch;
}

.starbox-products-category {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.starbox-products-category__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-decoration: none;
	color: inherit;
}

.starbox-products-category__link:hover .starbox-products-category__title {
	color: #c9a227;
}

.starbox-products-category__title {
	margin: 0 0 1rem;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #1a2b4a;
	line-height: 1.25;
	transition: color 0.2s ease;
}

.starbox-products-category__excerpt {
	margin: 0;
	flex: 1 1 auto;
	font-size: 0.9375rem;
	color: #4a5568;
}

.starbox-products-category__banner:hover::after {
	background: rgba(26, 43, 74, 0.65);
}

.starbox-products-category__banner {
	position: relative;
	display: block;
	flex: 0 0 auto;
	margin-top: 1.25rem;
	overflow: hidden;
	border-radius: 2px;
	text-decoration: none;
}

.starbox-products-category__banner img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 200px;
	object-fit: cover;
}

.starbox-products-category__banner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(26, 43, 74, 0.52);
	pointer-events: none;
}

.starbox-products-category__banner-label {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(1.125rem, 2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	pointer-events: none;
}

@media (max-width: 989px) {
	.starbox-container {
		padding: 0 24px;
	}

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

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

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

	.starbox-products-categories {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.starbox-page-contact .starbox-contact-info__grid {
		grid-template-columns: 1fr;
	}

	.starbox-about-split,
	.starbox-about-editor .wp-block-columns {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.starbox-about-split__media,
	.starbox-about-editor .wp-block-column:last-child {
		order: -1;
	}
}

@media (max-width: 767px) {
	.starbox-hero--has-image {
		display: flex;
		flex-direction: column;
	}

	.starbox-hero--has-image .starbox-hero__overlay {
		position: static;
		padding: 1.5rem 0 2rem;
		background: #fff;
	}

	.starbox-hero:not(.starbox-hero--has-image) {
		min-height: 420px;
	}

	.starbox-hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.starbox-hero__btn {
		width: 100%;
		max-width: 100%;
	}
}


@media (max-width: 767px) {
	.starbox-category-grid--home {
		grid-template-columns: 1fr;
	}

	.starbox-category-card--feature {
		grid-template-columns: 1fr;
	}

	.starbox-category-card__media img {
		min-height: 180px;
	}
}

@media (max-width: 600px) {
	.starbox-category-grid--all {
		grid-template-columns: 1fr;
	}

	.starbox-dry-catalog__grid {
		grid-template-columns: 1fr;
	}

	.starbox-product-grid {
		grid-template-columns: 1fr;
	}
}
