@import"https://fonts.googleapis.com/css2?family=Special+Elite&display=swap";*{margin:0;padding:0;box-sizing:border-box;font-family:inherit}html,body{height:100%;font-family:Special Elite,cursive,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#8b4513;overflow-x:hidden;background-color:#f8fafc}.app-container{display:flex;flex-direction:column;min-height:100vh;background-color:#f8fafc;position:relative}.app-header{position:fixed;top:0;left:0;right:0;height:4rem;background-color:#8b4513;display:flex;align-items:center;justify-content:space-between;padding:0 1rem;z-index:1000;box-shadow:0 2px 4px #0000001a}.app-header:not(:has(+.app-main .splash-container)){box-shadow:0 2px 4px #0000004d!important}.header-left,.header-right{flex:1;display:flex;align-items:center}.header-left{justify-content:flex-start}.header-right{justify-content:flex-end}.logo-container{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;transform:translate(-50%,-50%);top:50%}.logo{height:46px;width:auto}.logo1{height:74px;width:auto}.back-button,.profile-button{padding:.5rem 1rem;border:none;background:#fff3;color:#fff;font-size:1rem;cursor:pointer;transition:all .2s;border-radius:6px;font-family:Special Elite,cursive;white-space:nowrap}.back-button:hover,.profile-button:hover{background:#ffffff4d;transform:translateY(-1px)}.back-button:disabled,.profile-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.back-button:active,.profile-button:active{transform:translateY(0)}.app-main{flex:1;padding-top:4rem;padding-bottom:6rem;max-width:100%;width:100%;margin:0 auto;overflow-y:auto;position:relative;z-index:1}.content-wrapper{min-height:calc(100vh - 12rem);padding:.5rem}.app-footer{position:fixed;bottom:0;left:0;right:0;height:6rem;background-color:#8b4513;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 1rem;z-index:1000}.footer-content{width:100%;max-width:768px;padding:0 1rem}.next-button{width:100%;padding:.75rem;margin-bottom:.5rem;color:#fff;border:none;border-radius:.65rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s ease;font-family:Special Elite,cursive}.next-button.active{background-color:#fff;color:#8b4513}.next-button.inactive{background-color:#9ca3af;cursor:not-allowed}.app-main:has(.splash-container){display:flex;align-items:center;justify-content:center;background-color:#8b4513;padding:0}.splash-container{background-color:#8b4513;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:2rem;text-align:center;width:100%;max-width:100%;min-height:calc(100vh - 10rem);margin:0 auto}.splash-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem;width:100%}.splash-logo{margin-bottom:1rem}.splash-logo .logo1{height:100px;width:auto;display:block}.splash-title{font-size:2.2rem;font-weight:700;color:#fff;line-height:1.2}.splash-subtitle{font-size:1.3rem;color:#fff;opacity:.9;line-height:1.4}.login-container{height:100%;display:flex;align-items:center;justify-content:center;padding:.5rem;color:#8b4513;background-color:#f8fafc}.login-content{width:100%;max-width:400px;color:#8b4513;text-align:center}.login-content h1{font-size:2.5rem;font-weight:700;margin-bottom:.5rem;color:#8b4513}.login-content p{font-size:1.125rem;margin-bottom:2rem;opacity:.9;color:#8b4513}.login-form{background:#ffffffe6;padding:1rem;border-radius:.6rem;border:2px solid rgba(139,69,19,.2);margin-bottom:1.5rem}.form-group input{width:100%;color:#8b4513;border-radius:.6rem;background:#fff;font-size:1rem;font-family:Special Elite,cursive;transition:all .3s ease}.form-group input:focus{outline:none;background:#fff}.login-links{display:flex;flex-direction:column;gap:.75rem}.link{color:#8b4513;text-decoration:none;opacity:.8;transition:opacity .3s ease}.link:hover{opacity:1;text-decoration:underline}.products-container{padding:.5rem;max-width:800px;margin:0 auto;color:#8b4513;background-color:#f8fafc}.products-title{text-align:center;margin-bottom:2rem;font-size:2.5rem;font-weight:700;color:#8b4513}.products-list{display:flex;flex-direction:column;gap:1rem}.product-item{display:flex;align-items:center;background:#fff;border:2px solid rgba(139,69,19,.2);border-radius:12px;padding:.5rem;cursor:pointer;transition:all .3s ease;color:#8b4513;position:relative;flex-wrap:wrap}.product-item .weight-selection,.product-item .product-quantity-controls,.product-item .product-weight-info{flex-basis:100%;margin-top:.75rem}.product-item.selected{background:#8b45131a;border-color:#8b4513}.product-item:hover{transform:translateY(-2px)}.product-icon{background:#ffffffe6;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:1rem;transition:background-color .3s ease;border:1px solid rgba(139,69,19,.2);width:80px;height:60px;aspect-ratio:4/3;overflow:hidden}.product-icon img{height:100%;object-fit:contain;border-radius:8px;display:block}.product-item.selected .product-icon{background:#8b45131a}.product-info{flex:1;min-width:0}.product-name{font-weight:600;color:#8b4513;font-size:1.1rem;margin:0;line-height:1.2}.product-price-kg{flex-shrink:0;font-weight:700;color:#8b4513;font-size:1rem;margin-left:1rem;white-space:nowrap}.weight-selection{flex-direction:column;gap:.75rem;margin-top:1rem;padding:.5rem;background:#ffffffe6;border-radius:8px;border:1px solid rgba(139,69,19,.3);width:100%}.weight-input-container{display:flex;align-items:center;gap:.75rem}.weight-input-container label{font-weight:600;color:#8b4513;font-size:.9rem;white-space:nowrap}.weight-input{padding:.75rem;border:1px solid rgba(139,69,19,.3);border-radius:8px;width:120px;font-size:.9rem;font-family:Special Elite,cursive;color:#8b4513;background:#fff}.weight-input:focus{outline:none;border-color:#8b4513;background:#fff}.product-weight-info{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#8b45131a;border-radius:8px;border:2px solid rgba(139,69,19,.2);margin-top:.5rem;width:100%;justify-content:center}.weight-display{font-weight:600;color:#8b4513;font-size:.9rem}.weight-price{font-weight:700;color:#8b4513;font-size:1rem}.remove-weight-btn{width:24px;height:24px;background:#8b451333;border:none;border-radius:50%;cursor:pointer;color:#8b4513;font-size:.8rem;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.remove-weight-btn:hover{background:#8b45134d}.product-quantity-controls{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#8b45131a;border-radius:8px;border:1px solid rgba(139,69,19,.2);margin-top:.5rem;width:100%;justify-content:center}.quantity-label{font-size:.9rem;font-weight:600;color:#8b4513}.quantity-buttons{display:flex;align-items:center;gap:.75rem}.quantity-btn{width:32px;height:32px;background:#8b451333;border:none;border-radius:6px;cursor:pointer;color:#8b4513;font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease;font-family:Special Elite,cursive}.quantity-btn:hover{background:#8b45134d}.quantity{min-width:30px;text-align:center;font-weight:700;color:#8b4513;font-size:1.1rem}.order-summary{margin-top:2rem;padding:.5rem;background:#fff;border-radius:.6rem;border:1px solid rgba(139,69,19,.2);color:#8b4513}.order-summary h3{color:#8b4513;font-size:1.25rem;margin-bottom:1rem;border-bottom:1px solid rgba(139,69,19,.3);padding-bottom:.5rem}.order-item{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid rgba(139,69,19,.2)}.summary-total{margin-top:1rem;padding-top:.5rem;border-top:2px solid rgba(139,69,19,.3);text-align:right;font-size:1.125rem;font-weight:700}.delivery-container{height:100%;padding:.5rem;overflow-y:auto;color:#8b4513;background-color:#f8fafc}.delivery-content{max-width:800px;margin:0 auto}.delivery-content h1{color:#8b4513;font-size:2.5rem;font-weight:700;margin-bottom:.5rem;text-align:center}.delivery-content p{color:#8b4513;font-size:1.125rem;text-align:center;opacity:.9}.delivery-form{background:#fff;padding:1rem;border-radius:.6rem;border:2px solid rgba(139,69,19,.2);margin-bottom:2rem}.form-section{margin-bottom:2rem}.form-section h3{color:#8b4513;font-size:1.25rem;margin-bottom:1rem;border-bottom:1px solid rgba(139,69,19,.3);padding-bottom:.5rem}.form-group{margin-bottom:1.5rem;text-align:left}.form-group input,.form-group select,.form-group textarea{width:100%;padding:1rem;border:2px solid rgba(139,69,19,.1);border-radius:.6rem;background:#fff;font-size:1rem;font-family:Special Elite,cursive;transition:all .3s ease;color:#8b4513}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;background:#fff;box-shadow:0 0 0 3px #8b45134d}.form-group textarea{resize:vertical;min-height:80px}.confirmation-container{height:100%;padding:.5rem;overflow-y:auto;color:#8b4513;background-color:#f8fafc}.confirmation-content{max-width:800px;margin:0 auto;text-align:center}.confirmation-icon{font-size:4rem;margin-bottom:1rem}.confirmation-content h1{color:#8b4513;font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.confirmation-subtitle{color:#8b4513;font-size:1.25rem;margin-bottom:2rem;opacity:.9}.confirmation-details{background:#fff;padding:1rem;border-radius:.6rem;border:2px solid rgba(139,69,19,.2);margin-bottom:2rem;text-align:left}.detail-section{margin-bottom:2rem}.detail-section:last-child{margin-bottom:0}.detail-section h3{color:#8b4513;font-size:1.25rem;margin-bottom:1rem;border-bottom:1px solid rgba(139,69,19,.3);padding-bottom:.5rem}.order-items{display:flex;flex-direction:column;gap:.75rem}.order-item{display:grid;grid-template-columns:2fr 1fr 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid rgba(139,69,19,.2)}.item-name{font-weight:500;color:#8b4513}.item-quantity{text-align:center;opacity:.8;color:#8b4513}.item-total{text-align:right;font-weight:600;color:#8b4513}.delivery-info p{margin-bottom:.5rem;padding:.25rem 0;color:#8b4513}.payment-summary{border-top:1px solid rgba(139,69,19,.2);padding-top:1rem}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;color:#8b4513}.summary-row.total{border-top:2px solid rgba(139,69,19,.3);border-bottom:none;margin-top:.5rem;padding-top:1rem;font-size:1.125rem}.confirmation-actions{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.new-order-button{padding:1rem 2rem;background:#8b4513;color:#fff;border:none;border-radius:50px;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px;font-family:Special Elite,cursive}.new-order-button:hover{transform:translateY(-2px);background:#654321}.confirmation-note{font-size:.9rem;opacity:.8;line-height:1.4;color:#8b4513}.loading,.error-message{text-align:center;padding:3rem;font-size:1.125rem;color:#8b4513;background-color:#f8fafc}.error-message button{margin-top:1rem;padding:.75rem 1.5rem;background:#8b4513;color:#fff;border:none;border-radius:8px;cursor:pointer;font-family:Special Elite,cursive;transition:background-color .3s ease}.error-message button:hover{background:#654321}.order-summary-section{background:#fff;padding:1rem;border-radius:.6rem;border:2px solid rgba(139,69,19,.2);margin-top:2rem}.order-summary-section h2{color:#8b4513;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;text-align:center}.order-items-list{margin-bottom:1.5rem}.order-items-list h3{color:#8b4513;font-size:1.25rem;font-weight:600;margin-bottom:1rem;border-bottom:1px solid rgba(139,69,19,.3);padding-bottom:.5rem}.order-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid rgba(139,69,19,.2)}.order-item:last-child{border-bottom:1px}.item-name{color:#8b4513;font-weight:500;font-size:1rem;flex:1}.item-name strong{font-weight:600}.item-price{color:#8b4513;font-weight:600;font-size:1rem;text-align:right}.total-row{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;color:#8b4513;font-size:1.125rem;font-weight:700}@media(max-width:768px){.app-header{padding:0 .5rem}.back-button,.profile-button{padding:.4rem .8rem;font-size:.9rem}.logo{height:40px}.splash-title{font-size:1.8rem}.splash-subtitle{font-size:1.1rem}.splash-logo .logo1{height:80px}.order-summary-section{padding:1rem}.order-item{padding:.75rem 0;flex-direction:column;align-items:flex-start;gap:.25rem}.item-price{text-align:left;font-size:.9rem}.total-row{font-size:1.25rem}.login-container{padding:.5rem}.login-content h1{font-size:2rem}.login-form{padding:1rem}.products-container{padding:.5rem}.products-title{font-size:2rem;margin-bottom:1.5rem}.product-item{padding:.75rem;flex-direction:column;align-items:flex-start}.product-icon{margin-right:0;margin-bottom:.75rem}.product-price-kg{margin-left:0;margin-top:.5rem}.product-quantity-controls,.product-weight-info{margin-left:0;margin-top:.75rem;width:100%;justify-content:center}.weight-input-container{flex-direction:column;align-items:flex-start;gap:.5rem}.weight-input{width:100%}.delivery-container{padding:.5rem}.delivery-content h1{font-size:2rem}.delivery-form{padding:1rem}.form-row{grid-template-columns:1fr}.order-item:last-child{border-bottom:1px}.confirmation-container{padding:.5rem}.confirmation-content h1{font-size:2rem}.confirmation-details{padding:1rem}.order-item{grid-template-columns:1fr;gap:.5rem}.item-quantity,.item-total{text-align:center}}.products-info-banner{background:#8b45131a;border:1px solid rgba(139,69,19,.3);border-radius:.6rem;padding:1rem;margin-bottom:1.5rem;text-align:center}.products-info-banner p{color:#8b4513;font-size:1rem;margin:0;line-height:1.4;font-family:Special Elite,cursive}@media(max-width:480px){.product-item{display:grid;grid-template-columns:100px 1fr auto;grid-template-areas:"icon name price";align-items:center;gap:.5rem}.product-icon{width:60px;height:45px;grid-area:icon;margin:0;aspect-ratio:4/3;border-radius:6px}.product-info{grid-area:name;margin:0}.product-name{font-size:1rem;white-space:normal;word-wrap:break-word;overflow:visible}.product-price-kg{grid-area:price;margin:0;font-size:.9rem;text-align:right;white-space:nowrap}.weight-selection,.product-quantity-controls,.product-weight-info{grid-column:1 / -1;margin-top:.75rem;width:100%}}@media(max-width:768px){.product-item{display:grid;grid-template-columns:100px 1fr;grid-template-rows:auto auto;gap:.3rem .1rem;align-items:center}.product-icon{grid-row:1 / 3;grid-column:1;margin-right:0;width:100px;height:80px;aspect-ratio:4/3}.product-info{grid-row:1;grid-column:2}.product-name{font-size:1.1rem;margin-left:.5rem}.product-price-kg{grid-row:2;grid-column:2;margin-left:0;font-size:1rem;font-weight:600}.weight-selection,.product-quantity-controls,.product-weight-info{grid-column:1 / 3}}.profile-container{max-width:800px;margin:0 auto;padding:20px;min-height:calc(100vh - 120px)}.profile-header{text-align:center;margin-bottom:40px;padding-bottom:20px;border-bottom:1px solid #e5e7eb}.profile-header h1{font-size:2.5rem;color:#8b4513;margin-bottom:20px}.user-info{background:#f8fafc;padding:20px;border-radius:12px;border:1px solid #e2e8f0}.user-info p{margin:8px 0;color:#4b5563}.orders-section h2{font-size:1.8rem;color:#8b4513;margin-bottom:20px}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px}.spinner{width:40px;height:40px;border:4px solid #e5e7eb;border-left:4px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:16px;border-radius:8px;margin-bottom:20px;text-align:center}.no-orders{text-align:center;padding:60px 20px;color:#6b7280}.no-orders p{font-size:1.2rem;margin-bottom:8px}.orders-list{display:flex;flex-direction:column;gap:16px}.order-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a;transition:box-shadow .2s}.order-card:hover{box-shadow:0 4px 6px #0000001a}.order-header{display:flex;justify-content:space-between;align-items:center;padding:20px;cursor:pointer;background:#f8fafc}.order-number{font-size:1.1rem;color:#1f2937;margin-bottom:4px}.order-date{color:#6b7280;font-size:.9rem}.order-summary{display:flex;align-items:center;gap:20px}.expand-icon{color:#6b7280;font-weight:700}.order-details{padding:20px;background:#fff;border-top:1px solid #e5e7eb}.delivery-info{margin-bottom:20px;padding-bottom:20px}.delivery-info h4,.order-items h4{color:#374151;margin-bottom:8px;font-size:1rem}.order-items{margin-top:16px}.order-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f9fafb}.item-name{flex:2;color:#8b4513}.item-quantity{flex:1;text-align:center;color:#8b4513}.item-total{flex:1;text-align:right;font-weight:600;color:#8b4513}@media(max-width:768px){.profile-container{padding:16px}.order-item:last-child{border-bottom:1px}.order-header{flex-direction:column;align-items:flex-start;gap:12px}.order-summary{width:100%;justify-content:space-between}.order-item{flex-direction:column;align-items:flex-start;gap:4px}.item-quantity,.item-total{text-align:left}}.retry-button{background:#3b82f6;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;margin-top:8px;font-size:.9rem}.retry-button:hover{background:#2563eb}.not-authenticated{text-align:center;padding:60px 20px;color:#6b7280}.not-authenticated h2{color:#374151;margin-bottom:16px}.order-total-summary{display:flex;justify-content:space-between;align-items:center;padding:16px 0 0;margin-top:16px;border-top:2px solid #e5e7eb;font-weight:700;font-size:1.1rem}.user-email,.user-phone,.user-address{color:#6b7280;margin:4px 0}.product-item.added-to-cart{border-color:#8b4513!important;background:#8b451314}.products-controls{display:flex;gap:15px;margin-bottom:20px;flex-wrap:wrap}.search-container{flex:1;min-width:200px}.search-input{width:100%;padding:10px 15px;border:1px solid #ddd;border-radius:8px;font-size:16px}.sort-container{min-width:200px}.sort-select{width:100%;padding:10px 15px;border:1px solid #ddd;border-radius:8px;font-size:16px;background-color:#fff}.loading-overlay{display:flex;justify-content:center;align-items:center;padding:20px}.loading{font-size:18px;color:#666;text-align:center}.no-products{text-align:center;padding:40px;color:#666;font-size:16px}@media(max-width:768px){.products-controls{flex-direction:column}.search-container,.sort-container{min-width:100%}}.profile-container{max-width:800px;margin:0 auto;padding:.5rem;min-height:calc(100vh - 12rem);color:#8b4513;background-color:#f8fafc}.profile-header{text-align:center;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid rgba(139,69,19,.2)}.profile-header h1{font-size:2.5rem;font-weight:700;color:#8b4513;margin-bottom:1rem}.user-info{background:#fff;padding:1.5rem;border-radius:.6rem;border:2px solid rgba(139,69,19,.2);display:inline-block;text-align:left}.user-name{font-size:1.25rem;font-weight:600;color:#8b4513;margin-bottom:.5rem}.user-email,.user-phone{color:#8b4513;opacity:.9;margin:.25rem 0}.profile-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin-bottom:2rem}.profile-tile{background:#fff;border:2px solid rgba(139,69,19,.2);border-radius:12px;padding:1.5rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:1rem;position:relative;color:#8b4513}.profile-tile:hover{border-color:#8b4513;transform:translateY(-2px);box-shadow:0 4px 12px #8b451326}.profile-tile.active{border-color:#8b4513;background:#8b451314}.tile-icon{font-size:2rem;flex-shrink:0}.tile-content{flex:1}.tile-content h3{font-size:1.25rem;font-weight:600;color:#8b4513;margin-bottom:.5rem}.tile-content p{color:#8b4513;opacity:.8;margin:0;font-size:.9rem}.tile-arrow{font-size:1.1rem;color:#8b4513;opacity:.7;flex-shrink:0}.profile-content-section{background:#fff;border-radius:12px;padding:1.5rem;margin-top:1rem;border:2px solid rgba(139,69,19,.2);overflow:hidden}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.section-header h2{color:#8b4513;font-size:1.5rem;font-weight:700;margin:0}.personal-data-form{max-width:600px}.form-section{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid rgba(139,69,19,.2)}.form-section:last-child{border-bottom:none;margin-bottom:0}.form-section h4{margin-bottom:1rem;color:#8b4513;font-size:1.1rem;font-weight:600}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group{margin-bottom:1rem;text-align:left}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#8b4513}.form-group input{width:100%;padding:1rem;border:2px solid rgba(139,69,19,.1);border-radius:.6rem;background:#fff;font-size:1rem;font-family:Special Elite,cursive;transition:all .3s ease;color:#8b4513}.form-group input:focus{background:#fff;box-shadow:0 0 0 3px #8b45134d}.form-group input.disabled{background:#f9fafb;color:#6b7280;cursor:not-allowed;border-color:#8b45131a}.edit-button,.save-button,.cancel-button{padding:.75rem 1.5rem;border:none;border-radius:.6rem;font-weight:600;cursor:pointer;transition:all .3s ease;font-family:Special Elite,cursive;font-size:.9rem}.edit-button{background:#8b4513;color:#fff}.edit-button:hover{background:#654321;transform:translateY(-1px)}.save-button{background:#10b981;color:#fff;margin-right:.5rem}.save-button:hover:not(:disabled){background:#059669;transform:translateY(-1px)}.save-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.cancel-button{background:#ef4444;color:#fff}.cancel-button:hover{background:#dc2626;transform:translateY(-1px)}.edit-actions{display:flex;gap:.5rem}.save-message{padding:1rem;border-radius:.6rem;margin-bottom:1.5rem;font-weight:500;text-align:center}.save-message.success{background:#10b9811a;color:#065f46;border:1px solid rgba(16,185,129,.3)}.save-message.error{background:#ef44441a;color:#991b1b;border:1px solid rgba(239,68,68,.3)}.orders-list{display:flex;flex-direction:column;gap:1rem}.order-card{background:#fff;border:2px solid rgba(139,69,19,.2);border-radius:12px;overflow:hidden;transition:all .3s ease}.order-card:hover{border-color:#8b4513;box-shadow:0 4px 12px #8b451326}.order-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:#8b45130d;cursor:pointer;transition:background .3s ease}.order-header:hover{background:#8b45131a}.order-main-info{flex:1}.order-number{font-size:1.1rem;font-weight:600;color:#8b4513;margin-bottom:.5rem}.order-date{color:#8b4513;opacity:.8;font-size:.9rem}.order-summary{display:flex;align-items:center;gap:1rem}.order-total{font-weight:700;color:#8b4513;font-size:1.1rem}.expand-icon{color:#8b4513;opacity:.7;font-weight:700;font-size:1.1rem}.order-details{padding:1.5rem;background:#fff;border-top:1px solid rgba(139,69,19,.2)}.delivery-info,.order-items{margin-bottom:1.5rem}.delivery-info h4,.order-items h4{margin-bottom:1rem;color:#8b4513;font-size:1.1rem;font-weight:600}.order-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid rgba(139,69,19,.1);color:#8b4513}.item-name{flex:2;font-weight:500}.item-quantity{flex:1;text-align:center;opacity:.8}.item-total{flex:1;text-align:right;font-weight:600}.order-total-summary{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;margin-top:1rem;border-top:2px solid rgba(139,69,19,.3);font-weight:700;font-size:1.1rem;color:#8b4513}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;color:#8b4513}.spinner{width:40px;height:40px;border:4px solid rgba(139,69,19,.2);border-left:4px solid #8B4513;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message{background:#ef44441a;border:1px solid rgba(239,68,68,.3);color:#991b1b;padding:1rem;border-radius:.6rem;margin-bottom:1rem;text-align:center}.retry-button{background:#8b4513;color:#fff;border:none;padding:.5rem 1rem;border-radius:.6rem;cursor:pointer;margin-top:.5rem;font-family:Special Elite,cursive;transition:background-color .3s ease}.retry-button:hover{background:#654321}.no-orders{text-align:center;padding:3rem 1rem;color:#8b4513;opacity:.8}.no-orders p{font-size:1.2rem;margin-bottom:.5rem}.not-authenticated{text-align:center;padding:3rem 1rem;color:#8b4513}.not-authenticated h2{color:#8b4513;margin-bottom:1rem}@media(max-width:768px){.profile-container{padding:.5rem}.profile-header h1{font-size:2rem}.profile-tiles{grid-template-columns:1fr}.profile-tile{padding:1rem}.tile-icon{font-size:1.5rem}.tile-content h3{font-size:1.1rem}.section-header{flex-direction:column;align-items:flex-start}.edit-actions{width:100%}.save-button,.cancel-button{flex:1}.form-row{grid-template-columns:1fr}.order-header{flex-direction:column;align-items:flex-start;gap:1rem}.order-item:last-child{border-bottom:1px}.order-summary{width:100%;justify-content:space-between}.order-item{flex-direction:column;align-items:flex-start;gap:.25rem}.item-quantity,.item-total{text-align:left}}@media(max-width:480px){.profile-content-section,.order-header,.order-details{padding:1rem}.edit-actions{flex-direction:column}.save-button{margin-right:0;margin-bottom:.5rem}}@media(max-width:768px){.piece-quantity-controls{flex-direction:column;gap:.5rem}.piece-quantity-controls .quantity-label{text-align:center}.add-by-weight-btn{padding:.65rem;font-size:.85rem}}.piece-weight-info{text-align:center;padding:.5rem;background:#8b45130d;border-radius:6px;margin-bottom:.75rem}.piece-weight-info p{color:#8b4513;font-weight:500;font-size:.9rem;margin:0}.piece-quantity-controls{display:flex;align-items:center;justify-content:center;gap:1rem;padding:.75rem;background:#8b45130d;border-radius:8px;border:1px solid rgba(139,69,19,.2);margin-bottom:.75rem}.piece-quantity-controls .quantity-label{font-size:.9rem;font-weight:600;color:#8b4513}.piece-quantity-controls .quantity-buttons{display:flex;align-items:center;gap:.75rem}.piece-quantity-controls .quantity-btn{width:32px;height:32px;background:#8b451333;border:none;border-radius:6px;cursor:pointer;color:#8b4513;font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease;font-family:Special Elite,cursive}.piece-quantity-controls .quantity-btn:hover{background:#8b45134d}.piece-quantity-controls .quantity{min-width:30px;text-align:center;font-weight:700;color:#8b4513;font-size:1.1rem}.product-weight-info .weight-grams{font-size:.8rem;color:#8b4513;opacity:.8;margin-left:.25rem}.add-by-weight-btn{width:100%;padding:.75rem;background:#8b4513;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;font-family:Special Elite,cursive;font-size:.9rem}.add-by-weight-btn:hover:not(:disabled){background:#654321;transform:translateY(-1px)}.add-by-weight-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none}@media(max-width:768px){.piece-quantity-controls{flex-direction:column;gap:.5rem}.piece-quantity-controls .quantity-label{text-align:center}.add-by-weight-btn{padding:.65rem;font-size:.85rem}.product-weight-info{flex-wrap:wrap;justify-content:center;gap:.5rem}.product-weight-info .weight-grams{margin-left:0;flex-basis:100%;text-align:center}}.shipping-summary-info{background:#8b451314;border:1px solid rgba(139,69,19,.2);border-radius:8px;padding:.75rem 1rem;margin-bottom:1.5rem}.shipping-summary-message{margin:0;display:flex;flex-direction:column;gap:.25rem;color:#8b4513}.shipping-summary-message strong{font-size:1rem;font-weight:600}.shipping-summary-message span{font-size:.85rem;opacity:.9}.order-total .total-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;color:#8b4513}.order-total .total-row.subtotal{font-size:1rem;opacity:.9}.order-total .total-row.shipping{font-size:1rem;border-top:1px solid rgba(139,69,19,.2);padding-top:.75rem;margin-top:.5rem}.order-total .total-row.shipping .free-shipping{font-weight:700}.order-total .total-divider{height:1px;background:#8b45134d;margin:.5rem 0}.order-total .total-row.final-total{font-size:1.25rem;font-weight:700;padding:.75rem 0}@media(max-width:480px){.shipping-summary-info{padding:.75rem}.shipping-summary-message,.shipping-summary-message strong{font-size:.9rem}.shipping-summary-message span{font-size:.8rem}.order-total .total-row{font-size:.9rem}.order-total .total-row.final-total{font-size:1.1rem}}.order-total-summary{display:flex;flex-direction:column;gap:.5rem;margin-top:1.5rem;padding-top:1rem;border-top:2px solid rgba(139,69,19,.3)}.total-row{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;color:#8b4513}.total-row.shipping-row{padding-top:.75rem;margin-top:.25rem;border-top:1px dashed rgba(139,69,19,.2)}.total-row.total-final{font-size:1.1rem;font-weight:700;padding:.75rem 0;margin-top:.5rem;border-top:2px solid rgba(139,69,19,.3)}.total-label{font-size:.95rem;color:#8b4513}.total-amount{font-size:.95rem;font-weight:500;color:#8b4513;text-align:right;min-width:70px}.total-final .total-label,.total-final .total-amount{font-size:1.1rem;font-weight:700}.debug-info{font-size:11px;color:#6b7280!important;margin-top:5px;text-align:center;opacity:.7}.free-shipping:before{margin-right:4px}.total-label:before{margin-right:8px;font-size:.9em}.order-items .order-total-summary{background:#8b45130d;padding:1rem;border-radius:8px;margin-top:1rem;border:1px solid rgba(139,69,19,.1)}.order-items .total-row{padding:.5rem 0}.order-items .total-row:last-child:not(.total-final){border-bottom:none}.order-items .order-total-summary .total-row{position:relative}.order-items .order-total-summary .total-row:not(.total-final):before{content:"";position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:1}.order-items .order-total-summary .total-row .total-label,.order-items .order-total-summary .total-row .total-amount{position:relative;z-index:2;padding:0 5px}.order-items .order-total-summary .total-row .total-label{padding-left:0}.order-items .order-total-summary .total-row .total-amount{padding-right:0}.order-items .order-total-summary .total-row{display:flex;justify-content:space-between;padding:.4rem 0;position:relative;overflow:hidden}.order-items .order-total-summary .total-row:after{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);color:#8b451333;font-size:14px;letter-spacing:2px;overflow:hidden;white-space:nowrap;z-index:1;pointer-events:none}.order-items .order-total-summary{background:#8b45130d;padding:1rem 1.5rem;border-radius:12px;margin-top:1.5rem;border:1px solid rgba(139,69,19,.15)}.order-items .total-row{font-size:.95rem}.order-items .total-row.shipping-row{border-top:1px solid rgba(139,69,19,.15);padding-top:.75rem;margin-top:.5rem}.order-items .total-row.total-final{font-size:1.1rem;font-weight:700;padding:.75rem 0;margin-top:.75rem;border-top:2px solid rgba(139,69,19,.3)}@media(max-width:480px){.order-items .order-total-summary .total-row:after{font-size:12px;letter-spacing:1px}.order-items .order-total-summary{padding:1rem}}.packaging-container{margin:15px 0}.packaging-label{display:block;margin-bottom:10px;font-weight:500;color:#333}.packaging-options-grid{display:flex;gap:15px}.packaging-card{flex:1;display:flex;align-items:center;justify-content:center;padding:12px 20px;border:2px solid #e0e0e0;border-radius:10px;background:#fff;cursor:pointer;transition:all .3s ease;min-height:60px}.packaging-card:hover{border-color:#4caf50;background-color:#f8fff8}.packaging-card.selected{border-color:#4caf50;background-color:#f1f8e9;box-shadow:0 0 0 1px #4caf50}.packaging-card input[type=radio]{margin:0 10px 0 0;width:18px;height:18px;cursor:pointer}.packaging-card label{margin:0;cursor:pointer;font-weight:500;color:#333;display:flex;align-items:center;justify-content:center;flex:1;text-align:center}.radio-wrapper{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.radio-wrapper input{align-self:center}.radio-wrapper label{align-self:center;line-height:1.2}.packaging-options{display:flex;gap:20px;margin:10px 0}.packaging-option{display:flex;align-items:center;gap:8px}.packaging-option input[type=radio]{margin:0;width:18px;height:18px}.packaging-option label{font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;height:18px;line-height:1;padding:0}.packaging-description{margin-top:8px;font-size:.9rem;color:#8b4513}.total-row.packaging-info{padding:8px 0;font-size:.95rem;color:#8b4513}@media(max-width:768px){.packaging-options{flex-direction:column;gap:12px}.packaging-option{padding:8px 12px;border:1px solid #ddd;border-radius:6px;transition:all .2s}.packaging-option:hover{border-color:#4caf50;background-color:#f9f9f9}.packaging-option label{height:auto;line-height:1.4}}.holiday-order-banner{background:linear-gradient(135deg,#d32f2f,#b71c1c);color:#fff;padding:12px 20px;margin:15px auto 20px;border-radius:10px;box-shadow:0 4px 15px #b71c1c4d;border-left:5px solid #ff9800;animation:pulse 2s infinite;max-width:1200px}.holiday-order-content{display:flex;align-items:center;justify-content:center;gap:15px}.holiday-order-icon{font-size:1.8rem;animation:bounce 2s infinite}.holiday-order-text{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.holiday-order-text strong{font-size:1.1rem;font-weight:700}.holiday-order-text span{font-size:.9rem;opacity:.9;font-weight:400}@keyframes pulse{0%{box-shadow:0 4px 15px #b71c1c4d}50%{box-shadow:0 4px 25px #b71c1c80}to{box-shadow:0 4px 15px #b71c1c4d}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@media(max-width:768px){.holiday-order-banner{padding:10px 15px;margin:10px auto 15px}.holiday-order-content{flex-direction:column;gap:10px}.holiday-order-text{gap:3px}.holiday-order-text strong{font-size:1rem}.holiday-order-text span{font-size:.85rem}.holiday-order-icon{font-size:1.5rem}}@media(max-width:480px){.holiday-order-banner{padding:8px 12px;margin:8px auto 12px}.holiday-order-text strong{font-size:.95rem}.holiday-order-text span{font-size:.8rem}}.packaging-buttons{display:flex;gap:10px;margin-top:8px}.packaging-button{flex:1;padding:12px 16px;border:2px solid #ddd;background:#fff;color:#333;border-radius:8px;font-size:16px;cursor:pointer;transition:all .3s ease}.packaging-button:hover{border-color:#999;background:#f9f9f9}.packaging-button.active{border-color:#8b4513;background:#8b4513;color:#fff}.packaging-button.active:hover{border-color:#8b4513;background:#8b4513}
