.woocommerce.single .woocommerce-variation-add-to-cart > * {
	display: block;
}

.woocommerce div.product form.cart .variations select {
	height: 40px;
}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
    line-height: 50px;
    margin: 0;
    padding: 5px;
}
.woocommerce div.product form.cart .variations select {
    padding: 5px;
}

/*Code for variation table*/
/* =========================================================
   MODERN WOOCOMMERCE VARIATION TABLE
   CSS ONLY
   ========================================================= */
.single-product p.price {
    display: none;
}
.variations {
    width: 100%;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 16px !important;
    margin: 0 0 20px !important;
    background: transparent !important;
}


/* =========================================================
   ROW
   ========================================================= */

.variations tbody tr {
	display: grid;
	grid-template-columns: 210px 1fr;
	align-items: center;
	min-height: 40px;
	margin: 0 !important;
	padding: 5px 0px;
	background: #ffffff;
	border: 0px solid #fff;
	border-radius: 14px;
	box-shadow: 0 0px 0px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}


/* Row hover */

/* .variations tbody tr:hover {
	border-color: #c7d7fe;
	box-shadow: 0 0px 0px #fff;
	transform: translateY(-1px);
} */


/* =========================================================
   LABEL
   ========================================================= */

.variations th.label {
    width: auto !important;

    padding: 0 20px 0 0 !important;

    border: 0 !important;

    background: transparent !important;

    text-align: left;
    vertical-align: middle;
}


/* Label text */

.variations th.label label {
    display: block;

    margin: 0;

    color: #1d2939;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: -0.1px;
}


/* =========================================================
   VALUE
   ========================================================= */

.variations td.value {
    position: relative;

    width: auto !important;

    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    vertical-align: middle;
}


/* =========================================================
   SELECT
   ========================================================= */

.variations td.value select {
    display: block;

    width: 100%;
    height: 50px;

    margin: 0 !important;

    padding: 0 46px 0 15px;

    color: #101828;

    background-color: #f9fafb;

    border: 1px solid #d0d5dd !important;
    border-radius: 10px !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    outline: none;

    /* Remove browser arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* Select hover */

/* .variations td.value select:hover {
    background-color: #ffffff;

    border-color: #98a2b3 !important;
} */


/* Select focus */

/* .variations td.value select:focus {
    background-color: #ffffff;

    border-color: #155eef !important;

    box-shadow:
        0 0 0 4px rgba(21, 94, 239, 0.10);

    outline: none;
} */


/* =========================================================
   CUSTOM DROPDOWN ARROW
   ========================================================= */

/* .variations td.value::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 18px;

    width: 8px;
    height: 8px;

    margin-top: -6px;

    border-right: 2px solid #667085;
    border-bottom: 2px solid #667085;

    transform: rotate(45deg);

    pointer-events: none;
} */


/* =========================================================
   PLACEHOLDER / CHOOSE AN OPTION
   ========================================================= */

.variations td.value select option[value=""] {
    color: #98a2b3;
}


/* =========================================================
   RESET VARIATIONS
   ========================================================= */

.variations .reset_variations {
    display: inline-block;

    margin-top: 7px;

    color: #667085;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

    transition: color 0.2s ease;
}


.variations .reset_variations:hover {
    color: #155eef;
}


/* =========================================================
   SELECTED / VALID STATE
   ========================================================= */

/* When a real option is selected */

.variations td.value select:not(:invalid) {
    color: #101828;
}


/* =========================================================
   FIRST ROW — IEEE MEMBERSHIP
   ========================================================= */

.variations tr:first-child th.label label::before {
    content: "01";

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    margin-right: 9px;

    color: #155eef;

    background: #eff4ff;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 800;

    vertical-align: middle;
}


/* =========================================================
   SECOND ROW — PARTICIPANT CATEGORY
   ========================================================= */

.variations tr:nth-child(2) th.label label::before {
    content: "02";

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    margin-right: 9px;

    color: #155eef;

    background: #eff4ff;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 800;

    vertical-align: middle;
}


/* =========================================================
   THIRD ROW — PARTICIPATION MODE
   ========================================================= */

.variations tr:nth-child(3) th.label label::before {
    content: "03";

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    margin-right: 9px;

    color: #155eef;

    background: #eff4ff;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 800;

    vertical-align: middle;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
	
	.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
		padding-bottom: 0px !important;
		padding-top: 5px !important;
	}

    .variations {
        border-spacing: 0 12px !important;
    }


    .variations tbody tr {
        display: block;

        min-height: auto;

        padding: 0px;
    }


    .variations th.label {
        display: block;

        width: 100% !important;

        padding: 0 0 10px !important;
    }


    .variations td.value {
        display: block;

        width: 100% !important;
    }


    .variations td.value select {
        height: 50px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .variations tbody tr {
        padding: 15px;
    }


    .variations th.label label {
        font-size: 13px;
    }


    .variations td.value select {
        height: 48px;

        font-size: 13px;
    }

}
