/** @todo-p1 - refactor this file, gift cards are no more, but styles are folding in for woocommerce product pages */

/* Hide the universal search bar on all shop pages*/
div.universal-search-bar {
    display: none;
}


/* START customizations for the single product page */
h1.product_title,
div.type-product h1.purchase-giftcard-header {
    margin-top: 1rem;
    font-family: "Roboto Slab", serif;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #313638;
    padding-left: 1rem;
}

div.description {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    color: #333 !important;
}

div.type-product div.summary.entry-summary table.variations td.label {
    background-color: white;
    margin-top: 0.5rem;
}

div.type-product div.summary.entry-summary table.variations a.reset_variations {
    color: #c5258f !important;
}

div.type-product div.summary.entry-summary table.variations td.label label[for="select-amount"] {
    font-size: 1rem;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    color: #202124;
}


/* START swap the gallery + summary block */
div.type-product div.summary.entry-summary {
    float: left !important;
}

div.type-product div.woocommerce-product-gallery {
    float: right !important;
}

/* END swap the gallery + summary block */

div.type-product div.summary.entry-summary,
div.type-product div.woocommerce-product-gallery {
    padding: 1rem;
}

/* set SOME of the price text to be the branded pink */
div.type-product div.summary.entry-summary span.price {
    color: #313638;
}

div.type-product div.summary.entry-summary p.price {
    color: #c5258f;
}


div.quantity .product_quantity_label {
    font-family: "Roboto", sans-serif;
    margin-top: 6px;
    font-weight: bold;
    font-size: 1rem;
}

button.single_add_to_cart_button {
    float: right !important;
}


div.type-product div.summary.entry-summary button.single_add_to_cart_button,
div.only-one-item-per-cart a.go-to-cart {
    border-radius: 0 !important;
    border: 1px solid #c5258f !important;
    background-color: #FFFFFF !important;
    text-decoration: none !important;
    color: #c5258f !important;
    font-family: "Roboto", sans-serif;
}

div.type-product div.summary.entry-summary button.single_add_to_cart_button:hover,
div.only-one-item-per-cart a.go-to-cart:hover {
    background-color: #c5258f !important;
    color: #FFFFFF !important;
}

div.only-one-item-per-cart {
    display: flex;
    justify-content: space-between;
}

div.only-one-item-per-cart div.error-text {
    max-width: 75%;
}

div.only-one-item-per-cart a.go-to-cart {
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*  END customizations for single product page */

/* START customizations for checkout page */
div#customer_details {
    padding: 1rem;
}


.select2-container .select2-selection--single {
    height: unset !important;
}

/* END customizations for checkout page */

/* START customizations for order receipt page */
body.woocommerce-order-received main#main div.woocommerce-order {
    padding: 1rem;
}

body.woocommerce-order-received section.woocommerce-order-details h2,
body.woocommerce-order-received section.woocommerce-customer-details h2,
body.woocommerce-cart div.cart-collaterals h2 {
    color: #c5258f;
    font-family: "Roboto Slab", serif;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* END customizations for order receipt page */


/* START customizations for cart page */
body.woocommerce-cart p.return-to-shop {
    margin-left: 1rem;
}

/* END customizations for cart page */

/* START customizations for checkout/order/cart receipt pages */
body.woocommerce-checkout header.entry-header,
body.woocommerce-cart header.entry-header {
    background: none;
    padding: 1rem 1rem 0;
}

body.woocommerce-checkout header.entry-header h1,
body.woocommerce-cart header.entry-header h1 {
    color: #c5258f;
    font-family: "Roboto Slab", serif;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
}

body.woocommerce-checkout div.woocommerce-notices-wrapper a.button,
body.woocommerce-checkout div#payment button.button,
body.woocommerce-cart div.woocommerce button.button,
body.woocommerce-cart div.cart-collaterals a.button,
body.woocommerce-cart p.return-to-shop a.button {
    color: #c5258f;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    border-radius: 0;
    background-color: transparent !important;
    border: solid 1px #c5258f;
}

body.woocommerce-checkout div.woocommerce-notices-wrapper a.button:hover,
body.woocommerce-checkout div#payment button.button:hover,
body.woocommerce-cart div.cart-collaterals a.button:hover,
body.woocommerce-cart p.return-to-shop a.button:hover {
    background-color: #c5258f !important;
    color: white;
}

body.woocommerce-checkout div.woocommerce-notices-wrapper div.woocommerce-message {
    margin-bottom: 0;
}

body.woocommerce-checkout div#payment a,
body.woocommerce-order-received main#main section.woocommerce-order-details a,
body.woocommerce-cart form.woocommerce-cart-form a,
body.woocommerce-cart div.woocommerce-message a {
    color: #c5258f;
}

/* END customizations for checkout/order receipt page */

/* storefront css */
div.off-canvas-wrapper div.off-canvas-content {
    box-shadow: none;
}

header.woocommerce-products-header {
    height: 381px;
    background-size: cover;
    display: flex;
    /*justify-content: center;*/
    /*align-items: center;*/
}

header.woocommerce-products-header h1 {
    font-family: "Roboto Slab", serif;
    position: relative;
    left: 75px;
    top: 60px;
    background-color: white;
    color: #c5258f;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 4px 30px;
    height: 55px;

    font-size: 38px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.31;
    letter-spacing: normal;
    text-align: left;

}


div.off-canvas-wrapper div.off-canvas-content div#gift-cards {
    margin: auto;
    /*padding-top: 3rem;*/
    background-color: #f6f8f9;

}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards div.faq h3 {
    text-align: center;
    font-family: "Roboto Slab", serif;
    color: #202124;
    font-weight: 500;
    margin: 2rem auto;
    font-size: 1.25rem;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards div.faq div.columns {
    margin-bottom: 2rem;
    padding: 1rem;
    font-family: Roboto, sans-serif
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards div.faq div.columns div:first-child {
    font-size: 1.1rem;
    font-weight: 400;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards div.faq div.columns div:last-child {
    font-size: .9rem;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products li.type-product {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products li.type-product a:first-child {
    text-align: left;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products li.type-product a p.gift-card-desc {
    color: black;
    font-family: Roboto, sans-serif;
    font-size: 1rem;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products li.type-product a.button {
    text-decoration: none;
    color: #c5258f;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    border-radius: 0;
    background-color: transparent !important;
    border: solid 1px #c5258f;
    width: 40%;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products li.type-product a.button:hover {
    background-color: #c5258f !important;
    color: white;
}

div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products li.type-product h2.woocommerce-loop-product__title {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
}

/* not mobile */
@media only screen and (min-width: 415px) {
    .coupon input[name='coupon_code'] {
        width: 150px !important;
    }
}

/* mobile */
@media only screen and (max-width: 414px) {
    header.woocommerce-products-header {
        padding: 1.5rem;
        text-align: center;
    }

    div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products {
        display: block;
    }

    div.off-canvas-wrapper div.off-canvas-content div#gift-cards ul.products li.type-product {
        width: 100%;
    }
}

/** WooCommerce Product Page  **/
div.woocommerce-product-details__short-description p {
    font-family: "Roboto", sans-serif;
    font-size: 1.1em;
    line-height: 1.2em;
}

div.woocommerce-product-details__short-description h1 {
    font-size: 1.2em;
    font-weight: bolder;
    margin-bottom: .1em;
}

div.woocommerce-product-details__short-description h2 {
    font-size: 1.1em;
    font-weight: bolder;
    margin-bottom: .1em;
}

div.woocommerce-product-details__short-description ul {
    font-size: 1em;
    line-height: 1.4em;
}

a.button.product_type_simple.add_to_cart_button {
    background-color: #c5258f;
    color: white;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0;
}
