/*
Theme Name: Little Blossoms
Theme URI: https://littleblossoms.com
Author: Little Blossoms Team
Author URI: https://littleblossoms.com
Description: A beautiful, elegant, and responsive WordPress + WooCommerce theme designed for kids dress boutiques. Features soft pastel aesthetics, smooth animations, and a premium shopping experience.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: little-blossoms
Tags: e-commerce, woocommerce, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===== Base ===== */
* { scrollbar-width: thin; scrollbar-color: #D9261C #f5f5f4; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f4; }
::-webkit-scrollbar-thumb { background: #D9261C; border-radius: 99px; }
::selection { background: #9D1A10; color: #fff; }
body { font-family: 'Manrope', sans-serif; color: #2C2C2C; background: #FFF9F5; -webkit-font-smoothing: antialiased; }

/* ===== Colors ===== */
:root {
  --brand: #9D1A10;
  --brand-light: #D9261C;
  --brand-dark: #7F150D;
  --cream: #FFF9F5;
  --blush: #FDE8E4;
  --lavender: #EDE4F7;
  --mint: #DFF5E8;
  --sky: #D6EEFF;
  --charcoal: #2C2C2C;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade-in-up-delay { animation: fadeInUp 0.8s ease-out 0.2s forwards; opacity: 0; }
.animate-fade-in-up-delay2 { animation: fadeInUp 0.8s ease-out 0.4s forwards; opacity: 0; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-soft { animation: pulseSoft 3s ease-in-out infinite; }

/* ===== Reveal on Scroll ===== */
.reveal {
  opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(8px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ===== Product Cards ===== */
.product-card:hover .product-img { transform: scale(1.08); }
.product-card:hover .quick-actions { opacity: 1; transform: translateY(0); }
.quick-actions { opacity: 0; transform: translateY(10px); transition: all 0.3s ease; }
.product-img { transition: transform 0.7s ease; }

/* ===== Category Cards ===== */
.category-card:hover .cat-img { transform: scale(1.1); }
.category-card:hover .cat-overlay { background: rgba(157,26,16,0.35); }
.cat-img { transition: transform 0.7s ease; }
.cat-overlay { transition: all 0.5s ease; }

/* ===== Size & Color Selections ===== */
.size-btn.active-size { background: #9D1A10 !important; color: #fff !important; border-color: #9D1A10 !important; }
.color-swatch.active-color { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #9D1A10; }

/* ===== Thumbnail Gallery ===== */
.thumbnail { transition: all 0.3s ease; }
.thumbnail.active-thumb { border-color: #9D1A10 !important; }

/* ===== Form Elements ===== */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show { transform: translateX(0); }

/* ===== Mobile Menu ===== */
.mobile-menu {
  transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateX(0); }

/* ===== Filter Panel (Mobile) ===== */
.filter-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.filter-panel.open { max-height: 600px; }

/* ===== Accordion ===== */
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

/* ===== WooCommerce Overrides ===== */
.woocommerce-result-count { font-size: 1.125rem; color: #a8a29e; }
.woocommerce-ordering select { background: transparent; border: none; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
.woocommerce-pagination { display: none; }

/* ===== Page/Post Content ===== */
.entry-content { line-height: 1.8; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { font-weight: 700; tracking: tight; margin-top: 2em; margin-bottom: 0.5em; }
.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content p { margin-bottom: 1.5em; }
.entry-content img { border-radius: 1.5rem; }
.entry-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content blockquote { border-left: 4px solid var(--brand); padding-left: 1.5em; font-style: italic; color: #78716c; }

/* ===== Comments ===== */
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; border-radius: 1.5rem; padding: 1.5rem; margin-bottom: 1rem; }
.comment-author { font-weight: 700; }
.comment-meta { font-size: 0.8rem; color: #a8a29e; }
#respond { background: #fff; border-radius: 1.5rem; padding: 2rem; margin-top: 2rem; }
#respond .comment-form input, #respond .comment-form textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 1rem; border: 1px solid #e7e5e4;
  font-family: inherit; font-size: 0.875rem; transition: border-color 0.3s;
}
#respond .comment-form input:focus, #respond .comment-form textarea:focus {
  outline: none; border-color: var(--brand);
}
#respond .comment-form .submit {
  background: var(--brand); color: #fff; border: none; cursor: pointer;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem;
}
#respond .comment-form .submit:hover { background: var(--brand-light); }