/*
Theme Name:   Astra Child
Theme URL:    http://example.com/twenty-seventeen-child/
Description:  Astra Theme
Author:       John Doe
Author URL:   http://example.com
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URL:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  astra
*/

.container {
    padding: 30px;
    background-color: #ffffff !important;
}

.site-navigation {
   height: auto !important;
}

/* .astra-icon.ast-icon-shopping-basket  {
    display: none !important;
} */

/* @media (min-width: 1024px) { */
    .woocommerce-cart .product-thumbnail img,
    .woocommerce-checkout-review-order-table .product-thumbnail img {
        width: 240px !important;
        max-width: 240px !important;
        height: 120px !important;
    }
/* } */

.design-thumb-wrap {
    float: right;
}

.woocommerce-table tfoot th.order-actions--heading,
.woocommerce-table tfoot td a.ast_track {
    display: none !important;
}

.woocommerce-table.woocommerce-table--order-details tfoot:first-of-type {
    display: none !important;
}

.order-again{
    display: none !important;
}

@font-face {
  font-family: 'Algerian';
  src: url('/wp-content/themes/astra-child/css/fonts/ALGER.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow';
  src: url('/wp-content/themes/astra-child/css/fonts/BarlowCondensed-ExtraBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Elephant';
  src: url('/wp-content/themes/astra-child/css/fonts/ELEPHNT.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lilita';
  src: url('/wp-content/themes/astra-child/css/fonts/LilitaOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'Luckiest';
  src: url('/wp-content/themes/astra-child/css/fonts/LuckiestGuy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Playball';
  src: url('/wp-content/themes/astra-child/css/fonts/playball-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Softizen';
  src: url('/wp-content/themes/astra-child/css/fonts/Softizen.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'UniSansHeavyCaps';
  src: url('/wp-content/themes/astra-child/css/fonts/uni-sans-heavy-caps.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ArimaMaduraiBlack';
  src: url('/wp-content/themes/astra-child/css/fonts/arima-madurai-black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Riffic';
  src: url('/wp-content/themes/astra-child/css/fonts/riffic-bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BillboardShadow';
  src: url('/wp-content/themes/astra-child/css/fonts/digitalts-lime.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Nautilus';
  src: url('/wp-content/themes/astra-child/css/fonts/Nautilus.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.elementor-widget-heading .elementor-heading-title {
    font-family: 'Nautilus', cursive !important;
    font-weight: 500 !important;
}

/* INPUT GLOW EFFECT */
.designText {
    border: 2px solid #0dcaf0;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 10px;
    outline: none;

    /* Pulse 5 times and hold last frame */
    animation: pulseGlow 1s ease-in-out 4 forwards;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Remove glow when input is clicked */
.designText.clicked {
    animation: none;
    box-shadow: none;
    border-color: #ccc; /* or original color */
}

/* Keyframes: last frame is solid glow */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0px 0 rgba(13, 202, 240, 0); }
    50% { box-shadow: 0 0 12px 3px rgba(13, 202, 240, 0.7); }
    100% { box-shadow: 0 0 12px 3px rgba(13, 202, 240, 0.7); } /* solid glow */
}


/* INPUT GLOW EFFECT - END */

input.designText {
    text-align: center;
}

/* .btn-group{
    min-width: 350px;
} */

/* Thank You Page Design Processing Overlay */
#design-processing-overlay, #processingScreen {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .woocommerce-cart table.shop_table_responsive tbody td.product-remove::before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: 700;
        display: block;
        margin-right: 0.5em;
    }
}


body.single-product, 
body.post-type-archive.woocommerce, 
body.woocommerce-account,
body.woocommerce-cart {
    background-image: url('https://petmugshotz.com/wp-content/uploads/2025/04/paw-tile1.svg');
    background-repeat: repeat;
    background-size: 22%;
}

body {
    background-color: #e7f6ff !important;
}

.product-details {
    flex: 1;
    height: 100%;
}

.product-add-to-cart {
    display: flex;
    justify-content: center;     /* or flex-end if you want right-align */
    align-items: flex-end;       /* aligns quantity and button to the bottom */
    gap: 10px;
    flex-wrap: wrap;             /* ensures wrapping on small screens */
}

#create-button {
    text-decoration: none;
    display: inline-block;
    /* text-align: center; */
    line-height: normal; /* ensure vertical alignment */
    margin-bottom: 15px;
}

.single_add_to_cart_button {
    min-width: 140px; /* adjust as needed */
}

.canvas-container-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.canvas-container {
    width: 100%;
    max-width: 100%;
    /* height: auto; */
}

.image-area-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    max-height: 600px;
}

#mainImage, canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.disableCursor{
    cursor: not-allowed
}

.mt-7{
    margin-top: 6rem!important;
}

canvas {
    width: 100% !important;
    /* height: auto !important; */
    max-width: 100%;
    /* border: 1px solid #ccc; */
    display: block;
}

.prod-info-container {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.canvas-container{
    position: static !important;
}

.force-hide {
    display: none !important;
}

.single_add_to_cart_button.btn-secondary {
    background-color: #ddd;
    border: 1px solid #bbb;
    color: #666;
    cursor: not-allowed;
}

.single-product form.cart button.single_add_to_cart_button:hover {
    /* background-color: #e55a00; */
    background-color: rgba(94, 77, 203, 0);
    color: rgb(0, 103, 255);
}

.btn-info{
    color: #fff !important;
}

/* Hide Add to Cart button on product images */
.ast-on-card-button, .woocommerce-ordering {
    display: none !important;
}

.navbuttons{
    margin-top: 20px;
}

/* Hide Shop title and result count */
.woocommerce-page .woocommerce-products-header, .woocommerce-result-count, .woocommerce-products-header, .woocommerce-result-count {
    display: none;
}

.woocommerce-products-header,
.woocommerce-result-count {
    display: none !important;
}

/* Hide shop title and results count on all devices */
.woocommerce-page .page-title,
.woocommerce-page .woocommerce-products-header,
.woocommerce-page .woocommerce-result-count {
    display: none !important;
}



.product-text-inputs {
    position: absolute;
    bottom: 0px;                  /* distance from bottom of the canvas container */
    left: 50%;
    transform: translateX(-50%);
    
    display: flex;
    flex-direction: column;      /* or row if you prefer horizontal */
    align-items: center;
    gap: 0.5rem;
    
    /* background: rgba(255, 255, 255, 0.85);
    padding: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
    z-index: 10;                 /* above the canvas */
}

.product-text-inputs input[type="text"] {
    width: 90%;
    max-width: 300px;
    max-height: 40px;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 30px;
}


/* Responsive Fixes */
@media (max-width: 768px) {
    .mt-7{
        margin-top: 2rem!important;
        margin-bottom: 3rem !important;
    }

    .container {
        margin-top: 0px !important;
    }

    .menu-item {
        font-size: 12px !important;
        padding-top: 10px !important;
    }

    .site-primary-footer-wrap {
        padding-top: 1.5em !important;
    }

    img.wp-image-1133 {
        width: 104px;
        height: auto;
    }

    .canvas-container {
        max-height: 350px !important;
        /* max-width: 350px !important; */
    }

    .product-details {
        max-width: 380px;
    }
}

@media (max-width: 1024px) {
    .site-footer {
        font-size: 14px;
    }
}

.site-footer {
    font-size: 16px;
}

/* SEO styling */

h3 {
  font-size: 1.3rem !important;
}

.d-flex h3 {
  display: inline-block;
  margin: 0;
  white-space: nowrap; /* optional: prevents text wrap */
}
