/* 
 WIZARDMASTER STANDALONE SHOP CSS 
*/



body.wizardmaster-standalone {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;

    --fg: #eee;
    --bg: #333;
    background-color: #078a90;
    color: var(--fg);
}

#wm-shop-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Base WooCommerce overrides */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce .woocommerce-notices-wrapper .woocommerce-error {
    text-align: center;
    background: transparent;
    border: none;
    color: #e0e0e0;
}

.woocommerce .woocommerce-message a.button {
    display: none;
}

/* Hide unneeded elements */
.woocommerce .sku_wrapper,
.woocommerce .posted_in,
.woocommerce .product_meta,
.woocommerce-tabs.wc-tabs-wrapper,
.woocommerce-product-rating {
    display: none !important;
}

/* Product Layout */
.woocommerce div.product {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title at the top */
.woocommerce div.product .product_title {
    order: -2;
    font-size: 5rem;
    line-height: .85;
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    color: #078a90;
    padding: 0 8rem 1rem 8rem;
    letter-spacing: -.02em;
    margin: 0;
}

/* Images below title */
.woocommerce div.product div.images {
    order: -1;
    width: 100% !important;
    float: none !important;
    margin-bottom: 40px !important;
}

.woocommerce div.product div.images img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

/* WooCommerce Gallery (when slider is disabled) */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
    margin: 0;
    padding: 0;
    background-color: #181818;
}

/* Main Image */
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child {
    width: 100%;
    background-color: #181818;
    margin-top: 1rem;
}

/* Thumbnails */
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
    width: auto;
    max-width: 200px;
    margin: 0;
    border: 10px solid #181818;
    border-radius: 3px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    display: block;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) img {
    width: 100%;
    height: auto;
    transition: filter 0.2s;
    cursor: pointer;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) img:hover {
    filter: contrast(0.85) saturate(2.5);
}

/* Thumbnail Labels */
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2)::after {
    display: block;
    font-size: 0.75rem;
    color: #a0a0a0;
    text-align: center;
    margin-top: 8px;
    line-height: 1.2;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(2)::after {
    content: "Potato Child Text and Logo";
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(3)::after {
    content: "Bubble Duck Text and Logo";
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(4)::after {
    content: "Potato Child Logo Only";
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(5)::after {
    content: "Bubble Duck Logo Only";
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(6)::after {
    content: "Cone Gnome Bubble Duck Alt";
}

/* Summary below images */
.woocommerce div.product div.summary {
    display: contents;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product form.cart,
.woocommerce div.product .product_meta {
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #e0e0e0 !important;
    font-size: 4rem;
    margin: 0;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    border: 0;
    line-height: unset;
    vertical-align: middle;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1rem;
    padding: 0 !important;
    text-align: left;
    margin: -1em 0 0em 0;
    line-height: 1.3em;
    width: 50%;
    max-width: 40rem;
}

/* Variations Form */
.woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding-bottom: 10rem;
}

.woocommerce div.product form.cart table.variations {
    width: auto;
    margin: 0;
    text-align: left;
}

.woocommerce div.product form.cart table.variations td {
    padding: 0 .5em;
    vertical-align: middle;
}

.woocommerce div.product form.cart table.variations td.label {
    text-align: right;
    color: #e0e0e0;
    font-weight: bold;
}

.woocommerce div.product form.cart table.variations select {
    background-color: #fff2;
    color: #e0e0e0;
    border: 1px solid #0003;
    padding: 8px 12px;
    border-radius: 2px;
    font-size: 1rem;
    min-width: 22rem;
    outline: none;
}

.woocommerce div.product form.cart .reset_variations {
    display: none !important;
}

.woocommerce-variation-availability p {
    color: #e0e0e0 !important;
}

/* Quantity and Add to Cart */
.woocommerce div.product form.cart .single_variation_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.woocommerce div.product form.cart div.quantity {
    margin: 0;
    float: none;
}

.woocommerce div.product form.cart div.quantity input.qty {
    background-color: #fff2;
    color: #e0e0e0;
    border: 1px solid #0003;
    border-radius: 2px;
    padding: .5rem;
    width: 3rem;
    height: 1.25rem;
    text-align: center;
}

.woocommerce div.product form.cart .button {
    background-color: #0005 !important;
    color: #e0e0e0 !important;
    border-radius: 2px;
    padding: 10px 20px;
    font-size: 1rem;
    height: 40px;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    float: none;
    margin: 0;
}

.woocommerce div.product form.cart .button:hover {
    background-color: #8a8a8a !important;
}

.woocommerce div.product form.cart .button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Shop Archive / Catalog styles */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.woocommerce ul.products li.product {
    width: 300px !important;
    margin: 0 !important;
    float: none !important;
    text-align: center;
}

.woocommerce ul.products li.product a img {
    margin-bottom: 15px;
    width: 100%;
    height: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .price {
    color: #e0e0e0 !important;
}

.woocommerce ul.products li.product .button {
    display: none;
    /* Hide add to cart on catalog */
}

.pswp--zoom-allowed .pswp__img,
.woocommerce div.product div.images img {
    background-color: #e3a;
}

.woocommerce-product-gallery__wrapper {
    text-align: center;
}

#content {
    background-color: #e3a;
    padding-top: 2em;
}

.pswp__scroll-wrap {
    background: #078a90;
    background: #e3a;
}

.woocommerce-variation.single_variation {
    font-size: 1.5rem;
    line-height: 0;
}