/* =====================================================
   ShubhCraft — Footer CSS (divine palette)
   ===================================================== */

/* ----- Newsletter widget area ----- */
.sgc-footer-newsletter {
	background: var(--sgc-gradient-divine);
	color: var(--sgc-ivory);
	padding: 3rem 0;
	border-top: 2px solid rgba(212, 175, 55, 0.25);
}

.sgc-footer-newsletter .col-full {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.sgc-footer-newsletter .widget {
	margin-bottom: 0;
	color: var(--sgc-ivory);
}

.sgc-footer-newsletter .widget-title {
	color: var(--sgc-gold-light);
	font-family: var(--sgc-serif);
	font-size: 1.35rem;
	margin-bottom: 0.75rem;
}

.sgc-footer-newsletter input[type="email"],
.sgc-footer-newsletter input[type="text"] {
	background: rgba(255, 255, 255, 0.08);
	color: var(--sgc-ivory);
	border: 1px solid rgba(212, 175, 55, 0.3);
	padding: 0.7em 1.1em;
	border-radius: 2rem;
}

.sgc-footer-newsletter input[type="email"]::placeholder,
.sgc-footer-newsletter input[type="text"]::placeholder {
	color: rgba(255, 251, 245, 0.45);
}

.sgc-footer-newsletter input[type="submit"],
.sgc-footer-newsletter button[type="submit"] {
	background: var(--sgc-gradient-gold);
	border: none;
	color: var(--sgc-maroon-deep);
	font-weight: 700;
	border-radius: 2rem;
	padding: 0.7em 1.5em;
	box-shadow: var(--sgc-shadow-glow);
	transition: transform 0.2s, filter 0.2s;
}

.sgc-footer-newsletter input[type="submit"]:hover,
.sgc-footer-newsletter button[type="submit"]:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
}

/* ----- Payment icons row ----- */
.sgc-footer-payments {
	background-color: var(--sgc-maroon-deep);
	padding: 1.25rem 0;
	border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.sgc-footer-payments .col-full {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.sgc-footer-payments__label {
	font-size: 0.8125rem;
	color: var(--sgc-gold-light);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
}

.sgc-footer-payments__list {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	align-items: center;
}

.sgc-footer-payments__list li {
	line-height: 0;
}

.sgc-footer-payments__list svg {
	width: 50px;
	height: 33px;
	border-radius: 4px;
	display: block;
	transition: opacity 0.2s, transform 0.2s;
}

.sgc-footer-payments__list svg:hover {
	opacity: 0.85;
	transform: scale(1.05);
}

/* ----- Brand + link columns ----- */
.sgc-footer-links {
	background: var(--sgc-temple);
	padding: 3.5rem 0 2.25rem;
	border-top: 1px solid rgba(212, 175, 55, 0.2);
	position: relative;
}

/* Thin gold gradient accent along the top edge */
.sgc-footer-links::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--sgc-gradient-gold);
	opacity: 0.6;
}

.sgc-footer-links__grid {
	display: grid;
	grid-template-columns: 2.2fr 1fr 1.2fr;
	gap: 3rem;
}

/* Storefront's .col-full clearfix pseudo-elements would otherwise occupy grid cells */
.sgc-footer-links__grid::before,
.sgc-footer-links__grid::after {
	content: none;
}

.sgc-footer-links__brand {
	font-family: var(--sgc-logo);
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	color: var(--sgc-gold-light);
	margin: 0 0 0.85rem;
}

.sgc-footer-links__tag {
	color: rgba(255, 251, 245, 0.72);
	font-size: 0.9375rem;
	line-height: 1.7;
	max-width: 34ch;
	margin: 0 0 1.1rem;
}

.sgc-footer-links__contact {
	font-size: 0.9375rem;
	line-height: 1.9;
	margin: 0;
}

/* .site-footer prefix outguns Storefront's inline
   `.site-footer a:not(.button):not(.components-button)` (#333) rule */
.site-footer .sgc-footer-links .sgc-footer-links__contact a {
	color: var(--sgc-gold);
	text-decoration: none;
}

.site-footer .sgc-footer-links .sgc-footer-links__contact a:hover {
	color: var(--sgc-saffron-light);
}

.sgc-footer-links__head {
	color: var(--sgc-gold-light);
	font-family: var(--sgc-serif);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	position: relative;
}

.sgc-footer-links__head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2.25rem;
	height: 2px;
	background: var(--sgc-gradient-gold);
	border-radius: 2px;
}

.sgc-footer-links__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sgc-footer-links__col ul li {
	margin: 0 0 0.6rem;
	padding: 0;
}

.site-footer .sgc-footer-links .sgc-footer-links__col ul a {
	color: rgba(255, 251, 245, 0.82);
	font-size: 0.9375rem;
	text-decoration: none;
	transition: color 0.2s, padding-left 0.2s;
}

.site-footer .sgc-footer-links .sgc-footer-links__col ul a:hover {
	color: var(--sgc-gold-light);
	padding-left: 0.25rem;
}

@media (max-width: 768px) {
	.sgc-footer-links {
		padding: 2.5rem 0 1.5rem;
	}

	.sgc-footer-links__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.sgc-footer-links__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	.sgc-footer-links__grid {
		grid-template-columns: 1fr;
	}
}

/* ----- Storefront footer widget area ----- */
.site-footer {
	background: var(--sgc-temple);
	color: rgba(255, 251, 245, 0.7);
	border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget-title {
	color: var(--sgc-gold-light);
	font-family: var(--sgc-serif);
}

.site-footer a:not(.button):not(.components-button) {
	color: var(--sgc-gold);
}

.site-footer a:not(.button):not(.components-button):hover {
	color: var(--sgc-saffron-light);
}

.site-info {
	color: rgba(255, 251, 245, 0.45);
	font-size: 0.8125rem;
	padding: 1.1rem 0;
	text-align: center;
	border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.site-info a {
	color: rgba(240, 215, 140, 0.65);
}

/* Collapse leftover Storefront footer padding when no widgets are set */
.site-footer > .col-full {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.site-footer .footer-widgets {
	padding-top: 2rem;
}

@media (max-width: 600px) {
	.sgc-footer-newsletter .col-full {
		flex-direction: column;
		align-items: flex-start;
	}

	.sgc-footer-payments .col-full {
		flex-direction: column;
		gap: 0.75rem;
	}
}
