body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; background-color: #f3f4f6; color: #1f2937; }
html { scroll-behavior: smooth; }

/* ANIMATIONS */
@keyframes price-pulse {
    0% { transform: scale(1); color: #dc3545; }
    50% { transform: scale(1.1); color: #0d6efd; }
    100% { transform: scale(1); color: #dc3545; }
}
.price-bump { animation: price-pulse 0.3s ease-in-out; }

/* UI COMPONENTS */
.step-badge { background-color: #0d6efd; color: white; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.opt-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: 1px solid #e5e7eb; background: white; position: relative; }
.opt-card:hover { border-color: #0d6efd; transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(13, 110, 253, 0.15); }
input:checked + .opt-card { border-color: #0d6efd; background-color: #eff6ff; box-shadow: 0 0 0 2px #0d6efd inset; }
input:checked + .opt-card .check-icon { opacity: 1; transform: scale(1); }
.img-vertical { height: 180px; width: 100%; object-fit: contain; margin-bottom: 10px; mix-blend-mode: multiply; }
.input-field { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1.1rem; outline: none; transition: 0.2s; }
.input-field:focus { border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15); }
.input-error { border-color: #dc3545 !important; background-color: #fff5f5; }
.error-msg { display: none; color: #dc3545; font-size: 0.8rem; margin-top: 4px; font-weight: 600; }
.error-msg.visible { display: block; }
.hidden-section { display: none !important; }
.visible-section { display: grid !important; animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* VISUALIZER */
.vis-wrapper { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 24px; }
.vis-grid { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 8px; align-items: start; justify-items: center; }
#vis-shutter { grid-column: 1; grid-row: 1; width: 150px; height: 150px; background-color: #d1fae5; border: 2px solid #374151; background-image: repeating-linear-gradient(0deg, transparent, transparent 14px, #6ee7b7 15px); transition: width 0.3s ease, height 0.3s ease; box-shadow: 2px 2px 6px rgba(0,0,0,0.05); position: relative; }
#vis-shutter::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 8px; background: #374151; }
.vis-arrow-h-container { grid-column: 2; grid-row: 1; height: 100%; display: flex; align-items: center; padding-left: 4px; }
.vis-arrow-w-container { grid-column: 1; grid-row: 2; width: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.arrow-line { background-color: #dc2626; position: relative; }
.vis-label { font-size: 0.8rem; font-weight: bold; color: #dc2626; white-space: nowrap; }
.arrow-head-up { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid #dc2626; position: absolute; top: -5px; left: 50%; transform: translateX(-50%); }
.arrow-head-down { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid #dc2626; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); }
.arrow-head-left { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-right: 6px solid #dc2626; position: absolute; left: -5px; top: 50%; transform: translateY(-50%); }
.arrow-head-right { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid #dc2626; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); }

/* CART DRAWER */
#cart-drawer { position: fixed; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100vh; background: white; box-shadow: -5px 0 25px rgba(0,0,0,0.2); transition: right 0.3s ease-in-out; z-index: 100; display: flex; flex-direction: column; }
#cart-drawer.open { right: 0; }
#cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 90; display: none; }
#cart-overlay.open { display: block; }
.cart-item { border-bottom: 1px solid #f3f4f6; padding: 15px; position: relative; background: #fff; }
.cart-badge { position: absolute; top: -5px; right: -5px; background: #dc3545; color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 10px; display: flex; align-items: center; justify-content: center; }


