/*
Theme Name: ANIMATE WooCommerce Theme
Theme URI: https://example.com/animate-wp-theme
Author: Elie Gamala
Author URI: https://example.com
Description: Developed woocommerce theme
Version: 1.0.0
Text Domain: animate-wp-theme
*/

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbars for marquee / carousels */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Ticker animation used in Ticker component */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 30s linear infinite;
}

/* Basic WooCommerce tweaks to align with Tailwind utility output */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  border-radius: 0;
}

/* Ensure the editor knows the Brand Font */
.brand-text-content {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    color: #000;
}


/* --- Brand Canvas Styles --- */
.brand-canvas-wrapper {
    padding: 40px 0;
	 max-width: 100% !important;
}

/* Force headings to brand style */
.brand-canvas-wrapper h1, 
.brand-canvas-wrapper h2 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 500 !important;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Force paragraphs to minimalist style */
.brand-canvas-wrapper p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
    color: #333;
    margin-bottom: 25px;
}

/* Minimalist Bullets */
.brand-canvas-wrapper ul {
    list-style: none;
    padding-left: 0;
}
.brand-canvas-wrapper li {
    font-size: 13px;
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}
.brand-canvas-wrapper li::before {
    content: "—"; /* The brand dash */
    position: absolute;
    left: 0;
    color: #000;
}

/* IF YOU PASTE HTML:
   The "Custom HTML" block inside this wrapper 
   will also inherit these styles for h1, p, etc. */

/* --- Brand WooCommerce Notices --- */

/* Container Spacing */
.woocommerce-notices-wrapper {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Success Message & Error Boxes */
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
    background-color: #fff !important;
    border: 1px solid #000 !important; /* Sharp black border */
    color: #000 !important;
    padding: 20px 25px !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    list-style: none !important;
    margin-bottom: 30px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Remove default WooCommerce icons */
.woocommerce-message::before, 
.woocommerce-error::before, 
.woocommerce-info::before {
    display: none !important;
}

/* Error Specific Style (Optional: keep a subtle gray for errors) */
.woocommerce-error {
    border-color: #000 !important;
    background-color: #f9f9f9 !important;
}

/* Error List reset */
.woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* "View Basket" Button Styling */
.woocommerce-message .button.wc-forward {
    background: #000 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
    font-weight: 500 !important;
    border-radius: 0 !important; /* Square corners */
    text-decoration: none !important;
    transition: opacity 0.2s ease;
    float: none !important; /* Reset default float */
    margin-left: 20px;
}

.woocommerce-message .button.wc-forward:hover {
    opacity: 0.8 !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .woocommerce-message, .woocommerce-error {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .woocommerce-message .button.wc-forward {
        margin-left: 0;
        width: 100%;
    }
}