@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800&display=swap');*{box-sizing:border-box}body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;background:#fff7fa;color:#392631}.container{width:min(1100px,92%);margin:auto}a{text-decoration:none;color:inherit}header{background:#fff;border-bottom:1px solid #f1dce5;position:sticky;top:0;z-index:10}.nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:15px}.logo{font-size:25px;font-weight:800;color:#c2185b}nav{display:flex;gap:8px;flex-wrap:wrap}nav a{padding:8px 10px;border-radius:10px}nav a:hover,nav .active{background:#fde4ed;color:#c2185b}.hero{margin:35px 0;padding:65px 25px;text-align:center;border-radius:28px;background:linear-gradient(135deg,#ffe0eb,#fff)}.hero h1{font-size:40px;color:#b21653}.btn{border:0;background:#c2185b;color:#fff;padding:12px 20px;border-radius:12px;font:inherit;font-weight:700;cursor:pointer;display:inline-block}.secondary{background:#eee;color:#444}.page{min-height:70vh}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:25px 0}.product-card,.admin-card,.checkout-card,.invoice{background:#fff;border:1px solid #efdce4;border-radius:18px;padding:18px;box-shadow:0 8px 25px #6b1e3b0c}.product-image,.placeholder{width:100%;height:210px;border-radius:14px}.product-image{object-fit:cover}.placeholder{background:#fff0f5;display:flex;align-items:center;justify-content:center;font-size:65px}.price{font-weight:800;color:#c2185b}.card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.form{display:grid;gap:13px;max-width:700px}.form input,.form textarea{font:inherit;padding:13px;border:1px solid #e4cbd5;border-radius:10px}.form textarea{min-height:110px}.upload{padding:18px;border:2px dashed #dfb5c5;border-radius:12px;text-align:center;cursor:pointer}.upload input{display:none}.image-preview img{width:180px;height:180px;object-fit:cover;border-radius:14px}.admin-head{display:flex;align-items:center;justify-content:space-between}.admin-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee}.admin-thumb{width:65px;height:65px;object-fit:cover;border-radius:10px;background:#fff0f5}.admin-info{flex:1}.small-btn{border:0;padding:8px 12px;border-radius:9px;cursor:pointer;font:inherit}.edit{background:#fff0b8}.delete{background:#ffd8df}.cart-row{display:flex;align-items:center;gap:14px;background:#fff;padding:14px;margin:10px 0;border-radius:14px}.cart-row img{width:70px;height:70px;object-fit:cover;border-radius:10px}.cart-info{flex:1}.total-box{background:#fff;padding:20px;border-radius:15px;margin:20px 0}.empty{text-align:center;padding:40px;background:#fff;border-radius:15px}.checkout-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.checkout-card h2{margin-top:0}.order-items{display:grid;gap:8px}.order-line{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eee}.success{padding:30px;text-align:center;background:#effbf4;border:1px solid #c5ead3;border-radius:18px}.invoice{max-width:800px;margin:30px auto}.invoice-head{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #f1dce5;padding-bottom:15px}.invoice-table{width:100%;border-collapse:collapse;margin:20px 0}.invoice-table th,.invoice-table td{padding:10px;border-bottom:1px solid #eee;text-align:right}.notice{background:#fff8df;border:1px solid #f0df9d;padding:14px;border-radius:12px;color:#6c5712}.hint{font-size:13px;color:#777}footer{text-align:center;padding:35px;color:#8d6875}@media(max-width:750px){.nav{flex-direction:column;align-items:flex-start;padding:12px 0}.checkout-layout{grid-template-columns:1fr}.hero h1{font-size:30px}.cart-row{flex-wrap:wrap}.admin-item{flex-wrap:wrap}.admin-actions{width:100%}}
@media print{header,footer,.no-print{display:none!important}.invoice{box-shadow:none;border:0;margin:0;width:100%}body{background:#fff}}/* Premium Rose Store visual refresh */
body{background:linear-gradient(180deg,#fff8fb 0%,#fff 45%,#fff8fb 100%)}
header{backdrop-filter:blur(10px);background:rgba(255,255,255,.94)}
.logo{letter-spacing:-.5px}
.hero{position:relative;overflow:hidden;text-align:right;padding:72px 55px;background:radial-gradient(circle at 82% 30%,#fff 0,#ffdbe8 25%,#f7b4c9 60%,#c2185b 130%);box-shadow:0 18px 45px #c2185b18;color:#fff}
.hero:after{content:'🌹  💄  ✨';position:absolute;left:35px;bottom:25px;font-size:58px;opacity:.18;transform:rotate(-8deg)}
.hero h1{max-width:650px;margin:0 0 12px;font-size:46px;color:#fff}
.hero p{max-width:620px;font-size:18px;line-height:2;color:#fff}
.hero .btn{background:#fff;color:#c2185b;box-shadow:0 8px 20px #6b1e3b22}
.product-card{position:relative;overflow:hidden;padding:14px;border-radius:22px;transition:.25s;box-shadow:0 12px 30px #7d274015}
.product-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px #7d274025}
.product-visual{position:relative;overflow:hidden;border-radius:17px;background:#fff0f5}
.product-image,.placeholder{height:230px;width:100%;display:block}
.product-image{object-fit:cover;transition:transform .35s}
.product-card:hover .product-image{transform:scale(1.035)}
.product-meta{display:flex;justify-content:flex-start;margin-top:10px}
.product-badge{font-size:12px;padding:5px 9px;border-radius:999px;background:#fff0f5;color:#c2185b;font-weight:700}
.product-card h3{margin:10px 0 5px}
.product-card p{color:#806875;min-height:42px;line-height:1.8}
.product-card .btn{width:100%;margin-top:8px}
.card-actions{margin-top:7px}
.card-actions .price{white-space:nowrap}
footer{margin-top:50px;background:#151118;color:#e9dfe4;padding:28px 5%;text-align:center}
.footer-contact{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.footer-contact b{color:#ff75a2;font-size:19px}
.footer-contact span{font-size:13px;color:#d7cbd1}
.contact-page{padding-top:28px}
.contact-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:45px;border-radius:26px;background:linear-gradient(135deg,#8d173f,#d72d69 55%,#ffadc7);color:#fff;overflow:hidden;box-shadow:0 18px 45px #c2185b22}
.contact-hero h1{font-size:38px;margin:8px 0}.contact-hero p{line-height:2;max-width:650px}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.4px;opacity:.9}.contact-rose{font-size:120px;opacity:.25}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0}.card-panel,.address-panel{background:#fff;border:1px solid #efdce4;border-radius:22px;padding:26px;box-shadow:0 12px 30px #7d274012}.contact-item{display:flex;gap:14px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #f1e5e9}.contact-item>span{width:42px;height:42px;border-radius:13px;background:#fff0f5;display:flex;align-items:center;justify-content:center}.contact-item b{display:block;margin-bottom:5px}.contact-item a{color:#c2185b;font-weight:700}.contact-item p{margin:0;color:#6f5a64}.social-row{display:flex;gap:10px;margin-top:18px}.social-row a{padding:9px 14px;border-radius:10px;background:#fff0f5;color:#c2185b;font-weight:700}.address-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px;background:linear-gradient(135deg,#fff,#fff1f6)}.address-panel h2{margin:8px 0}.address-panel p{color:#6f5a64}.map-placeholder{min-width:270px;height:150px;border-radius:18px;background:linear-gradient(135deg,#f8d8e4,#fff);display:flex;align-items:center;justify-content:center;gap:8px;color:#c2185b;font-weight:800;font-size:30px}.map-placeholder span{font-size:16px}
@media(max-width:750px){.hero{padding:48px 25px;text-align:center}.hero h1{font-size:32px}.hero:after{font-size:38px}.contact-hero{padding:32px 24px}.contact-rose{display:none}.contact-grid{grid-template-columns:1fr}.address-panel{flex-direction:column;align-items:stretch}.map-placeholder{min-width:0}.footer-contact{gap:10px}}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0 38px}.trust-grid>div{background:#fff;border:1px solid #efdce4;border-radius:16px;padding:16px;display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;box-shadow:0 8px 22px #7d27400b}.trust-grid b{font-size:14px}.trust-grid small{grid-column:2;color:#8a727c}.promo-banner{margin:35px 0;padding:28px 34px;border-radius:22px;background:linear-gradient(120deg,#fff0f5,#ffd3e1);display:flex;align-items:center;justify-content:space-between;gap:20px}.promo-banner h2{margin:5px 0}.promo-banner p{margin:0;color:#765f69}@media(max-width:750px){.trust-grid{grid-template-columns:1fr 1fr}.promo-banner{flex-direction:column;align-items:flex-start}}

/* Customer account */
.customer-shell,.customer-dashboard{max-width:980px;margin:28px auto}.customer-shell{background:#fff;border:1px solid #f0dce5;border-radius:28px;padding:34px;box-shadow:0 20px 60px #7b16400d}.customer-brand{text-align:center;padding:10px 10px 22px}.customer-brand span{display:inline-flex;width:68px;height:68px;align-items:center;justify-content:center;border-radius:22px;background:#fde8f0;font-size:34px}.customer-brand h1{color:#a9144e;margin:14px 0 8px}.customer-brand p{color:#765d68;line-height:1.9}.customer-tabs{display:flex;gap:8px;background:#fff5f8;border:1px solid #f3dbe5;border-radius:16px;padding:6px;margin-bottom:22px}.customer-tab{flex:1;border:0;background:transparent;border-radius:12px;padding:13px;font:inherit;cursor:pointer;color:#795f6b}.customer-tab.active{background:#c2185b;color:#fff;box-shadow:0 8px 20px #c2185b22}.customer-form{max-width:560px;margin:auto}.customer-form label{display:block;margin:10px 0 6px;font-weight:700;color:#513642}.customer-form input{width:100%;box-sizing:border-box}.customer-dashboard{display:grid;gap:18px}.customer-profile{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#fff2f7,#fff);border:1px solid #f0dce5;border-radius:26px;padding:24px;box-shadow:0 16px 40px #7b16400b}.customer-profile .avatar{width:64px;height:64px;border-radius:20px;background:#c2185b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800}.customer-profile h1{margin:4px 0;color:#4c303b}.customer-profile p{margin:0;color:#765d68}.customer-profile .btn{margin-right:auto}.eyebrow{font-size:12px;color:#c2185b;font-weight:800}.customer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.customer-stats>div{background:#fff;border:1px solid #f0dce5;border-radius:20px;padding:20px;text-align:center}.customer-stats b{display:block;color:#c2185b;font-size:22px;margin-bottom:5px}.customer-stats span{color:#765d68;font-size:13px}.customer-orders{background:#fff;border:1px solid #f0dce5;border-radius:24px;padding:22px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head h2{margin:0;color:#4c303b}.customer-order{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #f4e7ec}.customer-order:last-child{border-bottom:0}.customer-order small,.customer-order span{display:block;color:#765d68;font-size:12px;margin-top:5px}.customer-order strong{color:#a9144e}.status{background:#fff1d9;color:#8a5a00!important;border-radius:999px;padding:5px 9px}.account-link{white-space:nowrap}@media(max-width:800px){.customer-profile{flex-wrap:wrap}.customer-profile .btn{margin-right:0}.customer-stats{grid-template-columns:1fr}.customer-order{grid-template-columns:1fr}.customer-shell,.customer-dashboard{margin:18px auto}.customer-shell{padding:22px}}

.payment-box{background:#fff7fa;border:1px solid #efd2de;border-radius:16px;padding:18px}.payment-box h3{margin-top:0;color:#b21653}.card-number{font-size:22px;font-weight:800;letter-spacing:2px;background:#fff;padding:14px 18px;border-radius:12px;border:1px dashed #c2185b;text-align:center;direction:ltr}.receipt-image{display:block;max-width:min(520px,100%);max-height:620px;object-fit:contain;margin:12px auto;border-radius:14px;border:1px solid #ead5dd}.payment-proof{margin:22px 0;padding:18px;border-radius:16px;background:#fff7fa;border:1px solid #efd2de}.payment-proof h3{margin-top:0;color:#b21653}.receipt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.approve{background:#dff6e8}.reject{background:#ffdfe5}.admin-order{align-items:flex-start}

/* product options + gallery */
.product-card small{display:block;margin:6px 0;color:#777}.image-preview{display:flex;gap:8px;flex-wrap:wrap}.image-preview img{width:90px;height:90px;object-fit:cover;border-radius:12px}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}.options-modal{position:relative;background:#fff;border-radius:20px;padding:28px;max-width:430px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.2)}.options-modal h2{margin-top:0}.options-modal label{display:block;margin:14px 0;font-weight:700}.options-modal select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fff}.modal-close{position:absolute;left:14px;top:10px;border:0;background:none;font-size:28px;cursor:pointer}.cart-info small{display:block;color:#777;margin-top:4px}

.option-gallery{display:flex;gap:8px;overflow:auto;margin:12px 0}.option-gallery img{width:76px;height:76px;object-fit:cover;border-radius:10px;border:1px solid #eee}

/* محل لوگوی فروشگاه: فایل assets/logo.png را جایگزین کنید */
.logo{display:flex;align-items:center;gap:8px}.logo img{width:42px;height:42px;object-fit:contain;border-radius:10px}.logo img[style*="display: none"]+span{display:inline}

.stock-editor{margin:12px 0;padding:14px;border:1px solid #ddd;border-radius:14px;background:#fafafa}.stock-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.stock-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;background:#fff;border:1px solid #eee;border-radius:10px}.stock-input{width:90px;padding:8px;border:1px solid #ccc;border-radius:8px}.stock-editor h3{margin:0 0 6px}