/* -------------------------------------------------------------
	DARK THEME WRAPPER
------------------------------------------------------------- */
.rsgwiq_container {
	margin-top: 25px;
	padding: 0;
	border: none;
	color: #f1f1f1;
}

#rsgwiq .rsgwiq_section {
	margin-bottom: 20px;
}

#rsgwiq .rsgwiq_section h4 {
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

#rsgwiq .rsgwiq_attr_label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #fff;
	font-size: 15px;
}

#rsgwiq .rsgwiq_flex_section {
	display: flex;
	gap: 10px;
	flex-direction: row;
}

/* -------------------------------------------------------------
	GRID SELECTOR (≤ 4 options)
------------------------------------------------------------- */
.rsgwiq_grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.rsgwiq_grid_item {
	width: 140px;
	border: 1px solid #2b2b2b;
	border-radius: 5px;
	background: #3a3a3a;
	cursor: pointer;
	user-select: none;
	transition: all .2s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 10px;
}

.rsgwiq_grid_item:hover {
	border-color: #ccc;
}

.rsgwiq_grid_item.active {
	border-color: #fff;
	background: #ccc;
}

.rsgwiq_grid_item input {
	display: none;
}

/* Image wrapper */
.rsgwiq_grid_img_wrap {
	width: 100%;
	height: 100px;
	border-radius: 5px;
	overflow: hidden;
	background: #2b2b2b;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 2px 2px 15px -5px #000;
}

#rsgwiq img.rsgwiq_grid_img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

/* Label wrapper */
.rsgwiq_grid_label_wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	text-align: center;
}

.rsgwiq_grid_text {
	font-size: 12px;
	color: #fff;
}

.rsgwiq_grid_item.active .rsgwiq_grid_text {
	color: #000;
}

/* -------------------------------------------------------------
	CUSTOM DROPDOWN (> 4 options)
------------------------------------------------------------- */
.rsgwiq_dropdown {
	position: relative;
	width: 100%;
	max-width: 600px;
	min-width: 200px;
}

.rsgwiq_dropdown_selected {
	border: 1px solid #444;
	padding: 12px;
	border-radius: 5px;
	background: #3a3a3a;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all .2s ease;
	color: #fff;
}

.rsgwiq_dropdown.open .rsgwiq_dropdown_selected {
	border-color: #00c2ff;
}

/* Selected item preview */
.rsgwiq_dropdown_selected_inner {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rsgwiq_dropdown_selected_label {
	font-weight: 600;
	color: #fff;
}

.rsgwiq_dropdown_selected_price {
	font-size: 13px;
	color: #ccc;
}

/* -------------------------------------------------------------
	DROPDOWN LIST
------------------------------------------------------------- */
.rsgwiq_dropdown_list {
	position: absolute;
	top: calc(100% + 5px);
	left: 0;
	width: 100%;
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid #444;
	border-radius: 5px;
	background: #3a3a3a;
	display: none;
	z-index: 50;
}

.rsgwiq_dropdown.open .rsgwiq_dropdown_list {
    display: block;
}

.rsgwiq_dropdown_item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	cursor: pointer;
	transition: background .2s ease;
	color: #fff;
}

.rsgwiq_dropdown_item:hover {
    background: #4a4a4a;
}

.rsgwiq_dropdown_item.active {
    background: #555;
}

.rsgwiq_dropdown_thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
}

.rsgwiq_dropdown_label {
	font-weight: 600;
	flex: 1;
}

.rsgwiq_dropdown_price {
	font-size: 13px;
	color: #ccc;
}

/* -------------------------------------------------------------
	Shipping & Payment dropdown items
------------------------------------------------------------- */
#rsgwiq .rsgwiq_dropdown_item .rsgwiq_dropdown_label {
	font-size: 14px;
	font-weight: 400;
}

#rsgwiq .rsgwiq_dropdown_item .rsgwiq_dropdown_price,
#rsgwiq .rsgwiq_dropdown_item .rsgwiq_dropdown_price .amount {
	font-size: 12px;
	color: #aaa;
}

/* -------------------------------------------------------------
	Selected state for non-image dropdowns
------------------------------------------------------------- */
.rsgwiq_dropdown_selected {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 45px;
}

/* -------------------------------------------------------------
	INPUTS
------------------------------------------------------------- */
#rsgwiq_qty,
#rsgwiq_name,
#rsgwiq_email,
#rsgwiq_phone {
	width: 100%;
	max-width: 600px;
	padding: 10px;
	border: 1px solid #444;
	border-radius: 5px;
	margin-bottom: 10px;
	background: #3a3a3a;
	color: #fff;
}

/* -------------------------------------------------------------
	SUBMIT BUTTON
------------------------------------------------------------- */
.rsgwiq_submit {
	width: 100%;
	max-width: 350px;
	padding: 12px;
	background: #00c2ff;
	color: #000;
	border-radius: 5px;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s ease;
	font-weight: 600;
}

.rsgwiq_submit:hover {
	background: #00a4d6;
}

/* -------------------------------------------------------------
	TABS WRAPPER
------------------------------------------------------------- */
.rsgwiq_tabs {
	width: 100%;
}

/* -------------------------------------------------------------
	TAB TITLES
------------------------------------------------------------- */
.rsgwiq_tab_titles {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.rsgwiq_tab_title {
	padding: 5px 10px;
	background: #3a3a3a;
	border: 1px solid #333;
	border-radius: 5px 5px 0px 0px;
	border-bottom: 0;
	cursor: pointer;
	color: #fff;
	font-weight: 400;
	transition: all .2s ease;
}

.rsgwiq_tab_title:hover,
.rsgwiq_tab_title.active {
	background: #ccc;
	color: #2b2b2b;
	border-color: #fff;
}

/* -------------------------------------------------------------
	TAB CONTENT
------------------------------------------------------------- */
.rsgwiq_tab_content {
	display: none;
}

.rsgwiq_tab_content.active {
	display: block;
	background: #2b2b2b;
	padding: 20px;
	border-radius: 0 0 5px 5px;
	border-top: 1px solid #ccc;
}

/* -------------------------------------------------------------
	RELATED PRODUCTS GRID
------------------------------------------------------------- */
.rsgwiq_related_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.rsgwiq_related_item {
	display: block;
	background: #3a3a3a;
	border: 1px solid #444;
	border-radius: 8px;
	padding: 10px;
	text-align: center;
	color: #fff;
	transition: all .2s ease;
}

.rsgwiq_related_item:hover {
	border-color: #00c2ff;
	background: #444;
}

.rsgwiq_related_img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 5px;
	margin-bottom: 8px;
}

.rsgwiq_related_name {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 5px;
}

.rsgwiq_related_price {
	font-size: 13px;
	color: #ccc;
}

/* -------------------------------------------------------------
	COUPONS
------------------------------------------------------------- */
.rsgwiq_coupon_field {
	margin: 15px 0;
	display: flex;
	gap: 10px;
	align-items: center;
}

.rsgwiq_coupon_field input {
	flex: 1;
}

/* -------------------------------------------------------------
	DISCLAIMER
------------------------------------------------------------- */
#rsgwiq_disclaimer_box {
	background: #1e1e1e;
	border: none;
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
}

#rsgwiq_disclaimer_box ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

#rsgwiq_disclaimer_box ul li {
	margin:4px 0;
	color:#fff;
}

#rsgwiq_payment_message {
	background: #1e1e1e; 
	border: none; 
	padding: 10px; 
	margin-bottom: 10px; 
	border-radius: 5px; 
	color: #fff;
}

#rsgwiq_stock_message {
	color:#d9534f; 
	margin-bottom:10px;
}