
/* =========================================================
   OM Domain Search - Full UI CSS (Screenshot-style)
   Paste into: om-domain-search/assets/domain-search.css
   ========================================================= */

/* ---- Wrapper Card ---- */
.om-ds {
	background: #fff;
	border-radius: 18px;
	padding: 22px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
	font-family: "Montserrat", Sans-serif;
}

/* ---- Form Layout (Search Bar + Button) ---- */
.om-ds .domain-form-wrapper {
	/*display: grid;*/
	grid-template-columns: 1fr 220px;
	gap: 16px;
	align-items: center;
	margin-bottom: 18px;
}

.om-ds .wdes-domain-input-wrapper {
	position: relative;
	width: 100%;
}

.om-ds .domain-input-search-label {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	opacity: .8;
}

.om-ds .domain-input-search-label svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* Search input */
.om-ds .om-ds-input {
	width: 100%;
	height: 62px;
	border-radius: 14px;
	border: 1px solid #e7edf7;
	background: #f9fbff;
	padding: 0 18px 0 48px;
	font-size: 16px;
	outline: none;
}

.om-ds .om-ds-input:focus {
	border-color: #1a73e8;
	box-shadow: 0 0 0 4px rgba(26, 115, 232, .12);
	background: #fff;
}

/* Search button */
.om-ds .om-ds-submit {
	height: 62px;
	border-radius: 14px;
	border: none;
	cursor: pointer;
	background: #1a73e8;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 10px 20px rgba(26, 115, 232, .18);
	transition: transform .12s ease, background .2s ease;
}

.om-ds .om-ds-submit:hover {
	background: #1558b0;
	transform: translateY(-1px);
}

.om-ds .om-ds-submit:active {
	transform: translateY(0px);
}

/* ---- Errors + loader ---- */
.om-ds .om-ds-error {
	margin-top: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff3f3;
	border: 1px solid #ffd1d1;
	color: #b00020;
	font-weight: 600;
}

.om-ds .om-ds-loader {
	margin-top: 12px;
	font-weight: 600;
	color: #334155;
}

/* ---- Results container ---- */
.om-ds .om-ds-results {
	margin-top: 18px;
}

/* =========================================================
   Primary Result (Top Highlight Row)
   ========================================================= */
.om-ds .om-ds-primary.wdes-result-domain-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border: 1px solid #e6effc;
	border-radius: 14px;
	background: #f9fbff;
	margin-bottom: 20px;
}

.om-ds .om-ds-primary.unavailable {
	border: 1px solid #ffd2d2;
	background: #ffe7e7;
}

.om-ds-more li.om-ds-item.unavailable {
	display: none;
}

.om-ds .om-ds-primary .results-wdes-dom {
	font-size: 16px;
	font-weight: 600;
	color: var(--e-global-color-text);
}

.om-ds .om-ds-primary .results-wdes-dom b {
	font-weight: 700;
}

/* inline price next to main text */
.om-ds .om-ds-primary .om-ds-inline-price {
	margin-left: 10px;
	font-weight: 600;
	color: var(--e-global-color-text);
}

/* Right side actions */
.om-ds .om-ds-primary .inner-block-result-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* =========================================================
   "More Options" section
   ========================================================= */
.om-ds .om-ds-more.wdes-domain-more-options {
	background: transparent;
	padding: 0;
}

.om-ds .om-ds-more h2 {
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	color: var(--e-global-color-text);
	margin: 8px 0 16px;
}

/* List container */
.om-ds .om-ds-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

/* Each row: Domain | Price | Button */
.om-ds .om-ds-item {
	display: grid;
	grid-template-columns: 1fr 90px 160px;
	align-items: center;
	gap: 16px;
	padding: 16px 12px;
	border-bottom: 1px solid #eef1f5;
}

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

/* Domain message */
.om-ds .om-ds-item h5 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--e-global-color-text);
}

.om-ds .om-ds-item h5 b {
	font-weight: 700;
}

/* Price */
.om-ds .om-ds-price {
	text-align: right;
	font-size: 18px;
	font-weight: 600;
	color: var(--e-global-color-text);
	white-space: nowrap;
}

/* Button + cart icon holder */
.om-ds .om-ds-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}

/* =========================================================
   Buttons (Purchase)
   ========================================================= */
.om-ds a.wdes-purchase-btn, .om-ds .om-ds-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 46px;
	padding: 0 18px;
	border-radius: 12px;
	background: #1a73e8;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
	box-shadow: 0 10px 18px rgba(26, 115, 232, .16);
}

.om-ds a.wdes-purchase-btn:hover, .om-ds .om-ds-buy:hover {
	background: #1558b0;
	transform: translateY(-1px);
}

.om-ds a.wdes-purchase-btn:active, .om-ds .om-ds-buy:active {
	transform: translateY(0px);
}

/* If your theme loads FontAwesome, this will show the FA cart icon nicely */
.om-ds .wdes-available-dom {
	font-size: 16px;
	color: #fff;
}

/* =========================================================
   Availability row colors
   ========================================================= */
.om-ds .om-ds-item.available h5 {
	color: var(--e-global-color-text);
}

.om-ds .om-ds-item.unavailable h5 {
	color: #334155;
}

.om-ds .om-ds-item.unavailable .om-ds-price {
	opacity: .8;
}

/* =========================================================
   Responsive (Mobile)
   ========================================================= */
@media (max-width: 1024px) {
	.om-ds .domain-form-wrapper {
		grid-template-columns: 1fr 180px;
	}
}

@media (max-width: 768px) {
	.om-ds {
		padding: 16px;
		border-radius: 16px;
	}
	
	.om-ds .domain-form-wrapper {
		grid-template-columns: 1fr;
	}
	
	.om-ds .om-ds-submit {
		width: 100%;
	}
	
	.om-ds .om-ds-primary.wdes-result-domain-box {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	.om-ds .om-ds-primary .inner-block-result-item {
		width: 100%;
		justify-content: flex-start;
	}
	
	.om-ds .om-ds-item {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	
	.om-ds .om-ds-price {
		text-align: left;
	}
	
	.om-ds .om-ds-actions {
		justify-content: flex-start;
	}
	
	.om-ds a.wdes-purchase-btn, .om-ds .om-ds-buy {
		width: 100%;
	}
}

/* =========================================================
   Search Field with Embedded Button (Screenshot Style)
   ========================================================= */

/* wrapper */
.om-ds .domain-form-wrapper {
	width: 100%;
}

/* input + button container */
.om-ds .wdes-domain-input-wrapper {
	position: relative;
	width: 100%;
}

/* search icon (left) */
.om-ds .domain-input-search-label {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	color: #64748b;
	pointer-events: none;
}

/* input field */
.om-ds .om-ds-input {
	width: 100%;
	height: 68px;
	border-radius: 18px;
	border: 1px solid #e5e7eb;
	background: #fff;
	padding: 0 170px 0 54px;
	/* space for button + icon */
	font-size: 16px;
	font-weight: 500;
	color: var(--e-global-color-text);
	outline: none;
}

/* input focus */
.om-ds .om-ds-input:focus {
	border-color: #1a73e8;
	box-shadow: 0 0 0 4px rgba(26, 115, 232, .12);
}

/* embedded button */
.om-ds .om-ds-submit {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	height: 52px;
	padding: 0 18px;
	border-radius: 14px;
	border: none;
	background: #1a73e8;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 8px 18px rgba(26, 115, 232, .22);
	transition: background .2s ease, transform .12s ease;
}

.om-ds .om-ds-submit:hover {
	background: #1558b0;
	transform: translateY(-50%) scale(1.02);
}

.om-ds .om-ds-submit:active {
	transform: translateY(-50%) scale(.98);
}

@media (max-width: 768px) {
	.om-ds .om-ds-input {
		height: 62px;
		padding-right: 150px;
	}
	
	.om-ds .om-ds-submit {
		height: 46px;
		padding: 0 16px;
		font-size: 13px;
	}
}
