/* 
Theme Name: NerdStuds
Theme URI: https://github.com/elementor/hello-theme/
Description: This is a custom child theme built using the Elementor Hello theme.
Author: Jeremy Cox
Author URI: https://nerdstuds.com/
Template: hello-elementor
*/

:root {
	--brown: #A76427; /* hue 28 */
    --terracotta: #C0805E; /* hue 19 */
    --tan: #D7B997; /* hue 31 */
    --cream: #f7f4ed; /* hue 40 */
    --ochre: #bc7f2d; /* hue 33 */
    --grey: #F8F4ED;
    --text: #000000;
    --header-font: "bely-display", Sans-serif;
    --alt-font: Karla, sans-serif;
}

/* General Styles */

body *:focus:not(:focus-visible),
body input:focus,
body input:focus-visible,
body button:focus,
body button:focus-visible,
body a:focus,
body a:focus-visible,
body i:focus,
body i:focus-visible,
body *:focus,
body *:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.page-id-546 .entry-title {
    display: none !important;
}

.rotator {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.rotator-title .elementor-widget-container {
    display: flex;
    flex: 0 0 auto;
    gap: 70px !important;
    white-space: nowrap;
    position: absolute;
    animation: scroll-horizontal 120s linear infinite;
}

.rotator-title p {
    margin-bottom: 0 !important;
    line-height: 1em !important;
}

@keyframes scroll-horizontal {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

.radius-top .elementor-flip-box__layer,
.radius-top .elementor-flip-box__layer__overlay {
    border-top-right-radius: 50% 150px !important;
    border-top-left-radius: 50% 150px !important;
}

.elementor-flip-box__button {
    border-bottom: 1px solid white !important;
    padding: 0 0 6px;
}

.radius-top .elementor-flip-box__layer {
    border: 3px solid var(--terracotta);
    padding: 5px !important;
    background-clip: content-box
}

.pillar-flip-box .elementor-flip-box__button {
    padding: 5px;
    text-transform: lowercase;
}

.thick-underline-wrapper {
    position: relative;
}

.thick-underline::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 143px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 18px solid white;
    margin-top: 20px;
}

.dialog-lightbox-widget-content .elementor-swiper-button-next,
.dialog-lightbox-widget-content .elementor-swiper-button-prev {
    display: none !important;
}

.ff-overlay-wrapper .ff-content {
    color: white;
}

.ff-icon-share,
.ff-instagram a {
    color: white !important;
}

.ff-item-meta {
    background: var(--cream) !important;
}

.flaticon-share2,
.ff-dropdown a {
    background: var(--brown) !important;
}

.elementor-swiper-button-prev {
    content: url("https://thegoldenhaus.com/wp-content/uploads/2024/01/icon-back.png");
    width: 20px;
}

.elementor-swiper-button-next {
    content: url("https://thegoldenhaus.com/wp-content/uploads/2024/01/icon-forward.png");
    width: 20px;
}

@media(max-width: 1300px) {
    .thick-underline::after {
        width: 100%;
    }
}

@media(max-width: 1000px) {
    .pillar-flip-box .elementor-flip-box__button {
        padding: 15px !important;
    }
}

@media(max-width: 690px) {
    h3.elementor-price-list-title {
        font-size: 22px;
    }
}

/*** Woocommerce Styles Start ***/

/* General Styles */

.woocommerce:not(.woocommerce-checkout) #wc-square-google-pay {
    display: none !important;
}

.woocommerce-error {
    border: none !important;
    background: var(--ochre) !important;
    color: white !important
}

.woocommerce-info,
.woocommerce-message {
    border: none !important;
    background: var(--tan) !important;
    color: var(--text) !important;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-info:before,
.woocommerce-message::before {
    color: var(--text) !important;
}

.return-to-shop .button,
.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message .button {
    background: var(--brown) !important;
    color: white !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    border-radius: 0 !important;
    font-family: orpheuspro, sans-serif;
    text-transform: capitalize;
}

.return-to-shop .button:hover,
.woocommerce-info .button:hover
.woocommerce-message .button:hover {
    box-shadow: 0 10px 20px 0 rgba(0,0,0,0.2) !important;
}

/* Woo Cart Styles */

.cart_item .product-name a:hover {
    color: var(--terracotta) !important;
}

.woocommerce-Price-amount,
.woocommerce-Price-amount span {
    font-family: "bely-display", Sans-serif !important;
    color: var(--brown) !important;
    font-weight: normal !important;
}

input[type=number] {
    font-family: var(--alt-font) !important;
    font-weight: normal !important;
    border-radius: 0 !important;
}

.checkout-button {
    font-size: 20px !important;
}

.cart-widget .product-remove a {
    font-weight: 500;
}

.cart_totals .woocommerce-shipping-destination {
    padding-top: 10px !important;
}

.cart_totals .woocommerce-shipping-totals th {
    display: none !important;
}

.cart_totals .woocommerce-shipping-calculator a {
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    color: var(--text) !important;
}

.added_to_cart {
    padding-left: 10px !important;
    text-transform: capitalize !important;
}

@media(max-width: 1300px) {
    .cart-widget .e-cart__container {
        grid-template-columns: 70% auto;
    }

    .cart-widget a.checkout-button {
        padding: 14px 15px 13px !important;
        font-size: 12px !important;
    }
}

@media(max-width: 1000px) {
    .cart-widget .e-cart__container {
        grid-template-columns: 100%;
    }

    .cart-widget a.checkout-button {
        padding: 14px 30px 13px !important;
        font-size: 14px !important;
    }
}

@media(max-width: 768px) {
    .woocommerce table.cart .product-thumbnail {
        display: block !important;
        margin-top: -60px;
    }

    .woocommerce table.cart .product-thumbnail:before {
        display: none;
    }

    .woocommerce table.cart .product-thumbnail img {
        width: 80px !important;
        max-width: 80px !important;
    }

    .woocommerce table.cart .product-thumbnail:before {
        display: none;
    }

    .e-shop-table .cart td:before {
        text-transform: uppercase !important;
        font-size: 14px;

    }

    .e-shop-table .product-price,
    .e-shop-table .product-quantity,
    .e-shop-table .product-subtotal,
    .e-shop-table .product-thumbnail,
    .e-shop-table .product-name {
        padding-top: 0px !important
    }

    .woocommerce-cart-form .woocommerce-cart-form__contents tbody > tr.cart_item:not(:first-of-type) .product-remove {
        padding-top: 30px;
    }

    .cart-widget .product-name a {
        padding-left: 10px;
    }

    .elementor-widget-woocommerce-cart .woocommerce table.cart tr {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .e-cart-totals {
        margin-bottom: 0 !important;
    }
}

@media(max-width: 480px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr {
        padding: 0 !important;
    }
}

/* Woo Checkout Styles */

#ship-to-different-address {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-family: var(--alt-font) !important;
    font-weight: normal !important;
    color: var(--text) !important;
    text-transform: uppercase !important;
}

.woocommerce-billing-fields__field-wrapper .form-row:last-of-type {
    margin-bottom: 0 !important;
}

.e-checkout__column #customer_details .col-1 {
    margin-bottom: 30px !important;
}

.coupon-container-grid button {
    width: 100% !important;
}

.coupon-container-grid {
    gap: 10px;
}

.order-total .amount {
    font-weight: 500;
}

.select2-selection__arrow b {
    border-color: var(--text) transparent transparent transparent !important;
}

#payment {
    margin-bottom: 0 !important;
}

.woocommerce-checkout-review-order-table .cart_item td.product-name {
    padding-right: 10px !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .shipping_address {
    border-width: 2px;
}

.elementor-81 .elementor-element.elementor-element-89b79f3 .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text) transparent transparent transparent !important;
}

.select2-container--default .select2-results__option[data-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--brown) !important;
    color: white !important;
    font-family: var(--alt-font) !important;
}

body .select2-container--default .select2-search--dropdown .select2-search__field,
body .select2-dropdown {
    border: 2px solid var(--tan) !important;
    border-radius: 0 !important;
}

.woocommerce-checkout-review-order-table .product-name,
.woocommerce-checkout-review-order-table .product-total {
    width: 50%;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
}

tr.order-total .first-payment-date,
tr.shipping p {
    font-family: var(--alt-font);
    text-transform: none !important;
}

.elementor-widget-woocommerce-checkout-page .shop_table * {
    font-weight: 500 !important;
}

.woocommerce-checkout .woocommerce-Price-amount bdi {
    font-family: "bely-display", Sans-serif !important;
    color: var(--brown);
    font-size: 18px;
}

.elementor-widget-woocommerce-checkout-page #ship-to-different-address {
    padding-left: 0 !important;
}

.woocommerce .cart_item {
    position: relative !important;
}

.woocommerce-SavedPaymentMethods-saveNew {
    display: flex !important;
}

.payment_box {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#wc-square-credit-card-credit-card-form {
    border: none !important;
    padding: 0 !important;
}

.woocommerce-privacy-policy-text p {
    margin-top: 0 !important;
}

.woocommerce-shipping-methods label,
.woocommerce-shipping-destination {
    color: var(--text) !important;
}

@media(max-width: 690px) {
    .woocommerce .remove-icon {
        right: -10px !important;
        top: 10px !important;
        font-size: 15px !important;
    }
}

/* Order Received */

.woocommerce-order-received h1 {
    display: none;
}

.woocommerce-order-overview li strong {
    font-weight: 500;
    font-family: var(--alt-font);
    font-size: 16px !important;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-thankyou-order-details {
    padding: 30px;
    background: white;
    border-radius: 0;
    color: var(--text) !important;
    font-family: var(--alt-font) !important;
}

.woocommerce-order-received .woocommerce-order-details h2,
.woocommerce-order-received .woocommerce-customer-details h2 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 16px !important;
    text-transform: uppercase;
    font-family: "bely-display", Sans-serif !important;
}

/*.woocommerce-thankyou-order-details > li:not(:first-child) {*/
/*    padding-top: 20px;*/
/*}*/

.woocommerce .woocommerce-customer-details address {
    border: none;
    color: var(--text) !important;
    font-family: var(--body-font);
}

.woocommerce-thankyou-order-received {
    font-size: 26px;
    line-height: 1.3em;
    font-weight: normal;
    color: var(--brown);
    margin-bottom: 30px !important;
    font-family: "bely-display", Sans-serif !important;
    text-align: center !important;
=}

.woocommerce-order-received .order_item td {
    padding-top: 5px !important;
}

.woocommerce-order-received th,
.woocommerce-order-received td {
    color: var(--text) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
}

.woocommerce-order-received .order_item td {
    font-weight: 500 !important;;
    text-transform: uppercase !important;
}

address {
    padding: 0 !important;
}

.woocommerce-MyAccount-subscriptions thead th {
    border-bottom: 1px dashed #cfc8d8 !important;
}

.elementor-widget-woocommerce-checkout-page a.woocommerce-button {
    border: none !important;
    border-radius: 25px !important;
    font-size: 12px !important;
    background: var(--bright-gold) !important;
    color: var(--text) !important;
    font-family: var(--header-font) !important;
    padding: 10px 15px 7px 15px;
    line-height: 1em;
    letter-spacing: 0.8px;
}

.elementor-widget-woocommerce-checkout-page a.woocommerce-button:hover {
    background: var(--text) !important;
    color: white !important;
}

@media(max-width: 690px) {
    .woocommerce-thankyou-order-details > li {
        border: none !important;
    }

    .woocommerce-thankyou-order-received {
        font-size: 18px !important;
        text-align: center;
    }

    .woocommerce-order-received .woocommerce-order-details h2,
    .woocommerce-order-received .woocommerce-customer-details h2 {
        font-size: 16px;
    }

    .woocommerce-order-received .woocommerce-table--order-details .product-total,
    .woocommerce-order-received .woocommerce-table--order-details tfoot tr td{
        max-width: 30% !important;
        width: 100% !important;
        text-align: right !important;
        padding-left: 10px;
        padding-right: 0;
    }
}

/* Woo My Account Styles */

.woocommerce-MyAccount-content-wrapper table.shop_table {
    border: none !important;
}


.woocommerce-EditAccountForm .button,
.woocommerce-MyAccount-content-wrapper table.shop_table a.button:hover {
    color: white !important;
}

.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li:hover a {
    color: white !important;
}

.woocommerce-MyAccount-content h2 {
    font-size: 22px !important;
    text-transform: capitalize;
    margin-bottom: 15px !important;
}

.woocommerce-MyAccount-content address {
    padding: 30px !important;
    height: unset !important;
    font-style: normal;
}

.woocommerce-MyAccount-content .woocommerce-Address a.edit {
    bottom: -30px !important;
}

.woocommerce-MyAccount-content fieldset legend {
    font-family: var(--header-font) !important;
    text-transform: capitalize !important;
}

.e-my-account-tab .woocommerce-ResetPassword,
.e-my-account-tab .woocommerce-form-login {
    max-width: 600px !important;
    height: auto !important;
    margin: 0 auto !important;
}

#add_payment_method #payment div.payment_box {
    background: transparent !important;
}

#add_payment_method #payment div.payment_box:before {
    display: none !important;
}

.woocommerce-MyAccount-content .woocommerce-Address a.edit {
    float: unset !important;
    position: relative !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    bottom: 0 !important;
    top: -5px;
}

.e-my-account-tab .woocommerce h2 {
    display: none;
}

.e-my-account-tab .woocommerce-form-login > .form-row:not(.form-row-wide) {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 0 !important;
}

.lost_password {
    font-size: 14px !important;
}

.e-my-account-tab .woocommerce-form-login button {
    margin-right: 0 !important;
}

.woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions a:hover {
    color: white !important;
}

.e-my-account-tab .woocommerce-MyAccount-content .woocommerce-order-details {
    margin-top: 20px !important;
}

.shop_table.subscription_details tbody > tr:first-child td {
    border-top: 0 !important;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
/*.woocommerce-checkout #payment div.payment_box,*/
#add_payment_method #payment,
.woocommerce-cart #payment {
    background: var(--tan) !important;
    border-radius: 0 !important;
}

.woocommerce-SavedPaymentMethods.wc-saved-payment-methods,
.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 !important;
}

#order_review .payment_methods.methods {
    border: none !important;
}

#order_review .payment .form-row {
    padding: 0 30px 30px !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--tan) !important;
}

input[id="place_order"][value="Change payment method"] {
    background: var(--text) !important;
}

@media(max-width: 800px) {
    .woocommerce-MyAccount-orders tbody > tr:first-child > td:first-child {
        margin-top: 0;
    }

    .woocommerce-MyAccount-orders tbody > tr > td:first-child,
    .woocommerce-MyAccount-orders tbody > tr > td:nth-child(2) {
        border: none !important;
    }

    .woocommerce-MyAccount-orders tbody > tr td:first-child {
        background-color: var(--black) !important;
        color: white !important;
        margin-top: 30px;
    }

    .woocommerce-MyAccount-orders tbody > tr td:first-child a {
        color: white !important;
    }

    .woocommerce-MyAccount-orders tbody > tr td {
        padding: 9px 8px !important;
    }

    .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
        padding-bottom: 0 !important;
    }
}

@media(max-width: 768px) {
    .woocommerce-MyAccount-content .woocommerce-Addresses .col-2 {
        padding-top: 30px !important;
    }
}