/*---------------------------------------------------------------------
    Delivery Calculator Styles
---------------------------------------------------------------------*/

/* Standalone Delivery Calculator Page */
.delivery-calculator-section {
	background: #f8f9fa;
	min-height: 70vh;
}

.delivery-calc-title {
	color: #333;
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 10px;
}

.delivery-calc-title i {
	color: #ffc107;
	margin-right: 15px;
}

.delivery-info-card {
	background: white;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	border-left: 5px solid #ffc107;
}

.delivery-info-card h4 {
	color: #333;
	font-size: 24px;
	margin-bottom: 20px;
	font-weight: 600;
}

.delivery-info-card h4 i {
	color: #17a2b8;
	margin-right: 10px;
}

.delivery-features {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.delivery-features li {
	padding: 12px 0;
	font-size: 17px;
	color: #555;
	border-bottom: 1px solid #eee;
}

.delivery-features li:last-child {
	border-bottom: none;
}

.delivery-features li i {
	color: #28a745;
	margin-right: 12px;
	font-size: 18px;
}

.store-location {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
	font-size: 16px;
	color: #555;
}

.store-location i {
	color: #dc3545;
	margin-right: 8px;
}

.calculator-card {
	background: white;
	border-radius: 12px;
	padding: 35px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.calculator-card h3 {
	color: #333;
	font-size: 26px;
	font-weight: 600;
	margin-bottom: 25px;
}

.calculator-card .form-label {
	font-weight: 600;
	color: #555;
	font-size: 16px;
	margin-bottom: 10px;
}

.calculator-card .form-label i {
	color: #ffc107;
	margin-right: 8px;
}

.results-section {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 25px;
	border: 2px solid #28a745;
}

.results-section h4 {
	color: #28a745;
	font-size: 22px;
	margin-bottom: 20px;
	font-weight: 600;
}

.result-item {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid #dee2e6;
	font-size: 16px;
}

.result-item:last-child {
	border-bottom: none;
}

.result-label {
	color: #666;
	font-weight: 500;
}

.result-value {
	color: #333;
	font-weight: 600;
}

.result-item.highlight {
	background: #fff3cd;
	padding: 15px;
	margin: 10px -10px;
	border-radius: 8px;
	border: none;
	font-size: 18px;
}

.result-item.highlight .result-value {
	color: #ffc107;
	font-size: 24px;
}

/* Product Page Delivery Widget */
.delivery-widget {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	transition: transform 0.3s ease;
}

.delivery-widget:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.delivery-widget-header {
	background: #555;
	padding: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

.delivery-widget-header h4 {
	color: white;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 5px 0;
}

.delivery-widget-header h4 i {
	margin-right: 10px;
	color: #ffc107;
}

.delivery-widget-header p {
	color: rgba(255,255,255,0.9);
	margin: 0;
	font-size: 14px;
}

.delivery-widget-body {
	padding: 25px;
	background: white;
}

.delivery-form-inline .form-control {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px 15px;
	font-size: 15px;
	transition: border-color 0.3s;
}

.delivery-form-inline .form-control:focus {
	border-color: #555;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.delivery-form-inline .btn {
	border-radius: 8px;
	padding: 12px;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s;
	background-color: #555;
	
}

.delivery-form-inline .btn:active {
	background-color: #f5a623 !important;
	border-color: #fff !important;
}

.delivery-form-inline .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 .2rem #f5a623;
}

.delivery-results {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 20px;
	border: 2px solid #28a745;
}

.delivery-breakdown {
	background: white;
	border-radius: 8px;
	padding: 20px;
}

.breakdown-header {
	color: #28a745;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #28a745;
}

.breakdown-header i {
	margin-right: 8px;
}

.breakdown-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	font-size: 15px;
	color: #555;
}

.breakdown-divider {
	border-top: 2px dashed #dee2e6;
	margin: 15px 0;
}

.breakdown-total {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	padding-top: 15px;
}

.breakdown-total span:last-child {
	color: #28a745;
	font-size: 24px;
}

.breakdown-note {
	background: #e7f3ff;
	padding: 12px;
	border-radius: 6px;
	margin-top: 15px;
	text-align: center;
}

.breakdown-note i {
	color: #17a2b8;
	margin-right: 5px;
}

/* Address Suggestions Dropdown */
.address-suggestions-dropdown {
	max-height: 300px;
	overflow-y: auto;
	background: white;
	border: 2px solid #ffc221;
	border-top: none;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	display: none;
	margin-top: -1px;
}

.address-suggestions-dropdown .list-group {
	margin-bottom: 0;
	border-radius: 0 0 8px 8px;
}

.address-suggestion-item {
	cursor: pointer;
	padding: 12px 15px;
	border: none;
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
	transition: all 0.2s;
	font-size: 14px;
}

.address-suggestion-item:last-child {
	border-bottom: none;
	border-radius: 0 0 8px 8px;
}

.address-suggestion-item:hover {
	background: #f8f9fa;
	color: #667eea;
	transform: translateX(5px);
}

.address-suggestion-item i {
	margin-right: 8px;
	font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.delivery-calc-title {
		font-size: 32px;
	}

	.delivery-info-card {
		padding: 20px;
	}

	.calculator-card {
		padding: 25px 20px;
	}

	.delivery-widget-header h4 {
		font-size: 18px;
	}

	.delivery-widget-body {
		padding: 20px;
	}

	.breakdown-total {
		font-size: 18px;
	}

	.breakdown-total span:last-child {
		font-size: 20px;
	}

	.address-suggestions-dropdown {
		max-height: 200px;
	}

	.address-suggestion-item {
		font-size: 13px;
		padding: 10px 12px;
	}
}

.product-detail-info {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 2px #d3d3d3 solid;

}

.product-detail-name {
	font-size: 32px;
	font-weight: bold;
	color: #333;
}

.product-detail-pricing {
	background: white;
	padding: 20px;
	border-radius: 8px;
	border: 2px solid #ffc107;
}

.savings-badge {
	background: #28a745;
	color: white;
	padding: 8px 15px;
	border-radius: 5px;
	font-weight: bold;
	display: inline-block;
	margin-top: 10px;
}

.product-condition-detail {
	font-size: 16px;
}

.product-description-detail h4 {
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
}

.product-description-detail p {
	font-size: 16px;
	line-height: 1.8;
	color: #666;
}

.product-actions .btn {
	font-size: 18px;
	padding: 12px 20px;
}

@media (max-width: 420px) {
	.product-actions .btn {
		font-size: 14px;
		padding: 8px 15px;
	}
}

.product-meta {
	border-top: 1px solid #e0e0e0;
	padding-top: 15px;
}

