/* PEIXEIRO — Component Styles */

/* Subscription Cards */
.subscription-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
}
.subscription-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.subscription-card-image { aspect-ratio: 16/10; overflow: hidden; }
.subscription-card-image img { width: 100%; height: 100%; object-fit: cover; }
.subscription-card-body { padding: var(--space-xl); }
.subscription-card-name { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: var(--space-sm); }
.subscription-savings { display: inline-flex; align-items: center; gap: 6px; background: rgba(74,124,89,0.1); color: var(--color-success); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: var(--space-md); }
.subscription-price { font-family: var(--font-price); font-size: 1.5rem; font-weight: 700; color: var(--color-primary); }
.subscription-price small { font-size: 0.8rem; color: var(--color-text-secondary); font-weight: 400; }

/* Custom Box Builder */
.box-builder-container { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-xl); min-height: 80vh; }
.box-builder-products { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-xl); }
.box-builder-summary { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-xl); position: sticky; top: calc(var(--navbar-height) + var(--space-lg)); max-height: calc(100vh - var(--navbar-height) - var(--space-2xl)); overflow-y: auto; box-shadow: var(--shadow-md); }
.box-summary-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 2px solid var(--color-border); }
.box-summary-item { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border-light); }
.box-summary-item img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; }
.box-summary-total { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 2px solid var(--color-border); font-size: 1.2rem; font-weight: 700; }

@media (max-width: 991.98px) {
    .box-builder-container { grid-template-columns: 1fr; }
    .box-builder-summary { position: fixed; bottom: 0; left: 0; right: 0; max-height: 50vh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; z-index: 1050; }
}

/* Checkout Steps */
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.checkout-step { display: flex; align-items: center; gap: var(--space-sm); font-size: 14px; font-weight: 500; color: var(--color-text-light); }
.checkout-step.active { color: var(--color-primary); }
.checkout-step.completed { color: var(--color-success); }
.checkout-step-number { width: 32px; height: 32px; border-radius: var(--radius-full); border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.checkout-step.active .checkout-step-number { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* Dashboard */
.dashboard-sidebar { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-sm); }
.dashboard-nav { list-style: none; padding: 0; margin: 0; }
.dashboard-nav li a { display: flex; align-items: center; gap: var(--space-md); padding: 12px var(--space-md); border-radius: var(--radius-md); color: var(--color-text-primary); font-size: 14px; font-weight: 500; transition: all var(--transition-fast); }
.dashboard-nav li a:hover, .dashboard-nav li a.active { background: rgba(139,26,43,0.05); color: var(--color-primary); }
.dashboard-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-sm); }

/* Order Timeline */
.order-timeline { display: flex; justify-content: space-between; margin: var(--space-xl) 0; position: relative; }
.order-timeline::before { content: ''; position: absolute; top: 15px; left: 15px; right: 15px; height: 2px; background: var(--color-border); }
.timeline-step { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); position: relative; z-index: 1; }
.timeline-dot { width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--color-bg-light); border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.timeline-step.completed .timeline-dot { background: var(--color-success); border-color: var(--color-success); color: white; }
.timeline-step.active .timeline-dot { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.timeline-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--color-text-light); }

/* Auth Pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-bg-light); padding: var(--space-2xl); }
.auth-card { background: var(--color-surface); border-radius: var(--radius-xl); padding: var(--space-3xl); width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-logo { font-family: var(--font-heading); font-size: 2rem; color: var(--color-primary); text-align: center; margin-bottom: var(--space-2xl); letter-spacing: 3px; }
.btn-google { width: 100%; padding: 12px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: var(--space-sm); cursor: pointer; }
.btn-google:hover { background: var(--color-surface-hover); }

/* Blog Cards */
.blog-card { background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition-normal); height: 100%; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: var(--space-lg); }
.blog-card-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--color-primary); margin-bottom: var(--space-sm); }
.blog-card-title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: var(--space-sm); }

/* Pagination */
.pagination-peixeiro .page-link { border: none; color: var(--color-text-primary); font-weight: 500; padding: 8px 14px; border-radius: var(--radius-md); margin: 0 2px; }
.pagination-peixeiro .page-item.active .page-link { background: var(--color-primary); color: white; }
