/**
 * Círculo Musical design tokens for WooCommerce shortcodes and core blocks.
 * Enqueued by woo-store-blocks.php.
 */

/* --- Buttons: pill, #1346af -> #3a3a3a --------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.wc-block-components-button {
    background-color: #1346af;
    color: #ffffff;
    border-radius: 50px;
    border: none;
    padding: 0.75em 1.5em;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-block-button__link:hover,
.wc-block-components-button:hover {
    background-color: #3a3a3a;
    color: #ffffff;
}

/* --- Links -------------------------------------------------------------- */
.woocommerce a,
.wp-block-button__link {
    color: #1346af;
}

.woocommerce a:hover {
    color: #1346af;
}

/* --- Headings ----------------------------------------------------------- */
.woocommerce .product-title,
.woocommerce-loop-product__title,
.woocommerce .product-category h2,
.woocommerce .product-category h3,
.wp-block-heading,
.wp-block-heading h1,
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4,
.wp-block-heading h5,
.wp-block-heading h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2b2b2b;
}

/* --- Product category shortcode ----------------------------------------- */
.woocommerce .product-category {
    text-align: center;
}

.woocommerce .product-category a {
    text-decoration: none;
}

.woocommerce .product-category img {
    border-radius: 4px;
    margin-bottom: 0.75em;
}

.woocommerce .product-category .count {
    background: transparent;
    color: #8f8f8f;
    font-size: 0.85em;
}

/* --- Price -------------------------------------------------------------- */
.woocommerce .price,
.woocommerce-Price-amount {
    color: #2b2b2b;
    font-weight: 500;
}

/* --- On-sale badge ------------------------------------------------------ */
.woocommerce span.onsale,
.wc-block-grid__product-onsale {
    background-color: #1346af;
    color: #ffffff;
    border-radius: 0;
    min-height: auto;
    min-width: auto;
    padding: 0.35em 0.75em;
    font-weight: 500;
    line-height: 1.4;
}

/* --- Forms -------------------------------------------------------------- */
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 0.5em 0.75em;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #474747;
}

.woocommerce input.input-text:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
    border-color: #1346af;
    outline: none;
}

/* --- Tables ------------------------------------------------------------- */
.woocommerce table.shop_table {
    border-collapse: collapse;
    font-size: 14px;
}

.woocommerce table.shop_table th {
    font-weight: 600;
    color: #2b2b2b;
    text-align: left;
}

.woocommerce table.shop_table td {
    color: #474747;
}

/* --- Notices ------------------------------------------------------------ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: #1346af;
    font-size: 14px;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #1346af;
}

/* --- Social links (horizontal) ------------------------------------------ */
.wp-block-social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/*
 * WordPress core (block-library/style.min.css) paints the per-network colour on
 * the <li class="wp-social-link"> and rounds it through `.wp-block-social-link`,
 * a class this markup does not use. Result: a square chip on every page that
 * loads the block stylesheet (shop, cart, account, 404) while the Elementor
 * homepage has no core stylesheet and looked fine. Reset the chip on the <li>
 * and keep the 36px circle on the <a>.
 */
.wp-block-social-links .wp-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background-color: transparent !important;
    color: #2b2b2b;
}

.wp-block-social-links .wp-social-link a,
.wp-block-social-links .wp-social-link-facebook a,
.wp-block-social-links .wp-social-link-instagram a,
.wp-block-social-links .wp-social-link-twitter a,
.wp-block-social-links .wp-social-link-youtube a,
.wp-block-social-links .wp-social-link-linkedin a,
.wp-block-social-links .wp-social-link-pinterest a,
.wp-block-social-links .wp-social-link-tiktok a,
.wp-block-social-links .wp-social-link-whatsapp a,
.wp-block-social-links .wp-social-link-telegram a,
.wp-block-social-links .wp-social-link-reddit a,
.wp-block-social-links .wp-social-link-tumblr a,
.wp-block-social-links .wp-social-link-vimeo a,
.wp-block-social-links .wp-social-link-spotify a,
.wp-block-social-links .wp-social-link-github a,
.wp-block-social-links .wp-social-link-dribbble a,
.wp-block-social-links .wp-social-link-flickr a,
.wp-block-social-links .wp-social-link-snapchat a,
.wp-block-social-links .wp-social-link-mastodon a,
.wp-block-social-links .wp-social-link-threads a,
.wp-block-social-links .wp-social-link-bluesky a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background-color: transparent !important;
    color: #2b2b2b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wp-block-social-links .wp-social-link a:hover,
.wp-block-social-links .wp-social-link-facebook a:hover,
.wp-block-social-links .wp-social-link-instagram a:hover,
.wp-block-social-links .wp-social-link-twitter a:hover,
.wp-block-social-links .wp-social-link-youtube a:hover,
.wp-block-social-links .wp-social-link-linkedin a:hover,
.wp-block-social-links .wp-social-link-pinterest a:hover,
.wp-block-social-links .wp-social-link-tiktok a:hover,
.wp-block-social-links .wp-social-link-whatsapp a:hover,
.wp-block-social-links .wp-social-link-telegram a:hover,
.wp-block-social-links .wp-social-link-reddit a:hover,
.wp-block-social-links .wp-social-link-tumblr a:hover,
.wp-block-social-links .wp-social-link-vimeo a:hover,
.wp-block-social-links .wp-social-link-spotify a:hover,
.wp-block-social-links .wp-social-link-github a:hover,
.wp-block-social-links .wp-social-link-dribbble a:hover,
.wp-block-social-links .wp-social-link-flickr a:hover,
.wp-block-social-links .wp-social-link-snapchat a:hover,
.wp-block-social-links .wp-social-link-mastodon a:hover,
.wp-block-social-links .wp-social-link-threads a:hover,
.wp-block-social-links .wp-social-link-bluesky a:hover {
    color: #1346af !important;
}

.wp-block-social-links .wp-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Homepage format headings.
 * The reference site sets its format headings to 1.7rem per widget; family,
 * weight and colour inherit from the theme's h2 tokens, exactly as they do
 * there. The class is written by scripts/create-homepage.php. */
.elementor-home-format-title .elementor-heading-title {
    font-size: 1.7rem;
}
