/*
Theme Name: Samina Fashion Working
Version: 1.0
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #f5f5f5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.header { background: #fff; padding: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: #dc2626; text-decoration: none; }
.cart-btn { background: #dc2626; color: #fff; padding: 10px 20px; border-radius: 5px; cursor: pointer; border: none; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; padding: 30px 0; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.product-img { height: 250px; background: #ddd; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 15px; }
.product-title { font-size: 16px; margin-bottom: 10px; height: 40px; overflow: hidden; }
.product-price { font-size: 20px; color: #dc2626; font-weight: bold; margin-bottom: 15px; }
.btn-group { display: flex; gap: 10px; }
.btn { flex: 1; padding: 10px; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; }
.btn-add { background: #333; color: #fff; }
.btn-order { background: #dc2626; color: #fff; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.cart-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; }
.cart-modal.active { display: flex; justify-content: flex-end; }
.cart-content { width: 400px; max-width: 100%; background: #fff; height: 100%; padding: 20px; overflow-y: auto; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #eee; }
.close-cart { background: none; border: none; font-size: 24px; cursor: pointer; }
.cart-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 5px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: bold; margin-bottom: 5px; }
.cart-item-price { color: #dc2626; }
.remove-item { color: #999; cursor: pointer; padding: 5px; }
.cart-footer { margin-top: 20px; padding-top: 20px; border-top: 2px solid #eee; }
.cart-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: bold; margin-bottom: 20px; }
.checkout-btn { display: block; width: 100%; padding: 15px; background: #dc2626; color: #fff; text-align: center; text-decoration: none; border-radius: 5px; font-weight: bold; }
.empty-cart { text-align: center; padding: 40px; color: #999; }