.acf-accordion-container {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.accordion-item + .accordion-item {
  border-top: 1px solid #ddd;
}

.accordion-header {
    padding: 17px 18px;
    background: #f1f1f1;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: background 0.3s;
    justify-content: space-between;
}

.accordion-header:hover {
  background: #eee;
}

.accordion-icon {
  transition: transform 0.3s ease;
  font-size: 14px;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 16px;
  background: #fff;
}

.accordion-content.open {
    margin: 20px 0px;
}


/* Warranty Lookup Styles */
.warranty-lookup-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

.warranty-lookup-content {
	display: flex;
	align-items: center;
	gap: 60px;
	margin-top: 115px;
	flex-wrap: wrap;
}

.box-search-warranty {
	background: #f9f6f1;
	border-radius: 10px;
	border: 1px solid #F0F0F0;
	padding: 20px;
	margin-bottom: 40px;
}

.warranty-lookup-left {
	flex: 1;
	min-width: 300px;
}

.warranty-lookup-right {
	flex: 1;
	min-width: 300px;
	text-align: center;
}

.warranty-title {
	font-size: 28px;
	font-weight: bold;
	color: #333;
	margin-bottom: 20px;
	line-height: 1.3;
}

.warranty-description {
	margin-bottom: 30px;
	color: #666;
	line-height: 1.6;
}

.warranty-description p {
	margin-bottom: 0;
	color: #000;
}

.warranty-form {
	margin-bottom: 30px;
}

.form-group {
	margin-bottom: 20px;
}

.warranty-lookup-container .form-group input[type="text"] {
	padding: 5px 16px;
	border: 1px solid rgb(224, 224, 224);
	border-radius: 6px;
	font-size: 14px;
	box-shadow: none;
	min-height: 45px;
	height: unset;
}

.form-group input[type="text"]:focus {
	outline: none;
	border-color: #ff8c00;
	box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.warranty-submit-btn {
	background: linear-gradient(135deg, #ff8c00, #ffa500);
	color: #000;
	border: none;
	padding: 5px 30px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.warranty-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.warranty-submit-btn:active {
	transform: translateY(0);
}

.play-icon {
	font-size: 14px;
}

.warranty-card {
	position: relative;
	transform: perspective(1000px) rotateY(-5deg);
	transition: transform 0.3s ease;
}

.warranty-card:hover {
	transform: perspective(1000px) rotateY(0deg);
}

.warranty-card-image {
	max-width: 100%;
	height: auto;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.warranty-result {
	background: white;
	padding: 30px;
	border-radius: 10px;
	border: 1px solid #e0e0e0;
	margin-top: 30px;
	font-family: Arial, sans-serif;
}

.warranty-result.success {
	border-left: 4px solid #28a745;
}

.warranty-result.error {
	border-left: 4px solid #dc3545;
}

.warranty-result-header {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
}

.warranty-date-code {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.warranty-date {
	font-size: 14px;
	color: #666;
}

.warranty-code-display {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	background: #f8f9fa;
	padding: 8px 15px;
	border-radius: 5px;
}

.warranty-customer-info,
.warranty-company-info,
.warranty-area-info {
	margin-bottom: 25px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.warranty-customer-info h3,
.warranty-company-info h3,
.warranty-area-info h3 {
	margin: 0 0 15px 0;
	color: #333;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
	padding-bottom: 8px;
}

.customer-grid,
.company-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
}

.customer-item,
.company-item {
	background: white;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	font-size: 14px;
	line-height: 1.5;
}

.customer-item strong,
.company-item strong {
	color: #666;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 600;
}

.area-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 15px;
}

.area-item,
.area-total {
	background: white;
	padding: 15px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	text-align: center;
	font-size: 14px;
}

.area-total {
	background: #fff3cd;
	border-color: #ffeaa7;
	font-weight: bold;
}

.warranty-products {
	margin-bottom: 25px;
}

.warranty-products h3 {
	margin: 0 0 15px 0;
	color: #333;
	font-size: 16px;
	font-weight: bold;
}

.warranty-products-table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.warranty-products-table th,
.warranty-products-table td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
	font-size: 14px;
}

.warranty-products-table th {
	background: #f8f9fa;
	font-weight: bold;
	color: #333;
	text-transform: uppercase;
	font-size: 12px;
}

.warranty-products-table tbody tr:hover {
	background: #f8f9fa;
}

.warranty-products-table .category-cell {
	background-color: #f1f3f4;
	font-weight: bold;
	vertical-align: middle;
	text-align: center;
	border-right: 2px solid #dee2e6;
}

.warranty-products-table tbody tr:last-child td {
	border-bottom: none;
}

.warranty-period {
	background: #f8f8f8;
	padding: 20px;
	border-radius: 8px;
	color: #000;
}

.warranty-period h3 {
	margin: 0 0 10px 0;
	color: #155724;
	font-size: 16px;
	font-weight: bold;
}

.warranty-period p {
	margin: 0;
	color: #155724;
	line-height: 1.6;
	font-size: 14px;
}

.box-search-warranty {
	display: flex;
	gap: 20px;
	align-items: center;
}

/* Error styles */
.warranty-result h3 {
	margin: 0 0 15px 0;
	color: #333;
}

.warranty-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.warranty-info-item {
	background: #f8f9fa;
	padding: 12px;
	border-radius: 6px;
}

.warranty-info-item strong {
	display: block;
	color: #666;
	font-size: 12px;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.warranty-info-item span {
	color: #333;
	font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
	.warranty-date-code {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}

	.customer-grid,
	.company-grid {
		grid-template-columns: 1fr;
	}

	.area-grid {
		grid-template-columns: 1fr;
	}

	.warranty-products-table {
		font-size: 12px;
	}

	.warranty-products-table th,
	.warranty-products-table td {
		padding: 8px 10px;
	}
}

.loading {
	opacity: 0.6;
	pointer-events: none;
}

.loading .warranty-submit-btn {
	background: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
	.warranty-lookup-content {
		flex-direction: column;
		margin-top: 65px;
		gap: 30px;
	}

	.warranty-title {
		font-size: 24px;
	}

	.warranty-card {
		transform: none;
	}

	.warranty-info {
		grid-template-columns: 1fr;
	}

	.box-search-warranty {
		flex-direction: column;
		align-items: flex-start;
	}

	.warranty-description {
		margin-bottom: 10px;
	}

	.warranty-submit-btn {
		margin: 0;
		width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
	}
	.warranty-form {
		margin-bottom: 0;
	}

	.warranty-result {
		padding: 20px 10px;
	}
	.warranty-lookup-container .form-group input[type="text"] {
		width: 100%;
	}

}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.warranty-result {
	animation: fadeInUp 0.3s ease;
}

/* Warranty Image Display */
.warranty-image-display {
	margin: 20px 0;
	text-align: center;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.warranty-main-image {
	max-width: 100%;
	max-height: 400px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.warranty-main-image:hover {
	transform: scale(1.02);
}

/* Product Verification Form Premium Styles */
.warranty-verification-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.verification-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.card-header {
    background: linear-gradient(135deg, #f9f6f1 0%, #ffffff 100%);
    padding: 40px 40px 30px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.verification-title {
    font-size: 28px;
    font-weight: 800;
    color: #2d3436;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.verification-subtitle {
    color: #636e72;
    font-size: 16px;
    margin: 0;
}

.card-body {
    padding: 40px;
}

.form-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ff8c00;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title::after {
    content: "";
    height: 1px;
    background: #eee;
    flex: 1;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    flex: none;
    width: 100%;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
}

.form-group input[type="text"],
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff8c00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.form-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: linear-gradient(135deg, #ff8c00, #ffb142);
    color: #fff !important;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    text-decoration: none;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 140, 0, 0.4);
    color: #fff !important;
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Response messaging */
.notice {
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    animation: slideInUp 0.4s ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-header {
        padding: 30px 20px;
    }
    
    .card-body {
        padding: 25px 20px;
    }
    
    .verification-title {
        font-size: 22px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}