/*
Theme Name: PicsToday
Theme URI: https://example.com/picstoday
Author: Antigravity AI
Author URI: https://example.com
Description: PicsToday Modern Storefront theme - Premium Wearable Art style, compatible with WooCommerce.
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: picstoday
Requires PHP: 7.4
Requires at least: 5.6
*/

/* Core Custom Utilities from Stitch Designs */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.fill-icon {
    font-variation-settings: 'FILL' 1 !important;
}

.glass-card,
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-shadow,
.product-card-shadow {
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.product-shadow:hover,
.product-card-shadow:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* Custom Checkbox */
.custom-checkbox:checked {
    background-color: #b42907;
    border-color: #b42907;
}

/* Fixes for WP Admin Bar overlap on fixed nav */
body.admin-bar nav {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar nav {
        top: 46px !important;
    }
}

/* Prevent image bottom gaps and force alignment */
.aspect-\[4\/5\] img,
.aspect-\[3\/4\] img,
.w-24.h-32 img,
.product-image-zoom img,
.woocommerce-mini-cart-item img,
.product-card-shadow img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    vertical-align: middle !important;
}

/* Custom WooCommerce Single Product Add to Cart Form Stylings */
.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.single-product form.cart .quantity {
    display: inline-block !important;
    margin: 0 !important;
}

.single-product form.cart .quantity input.qty {
    width: 70px !important;
    height: 56px !important;
    background-color: #f1f3f4 !important; /* bg-surface-container */
    border: none !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 16px !important;
    color: #1c1b1f !important; /* text-on-surface */
    outline: none !important;
}

.single-product form.cart .single_add_to_cart_button {
    flex-grow: 1 !important;
    min-width: 200px !important;
    height: 56px !important;
    background-color: #ff5e00 !important; /* primary color */
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 20px rgba(255, 94, 0, 0.2) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(255, 94, 0, 0.3) !important;
}

.single-product form.cart .single_add_to_cart_button:active {
    transform: scale(0.98) !important;
}

.single-product form.cart table.variations {
    width: 100% !important;
    margin-bottom: 20px !important;
    border-collapse: collapse !important;
}

.single-product form.cart table.variations td.label {
    padding-bottom: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    color: #49454f !important; /* text-on-surface-variant */
    display: block !important;
    text-align: left !important;
}

.single-product form.cart table.variations td.value {
    display: block !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.single-product form.cart select {
    width: 100% !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #1c1b1f !important;
    outline: none !important;
    appearance: none !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2349454f'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
}
