/**
 * Override globali — caricato per ultimo (dopo Elementor e template.css).
 * Scrivi qui le regole che devono avere priorità sul resto del sito.
 */

/* grid_sticky: la colonna info non collassa quando .entry-summary è fixed */
.contents-detail .bwp-single-product.grid_sticky .bwp-single-info {
	align-self: flex-start;
}

.contents-detail .bwp-single-product.grid_sticky .bwp-single-info .entry-summary {
	overflow: visible !important;
}

/* Header: il tema forza maiuscolo su "Search" (header v6/v7) */
.bwp-header.header-v6 .text-search .search-toggle,
.bwp-header.header-v7 .text-search .search-toggle,
.bwp-header .header-page-link .search-box .search-toggle span {
	text-transform: none;
}

/* Pulsanti misura: quadrati, un solo bordo */
body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_scegli-la-misura"] .swatch.swatch-label,
body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_size"] .swatch.swatch-label {
	border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	box-shadow: none !important;
	border: 1px solid #ccc !important;
	background: transparent !important;
	min-width: 40px;
	min-height: 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce div.product .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce div.product .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce div.product .woosb-product .variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce div.product .woosb-product .variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce:not(.archive) li.product .cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce:not(.archive) li.product .cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce:not(.archive) li.product .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce:not(.archive) li.product .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce:not(.archive) li.product .woosb-product .variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce:not(.archive) li.product .woosb-product .variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce.archive .cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce.archive .cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce.archive .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce.archive .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce.archive .woosb-product .variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce.archive .woosb-product .variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .wc-product-table-wrapper .cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .wc-product-table-wrapper .cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .wc-product-table-wrapper .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .wc-product-table-wrapper .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .wc-product-table-wrapper .woosb-product .variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .wc-product-table-wrapper .woosb-product .variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce.single-product .cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce.single-product .cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce.single-product .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce.single-product .bundled_item_cart_content.cart.variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle, .woocommerce.single-product .woosb-product .variations_form .tawcvs-swatches .swatch.swatch-shape-circle, .woocommerce.single-product .woosb-product .variations_form .tawcvs-swatches .swatch-show-more.swatch-shape-circle{
	border-radius: 0% !important;
}

body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_scegli-la-misura"] .swatch.swatch-label::before,
body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_size"] .swatch.swatch-label::before {
	display: none !important;
	content: none !important;
	border: none !important;
}

body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_scegli-la-misura"] .swatch.swatch-label:hover,
body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_scegli-la-misura"] .swatch.swatch-label.selected,
body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_size"] .swatch.swatch-label:hover,
body.single-product .variations_form .tawcvs-swatches[data-attribute_name="attribute_pa_size"] .swatch.swatch-label.selected {
	border: 1px solid var(--gray-dark, #000) !important;
	background: var(--gray-dark, #000) !important;
	color: #fff !important;
	box-shadow: none !important;
}

body.single-product .type_attribute label {
	font-weight: bold;
}


.quickview-container .product-type-variable .variations_form.cart table tr td label, .single-product .product-type-variable .variations_form.cart table tr td label,
.quickview-container .bwp-single-info .single_add_to_cart_button.button, .single-product .bwp-single-info .single_add_to_cart_button.button,
.quickview-container .bwp-single-info .button.quick-buy, .single-product .bwp-single-info .button.quick-buy,
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top{
    text-transform: unset !important;

}

.quickview-container .bwp-single-info .woosw-wishlist, .single-product .bwp-single-info .woosw-wishlist{
	margin-right: 0 !important;
}

.quickview-container .bwp-single-info .woosw-wishlist .woosw-btn:before, .single-product .bwp-single-info .woosw-wishlist .woosw-btn:before {
    color: #ffffff91;
}

.quickview-container .bwp-single-info .woosw-wishlist .woosw-btn, .single-product .bwp-single-info .woosw-wishlist .woosw-btn {
    background: #a2872c;

}

.quickview-container .bwp-single-info .button.quick-buy,
.single-product .bwp-single-info .button.quick-buy,
.single-product .sticky-product .quick-buy.button {
    white-space: normal;
    line-height: 1.35;
    min-height: 50px;
    padding: 12px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ============================================================
   Video prodotto self-hosted (<video>) — vedi functions.php
   ============================================================ */
/* Slide "inner" nel carosello immagini */
.video-additional video.adena-self-video {
    width: 100%;
    height: auto;
    display: block;
}
/* Modale popup (stile Video = Popup) */
.content-video .modal-dialog video.adena-self-video {
    width: 100%;
    max-height: 80vh;
    display: block;
}

/* ============================================================
   360 / 3D da video — box + scrubbing (vedi js/adena-360-video.js)
   Riusa l'overlay .content-product-360-view del parent; il box e la X
   sono ridefiniti qui perche' non usiamo .product-360-view (a cui si
   aggancerebbe il viewer a immagini del parent).
   ============================================================ */
.adena-360-video-wrap .adena-360-video-box {
    position: relative;
    width: calc(100% - 30px);
    max-width: 600px;
    margin: auto;
    padding: 30px;
    background: #fff;
    box-sizing: border-box;
}
.adena-360-video-wrap .adena-360-video-box > .adena-360-button {
    height: 30px;
    width: 30px;
    position: absolute;
    top: -10px;
    right: -10px;
    left: auto;
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    z-index: 2;
}
.adena-360-video-wrap .adena-360-video-box > .adena-360-button:before,
.adena-360-video-wrap .adena-360-video-box > .adena-360-button:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: #222;
    transform: translate(-50%, -50%) rotate(45deg);
}
.adena-360-video-wrap .adena-360-video-box > .adena-360-button:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.adena-360-video-stage {
    position: relative;
    width: 100%;
    text-align: center;
}
.adena-360-video-stage video {
    width: auto;
    max-width: 100%;
    max-height: 70vh;      /* il video (anche verticale) sta sempre nello schermo */
    height: auto;
    margin: 0 auto;
    display: inline-block;
    vertical-align: middle;
    cursor: ew-resize;
    touch-action: none; /* niente scroll pagina durante il drag su touch */
}
.adena-360-video-wrap.is-scrubbing .adena-360-video-stage video {
    cursor: grabbing;
}
.adena-360-hint {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    opacity: 0.65;
}

/* ============================================================
   Tooltip SEMPRE visibili su icone Video (play) e 360/3D.
   Il tema mostra il tooltip (content: attr(data-title)) solo all'hover
   (opacity:0/visibility:hidden); qui lo rendiamo persistente cosi' l'utente
   capisce subito che le icone sono cliccabili.
   ============================================================ */
.adena-360-button.image:before,
.adena-360-button.image:after,
.contents-detail .bwp-single-product .adena-bt-video .bwp-video:before,
.contents-detail .bwp-single-product .adena-bt-video .bwp-video:after {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---- Mobile: adattamenti video/360 ---- */
@media (max-width: 767px) {
    /* box 360 video piu' compatto */
    .adena-360-video-wrap .adena-360-video-box {
        padding: 15px;
    }
    .adena-360-video-wrap .adena-360-video-box > .adena-360-button {
        top: 5px;
        right: 5px;
    }
    .adena-360-video-stage video {
        max-height: 65vh;
    }

    /* tooltip SOTTO l'icona (a destra sforerebbe fuori schermo) e freccia
       laterale nascosta perche' punterebbe nella direzione sbagliata */
    .adena-360-button.image:before,
    .contents-detail .bwp-single-product .adena-bt-video .bwp-video:before {
        right: auto;
        left: 50%;
        top: 100%;
        transform: translate(-50%, 7px);
    }
    .adena-360-button.image:after,
    .contents-detail .bwp-single-product .adena-bt-video .bwp-video:after {
        display: none !important;
    }
}

/* ============================================================
   PAGINA CHI SIAMO (id 9095)
   ============================================================ */

/* Il pulsante "Leggi la storia" era attaccato alla foto della
   sezione successiva: stesso respiro (70px) del resto della pagina */
.page-id-9095 .elementor-element-4c2bb64 {
    margin-bottom: 70px;
}

/* Banner titolo pagine: cache-bust dopo la sostituzione dell'immagine (ago 2026).
   Il tema stampa l'URL inline senza versione: i browser tenevano la foto vecchia. */
.page-title.bwp-title {
    background-image: url(/wp-content/uploads/2024/04/bg-breadcrumb.jpg?v=2) !important;
}

/* ============================================================
   PAGINA PRODOTTO — Leggi di più + Accordion summary
   ============================================================ */

body.single-product .anelli-product-description {
    margin: 0 0 24px;
    position: relative;
}

body.single-product .anelli-product-description .anelli-product-info--after-read-more {
    margin: 0;
    padding-top: 0;
    border-top: 0;
}

body.single-product .anelli-product-description__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0;
}

body.single-product .anelli-product-description__actions .anelli-read-more[hidden] {
    display: none !important;
}

body.single-product .anelli-product-description__actions .anelli-product-info--after-read-more {
    display: contents;
}

body.single-product .anelli-product-description__actions .anelli-product-info--after-read-more .anelli-product-info__toggle {
    width: auto;
    margin-left: auto;
    padding: 8px 12px;
    font-size: 11px;
    white-space: nowrap;
}

body.single-product .anelli-product-description__actions .anelli-product-info--after-read-more .anelli-product-info__panel {
    flex: 0 0 100%;
    width: 100%;
}

body.single-product .anelli-product-description__actions .anelli-product-info--after-read-more.anelli-product-info--sent .anelli-product-info__success {
    flex: 0 0 100%;
    width: 100%;
}

body.single-product .anelli-product-description__content {
    overflow: hidden;
    transition: max-height 0.45s ease;
}

body.single-product .anelli-product-description__content.is-truncated {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    max-height: none;
    position: relative;
}

body.single-product .anelli-product-description__content.is-truncated::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 90%);
    pointer-events: none;
}

body.single-product .anelli-product-description__content.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    max-height: none;
}

body.single-product .anelli-product-description__content.is-expanded::after {
    display: none;
}

body.single-product .anelli-product-description__content.is-truncated p:last-child {
    margin-bottom: 0;
}

body.single-product .anelli-read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--gray-dark, #1a1a1a);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

body.single-product .anelli-read-more__more,
body.single-product .anelli-read-more__less {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.single-product .anelli-read-more__icon {
    flex-shrink: 0;
    margin-top: 1px;
}

body.single-product .anelli-read-more:hover {
    opacity: 0.7;
}

body.single-product .anelli-read-more .anelli-read-more__less {
    display: none;
}

body.single-product .anelli-read-more[aria-expanded="true"] .anelli-read-more__more {
    display: none;
}

body.single-product .anelli-read-more[aria-expanded="true"] .anelli-read-more__less {
    display: inline;
}

body.single-product .anelli-product-accordions {
    margin: 32px 0 0;
    width: 100%;
}

body.single-product .anelli-accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

body.single-product .anelli-accordion-item:first-child {
    border-top: 1px solid #e5e5e5;
}

body.single-product .anelli-accordion-item__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--gray-dark, #1a1a1a);
    cursor: pointer;
    list-style: none;
}

body.single-product .anelli-accordion-item__title::-webkit-details-marker {
    display: none;
}

body.single-product .anelli-accordion-item__title::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    margin-left: 16px;
    flex-shrink: 0;
}

body.single-product .anelli-accordion-item[open] .anelli-accordion-item__title::after {
    content: "−";
}

body.single-product .anelli-accordion-item__content {
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

body.single-product .anelli-accordion-item__content ul {
    margin: 0;
    padding-left: 18px;
}

body.single-product .anelli-accordion-item__content li {
    margin-bottom: 8px;
}

body.single-product .anelli-accordion-item__content li:last-child {
    margin-bottom: 0;
}

body.single-product .anelli-accordion-item__content p {
    margin: 0 0 12px;
}

/* Specifiche tecniche — lista senza tabella */
body.single-product .anelli-product-specs {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.single-product .anelli-product-specs__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 0;
}

body.single-product .anelli-product-specs__label {
    flex: 0 0 38%;
    max-width: 220px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--gray-dark, #1a1a1a);
}

body.single-product .anelli-product-specs__value {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
}

body.single-product .anelli-product-specs__value p {
    margin: 0;
}

@media (max-width: 767px) {
    body.single-product .anelli-product-specs__item {
        flex-direction: column;
        gap: 6px;
        padding: 16px 0;
    }

    body.single-product .anelli-product-specs__label {
        flex: none;
        max-width: none;
    }
}

body.single-product .summary.entry-summary > .anelli-product-accordions {
    width: 100%;
}

body.single-product .bwp-single-info .product_meta,
body.single-product .summary.entry-summary .product_meta {
    margin-top: 28px;
    border-top: none;
    padding-top: 0;
}

body.single-product .summary.entry-summary > .woocommerce-tabs {
    width: 100%;
}

/* ========== 404 Anelli ========== */
.error404 .bwp-main .page-title {
	display: none !important;
}

.error404 .anelli-404 {
	--anelli-404-gold: #a2872c;
	--anelli-404-gold-soft: #c4a84a;
	--anelli-404-ink: #f5f2ea;
	--anelli-404-muted: rgba(245, 242, 234, 0.62);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(520px, 72vh, 760px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 72px 20px 96px;
	text-align: center;
	color: var(--anelli-404-ink);
	background:
		radial-gradient(ellipse 70% 55% at 50% 18%, rgba(162, 135, 44, 0.18), transparent 62%),
		radial-gradient(ellipse 50% 40% at 80% 90%, rgba(162, 135, 44, 0.07), transparent 70%),
		linear-gradient(180deg, #0a0a0a 0%, #111 45%, #0b0b0b 100%);
}

.error404 .anelli-404__glow {
	position: absolute;
	inset: 12% 20% auto;
	height: 220px;
	background: radial-gradient(circle, rgba(196, 168, 74, 0.22), transparent 70%);
	filter: blur(28px);
	pointer-events: none;
	z-index: 0;
	animation: anelli404Glow 6s ease-in-out infinite alternate;
}

.error404 .anelli-404__inner {
	position: relative;
	z-index: 1;
	width: min(640px, 100%);
}

.error404 .anelli-404__mark {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-bottom: 28px;
	animation: anelli404Rise 0.9s ease both;
}

.error404 .anelli-404__ring {
	display: block;
	opacity: 0.95;
	animation: anelli404Spin 18s linear infinite;
}

.error404 .anelli-404__stone {
	transform-origin: 60px 60px;
	animation: anelli404Sparkle 2.8s ease-in-out infinite;
}

.error404 .anelli-404__code {
	position: relative;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(72px, 14vw, 120px);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: 0.04em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(196, 168, 74, 0.55);
	background: linear-gradient(180deg, rgba(245, 242, 234, 0.18), rgba(162, 135, 44, 0.12));
	-webkit-background-clip: text;
	background-clip: text;
}

/* Nasconde il page-title "Errore 404" del tema parent */
.error404 .bwp-main > .page-title,
.error404 .page-title,
.error404 .breadcrumb {
	display: none !important;
}

.error404 .anelli-404__eyebrow {
	margin: 0 0 12px;
	font-family: Jost, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--anelli-404-gold-soft);
	animation: anelli404Rise 0.9s ease 0.08s both;
}

.error404 .anelli-404__title {
	margin: 0 0 16px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: var(--anelli-404-ink);
	text-transform: none;
	animation: anelli404Rise 0.9s ease 0.16s both;
}

.error404 .anelli-404__text {
	margin: 0 auto 32px;
	max-width: 42ch;
	font-family: Jost, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--anelli-404-muted);
	animation: anelli404Rise 0.9s ease 0.24s both;
}

.error404 .anelli-404__search {
	display: flex;
	gap: 0;
	width: min(440px, 100%);
	margin: 0 auto 28px;
	border: 1px solid rgba(196, 168, 74, 0.35);
	background: rgba(255, 255, 255, 0.03);
	animation: anelli404Rise 0.9s ease 0.32s both;
	transition: border-color 0.3s ease, background 0.3s ease;
}

.error404 .anelli-404__search:focus-within {
	border-color: var(--anelli-404-gold-soft);
	background: rgba(255, 255, 255, 0.05);
}

.error404 .anelli-404__search input[type="search"] {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	color: var(--anelli-404-ink);
	font-family: Jost, sans-serif;
	font-size: 15px;
	font-weight: 300;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.error404 .anelli-404__search input[type="search"]::placeholder {
	color: rgba(245, 242, 234, 0.4);
}

.error404 .anelli-404__search button {
	flex: 0 0 auto;
	margin: 0;
	padding: 14px 20px;
	border: 0;
	border-left: 1px solid rgba(196, 168, 74, 0.28);
	background: transparent;
	color: var(--anelli-404-gold-soft);
	font-family: Jost, sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.25s ease, background 0.25s ease;
}

.error404 .anelli-404__search button:hover {
	color: #0a0a0a;
	background: var(--anelli-404-gold);
}

.error404 .anelli-404__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 28px;
	margin-bottom: 40px;
	animation: anelli404Rise 0.9s ease 0.4s both;
}

.error404 .anelli-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	background: var(--anelli-404-gold);
	color: #0a0a0a !important;
	font-family: Jost, sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none !important;
	border: 1px solid var(--anelli-404-gold);
	transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.error404 .anelli-404__btn:hover {
	background: transparent;
	color: var(--anelli-404-gold-soft) !important;
	transform: translateY(-1px);
}

.error404 .anelli-404__link {
	font-family: Jost, sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--anelli-404-muted) !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(196, 168, 74, 0.35);
	padding-bottom: 2px;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.error404 .anelli-404__link:hover {
	color: var(--anelli-404-gold-soft) !important;
	border-color: var(--anelli-404-gold-soft);
}

.error404 .anelli-404__paths {
	animation: anelli404Rise 0.9s ease 0.48s both;
}

.error404 .anelli-404__paths-label {
	display: block;
	margin-bottom: 14px;
	font-family: Jost, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(245, 242, 234, 0.38);
}

.error404 .anelli-404__paths ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.error404 .anelli-404__paths a {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 18px;
	font-weight: 500;
	color: var(--anelli-404-ink) !important;
	text-decoration: none !important;
	transition: color 0.25s ease;
}

.error404 .anelli-404__paths a:hover {
	color: var(--anelli-404-gold-soft) !important;
}

@keyframes anelli404Rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes anelli404Glow {
	from { opacity: 0.55; transform: scale(0.96); }
	to { opacity: 1; transform: scale(1.05); }
}

@keyframes anelli404Spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes anelli404Sparkle {
	0%, 100% { opacity: 0.75; }
	50% { opacity: 1; }
}

@media (max-width: 575px) {
	.error404 .anelli-404 {
		padding: 56px 16px 72px;
		min-height: 0;
	}

	.error404 .anelli-404__search {
		flex-direction: column;
	}

	.error404 .anelli-404__search button {
		border-left: 0;
		border-top: 1px solid rgba(196, 168, 74, 0.28);
	}

	.error404 .anelli-404__paths a {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.error404 .anelli-404__glow,
	.error404 .anelli-404__mark,
	.error404 .anelli-404__eyebrow,
	.error404 .anelli-404__title,
	.error404 .anelli-404__text,
	.error404 .anelli-404__search,
	.error404 .anelli-404__actions,
	.error404 .anelli-404__paths,
	.error404 .anelli-404__ring,
	.error404 .anelli-404__stone {
		animation: none !important;
	}
}
