/* Slabcode Page Styles */

/* Auth Card */
.auth-card {
	background: white;
	border: 2px solid #e8f4f8;
	padding: 24px;
	margin: 40px 0 20px;
}
.auth-card--error {
	border-color: #fce8e8;
}
.auth-card--success {
	border-color: #e8f4f8;
}
.auth-card__label {
	font-size: 13px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 500;
	margin-bottom: 8px;
}
.auth-card--error .auth-card__label {
	color: #c62828;
}
.auth-card__serial {
	font-size: clamp(20px, 4vw, 24px);
	color: #1a4d6f;
	font-weight: 600;
	margin-bottom: 12px;
}
.auth-card__serial--error {
	color: #c62828;
}
.auth-card__link {
	margin-top: 16px;
}
.auth-card__link a {
	color: #1a4d6f;
	font-size: 14px;
	text-decoration: underline;
	font-weight: 500;
}

/* Auth Badge */
.auth-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}
.auth-badge--success {
	background: linear-gradient(135deg, #0a7a5f 0%, #0d9d7d 100%);
}
.auth-badge--error {
	background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
}
.auth-badge__icon {
	width: 18px;
	height: 18px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Auth Warning */
.auth-warning {
	background: #fff3e0;
	border: 2px solid #ffb74d;
	padding: 20px;
	margin-bottom: 50px;
	margin-top: 40px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.auth-warning__icon {
	width: 40px;
	height: 40px;
	background: white;
	border: 2px solid #f57c00;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.auth-warning__content {
	flex: 1;
	min-width: 200px;
}
.auth-warning__title {
	color: #f57c00;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 4px;
}
.auth-warning__text {
	color: #666;
	font-size: 14px;
}

/* Spec Container */
.spec-container {
	background: #f8f9fa;
	padding: 30px;
	border-radius: 0px;
	margin-bottom: 30px;
}
.spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e0e0e0;
}
.spec-row:last-child {
	border-bottom: none;
}
.spec-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}
.spec-value {
	font-size: 16px;
	color: #1a4d6f;
	font-weight: 600;
}
.spec-value--right {
	text-align: right;
}

/* Location Box */
.location-box {
	background: #f0f7fa;
	border: 2px solid #d0e4ed;
	border-radius: 0px;
	padding: 20px;
	margin-bottom: 80px;
	margin-top: 30px !important;
}
.location-content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.location-icon {
	width: 40px;
	height: 40px;
	background: white;
	border: 2px solid #2c5f7c;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.location-text {
	flex: 1;
	min-width: 200px;
}
.location-title {
	color: #2c5f7c;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 4px;
}

/* Safety Section */
.safety-section {
	margin-top: 50px;
}
.safety-title {
	font-family: 'sangbleu_empireregular', serif;
	font-size: clamp(36px, 6vw, 48px);
	font-weight: 300;
	color: #1a4d6f;
	letter-spacing: 2px;
	margin: 0 0 20px 0;
}
.safety-description {
	color: #555;
	font-size: 15px;
	margin-bottom: 30px;
	line-height: 1.6;
}
.safety-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.safety-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #e0e0e0;
	gap: 16px;
	cursor: pointer;
}
.safety-item:last-child {
	border-bottom: none;
}
.safety-item-text {
	color: #1a4d6f;
	font-size: 15px;
	flex: 1;
}
.safety-item-icon {
	width: 20px;
	height: 20px;
	color: #1a4d6f;
	flex-shrink: 0;
}
.safety-loading,
.safety-empty,
.safety-error {
	padding: 20px;
	text-align: center;
	color: #666;
	font-size: 14px;
}
.safety-error {
	color: #c62828;
}

/* Choice Grid */
.choice-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}
.choice-box {
	border: 2px solid #d0e4ed;
	border-radius: 8px;
	padding: 40px 30px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
	background: white;
}
.choice-box:hover {
	border-color: #1a4d6f;
}
.choice-box.selected {
	border-color: #1a4d6f;
	background: #f0f7fa;
}
.choice-icon {
	width: 60px;
	height: 60px;
	border: 2px solid #d0e4ed;
	border-radius: 50%;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}
.choice-box.selected .choice-icon {
	border-color: #1a4d6f;
}

/* Form Sections */
.form-section {
	display: none;
}
.form-section.active {
	display: block;
}
.form-input {
	width: 100%;
	padding: 14px;
	border: 2px solid #e0e0e0;
	border-radius: 0px;
	font-size: 15px;
	color: #1a4d6f;
	font-family: 'Work Sans', sans-serif;
	box-sizing: border-box;
}
.form-input:focus {
	outline: none;
	border-color: #1a4d6f;
}
.form-input::placeholder {
	color: #999;
}
textarea.form-input {
	min-height: 120px;
	resize: vertical;
}

/* Verify Section */
#verify-section {
	background: #f8f9fa;
	padding: 60px 20px;
	width: 100%;
	margin-top: 60px;
}

/* Submit Button */
.submit-btn {
	background: #1a4d6f;
	color: white;
	border: none;
	padding: 16px 40px;
	border-radius: 24px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Work Sans', sans-serif;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.submit-btn:hover {
	background: #2c5f7c;
}

/* Overrides */
.main__wrapper {
	padding-bottom: 0px;
}
.product__details .swiper {
	display: none !important;
}
/* Override tema - forza visibilitÃ  */
.section.product.slabcode-page,
.section.product.slabcode-page[data-module],
.section.product.slabcode-page [data-module],
[data-module="product"].slabcode-page {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.slabcode-page *,
.slabcode-page [data-module] *,
.slabcode-page .product__info-item,
.slabcode-page .spec-container,
.slabcode-page .spec-row,
.slabcode-page .location-box,
.slabcode-page .safety-section {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
/* Slabcode Page Styles */

/* Spec Table */
.spec-table {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 0px;
    margin-bottom: 30px;
}
.spec-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}
.spec-table-row:last-child {
    border-bottom: none;
}
.spec-table-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}
.spec-table-value {
    font-size: 16px;
    color: #1a4d6f;
    font-weight: 600;
    text-align: right;
}

/* Location Box */
.location-box {
    background: #f0f7fa;
    border: 2px solid #d0e4ed;
    border-radius: 0px;
    padding: 20px;
    margin-bottom: 40px;
    margin-top: 30px;
}
.location-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.location-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #2c5f7c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.location-text {
    flex: 1;
    min-width: 200px;
}
.location-title {
    color: #2c5f7c;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 0;
}

/* Safety Section */
.safety-section {
    margin-top: 50px;
}
.safety-title {
    font-family: 'sangbleu_empireregular', serif;
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 300;
    color: #1a4d6f;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
}
.safety-description {
    color: #555;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
}
.safety-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.safety-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 16px;
    cursor: pointer;
    transition: color 0.2s;
}
.safety-item:hover {
    color: #2c5f7c;
}
.safety-item:last-child {
    border-bottom: none;
}
.safety-item-text {
    color: #1a4d6f;
    font-size: 15px;
    flex: 1;
}
.safety-item-icon {
    width: 20px;
    height: 20px;
    color: #1a4d6f;
    flex-shrink: 0;
}
.safety-loading,
.safety-empty,
.safety-error {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}
.safety-error {
    color: #c62828;
}

/* Verify Section */
#verify-section {
    background: #f8f9fa;
    padding: 60px 20px;
    width: 100%;
    margin-top: 60px;
}

/* Choice Grid */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.choice-box {
    border: 2px solid #d0e4ed;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}
.choice-box:hover {
    border-color: #1a4d6f;
}
.choice-box.selected {
    border-color: #1a4d6f;
    background: #f0f7fa;
}
.choice-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #d0e4ed;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.choice-box.selected .choice-icon {
    border-color: #1a4d6f;
}

/* Form Sections */
.form-section {
    display: none;
}
.form-section.active {
    display: block;
}
.form-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 0px;
    font-size: 15px;
    color: #1a4d6f;
    font-family: 'Work Sans', sans-serif;
    box-sizing: border-box;
}
.form-input:focus {
    outline: none;
    border-color: #1a4d6f;
}
.form-input::placeholder {
    color: #999;
}
textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.submit-btn {
    background: #1a4d6f;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.submit-btn:hover {
    background: #2c5f7c;
}

/* Theme Overrides */
.main__wrapper {
    padding-bottom: 0px;
}
.product__details .swiper {
    display: none !important;
}
/* CASO 2 - Solo API, senza data-module */
.section.product.slabcode-api-only {
    opacity: 1 !important;
    visibility: visible !important;
}
.section.product.slabcode-api-only * {
    opacity: 1 !important;
    visibility: visible !important;
}

.lsd-lang-select-wrap select.lsd-lang-select {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    cursor: pointer !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
}

/* Responsive */
@media (max-width: 767px) {
    .choice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .spec-table {
        padding: 20px;
    }
    .spec-table-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .spec-table-value {
        text-align: left;
    }
}

/* Responsive */
@media (max-width: 767px) {
	.choice-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
.lsd-lang-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.lsd-lang-modal.active {
    display: flex;
}
.lsd-lang-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.lsd-lang-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}
.lsd-lang-modal-close:hover {
    color: #000;
}
.lsd-lang-modal-title {
    font-size: 28px;
    color: #1a4d6f;
    margin: 0 0 10px 0;
    font-weight: 600;
}
.lsd-lang-modal-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.lsd-lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}
.lsd-lang-item {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #1a4d6f;
}
.lsd-lang-item:hover:not(.disabled) {
    border-color: #1a4d6f;
    background: #f0f7fa;
}
.lsd-lang-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}
.lsd-lang-select-wrap {
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.lsd-lang-select-label {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 10px;
}
.lsd-lang-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
}
.lsd-lang-select:focus {
    outline: none;
    border-color: #1a4d6f;
}
/* Fix Select dropdown */
select.lsd-lang-select {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    padding-right: 35px !important;
}

/* Fix icona location box */
.location-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    background: white !important;
    border: 2px solid #2c5f7c !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.location-icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    stroke: #2c5f7c !important;
    fill: none !important;
}
.lsd-lang-item.disabled{display: none !important;}
.active_mobile {
    display: none;
}
.main__wrapper::after{box-shadow: none !important; position: relative; display: none;}
.motion._fade{transform: translateY(0px) !important;}
.section.recall._loaded{padding-bottom: 50px !important;}
._mtop-8.motion _fade .cta{margin-bottom: 50px !important}
	
@media (max-width: 767px) {
    .active_dekstop {
        display: none;
    }
	.active_mobile {
        display: block;
    }
	.page-template-template-slabcode-php .main {
		margin-top: 30px;
	  }
}