* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Cairo', Tahoma;
	background: #fbf8f1;
    color: #333;
    overflow-x: hidden;
    font-size: 16px;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

/* NAV */
.nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: white;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 200;
}

.logo {
    color: #ff7a00;
    font-weight: bold;
}

.nav a {
    text-decoration: none;
    margin: 0 10px;
    color: #333;
}

/* HERO */
.hero {
    height: 60vh;
    background: url('hero.jpg') center/cover;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.45);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 32px;
    margin: 0;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
}

.btn {
    background: #ff7a00;
    color: white;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(255,122,0,0.3);
}

.btn:hover {
    background: #e66a00;
        
}

/* TABS (مهم جداً) */
.tabs {
    position: sticky;
    top: 60px;
    background: #fbf8f1;
    z-index: 100;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;

    padding: 10px;
}

.tab {
    padding: 10px;
    background: #eee;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

.tab.active {
    background: #ff7a00;
    color: white;
}

/* ITEMS */
.item {
    background: white;
    margin: 10px;
    padding: 15px;
    border-radius: 12px;
}

.item-name {
    font-weight: bold;
    margin-bottom: 10px;
}

/* SIZE GRID */
.sizes-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.size-box {
    background: #f3f3f3;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.size-box span {
    color: #ff7a00;
    font-weight: bold;
}

.size-box:hover {
    background: #ff7a00;
    color: white;
}

.size-box:active {
    transform: scale(0.95);
}

/* CART */
.cart-btn {
    cursor: pointer;
}
#cartBox{
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    background: #fbf8f1;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    padding: 15px;

    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 9999;
}
#cartBox.active{
    transform: translateY(0);
}
/* OFFERS */
.offers {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 15px;
    margin-top: 20px;
}

.offer-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.offer-card:hover {
    transform: translateY(-5px);
}
/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
}
/* MOBILE */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .sizes-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}
.size-box:hover span {
    color: white;
}
.features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin-top: 15px;
}
.feature {
    background: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
}
.gallery img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.gallery img:hover {
    transform: scale(1.05);
}
.item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.tab {
    transition: 0.2s;
}
.tab:hover {
    background: #ff7a00;
    color: white;
}
.add-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border: none;
    background: #ff7a00;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}
.add-btn:hover {
    background: #e66a00;
}
.cart-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 10px;
}
.cart-price{
    color: #ff7a00;
    font-size: 14px;
}
.remove-btn{
    background: transparent;
    color: red;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.cart-total{
    margin-top: 10px;
    padding: 10px;
    background: #fff3e6;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: #ff7a00;
}
.order-btn{
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
}
.cart-btn{
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #ff7a00;
    color: #fff;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
}
/* رقم السلة */
#cart-count{
    background: #fff;
    color: #ff7a00;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 12px;
    margin-left: 5px;
}
#cartBox h3{
    margin-bottom: 10px;
    text-align: center;
}
  <div class="close-cart" onclick="toggleCart()">✕</div>
.customer-box{
    margin-top: 10px;
}
.customer-box input,
.customer-box textarea{
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
}
.customer-box textarea{
    resize: none;
    height: 70px;
}
.qty-box{
    display: flex;
    align-items: center;
    gap: 8px;
}
.qty-box button{
    background: #ff7a00;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.qty-box span{
    min-width: 20px;
    text-align: center;
}
#toast{
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    transition: 0.3s;
    z-index: 9999;
}
#toast.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
