/*
Theme Name: Abaya Boutique Luxe
Theme URI: https://example.com/abaya-boutique
Author: Senior WP Developer
Author URI: https://example.com
Description: A premium, minimalist WooCommerce Block Theme designed for Abaya e-commerce stores. Features RTL support, MAD currency integration, and clean luxury aesthetics inspired by Salaty.ma.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abaya-boutique
Tags: e-commerce, block-theme, rtl-language-support, fashion, luxury, one-column, wide-blocks

This theme is a full WordPress 6.x Block Theme.
*/

/* --- Base Styles & Fixes --- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL Support */
body.rtl {
    direction: rtl;
    text-align: right;
}

/* WooCommerce Specific Overrides for Blocks */
.wc-block-grid__product-image {
    margin-bottom: 1rem;
    overflow: hidden;
}

.wc-block-grid__product-image img {
    transition: transform 0.5s ease;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.05);
}

.wc-block-grid__product-title {
    font-family: var(--wp--preset--font-family--heading) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.wc-block-grid__product-price {
    font-weight: 600 !important;
}

/* Sale Badges */
.wc-block-grid__product-onsale {
    background-color: var(--wp--preset--color--secondary) !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    font-weight: bold;
}

/* Buttons */
.wp-block-button__link {
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.wp-block-button__link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Single Product Accordions (Details/Summary) */
details {
    border-bottom: 1px solid #eeeeee;
    padding: 1rem 0;
}

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: "+";
    font-size: 1.2rem;
}

details[open] summary:after {
    content: "-";
}

/* Mini Cart Styles */
.wc-block-mini-cart__badge {
    background-color: var(--wp--preset--color--secondary) !important;
}
