/* ===================================================================
   HUB-MODERN.CSS
   Design system condiviso per le pagine modernizzate di andreella.it
   ------------------------------------------------------------------
   Usato da:
   - hub.asp                (HUB principale)
   - hub_fotoclub.asp       (fotoclub convenzionati e amici)
   - news/index.asp         (lista news)
   - index.asp              (home page - card primarie)
   - company_about.asp      (chi siamo + timeline)
   - company_contact.asp    (contatti)
   =================================================================== */


/* ==================================================================
   HERO
   ================================================================== */
.hub-hero {
	background: linear-gradient(135deg, #f7f9fc 0%, #eef2f7 100%);
	padding: 70px 0 60px;
	text-align: center;
	border-bottom: 1px solid rgba(0,0,0,0.04);
}
.hub-hero h1 {
	font-size: 2.6rem;
	font-weight: 700;
	margin: 0 0 18px;
	letter-spacing: -0.5px;
	background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.hub-hero h1 em {
	font-style: italic;
	background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.hub-hero .hub-lead {
	font-size: 1.1rem;
	color: #5a6a7a;
	line-height: 1.65;
	max-width: 820px;
	margin: 0 auto 32px;
}
.hub-hero .hub-lead strong { color: #1a1a1a; }

.hub-hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 18px;
	background: rgba(255,193,7,0.12);
	border: 1px solid rgba(255,193,7,0.4);
	color: #8a6500;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	margin-bottom: 22px;
}
.hub-hero-pill i { color: #d39e00; }

.hub-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.hub-hero-actions .btn {
	border-radius: 999px;
	padding: 10px 20px;
	font-weight: 600;
	letter-spacing: 0.2px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hub-hero-actions .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}

.hub-hero-note {
	margin-top: 26px;
	padding: 14px 22px;
	background: rgba(255,193,7,0.12);
	border: 1px solid rgba(255,193,7,0.35);
	border-radius: 14px;
	color: #6b5500;
	font-size: 0.92rem;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}
.hub-hero-note i { font-size: 1.4rem; color: #b88900; flex-shrink: 0; }

.hub-breadcrumb {
	font-size: 0.85rem;
	color: #7a8898;
	margin-bottom: 14px;
}
.hub-breadcrumb a {
	color: #7a8898;
	text-decoration: none;
	transition: color 0.2s;
}
.hub-breadcrumb a:hover { color: #007bff; }
.hub-breadcrumb i { font-size: 0.7rem; margin: 0 6px; opacity: 0.5; }


/* ==================================================================
   SECTION TITLES
   ================================================================== */
.hub-section-title {
	position: relative;
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
	margin: 70px 0 14px;
	padding-bottom: 18px;
	color: #1a1a1a;
}
.hub-section-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 64px;
	height: 4px;
	background: linear-gradient(90deg, #007bff, #6610f2);
	border-radius: 2px;
}
.hub-section-title-conv::after {
	background: linear-gradient(90deg, #ffc107, #ff9800);
}
.hub-section-sub {
	text-align: center;
	color: #6a7a8a;
	max-width: 700px;
	margin: 0 auto 40px;
	font-size: 1.02rem;
}


/* ==================================================================
   GRID
   ================================================================== */
.hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	margin: 30px 0 60px;
}


/* ==================================================================
   HUB CARD (base)
   ================================================================== */
.hub-card {
	position: relative;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(15, 30, 60, 0.06);
	transition: transform 0.4s cubic-bezier(.2,.7,.3,1), box-shadow 0.4s ease;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0,0,0,0.04);
}
.hub-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 24px 48px rgba(15, 30, 60, 0.14);
}

/* Card image (foto) - cover con zoom on hover */
.hub-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f0f0f0;
}
.hub-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.hub-card:hover .hub-card-image img { transform: scale(1.08); }
.hub-card-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%);
	pointer-events: none;
}
.hub-card-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f7f9fc 0%, #e3e8ef 100%);
	color: #b0b9c4;
	font-size: 3rem;
}

/* Card logo (contain con sfondo chiaro - per fotoclub) */
.hub-card-logo {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #fafbfd 0%, #eef2f7 100%);
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hub-card-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.hub-card:hover .hub-card-logo img { transform: scale(1.06); }
.hub-card-logo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, transparent 60%, rgba(15,30,60,0.04) 100%);
	pointer-events: none;
}

/* Card icon-hero (gradient + icona grossa - per card senza foto) */
.hub-card-iconhero {
	position: relative;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	overflow: hidden;
	text-decoration: none;
}
.hub-card-iconhero i {
	font-size: 4.5rem;
	opacity: 0.95;
	filter: drop-shadow(0 6px 16px rgba(0,0,0,0.2));
	transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.hub-card:hover .hub-card-iconhero i { transform: scale(1.12) rotate(-3deg); }
.hub-card-iconhero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18) 0%, transparent 60%);
	pointer-events: none;
}
.hub-card-iconhero-news    { background: linear-gradient(135deg, #6610f2 0%, #c026d3 100%); }
.hub-card-iconhero-eventi  { background: linear-gradient(135deg, #198754 0%, #20c997 100%); }
.hub-card-iconhero-hub     { background: linear-gradient(135deg, #fb8500 0%, #ffb703 100%); }
.hub-card-iconhero-contact { background: linear-gradient(135deg, #007bff 0%, #00b4d8 100%); }
.hub-card-iconhero-phone   { background: linear-gradient(135deg, #198754 0%, #43a047 100%); }
.hub-card-iconhero-mail    { background: linear-gradient(135deg, #dc3545 0%, #c9184a 100%); }
.hub-card-iconhero-whats   { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }


/* ==================================================================
   BADGES (glassmorphism overlay sull'immagine)
   ================================================================== */
.hub-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	padding: 6px 14px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #fff;
	background: rgba(15, 30, 60, 0.55);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.18);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.hub-badge i { font-size: 0.78rem; }

/* HUB badge variants */
.hub-badge-corso    { background: linear-gradient(135deg, rgba(0,123,255,0.85), rgba(0,180,216,0.85)); }
.hub-badge-evento   { background: linear-gradient(135deg, rgba(220,53,69,0.85), rgba(255,107,107,0.85)); }
.hub-badge-portale  { background: linear-gradient(135deg, rgba(33,37,41,0.85), rgba(73,80,87,0.85)); }
.hub-badge-elenco   { background: linear-gradient(135deg, rgba(255,193,7,0.9), rgba(255,152,0,0.9)); }
.hub-badge-video    { background: linear-gradient(135deg, rgba(220,53,69,0.85), rgba(201,24,74,0.85)); }
.hub-badge-software { background: linear-gradient(135deg, rgba(255,193,7,0.9), rgba(247,127,0,0.9)); }
.hub-badge-web      { background: linear-gradient(135deg, rgba(23,162,184,0.85), rgba(0,180,216,0.85)); }
.hub-badge-festival { background: linear-gradient(135deg, rgba(40,167,69,0.85), rgba(82,183,136,0.85)); }
.hub-badge-academy  { background: linear-gradient(135deg, rgba(108,117,125,0.85), rgba(173,181,189,0.85)); }

/* Fotoclub */
.hub-badge-conv     { background: linear-gradient(135deg, rgba(255,193,7,0.95), rgba(255,152,0,0.95)); box-shadow: 0 6px 18px rgba(255,152,0,0.4); }
.hub-badge-amico    { background: linear-gradient(135deg, rgba(108,117,125,0.85), rgba(73,80,87,0.85)); }

/* Home */
.hub-badge-finance  { background: linear-gradient(135deg, rgba(0,123,255,0.92), rgba(0,180,216,0.92)); }
.hub-badge-about    { background: linear-gradient(135deg, rgba(33,37,41,0.88), rgba(73,80,87,0.88)); }
.hub-badge-promo    { background: linear-gradient(135deg, rgba(220,53,69,0.92), rgba(255,107,107,0.92)); }
.hub-badge-news     { background: linear-gradient(135deg, rgba(102,16,242,0.92), rgba(192,38,211,0.92)); }
.hub-badge-eventi   { background: linear-gradient(135deg, rgba(25,135,84,0.92), rgba(32,201,151,0.92)); }
.hub-badge-hub      { background: linear-gradient(135deg, rgba(251,133,0,0.95), rgba(255,183,3,0.95)); }

/* News */
.hub-badge-evid     { left: 14px; background: linear-gradient(135deg, rgba(255,193,7,0.95), rgba(255,152,0,0.95)); box-shadow: 0 6px 18px rgba(255,152,0,0.4); }
.hub-badge-new      { right: 14px; left: auto; background: linear-gradient(135deg, rgba(220,53,69,0.92), rgba(154,30,53,0.92)); animation: hubNewPulse 1.8s ease-in-out infinite; }

@keyframes hubNewPulse {
	0%, 100% { transform: scale(1); filter: brightness(1); }
	50%      { transform: scale(1.06); filter: brightness(1.15); }
}
@media (prefers-reduced-motion: reduce) {
	.hub-badge-new { animation: none; }
}


/* ==================================================================
   CARD BODY
   ================================================================== */
.hub-card-body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.hub-card-title {
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}
.hub-card-title a {
	color: #1a1a1a;
	text-decoration: none;
	background-image: linear-gradient(90deg, #007bff, #6610f2);
	background-size: 0% 2px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.35s ease, color 0.2s ease;
}
.hub-card-title a:hover,
.hub-card:hover .hub-card-title a {
	color: #007bff;
	background-size: 100% 2px;
}
.hub-card-title-link {
	background-image: linear-gradient(90deg, #007bff, #6610f2);
	background-size: 0% 2px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.35s ease, color 0.2s ease;
	color: #1a1a1a;
	text-decoration: none;
}
.hub-card:hover .hub-card-title-link {
	background-size: 100% 2px;
	color: #007bff;
}
.hub-card-meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.83rem;
	color: #7a8898;
	margin-bottom: 14px;
}
.hub-card-meta i { color: #007bff; font-size: 0.95rem; }
.hub-card-desc {
	font-size: 0.93rem;
	color: #4a5868;
	line-height: 1.6;
	margin: 0 0 22px;
	flex: 1;
}


/* ==================================================================
   CTA (full-width gradient button)
   ================================================================== */
.hub-card-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px 18px;
	border-radius: 14px;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	color: #fff !important;
	background: linear-gradient(135deg, #007bff, #0056b3);
	box-shadow: 0 6px 16px rgba(0,123,255,0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
	border: none;
	margin-top: auto;
}
.hub-card-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,123,255,0.4);
	filter: brightness(1.05);
	color: #fff !important;
}

.hub-card-cta-danger  { background: linear-gradient(135deg, #dc3545, #a71d2a); box-shadow: 0 6px 16px rgba(220,53,69,0.28); }
.hub-card-cta-danger:hover  { box-shadow: 0 10px 24px rgba(220,53,69,0.4); }
.hub-card-cta-dark    { background: linear-gradient(135deg, #343a40, #1a1d20); box-shadow: 0 6px 16px rgba(33,37,41,0.28); }
.hub-card-cta-dark:hover    { box-shadow: 0 10px 24px rgba(33,37,41,0.4); }
.hub-card-cta-warning { background: linear-gradient(135deg, #ffc107, #d39e00); box-shadow: 0 6px 16px rgba(255,193,7,0.3); color: #fff !important; }
.hub-card-cta-warning:hover { box-shadow: 0 10px 24px rgba(255,193,7,0.45); }
.hub-card-cta-success { background: linear-gradient(135deg, #28a745, #1c7430); box-shadow: 0 6px 16px rgba(40,167,69,0.28); }
.hub-card-cta-success:hover { box-shadow: 0 10px 24px rgba(40,167,69,0.4); }
.hub-card-cta-info    { background: linear-gradient(135deg, #17a2b8, #0e6674); box-shadow: 0 6px 16px rgba(23,162,184,0.28); }
.hub-card-cta-info:hover    { box-shadow: 0 10px 24px rgba(23,162,184,0.4); }
.hub-card-cta-promo   { background: linear-gradient(135deg, #dc3545, #a71d2a); box-shadow: 0 6px 16px rgba(220,53,69,0.28); }
.hub-card-cta-promo:hover   { box-shadow: 0 10px 24px rgba(220,53,69,0.45); }
.hub-card-cta-about   { background: linear-gradient(135deg, #343a40, #1a1d20); box-shadow: 0 6px 16px rgba(33,37,41,0.28); }
.hub-card-cta-about:hover   { box-shadow: 0 10px 24px rgba(33,37,41,0.45); }
.hub-card-cta-news    { background: linear-gradient(135deg, #6610f2, #4a08b8); box-shadow: 0 6px 16px rgba(102,16,242,0.28); }
.hub-card-cta-news:hover    { box-shadow: 0 10px 24px rgba(102,16,242,0.45); }
.hub-card-cta-eventi  { background: linear-gradient(135deg, #198754, #146c43); box-shadow: 0 6px 16px rgba(25,135,84,0.28); }
.hub-card-cta-eventi:hover  { box-shadow: 0 10px 24px rgba(25,135,84,0.45); }
.hub-card-cta-hub     { background: linear-gradient(135deg, #fb8500, #d96e00); box-shadow: 0 6px 16px rgba(251,133,0,0.28); }
.hub-card-cta-hub:hover     { box-shadow: 0 10px 24px rgba(251,133,0,0.45); }
.hub-card-cta-fb      { background: linear-gradient(135deg, #3b5998, #2d4373); box-shadow: 0 5px 14px rgba(59,89,152,0.28); }
.hub-card-cta-fb:hover      { box-shadow: 0 10px 22px rgba(59,89,152,0.42); }
.hub-card-cta-whats   { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 5px 14px rgba(37,211,102,0.28); }
.hub-card-cta-whats:hover   { box-shadow: 0 10px 22px rgba(37,211,102,0.42); }
.hub-card-cta-disabled {
	background: linear-gradient(135deg, #adb5bd, #868e96);
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.75;
}
.hub-card-cta-disabled:hover { transform: none; box-shadow: none; }

/* CTA con testo lungo (es. titoli news SEO-friendly) */
.hub-card-cta-text {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

/* CTA multi-bottoni (fotoclub: sito + facebook) */
.hub-card-actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
}
.hub-card-actions .hub-card-cta {
	flex: 1;
	padding: 11px 12px;
	font-size: 0.85rem;
	white-space: nowrap;
	margin-top: 0;
}


/* ==================================================================
   FOOTER - "Perche' sceglierci" (4 feature box prima del footer dark)
   ================================================================== */
.hub-footer-features {
	padding: 70px 0;
	background: #fff;
	border-top: 1px solid rgba(0,0,0,0.04);
}
.hub-footer-features-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}
.hub-footer-feature {
	text-align: center;
	padding: 8px;
}
.hub-footer-feature-icon {
	width: 70px;
	height: 70px;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.9rem;
	color: #fff;
	margin-bottom: 18px;
}
.hub-footer-feature-icon.ff-warranty { background: linear-gradient(135deg, #007bff, #0056b3); box-shadow: 0 8px 22px rgba(0,123,255,0.28); }
.hub-footer-feature-icon.ff-pay      { background: linear-gradient(135deg, #198754, #146c43); box-shadow: 0 8px 22px rgba(25,135,84,0.28); }
.hub-footer-feature-icon.ff-ship     { background: linear-gradient(135deg, #fb8500, #d96e00); box-shadow: 0 8px 22px rgba(251,133,0,0.28); }
.hub-footer-feature-icon.ff-return   { background: linear-gradient(135deg, #6610f2, #4a08b8); box-shadow: 0 8px 22px rgba(102,16,242,0.28); }
.hub-footer-feature h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: #1a1a1a;
}
.hub-footer-feature p {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #5a6a7a;
	margin: 0 0 10px;
}
.hub-footer-feature a.hub-footer-feature-link {
	font-size: 0.85rem;
	color: #007bff;
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.hub-footer-feature a.hub-footer-feature-link:hover { text-decoration: underline; }


/* ==================================================================
   FOOTER DARK
   ================================================================== */
.hub-footer {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	color: #c7d0db;
	padding: 60px 0 0;
}
.hub-footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
	gap: 32px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hub-footer-brand-name {
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 12px;
	letter-spacing: -0.3px;
}
.hub-footer-brand-tag {
	font-size: 0.88rem;
	color: #8c9aab;
	margin: 0 0 18px;
	line-height: 1.6;
}
.hub-footer-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	background: rgba(255,193,7,0.14);
	border: 1px solid rgba(255,193,7,0.35);
	color: #ffcd39;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	margin: 0 0 16px;
}
.hub-footer-pill i { color: #ffcd39; }
.hub-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}
.hub-footer-social a {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(255,255,255,0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #c7d0db;
	font-size: 1.05rem;
	transition: all 0.25s;
	text-decoration: none;
}
.hub-footer-social a:hover {
	transform: translateY(-3px);
	background: linear-gradient(135deg, #007bff, #6610f2);
	color: #fff;
}

.hub-footer h4 {
	font-size: 0.92rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	padding-bottom: 10px;
}
.hub-footer h4::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	background: linear-gradient(90deg, #007bff, #6610f2);
	border-radius: 999px;
}
.hub-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hub-footer ul li {
	margin-bottom: 8px;
	font-size: 0.88rem;
}
.hub-footer ul li a {
	color: #c7d0db;
	text-decoration: none;
	transition: color 0.2s, padding 0.2s;
	display: inline-block;
}
.hub-footer ul li a:hover {
	color: #fff;
	padding-left: 4px;
}

.hub-footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 0.87rem;
	color: #c7d0db;
	line-height: 1.5;
}
.hub-footer-contact-item i {
	color: #007bff;
	font-size: 1rem;
	margin-top: 2px;
	flex-shrink: 0;
}
.hub-footer-contact-item a {
	color: #c7d0db;
	text-decoration: none;
}
.hub-footer-contact-item a:hover { color: #fff; }
.hub-footer-contact-item strong { color: #fff; font-weight: 600; }

.hub-footer-copyright {
	padding: 22px 0;
	font-size: 0.82rem;
	color: #8c9aab;
}
.hub-footer-copyright-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
}
.hub-footer-copyright a {
	color: #8c9aab;
	text-decoration: none;
}
.hub-footer-copyright a:hover { color: #fff; }
.hub-footer-legal-links {
	display: inline-flex;
	gap: 0;
	flex-wrap: wrap;
	margin-top: 6px;
}
.hub-footer-legal-links a:not(:last-child)::after {
	content: '|';
	margin: 0 8px;
	color: #4a5868;
}
.hub-footer-payments {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: flex-end;
}
.hub-footer-payments img {
	width: 42px;
	height: auto;
	opacity: 0.9;
	transition: opacity 0.2s, transform 0.2s;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
	border-radius: 4px;
}
.hub-footer-payments img:hover {
	opacity: 1;
	transform: translateY(-2px);
}

@media (max-width: 991px) {
	.hub-footer-features-grid { grid-template-columns: repeat(2, 1fr); }
	.hub-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
}
@media (max-width: 768px) {
	.hub-footer-features-grid { grid-template-columns: 1fr; gap: 28px; }
	.hub-footer-features { padding: 50px 0; }
	.hub-footer-grid { grid-template-columns: 1fr; padding-bottom: 30px; gap: 28px; }
	.hub-footer { padding: 40px 0 0; }
	.hub-footer-copyright-grid { grid-template-columns: 1fr; text-align: center; }
	.hub-footer-payments { justify-content: center; }
}


/* ==================================================================
   RESPONSIVE BASE
   ================================================================== */
@media (max-width: 991px) {
	.hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.hub-hero { padding: 40px 0 36px; }
	.hub-hero h1 { font-size: 1.8rem; }
	.hub-hero .hub-lead { font-size: 0.98rem; }
	.hub-hero-note { font-size: 0.85rem; padding: 12px 16px; }
	.hub-section-title { font-size: 1.5rem; margin-top: 50px; }
	.hub-grid { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
	.hub-card-image { aspect-ratio: 16 / 9; }
	.hub-card-actions { flex-direction: column; }
}


/* ==================================================================
   POLICY / INFO PAGES
   Modulo per pagine di policy, info, condizioni, privacy, ecc.
   Layout 2-col con TOC sticky + sezioni a card.
   ================================================================== */

/* Hero variante policy: pi&ugrave; compatto, con icona grande in hero */
.policy-hero {
	background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
	color: #fff;
	padding: 60px 0 90px;
	margin: 0 0 -50px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.policy-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 25%, rgba(212,165,116,0.10) 0%, transparent 35%),
		radial-gradient(circle at 85% 75%, rgba(255,255,255,0.06) 0%, transparent 40%);
	pointer-events: none;
}
.policy-hero-inner {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}
.policy-hero-icon {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: linear-gradient(135deg, #d4a574 0%, #c1923f 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	margin: 0 auto 18px;
	box-shadow: 0 8px 28px rgba(212,165,116,0.35);
}
.policy-hero h1 {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 2.4rem;
	margin: 0 0 12px;
	color: #fff;
	letter-spacing: -0.5px;
}
.policy-hero .policy-lead {
	font-size: 1.08rem;
	color: rgba(255,255,255,0.85);
	line-height: 1.55;
	margin: 0 0 18px;
	font-weight: 300;
}
.policy-hero .policy-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 999px;
	padding: 6px 16px;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.85);
	margin-top: 6px;
}
.policy-hero .policy-meta i {
	font-size: 0.95rem;
	color: #d4a574;
}

/* Wrapper contenuto policy */
.policy-wrap {
	background: #f7f9fc;
	padding: 70px 0 60px;
	position: relative;
}
.policy-wrap .container { max-width: 1180px; }

/* Layout 2-col: TOC + content */
.policy-layout {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 40px;
	align-items: start;
}

/* Sticky TOC sidebar */
.policy-toc {
	position: sticky;
	top: 100px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	padding: 22px 18px;
	border: 1px solid rgba(0,0,0,0.05);
}
.policy-toc-title {
	font-family: 'Poppins', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	margin: 0 0 14px;
	padding: 0 6px;
}
.policy-toc ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.policy-toc li { margin: 0; }
.policy-toc a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	color: #344052;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.18s ease;
	line-height: 1.35;
}
.policy-toc a:hover {
	background: #f0f3f8;
	color: #c1923f;
}
.policy-toc a.active {
	background: linear-gradient(135deg, #d4a574 0%, #c1923f 100%);
	color: #fff;
	box-shadow: 0 3px 10px rgba(212,165,116,0.25);
}
.policy-toc a i {
	font-size: 1rem;
	min-width: 18px;
	text-align: center;
	opacity: 0.85;
}
.policy-toc a.active i { opacity: 1; }

/* Sezioni di contenuto */
.policy-content { min-width: 0; }
.policy-section {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(0,0,0,0.06);
	padding: 36px 38px;
	margin: 0 0 26px;
	border: 1px solid rgba(0,0,0,0.04);
	scroll-margin-top: 110px;
}
.policy-section-header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 16px;
	margin-bottom: 22px;
	border-bottom: 2px solid #f1f4f9;
}
.policy-section-header-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(135deg, #d4a574 0%, #c1923f 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(212,165,116,0.30);
}
.policy-section-header h2 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.4rem;
	color: #1a2332;
	margin: 0;
	letter-spacing: -0.3px;
}

/* Body: contenuto testuale stilizzato */
.policy-body {
	color: #344052;
	font-size: 0.98rem;
	line-height: 1.7;
}
.policy-body h3 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.12rem;
	color: #1a2332;
	margin: 26px 0 12px;
}
.policy-body h3:first-child { margin-top: 0; }
.policy-body p { margin: 0 0 14px; }
.policy-body ul, .policy-body ol {
	padding-left: 22px;
	margin: 0 0 16px;
}
.policy-body li { margin-bottom: 8px; line-height: 1.6; }
.policy-body a {
	color: #c1923f;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px dashed rgba(193,146,63,0.55);
	transition: all 0.2s;
}
.policy-body a:hover {
	color: #1a2332;
	border-bottom-color: #1a2332;
}
.policy-body strong, .policy-body b { color: #1a2332; font-weight: 600; }

/* Box evidenziati */
.policy-key {
	background: linear-gradient(135deg, #fef9f1 0%, #fbf2e1 100%);
	border: 1px solid #e9d4a8;
	border-left: 4px solid #d4a574;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 18px 0;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.policy-key i {
	font-size: 1.4rem;
	color: #c1923f;
	flex-shrink: 0;
	margin-top: 2px;
}
.policy-key-text {
	flex: 1;
	color: #5c4628;
	font-size: 0.95rem;
	line-height: 1.55;
}
.policy-key-text strong { color: #4a3820; }

.policy-note {
	background: #f0f6ff;
	border-left: 4px solid #4a90e2;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 18px 0;
	font-size: 0.92rem;
	color: #2c4a6e;
	line-height: 1.55;
}
.policy-note i { color: #4a90e2; margin-right: 6px; }

.policy-warn {
	background: #fef3f0;
	border-left: 4px solid #e57b50;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 18px 0;
	font-size: 0.92rem;
	color: #7a3018;
	line-height: 1.55;
}
.policy-warn i { color: #e57b50; margin-right: 6px; }

/* Pricing / option cards inline (es. spedizioni, pagamenti) */
.policy-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 18px 0;
}
.policy-card-mini {
	background: #fafbfd;
	border: 1px solid #e6ebf2;
	border-radius: 12px;
	padding: 18px;
	transition: all 0.2s ease;
}
.policy-card-mini:hover {
	border-color: #d4a574;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}
.policy-card-mini-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.policy-card-mini-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: linear-gradient(135deg, #d4a574 0%, #c1923f 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	flex-shrink: 0;
}
.policy-card-mini-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 0.98rem;
	color: #1a2332;
}
.policy-card-mini-price {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.35rem;
	color: #c1923f;
	margin: 4px 0 8px;
}
.policy-card-mini-desc {
	font-size: 0.88rem;
	color: #5a6a82;
	line-height: 1.5;
	margin: 0;
}

/* Lista stilizzata con check */
.policy-check-list {
	list-style: none;
	padding: 0;
	margin: 16px 0;
}
.policy-check-list li {
	position: relative;
	padding: 8px 0 8px 32px;
	color: #344052;
	font-size: 0.95rem;
	line-height: 1.55;
	border-bottom: 1px dashed #e6ebf2;
}
.policy-check-list li:last-child { border-bottom: none; }
.policy-check-list li::before {
	content: "\F26B";
	font-family: 'bootstrap-icons';
	position: absolute;
	left: 0;
	top: 10px;
	color: #5cb85c;
	font-size: 1.05rem;
	font-weight: bold;
}
.policy-check-list.warn li::before {
	content: "\F623";
	color: #e57b50;
}

/* CTA box fine pagina */
.policy-cta {
	background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
	color: #fff;
	border-radius: 16px;
	padding: 30px 32px;
	margin: 30px 0 0;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	box-shadow: 0 8px 24px rgba(26,35,50,0.18);
}
.policy-cta-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, #d4a574 0%, #c1923f 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	flex-shrink: 0;
}
.policy-cta-text {
	flex: 1;
	min-width: 220px;
}
.policy-cta-text h3 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.18rem;
	margin: 0 0 6px;
	color: #fff;
}
.policy-cta-text p {
	font-size: 0.92rem;
	color: rgba(255,255,255,0.78);
	margin: 0;
	line-height: 1.5;
}
.policy-cta-btn,
a.policy-cta-btn:link,
a.policy-cta-btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #b8842e 0%, #7d5818 100%);
	color: #fff !important;
	padding: 12px 24px;
	border-radius: 999px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(125,88,24,0.32);
	text-shadow: 0 1px 2px rgba(0,0,0,0.25);
	border: 1px solid rgba(255,255,255,0.08);
}
a.policy-cta-btn:hover,
a.policy-cta-btn:active,
a.policy-cta-btn:focus {
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(125,88,24,0.45);
	filter: brightness(1.08);
	text-decoration: none;
}
.policy-cta-btn i,
a.policy-cta-btn i {
	color: #fff !important;
}
/* Varianti dark/secondaria (usata per macOS, sito tedesco, ecc.) */
.policy-cta-btn--dark {
	background: linear-gradient(135deg, #3f4d65 0%, #232d3f 100%);
	box-shadow: 0 4px 14px rgba(31,40,56,0.32);
}
.policy-cta-btn--dark:hover {
	box-shadow: 0 8px 22px rgba(31,40,56,0.42);
}

/* Tabella stilizzata */
.policy-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
	background: #fafbfd;
	border-radius: 10px;
	overflow: hidden;
	font-size: 0.93rem;
}
.policy-table th {
	background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
	color: #fff;
	text-align: left;
	padding: 12px 16px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	font-size: 0.88rem;
	letter-spacing: 0.3px;
}
.policy-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #e6ebf2;
	color: #344052;
}
.policy-table tr:last-child td { border-bottom: none; }
.policy-table tr:hover td { background: #fef9f1; }

/* ==================================================================
   YOUTUBE PLAYLIST GRID + LIGHTBOX
   Grid di card video con thumbnail; click apre lightbox con iframe.
   ================================================================== */
.yt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 20px 0;
}
.yt-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0,0,0,0.07);
	cursor: pointer;
	transition: all 0.25s ease;
	border: 1px solid rgba(0,0,0,0.04);
	display: flex;
	flex-direction: column;
}
.yt-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.12);
	border-color: #d4a574;
}
.yt-card-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000 center/cover no-repeat;
}
.yt-card-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.yt-card-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
	transition: background 0.2s ease;
}
.yt-card:hover .yt-card-play {
	background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.yt-card-play::before {
	content: "";
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255,0,0,0.92);
	box-shadow: 0 4px 16px rgba(0,0,0,0.4);
	transition: transform 0.2s ease;
}
.yt-card-play::after {
	content: "";
	position: absolute;
	width: 0; height: 0;
	border-left: 18px solid #fff;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	margin-left: 6px;
}
.yt-card:hover .yt-card-play::before {
	transform: scale(1.08);
	background: rgba(255,0,0,1);
}
.yt-card-body {
	padding: 14px 16px 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.yt-card-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	color: #1a2332;
	line-height: 1.35;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Lightbox modale */
.yt-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0,0,0,0.92);
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: ytFadeIn 0.2s ease;
}
.yt-lightbox.open { display: flex; }
@keyframes ytFadeIn { from { opacity: 0; } to { opacity: 1; } }
.yt-lightbox-content {
	position: relative;
	width: 100%;
	max-width: 1100px;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.yt-lightbox-content iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
.yt-lightbox-close {
	position: absolute;
	top: -50px;
	right: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}
.yt-lightbox-close:hover {
	background: rgba(255,255,255,0.25);
	transform: rotate(90deg);
}
@media (max-width: 768px) {
	.yt-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
	.yt-card-title { font-size: 0.88rem; }
	.yt-card-play::before { width: 44px; height: 44px; }
	.yt-card-play::after { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
	.yt-lightbox-close { top: -45px; right: 5px; }
}


/* ==================================================================
   ACCOUNT AREA — sottomenu pill + card sezioni profilo
   ================================================================== */
.account-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	padding: 8px;
	margin: 0 auto 26px;
	max-width: 1100px;
	border: 1px solid rgba(0,0,0,0.04);
}
.account-tab-link,
a.account-tab-link:link,
a.account-tab-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 16px;
	border-radius: 10px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 0.88rem;
	color: #344052 !important;
	text-decoration: none;
	transition: all 0.18s ease;
	flex: 1 1 auto;
	justify-content: center;
	white-space: nowrap;
}
.account-tab-link i { font-size: 1.05rem; opacity: 0.85; }
a.account-tab-link:hover {
	background: #f0f3f8;
	color: #1a2332 !important;
	text-decoration: none;
}
a.account-tab-link.account-tab-link--active {
	background: linear-gradient(135deg, #b8842e 0%, #7d5818 100%);
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(125,88,24,0.30);
	text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
a.account-tab-link.account-tab-link--active i { opacity: 1; color: #fff !important; }
a.account-tab-link.account-tab-link--ai i { color: #002F4C; }
a.account-tab-link.account-tab-link--ai.account-tab-link--active {
	background: linear-gradient(135deg, #003a5c 0%, #001f33 100%);
	box-shadow: 0 4px 12px rgba(0,31,51,0.32);
}
a.account-tab-link.account-tab-link--ai.account-tab-link--active i { color: #fff !important; }
a.account-tab-link.account-tab-link--logout {
	margin-left: auto;
	color: #6c757d !important;
}
a.account-tab-link.account-tab-link--logout:hover {
	color: #c0392b !important;
	background: #fef0ee;
}

/* Hero account compatto (variante policy-hero pi&ugrave; basso) */
.account-hero {
	background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
	color: #fff;
	padding: 44px 0 60px;
	margin: 0 0 -38px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.account-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 25%, rgba(212,165,116,0.10) 0%, transparent 35%),
		radial-gradient(circle at 85% 75%, rgba(255,255,255,0.05) 0%, transparent 40%);
	pointer-events: none;
}
.account-hero-inner {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}
.account-hero h1 {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.85rem;
	margin: 0 0 8px;
	color: #fff;
	letter-spacing: -0.4px;
}
.account-hero .account-hero-sub {
	font-size: 1rem;
	color: rgba(255,255,255,0.85);
	margin: 0;
	font-weight: 300;
}
.account-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 999px;
	padding: 4px 13px;
	font-size: 0.78rem;
	color: rgba(255,255,255,0.85);
	margin-top: 10px;
}
.account-hero-badge i { color: #d4a574; font-size: 0.9rem; }

/* Wrapper contenuto account */
.account-wrap {
	background: #f7f9fc;
	padding: 60px 0 50px;
	position: relative;
}
.account-wrap .container { max-width: 1140px; }

/* Card form interno (per profilo + altre) */
.account-form-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px 18px;
}
.account-form-grid .full { grid-column: 1 / -1; }
.account-form-grid .half { grid-column: span 6; }
.account-form-grid .third { grid-column: span 4; }
.account-form-grid label {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 0.82rem;
	color: #1a2332;
	margin: 0 0 6px;
	letter-spacing: 0.2px;
}
.account-form-grid label .hint {
	font-weight: 400;
	color: #6c757d;
	font-size: 0.78rem;
	margin-left: 6px;
}
.account-form-grid .form-control {
	background: #fff;
	border: 1.5px solid #e6ebf2;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 0.92rem;
	color: #1a2332;
	transition: all 0.15s ease;
	width: 100%;
}
.account-form-grid .form-control:focus {
	outline: none;
	border-color: #d4a574;
	box-shadow: 0 0 0 3px rgba(212,165,116,0.15);
}
.account-form-grid .form-control:disabled {
	background: #f3f5f9;
	color: #6c757d;
	cursor: not-allowed;
}
.account-checkbox-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 14px;
	background: #fafbfd;
	border: 1px solid #e6ebf2;
	border-radius: 8px;
	margin-bottom: 8px;
}
.account-checkbox-row input[type="checkbox"] {
	width: 18px; height: 18px;
	margin-top: 2px;
	accent-color: #c1923f;
	flex-shrink: 0;
}
.account-checkbox-row label {
	margin: 0;
	font-weight: 500;
	font-size: 0.92rem;
	color: #344052;
	cursor: pointer;
}

@media (max-width: 768px) {
	.account-form-grid .half,
	.account-form-grid .third { grid-column: 1 / -1; }
	.account-hero { padding: 36px 0 48px; }
	.account-hero h1 { font-size: 1.45rem; }
	.account-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		justify-content: flex-start;
	}
	.account-tab-link { flex: 0 0 auto; }
	a.account-tab-link.account-tab-link--logout { margin-left: 0; }
}


/* ==================================================================
   SHOP CATEGORIE / SOTTOCATEGORIE — grid moderna con card immagine
   ================================================================== */
.shop-hero {
	background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
	color: #fff;
	padding: 50px 0 70px;
	margin: 0 0 -40px;
	position: relative;
	overflow: hidden;
}
.shop-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 20%, rgba(212,165,116,0.10) 0%, transparent 38%),
		radial-gradient(circle at 88% 80%, rgba(255,255,255,0.06) 0%, transparent 42%);
	pointer-events: none;
}
.shop-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}
.shop-hero-breadcrumb {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.65);
	margin: 0 0 12px;
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.3px;
}
.shop-hero-breadcrumb a {
	color: #d4a574;
	text-decoration: none;
	border-bottom: 1px dashed rgba(212,165,116,0.45);
}
.shop-hero-breadcrumb a:hover {
	color: #fff;
	border-bottom-color: #fff;
}
.shop-hero-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.shop-hero-breadcrumb .current { color: rgba(255,255,255,0.85); }
.shop-hero h1 {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 2.1rem;
	margin: 0 0 12px;
	color: #fff;
	letter-spacing: -0.5px;
}
.shop-hero-desc {
	font-size: 1rem;
	color: rgba(255,255,255,0.85);
	margin: 0;
	max-width: 760px;
	line-height: 1.55;
	font-weight: 300;
}
.shop-hero-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.20);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.82rem;
	color: rgba(255,255,255,0.92);
	text-decoration: none;
	transition: all 0.18s ease;
}
.shop-hero-back:hover {
	background: rgba(255,255,255,0.18);
	color: #fff;
	transform: translateX(-2px);
}

.shop-wrap {
	background: #f7f9fc;
	padding: 60px 0 50px;
}
.shop-wrap .container { max-width: 1180px; }

.shop-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 22px;
}
.shop-cat-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	border: 1px solid rgba(0,0,0,0.04);
	transition: all 0.25s ease;
	display: flex;
	flex-direction: column;
}
.shop-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.12);
	border-color: #d4a574;
}
.shop-cat-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f3f5f9 center/cover no-repeat;
	overflow: hidden;
}
.shop-cat-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.shop-cat-card:hover .shop-cat-card-image img {
	transform: scale(1.06);
}
.shop-cat-card-image-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e3eaf2 0%, #c6d3e1 100%);
	color: #8a98a8;
	font-size: 2.6rem;
}
.shop-cat-card-body {
	padding: 18px 20px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.shop-cat-card-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	color: #1a2332;
	margin: 0 0 8px;
	line-height: 1.3;
	letter-spacing: -0.2px;
}
.shop-cat-card-title a {
	color: #1a2332;
	text-decoration: none;
}
.shop-cat-card-title a:hover { color: #c1923f; }
.shop-cat-card-desc {
	font-size: 0.88rem;
	color: #5a6a82;
	line-height: 1.5;
	margin: 0 0 14px;
	flex: 1;
}
.shop-cat-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #c1923f;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 0.86rem;
	text-decoration: none;
	border-bottom: 1px dashed rgba(193,146,63,0.5);
	align-self: flex-start;
	padding-bottom: 1px;
	transition: all 0.18s ease;
}
.shop-cat-card-cta:hover {
	color: #1a2332;
	border-bottom-color: #1a2332;
}
.shop-cat-card-cta i { transition: transform 0.2s ease; }
.shop-cat-card-cta:hover i { transform: translateX(3px); }

/* Lista sotto-categorie (livello 2) dentro la card */
.shop-cat-sublist {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.shop-cat-sublist li { margin: 0; }
.shop-cat-sublist a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 7px;
	background: #fafbfd;
	border: 1px solid transparent;
	color: #344052;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.15s ease;
}
.shop-cat-sublist a:hover {
	background: #fef9f1;
	border-color: #e9d4a8;
	color: #c1923f;
	padding-left: 14px;
}
.shop-cat-sublist a::before {
	content: "\F285"; /* bi-chevron-right */
	font-family: 'bootstrap-icons';
	font-size: 0.7rem;
	color: #d4a574;
	margin-right: 2px;
}

/* Badge speciali (es. USATO) */
.shop-cat-badge {
	display: inline-block;
	background: linear-gradient(135deg, #b8842e 0%, #7d5818 100%);
	color: #fff;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 8px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
	.shop-hero { padding: 36px 0 56px; }
	.shop-hero h1 { font-size: 1.55rem; }
	.shop-hero-desc { font-size: 0.92rem; }
	.shop-wrap { padding: 44px 0 36px; }
	.shop-cat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
	.shop-cat-card-body { padding: 14px 16px 16px; }
	.shop-cat-card-title { font-size: 0.95rem; }
}


/* Responsive */
@media (max-width: 991px) {
	.policy-layout { grid-template-columns: 1fr; gap: 24px; }
	.policy-toc {
		position: relative;
		top: auto;
		padding: 16px;
	}
	.policy-toc ul {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}
	.policy-toc li { flex: 0 1 auto; }
	.policy-toc a { padding: 6px 12px; font-size: 0.86rem; }
}
@media (max-width: 768px) {
	.policy-hero { padding: 44px 0 72px; }
	.policy-hero h1 { font-size: 1.7rem; }
	.policy-hero-icon { width: 64px; height: 64px; font-size: 30px; }
	.policy-wrap { padding: 50px 0 40px; }
	.policy-section { padding: 26px 22px; }
	.policy-section-header h2 { font-size: 1.18rem; }
	.policy-section-header-icon { width: 40px; height: 40px; font-size: 19px; }
	.policy-cta { padding: 22px; flex-direction: column; align-items: flex-start; text-align: left; }
	.policy-cta-btn { width: 100%; justify-content: center; }
}
