/* Feature cards and sections */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #0071DC;
}

.feature-icon {
    background: #EBF5FF;
    color: #0071DC;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #0071DC;
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1F2937;
}

.feature-description {
    color: #4B5563;
    line-height: 1.625;
}

/* Special offers section */
.special-offer {
    background: linear-gradient(135deg, #0071DC, #005BB1);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/assets/images/pattern.svg');
    opacity: 0.1;
    pointer-events: none;
}

.offer-timer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    padding: 1rem;
    display: inline-flex;
    gap: 1rem;
    margin-top: 1rem;
}

.timer-unit {
    text-align: center;
    min-width: 3rem;
}

.timer-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.timer-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Category badges */
.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.category-badge-primary {
    background: #EBF5FF;
    color: #0071DC;
}

.category-badge-primary:hover {
    background: #0071DC;
    color: white;
}

.category-badge-secondary {
    background: #FFF7E6;
    color: #D97706;
}

.category-badge-secondary:hover {
    background: #D97706;
    color: white;
}

/* Notification banner */
.notification-banner {
    background: #0071DC;
    color: white;
    text-align: center;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.notification-banner:hover {
    background: #005BB1;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notification-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

/* Quick action buttons */
.quick-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-action-primary {
    background: #0071DC;
    color: white;
}

.quick-action-primary:hover {
    background: #005BB1;
    transform: translateY(-2px);
}

.quick-action-secondary {
    background: white;
    border-color: #0071DC;
    color: #0071DC;
}

.quick-action-secondary:hover {
    background: #EBF5FF;
    transform: translateY(-2px);
}

/* Product tag labels */
.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
}

.tag-new {
    background: #0071DC;
    color: white;
}

.tag-sale {
    background: #DC2626;
    color: white;
}

.tag-featured {
    background: #FFC220;
    color: #1F2937;
}

/* Enhanced search bar */
.search-enhanced {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 3.5rem;
    border-radius: 1rem;
    border: 2px solid #E5E7EB;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #0071DC;
    box-shadow: 0 0 0 4px rgba(0, 113, 220, 0.1);
}

.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: #0071DC;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #005BB1;
    transform: translateY(-50%) scale(1.05);
}

/* Accessibility additions */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}