/* * Save this file to: /wp-content/themes/your-theme/assets/css/yellowprint.css 
 */

/* Hide scrollbar for clean UI */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* FIX: Brutalist Overflow Fix */
/* Prevents horizontal scrolling caused by rotated elements in the hero section */
body {
    overflow-x: hidden;
}

.product-card:hover .product-img { transform: scale(1.08); }

/* Modal Transition */
.modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Color Options */
.color-option {
    transition: all 0.2s ease;
    position: relative;
}
.color-option::after {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0.8rem;
    transition: color 0.2s;
}
.color-option.selected {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}
.color-option.selected::after {
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.color-option.selected[style*="background-color: #FFFFFF"]::after,
.color-option.selected[style*="background-color: rgb(255, 255, 255)"]::after {
    color: rgba(0,0,0,0.8);
    text-shadow: none;
}

.bg-dots { background-size: 20px 20px; }

/* Custom category buttons */
.cat-btn.active {
    background-color: #FFE600;
    color: #000;
    border-color: #000;
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
    transform: translateY(-2px);
}

/* Mobile Menu */
#mobileMenu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobileMenu.active {
    max-height: 300px;
    opacity: 1;
}

/* FAQ Accordion Styles */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: sweep .3s ease-in-out;
}
@keyframes sweep {
    0%    {opacity: 0; transform: translateY(-10px)}
    100%  {opacity: 1; transform: translateY(0)}
}

/* Social Proof Ticker Transition */
#socialProofText {
    transition: opacity 0.5s ease-in-out;
}