/**
Theme Name: Golf Stripes
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: golf-stripes
Template: astra
*/

.cleardiv{clear:both;}


.upload-tool-container{ padding:20px 10px; font-family: "Anton", sans-serif;}
.upload-tool-container button{
    padding:20px 0;
    background:#fff;
    border:solid 1px;
    color:#944620;
}
.upload-tool-wrapper{}
.actual-upload-container{
    min-height:100px;
    vertical-align:center;
    color:#b2afac;

}
.actual-upload-container img{}
.golfstripes-size-logo{width:350px; margin:10px 0;}

.upload-directions{font-size:26px; padding:0 10px; line-height:1.2; font-weight:600 !important; font-family: "Roboto", sans-serif !important;}

.upload-photo-input{display:none !important;}

.example-image{
    border-radius:30px;
    padding: 3px 20px 50px 20px !important;
    background:rgba(255, 255, 255, 0.8);
    position:absolute;
    left:0;
    top:27%;
    height:300px;
    width:300px;
    display:none;
}
.example-image  img{border-radius:0;}
.close-icon-container{width:100%; text-align:right;}
.close-icon-container .close-icon{cursor:pointer;}

.ferrule-upload-icon{margin:8px 0;}
.upload-photo-btn, .take-photo-btn{margin:4px 0; width:100%; height:255px; color:#b2afac !important; font-family:"Lato";}

.customize-my-ferrule{
    background:#e18a32;
    width:90%;
    font-size:23px;
    box-shadow: 6px 6px 0px -3px rgba(42,93,60,1);
    border-radius:30px;
}

.example-photo-button{color:#b2afac; font-family:"Lato";}


.activate-stripes ul{list-style-type:none; padding:0; margin:0;}
.activate-stripes ul li{display:inline-block; margin:0 3px;}

.customize-my-ferrule:hover,
.add-to-bag:hover,
.get-my-stripes:hover,
.customize-my-ferrule:focus,
.add-to-bag:focus,
.get-my-stripes:focus {background:#e08a30 !important; color:#ffffff !important;}

#stripe-bg{border:solid 3px #f7f7f7;}


.lets-size{
    font-size:54px !important;
    font-weight:500 !important;
    font-family: "Anton", sans-serif;
    line-height:1 !important;
    letter-spacing:2px;
    color:#944620;
}

.design-stripes{
    font-size:54px !important;
    font-weight:500 !important;
    font-family: "Anton", sans-serif;
    line-height:1 !important;
    letter-spacing:2px;
    color:#e4d12d;
}

.tool-secondary-text{
    font-size:28px;
    color:#b2afac;
    font-family:"Lato";
    line-height:1;
    margin:20px 0 !important;
}



.club-loading-container-upload, .club-loading-container-stripes {
    text-align: center;
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background-color: rgba(255, 255, 255, 0.66);
    z-index:9999;
    display:none;
}

.golf-club {
    width: 200px;
    height: 200px;
    background: url('/wp-content/uploads/2025/07/loading-club.png') no-repeat center center;
    background-size: contain;
    animation: swing 1s infinite ease-in-out;
    margin: 0 auto;
    position:relative;
    top:40%;
}

.loader-container {
    display: block; /* Arrange lines horizontally */
    justify-content: center; /* Center the lines */
    align-items: center; /* Center vertically if needed */
    height: 100px; /* Adjust as needed */
    position:relative;
    top:40%;
    left:40%;
}

.line {
    width: 100px; /* Width of each line */
    height: 15px; /* Thickness of each line */
    background-color: #3498db; /* Color of the lines */
    margin: 0 5px; /* Spacing between lines */
    border-radius: 5px; /* Slightly rounded edges */
    animation: line-animation 1s infinite alternate; /* Apply animation */
}

.line:nth-child(2) {
    animation-delay: 0.2s; /* Delay for the second line */
    background-color: #E4D12D; /* Color of the lines */
}

.line:nth-child(3) {
    animation-delay: 0.4s; /* Delay for the third line */
    background-color: #944620; /* Color of the lines */
}

@keyframes swing {
    0% { transform: rotate(-20deg); }
    50% { transform: rotate(20deg); }
    100% { transform: rotate(-20deg); }
}


.page-template-page-designtool, .page-template-page-colorpicker{
    background-image: url("/wp-content/uploads/2025/04/questions-golfers.webp");
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment: scroll;
}

.design-tool-container{font-family: "Roboto", sans-serif;}
.design-tool-wrapper{background-position:center center; background-repeat:no-repeat; background-size:cover; padding:20px 20px !important; min-width:200px;}
.design-tool-header{text-align:center !important; font-family: "Roboto Black", sans-serif; line-height:1 !important}
.design-tool-header img{margin:0 auto;}

.design-your-stripes{color:#000000; font-size:36px;text-transform:uppercase;}

.stripe-controls{text-align:center;}
.stripe-controls input{width:100%;}
.stripe-controls .form-label{font-size:18px; color:#222222; font-weight:600;}
.stripe-color-pickers{background:#fff; border:solid 3px #2a5d3c; border-radius:20px; width:80%; padding:30px; margin:10px auto; text-align:left;}
.stripe-color-pickers input[type="color"]{width:100%;}
.activate-stripes button{background:#ffffff; margin:0; border:solid 3px #2a5d3c; color:#e08a30; padding:5px; font-size:20px; font-weight:600;}
.color-picker-activate-stripe1{background:#333333;}
.active-stripe{background:#e5e5e5 !important;}
.act-stripe-button{border:solid 2px #e5e5e5 !important; color:#000000 !important;}

.stripe-color-pickers ul{list-style-type:none; padding:0; margin:0; }
.stripe-color-pickers ul li{display:inline-block; vertical-align: middle;}
.stripe-color-pickers ul li input{margin-right:20px;}

.color-picker-bg-stripes{padding:10px; border-radius:10px;}

.stripe-color-not-active{text-decoration:line-through;}

.auto-buttons button{background:#ffffff; color:#2a5d3c; border:solid 3px #2a5d3c; border-radius:30px; font-size:20px; font-weight:700; padding:5px 8px}
.auto-buttons{text-align:center; justify-content:center;}

.add-to-bag{
    background:#333333;
    font-size:21px;
    border-radius:30px;
    padding:10px 20px;
}

.get-my-stripes{
    background:#e18a32;
    width:100%;
    font-size:28px;
    border-radius:30px;
    text-transform:uppercase;
}

/* Style for disabled Continue button */
button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}


@media only screen and (min-width: 1178px) {
    .stripe-color-pickers{width:70%}
}

@media only screen and (max-width: 768px) {
    .example-image{
        border-radius:30px;
        padding: 3px 20px 50px 20px !important;
        background:rgba(255, 255, 255, 0.8);
        position:absolute;
        left:0;
        top:24%;

    }
}

@media only screen and (max-width: 921px) {
.woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th { display:block !important }
}



@keyframes line-animation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateX(-10px); /* Move lines up */
    }
    100% {
        transform: translateY(0);
    }
}

.flex {
    display: flex;
}

.flex.col {
    flex-direction: column;
}

.flex.center {
    justify-content: center;
}

.flex.align-center {
    align-items: center;
}

.flex.space-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.grid.col-2 {
    grid-template-columns: 1fr 1fr;
    gap: 5%;
}

/* DESIGN TOOL */
.sg-form-container-xs {
    max-width: 640px;
    margin: 0 auto;
}
.breadcrumb {
    justify-content: center;
}
input[type="file"] {
    display: block;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}
.playground {
    border: 1px solid #eee;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding-right: 0;
    padding-left: 0;
}

.playground-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background-color: #eee;
}
.playground-top h2 {
    color:rgba(0, 0, 0, 0.7);
    margin: 0;
    font-size: 20px;
    font-weight: 900;
}

.playground-main {

}
.canvas-left{float:left; width:66%; height:600px;}

.control-panel{
    float:right;
    width:32%;
    text-align:center;
    background:#fff;
    border-radius:10px;
    padding:10px;
}

h3.playground-title {
    font-size: 18px;
    /* font-weight: 900; */
    margin-bottom: 20px;
}

canvas {
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border: 1px solid #eee;
    margin: auto;
    cursor: grab;
}
.control-panel .field {
    border-bottom: 1px solid black;
    padding-bottom: 20px;
}
#controls {
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
}

#custom-image-upload{border:solid 1px #000; border-radius:20px; margin:0 auto;}

.buttons{display:block;}

a.gs-button {
    display: inline-block;
}

.gs-button {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gs-button.button-black {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}
.gs-button.button-black:hover {
    background-color: #fff;
    color: #000;
}

.gs-button.button-black-outlined {
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
}
.gs-button.button-black-outlined:hover {
    background-color: #000;
    color: #fff;
}




/* Add hover effect prevention for disabled buttons */
.gs-button[disabled]:hover {
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

#ferrule-form {
    border: 1px solid #eee;
    padding: 20px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

#ferrule-form input {
    width:100%;
    max-width:100%;
}

.button-container{
    text-align:center;
}
/* Additional styles for range inputs */
.range-control {
    margin-bottom: 20px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.range-slider {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    outline: none;
    border-radius: 5px;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
/* Additional styles for range inputs */
.range-control {
    margin-bottom: 20px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.range-slider {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    outline: none;
    border-radius: 5px;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.range-slider::-webkit-slider-runnable-track {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
}

.range-slider::-moz-range-track {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
}

.range-slider:focus {
    outline: none;
}

/* Make values stand out */
#ball-size-value,
#ferrule-outer-value,
#ferrule-inner-value,
#ferrule-length-value {
    font-weight: bold;
    min-width: 60px;
    text-align: right;
}

/* Reset button and feedback styling */
.reset-container {
    position: relative;
    display: inline-block;
}

.reset-message {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #4CAF50;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* Make values stand out */
#ball-size-value,
#ferrule-outer-value,
#ferrule-inner-value,
#ferrule-length-value {
    font-weight: bold;
    min-width: 60px;
    text-align: right;
}

#resize-controls {
    margin-top: 15px;
}


.color-picker-container {
    margin: 40px auto;
}

.color-pickers-section {
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.color-picker-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.color-picker-wrapper:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.color-picker-form {
    min-width: 250px;
}
.color-picker-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 100;
}

.color-selection-info {
    flex: 2;
    min-width: 300px;
}

.color-selection-info h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 900;

}
.color-selection-info p  {
    margin-bottom: 0px;
}
.color-selection-info p  + p {
    margin-bottom: 10px;
}

input[type="color"] {
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Styling for the separated previews section */
.combined-preview-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.color-previews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-label {
    margin-bottom: 10px;
    font-weight: 500;
}

.color-preview {
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Combined preview styling */
#combined-preview-box {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#combined-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#combined-stripe1 {
    position: absolute;
    bottom: 120px;
    left: 0;
    width: 100%;
    height: 20px;
    z-index: 2;
}

#combined-stripe2 {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    height: 20px;
    z-index: 3;
}

#combined-stripe3 {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: 20px;
    z-index: 4;
}

.add-to-cart-section {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: center;
}

#add-to-cart-btn {
    padding: 10px 20px;
    font-size: 16px;
}

footer {
    margin-top: 40px;
}





@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.hidden {
    display: none;
}

/* Also make sure buttons are clearly clickable */
.btn-add, .btn-remove, .btn-reset {
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
}

/* If button has any children, make sure they don't interfere with clicks */
.btn-add *, .btn-remove *, .btn-reset * {
    pointer-events: none;
}


#loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
    top: 40%;
    left: 40%;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
    display:none;
}

.disabled{
    pointer-events: none;
    background:#cccccc !important;
}



@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}