body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background: linear-gradient(145deg, #0a2f44 0%, #0c3b55 50%, #0f4a6e 100%);
    min-height: 100vh;
}

/* HERO */
.hero-box {
    margin: 15px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(0,0,0,0.25);
    background: white;
    padding: 0;
}

.hero-box img {
    width: 100%;
    display: block;
}

/* ORDER SECTION */
.order {
    background: rgba(255, 255, 255, 0.95);
    margin: 15px;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    backdrop-filter: blur(2px);
}

.top-bar {
    background: linear-gradient(135deg, #0a2f44, #1e6a8f);
    color: white;
    padding: 14px;
    text-align: center;
    border-radius: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* TITLE */
.title {
    text-align: center;
    font-weight: 800;
    font-size: 26px;
    color: #0a2f44;
}

.title span {
    background: linear-gradient(135deg, #ff8c42, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* PRICE SECTION */
.price-section {
    background: linear-gradient(135deg, #e8f0f7, #ffffff);
    border-radius: 20px;
    padding: 18px;
    margin: 15px 0;
    border: 1px solid rgba(30, 106, 143, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-label {
    color: #1e6a8f;
    font-weight: 600;
    font-size: 16px;
}

.unit-price {
    color: #ff8c42;
    font-size: 20px;
    font-weight: bold;
}

.total-price {
    background: linear-gradient(135deg, #ff8c42, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}

.total-price.animate {
    transform: scale(1.1);
}

/* QUANTITY SECTION */
.quantity-section {
    background: linear-gradient(135deg, #e8f0f7, #ffffff);
    border-radius: 20px;
    padding: 18px;
    margin: 15px 0;
    text-align: center;
    border: 1px solid rgba(30, 106, 143, 0.2);
}

.quantity-label {
    display: block;
    color: #1e6a8f;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

.quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #0a2f44, #1e6a8f);
    color: white;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.qty-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #1e6a8f, #0a2f44);
}

.quantity-input {
    width: 85px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #cbdbe9;
    border-radius: 15px;
    background: white;
    color: #0a2f44;
    font-family: 'Cairo', sans-serif;
}

.max-info {
    display: block;
    font-size: 12px;
    color: #ff8c42;
    margin-top: 8px;
}

/* FORM */
.form {
    width: 100%;
    margin: 20px 0;
}

.form-group {
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #cbdbe9;
    text-align: right;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: 0.3s;
    background: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #1e6a8f;
    box-shadow: 0 0 0 3px rgba(30, 106, 143, 0.2);
}

.error {
    color: #e74c3c;
    font-size: 12px;
    margin: 5px 0 10px 0;
    text-align: right;
}

/* BUTTON */
#orderBtn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff8c42, #ffb347);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

#orderBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4);
}

#orderBtn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@keyframes flicker {
    0%   { transform: scale(1); opacity: 1; }
    25%  { transform: scale(1.02); opacity: 0.95; }
    50%  { transform: scale(0.99); opacity: 1; }
    75%  { transform: scale(1.03); opacity: 0.98; }
    100% { transform: scale(1); opacity: 1; }
}

#orderBtn {
    animation: flicker 5s infinite;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 25px;
    text-align: center;
}

.feature img {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}

.feature span {
    display: block;
    font-size: 12px;
    margin-top: 8px;
    color: #1e6a8f;
    font-weight: 600;
}

/* INFO SECTIONS */
.info {
    background: rgba(255, 255, 255, 0.95);
    margin: 15px;
    padding: 18px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0a2f44;
    font-weight: 800;
}

.info img {
    width: 100%;
    border-radius: 16px;
}

/* FINAL BOX */
.final-box {
    margin: 15px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background: white;
    padding: 0;
}

.final-box img {
    width: 100%;
    display: block;
}

/* VISITOR COUNTER */
.visitor-counter {
    background: linear-gradient(135deg, #e8f0f7, #ffffff);
    padding: 14px;
    text-align: center;
    border-radius: 16px;
    margin-top: 15px;
    font-size: 14px;
    color: #1e6a8f;
    border: 1px solid rgba(30, 106, 143, 0.3);
    font-weight: 600;
}

.visitor-counter span {
    font-weight: bold;
    color: #ff8c42;
    font-size: 22px;
    transition: transform 0.2s ease;
    display: inline-block;
}

/* STOCK COUNTER */
.stock-counter {
    background: linear-gradient(135deg, #e8f0f7, #ffffff);
    padding: 14px;
    text-align: center;
    border-radius: 16px;
    margin-top: 10px;
    font-size: 14px;
    color: #1e6a8f;
    border: 1px solid rgba(30, 106, 143, 0.3);
    font-weight: 600;
}

.stock-counter span {
    font-weight: bold;
    color: #ff8c42;
    font-size: 22px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.stock-counter.low-stock {
    background: linear-gradient(135deg, #ffe0e0, #fff0f0);
    border-color: #ff8c42;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { background: linear-gradient(135deg, #ffe0e0, #fff0f0); }
    50% { background: linear-gradient(135deg, #ffc8c8, #ffe0e0); }
    100% { background: linear-gradient(135deg, #ffe0e0, #fff0f0); }
}

/* FLOATING BUTTONS */
.float-btn {
    position: fixed;
    bottom: 80px;
    padding: 14px 24px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
}

/* LEFT BUTTON (REVIEWS) */
.left-btn {
    left: 15px;
    background: linear-gradient(135deg, #ff8c42, #ffb347);
}

/* RIGHT BUTTON (ORDER - GREEN) */
.right-btn.green-btn {
    right: 15px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.float-btn.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .title {
        font-size: 22px;
    }
    
    .total-price {
        font-size: 24px;
    }
    
    .float-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}