* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7fbff;
    color: #16324f;
}

/* התפריט העליון */

.top-bar {
    min-height: 80px;
    padding: 15px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: #dff3ff;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #087f8c;
    font-size: 24px;
    font-weight: bold;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 18px;

    flex-shrink: 0;
}

.site-logo {
    width: 65px;
    height: 65px;

    object-fit: cover;
    border-radius: 50%;

    display: block;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    display: inline-block;

    padding: 11px 22px;

    background: #e53935;
    color: white;

    border-radius: 30px;

    text-decoration: none;
    font-weight: bold;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    transition: 0.2s;
}

nav a:hover {
    background: #c62828;
    color: white;

    transform: translateY(-2px);
}

/* סל הקניות */

.cart {
    background: #6b3f22;
    color: white;

    padding: 10px 15px;
    border-radius: 20px;

    font-weight: bold;

    transition: 0.2s;
}

.cart:hover {
    background: #85512d;
}
.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    margin-right: 5px;

    background: #0878c9;
    color: white;

    border-radius: 50%;
}

/* החלק הראשי */

.hero {
    min-height: calc(100vh - 80px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    text-align: center;

    background: linear-gradient(
        120deg,
        #0878c9,
        #09a88e,
        #0878c9,
        #09a88e
    );

    background-size: 300% 300%;

    animation: heroColors 14s ease infinite;
}


@keyframes heroColors {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    max-width: 750px;

    transform: translateY(-50px);
}
.hero h1 {
    margin: 0 0 20px;

    color: #6b3f22;
    font-size: 55px;
}

.hero p {
    margin-bottom: 35px;

  color: #6b3f22;
    font-size: 23px;
}

/* כפתור למוצרים */

.products-button {
    display: inline-block;

    padding: 15px 32px;

background: #ffd83d;
color: #0878c9;
    border-radius: 30px;

    text-decoration: none;
    font-size: 18px;
    font-weight: bold;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);

    transition: 0.2s;
}

.products-button:hover {
    transform: translateY(-3px);
  background: #ffe56b;
}

/* התאמה למסכים קטנים */

@media (max-width: 700px) {

    .top-bar {
        flex-direction: column;
        gap: 15px;

        padding: 12px 15px;
    }

    .brand-area {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 12px;
    }

    .brand {
        gap: 7px;
        font-size: 20px;
        white-space: nowrap;
    }

    .site-logo {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    .brand-area .cart {
        flex-shrink: 0;

        padding: 8px 11px;

        font-size: 14px;

        white-space: nowrap;
    }

    .brand-area .cart-count {
        width: 22px;
        height: 22px;

        font-size: 13px;
    }

    nav {
        width: 100%;

        display: flex;
        justify-content: center;
        flex-wrap: wrap;

        gap: 12px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 19px;
    }
}
/* עמוד המוצרים */

.products-page {
    min-height: calc(100vh - 80px);
    padding: 55px 6%;
    background: #f5fbff;
}

.products-page > h1 {
    margin: 0;
    text-align: center;
    color: #0878c9;
    font-size: 42px;
}

.products-intro {
    text-align: center;
    color: #527080;
    font-size: 18px;
}

/* חיפוש */

.search-area {
    max-width: 650px;
    margin: 30px auto 50px;
    display: flex;
    gap: 10px;
}

.search-area input {
    flex: 1;
    padding: 15px 20px;

    border: 2px solid #d9eeee;
    border-radius: 30px;

    font-size: 16px;
    outline: none;
}

.search-area input:focus {
    border-color: #09a88e;
}

.search-area button {
    padding: 12px 25px;

    border: 0;
    border-radius: 30px;

    background: linear-gradient(135deg, #0878c9, #09a88e);
    color: white;

    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* רשימת מוצרים */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    overflow: hidden;
    background: white;
    border-radius: 20px;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);

    transition: 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-info h2 {
    margin-top: 0;
    color: #0878c9;
}

.product-info p {
    color: #607784;
}

.product-bottom {
    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.price {
    color: #078f83;
    font-size: 23px;
}

.add-cart {
    padding: 11px 17px;

    border: 0;
    border-radius: 25px;

    background: #09a88e;
    color: white;

    font-weight: bold;
    cursor: pointer;
}

.add-cart:hover {
    background: #0878c9;
}

.no-results {
    display: none;
    text-align: center;

    margin-top: 50px;

    color: #607784;
    font-size: 20px;
}

/* התאמה למסכים */

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .search-area {
        flex-direction: column;
    }

    .product-image {
        height: auto;
    }
}

/* כניסת מנהל בתחתית */

.site-footer {
    padding: 15px;
    background: #f7fbff;
    text-align: center;
}

.admin-login-button {
    border: 0;
    background: transparent;
    color: #a9b8bd;
    font-size: 11px;
    cursor: pointer;
}

.admin-login-button:hover {
    color: #087f8c;
}

/* חלון התחברות */

.admin-login-window {
    display: none;

    position: fixed;
    inset: 0;
    z-index: 1000;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);
}

.admin-login-box {
    position: relative;

    width: min(400px, 100%);
    padding: 35px;

    background: white;
    border-radius: 20px;

    text-align: center;
}

.admin-login-box h2 {
    color: #0878c9;
}

.admin-login-box input {
    display: block;

    width: 100%;
    margin: 15px 0;
    padding: 13px;

    border: 2px solid #dcebec;
    border-radius: 10px;

    font-size: 16px;
}

.login-button {
    width: 100%;
    padding: 13px;

    border: 0;
    border-radius: 25px;

    background: linear-gradient(135deg, #0878c9, #09a88e);
    color: white;

    font-weight: bold;
    cursor: pointer;
}

.close-login {
    position: absolute;
    top: 10px;
    left: 15px;

    border: 0;
    background: transparent;

    font-size: 25px;
    cursor: pointer;
}

#loginMessage {
    color: #d33;
}

/* רשימת מוצרים בעמוד המנהל */

.manage-products {
    margin-top: 30px;
    padding: 35px;

    background: white;
    border-radius: 25px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09);
}

.manage-products h2 {
    margin-top: 0;
    color: #0878c9;
}

.admin-product {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-top: 15px;
    padding: 15px;

    background: #f5fbff;
    border-radius: 15px;
}

.admin-product img {
    width: 80px;
    height: 80px;

    object-fit: cover;
    border-radius: 12px;
}

.admin-product-details {
    flex: 1;
}

.admin-product-details h3 {
    margin: 0 0 5px;
    color: #16324f;
}

.admin-product-buttons {
    display: flex;
    gap: 8px;
}

.edit-product,
.delete-product {
    padding: 9px 14px;

    border: 0;
    border-radius: 20px;

    color: white;
    font-weight: bold;
    cursor: pointer;
}

.edit-product {
    background: #0878c9;
}

.delete-product {
    background: #d94b4b;
}

.no-admin-products {
    color: #607784;
}

@media (max-width: 600px) {
    .admin-product {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-product img {
        width: 100%;
        height: 180px;
    }
}

.cart-link {
    text-decoration: none;
    cursor: pointer;
}

.add-cart:active {
    transform: scale(0.96);
}


/* עמוד סל */

.cart-page {
    width: min(1000px, 90%);
    min-height: calc(100vh - 80px);
    margin: auto;
    padding: 50px 0;
}

.cart-page > h1 {
    color: #0878c9;
    font-size: 40px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 18px;
    padding: 20px;

    background: white;
    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.cart-item img {
    width: 100px;
    height: 100px;

    object-fit: cover;
    border-radius: 15px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h2 {
    margin: 0 0 8px;
    color: #0878c9;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-controls button {
    width: 35px;
    height: 35px;

    border: 0;
    border-radius: 50%;

    background: #e7f7f5;
    color: #087f8c;

    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.quantity-controls span {
    min-width: 25px;
    text-align: center;
    font-weight: bold;
}

.item-total {
    min-width: 70px;
    color: #078f83;
    font-size: 20px;
}

.remove-cart-item {
    padding: 9px 14px;

    border: 0;
    border-radius: 20px;

    background: #d94b4b;
    color: white;

    cursor: pointer;
}

.cart-summary {
    margin-top: 30px;
    padding: 25px;

    display: flex;
    align-items: center;
    gap: 15px;

    background: white;
    border-radius: 20px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    font-size: 22px;
}

#cartTotal {
    color: #078f83;
}

.checkout-button {
    margin-right: auto;
    padding: 14px 25px;

    border-radius: 30px;

    background: #6b3f22;
    color: white;

    text-decoration: none;
    font-weight: bold;

    transition: 0.2s;
}

.checkout-button:hover {
    background: #85512d;
    transform: translateY(-2px);
}
.empty-cart {
    display: none;

    padding: 50px;
    text-align: center;

    background: white;
    border-radius: 20px;
}

.continue-shopping {
    display: inline-block;

    padding: 12px 25px;

    background: #09a88e;
    color: white;

    border-radius: 25px;
    text-decoration: none;
}

@media (max-width: 700px) {
    .cart-item {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item img {
        width: 100%;
        height: 220px;
    }

    .cart-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-button {
        margin-right: 0;
        text-align: center;
    }
}


/* סיכום הזמנה */

.checkout-page {
    width: min(900px, 90%);
    margin: auto;
    padding: 50px 0;
}

.checkout-page > h1 {
    color: #0878c9;
    font-size: 40px;
}

.checkout-box {
    margin-bottom: 25px;
    padding: 30px;

    background: white;
    border-radius: 22px;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.checkout-box h2 {
    color: #078f83;
}

.checkout-product {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid #e5eeee;
}

.checkout-total {
    display: flex;
    justify-content: space-between;

    margin-top: 20px;

    color: #0878c9;
    font-size: 24px;
}

#checkoutForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#checkoutForm > label {
    margin-top: 10px;
    font-weight: bold;
}

#checkoutForm input[type="text"],
#checkoutForm input[type="tel"] {
    padding: 13px;

    border: 2px solid #dcebec;
    border-radius: 12px;

    font-size: 16px;
    outline: none;
}

#checkoutForm input:focus {
    border-color: #09a88e;
}

.address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.address-row div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-options label {
    padding: 15px;

    background: #f2fbfa;
    border-radius: 12px;

    cursor: pointer;
}

.finish-order {
    margin-top: 20px;
    padding: 15px;

    border: 0;
    border-radius: 30px;

    background: linear-gradient(135deg, #0878c9, #09a88e);
    color: white;

    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

#checkoutMessage {
    color: #078f83;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 600px) {

    .address-row,
    .payment-options {
        grid-template-columns: 1fr;
    }

}


/* הזמנות באזור המנהל */

.order-card {
    margin-bottom: 20px;
    padding: 25px;

    background: #f5fbff;
    border-right: 5px solid #09a88e;
    border-radius: 15px;
}

.order-card h2 {
    margin-top: 0;
    color: #0878c9;
}

.order-card h3 {
    color: #078f83;
}

.order-card li {
    margin-bottom: 8px;
}

.order-total {
    display: block;

    margin-top: 20px;

    color: #078f83;
    font-size: 21px;
}


.order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.order-buttons {
    display: flex;
    gap: 8px;
}

.share-order,
.clear-order {
    padding: 9px 14px;
    border: 0;
    border-radius: 20px;

    color: white;
    font-weight: bold;
    cursor: pointer;
}

.share-order {
    background: #0878c9;
}

.clear-order {
    background: #d94b4b;
}

.deleted-order-message {
    padding: 12px;

    background: #f2f2f2;
    color: #777;

    border-radius: 10px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .order-top {
        flex-direction: column;
        align-items: flex-start;
    }
}


.permanent-delete-order {
    padding: 9px 14px;

    border: 0;
    border-radius: 20px;

    background: #8b1e1e;
    color: white;

    font-weight: bold;
    cursor: pointer;
}

.permanent-delete-order:hover {
    background: #641313;
}


/* פניות באזור המנהל */

.contact-admin-card {
    margin-bottom: 20px;
    padding: 25px;

    background: #f5fbff;

    border-right: 5px solid #0878c9;
    border-radius: 18px;
}

.contact-admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.contact-admin-top h2 {
    margin: 0;
    color: #0878c9;
}

.contact-admin-card p {
    margin: 12px 0;
}

.permanent-delete-contact {
    padding: 9px 14px;

    border: 0;
    border-radius: 20px;

    background: #8b1e1e;
    color: white;

    font-weight: bold;
    cursor: pointer;
}

.permanent-delete-contact:hover {
    background: #641313;
}

@media (max-width: 600px) {
    .contact-admin-top {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* יצירת קשר */

.contact-page {
    min-height: calc(100vh - 80px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 20px;

    background:
        linear-gradient(
            135deg,
            #eaf7ff,
            #eafff7
        );
}

.contact-box {
    width: min(550px, 100%);

    padding: 40px;

    background: white;
    border-radius: 25px;

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.09);
}

.contact-icon {
    text-align: center;
    font-size: 45px;
}

.contact-box h1 {
    text-align: center;
    color: #0878c9;
}

.contact-box > p {
    text-align: center;
    color: #607784;
}

#contactForm {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 30px;
}

#contactForm label {
    margin-top: 10px;

    font-weight: bold;
}

#contactForm input {
    padding: 14px;

    border: 2px solid #dcebec;
    border-radius: 12px;

    font-size: 16px;
}

#contactForm input:focus {
    outline: none;
    border-color: #09a88e;
}

.contact-submit {
    margin-top: 20px;

    padding: 15px;

    border: 0;
    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #0878c9,
            #09a88e
        );

    color: white;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
}

.contact-success {
    display: none;

    padding: 25px;

    text-align: center;

    background: #effbf8;
    border-radius: 18px;
}


/* פניות בניהול */

.contact-admin-card {
    margin-bottom: 20px;

    padding: 25px;

    background: #f5fbff;

    border-right:
        5px solid #0878c9;

    border-radius: 18px;
}

.contact-admin-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.contact-admin-top h2 {
    margin: 0;

    color: #0878c9;
}

.permanent-delete-contact {
    padding: 9px 14px;

    border: 0;
    border-radius: 20px;

    background: #8b1e1e;
    color: white;

    font-weight: bold;

    cursor: pointer;
}

@media (max-width: 600px) {

    .contact-admin-top {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ========================================
   עיצוב עמוד הניהול הראשי
   ======================================== */

.admin-body {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #eef8ff,
        #effff9
    );
}

.admin-page {
    width: min(1000px, 92%);
    margin: 0 auto;
    padding: 45px 0;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 30px;
}

.admin-header h1 {
    margin: 0 0 8px;
    color: #0878c9;
}

.admin-header p {
    margin: 0;
    color: #607784;
}

/* כפתורי ניווט בניהול */

.admin-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.back-store {
    display: inline-block;

    padding: 11px 18px;

    background: white;
    color: #078f83;

    border: 1px solid #d9eeee;
    border-radius: 25px;

    text-decoration: none;
    font-weight: bold;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);

    transition: 0.2s;
}

.back-store:hover {
    color: white;

    background: linear-gradient(
        135deg,
        #0878c9,
        #09a88e
    );

    transform: translateY(-2px);
}

/* טופס ניהול */

.admin-box {
    padding: 35px;

    background: white;
    border-radius: 25px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.admin-box h2 {
    margin-top: 0;
    color: #078f83;
}

.admin-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-box label {
    margin-top: 10px;

    color: #16324f;
    font-weight: bold;
}

.admin-box input,
.admin-box textarea {
    width: 100%;

    padding: 14px;

    border: 2px solid #dcebec;
    border-radius: 12px;

    font-family: inherit;
    font-size: 16px;

    outline: none;
}

.admin-box textarea {
    min-height: 110px;
    resize: vertical;
}

.admin-box input:focus,
.admin-box textarea:focus {
    border-color: #09a88e;
}

/* תמונת מוצר */

.image-preview-area {
    margin-top: 12px;
    padding: 20px;

    text-align: center;

    background: #f5fbff;

    border: 2px dashed #bcdede;
    border-radius: 15px;

    color: #607784;
}

#imagePreview {
    display: none;

    max-width: 220px;
    max-height: 220px;

    margin: 15px auto 0;

    border-radius: 12px;
}

/* כפתור שמירת מוצר */

.save-product {
    margin-top: 20px;
    padding: 15px;

    border: 0;
    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #0878c9,
        #09a88e
    );

    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.save-product:hover {
    transform: translateY(-2px);
}

.admin-message {
    text-align: center;
    color: #078f83;
    font-weight: bold;
}

/* התאמת הניהול לטלפון */

@media (max-width: 700px) {
    .admin-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .back-store {
        text-align: center;
    }

    .admin-box,
    .manage-products {
        padding: 22px;
    }
}

/* ========================================
   מסך הצלחה לאחר ביצוע הזמנה
   ======================================== */

.order-success {
    width: min(600px, 100%);
    margin: 30px auto;
    padding: 45px 30px;

    text-align: center;

    background: white;

    border: 2px solid #dcefeb;
    border-radius: 28px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.10);
}

.order-success-icon {
    margin-bottom: 15px;

    font-size: 60px;
}

.order-success h2 {
    margin: 0 0 20px;

    color: #078f83;
    font-size: 34px;
}

.order-success p {
    color: #607784;
    font-size: 18px;
}

.success-order-number {
    display: inline-block;

    margin: 5px 0 15px;
    padding: 12px 25px;

    background: #eef8ff;
    color: #0878c9;

    border-radius: 18px;

    font-size: 30px;
    letter-spacing: 2px;
}

.success-total-text {
    margin: 20px 0 30px;

    color: #16324f !important;
}

#successOrderTotal {
    color: #078f83;
    font-size: 23px;
}

.success-store-button {
    display: inline-block;

    padding: 14px 28px;

    background: #6b3f22;
    color: white;

    border-radius: 30px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.2s;
}

.success-store-button:hover {
    background: #85512d;

    transform: translateY(-2px);
}


/* מסך הצלחה בטלפון */

@media (max-width: 600px) {

    .order-success {
        margin: 15px auto;
        padding: 30px 18px;
    }

    .order-success-icon {
        font-size: 50px;
    }

    .order-success h2 {
        font-size: 28px;
    }

    .success-order-number {
        font-size: 25px;
    }

    .success-store-button {
        width: 100%;
    }
}


/* הודעת גלילה להוראות */

.scroll-instructions {
    margin-top: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;

    color: white;
    font-size: 30px;
    font-weight: bold;
}

.scroll-arrow {
    font-size: 45px;

    animation: scrollArrow 1.3s ease-in-out infinite;
}

@keyframes scrollArrow {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}


/* אזור ההוראות */

.instructions-section {
    padding: 70px 20px;

    background: #f7fbff;

    text-align: center;
}

.instructions-section h2 {
    margin: 0 0 35px;

    color: #0878c9;
    font-size: 38px;
}

.instructions-box {
    width: min(800px, 100%);
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.instruction {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 20px 25px;

    background: white;
    border-radius: 20px;

    text-align: right;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.instruction span {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #ffd83d;
    color: #0878c9;

    border-radius: 50%;

    font-size: 20px;
    font-weight: bold;
}

.instruction p {
    margin: 0;

    color: #16324f;
    font-size: 18px;
    line-height: 1.6;
}


/* צבעי סטטוס הזמנה */

.order-status-area {
    margin: 18px 0;
}

.order-status-select {
    margin-right: 10px;
    padding: 10px 16px;

    border: 0;
    border-radius: 20px;

    color: white;
    font-weight: bold;
    font-size: 15px;

    cursor: pointer;
}

/* חדשה */
.order-status-select.status-new {
    background: #0878c9;
}

/* בטיפול */
.order-status-select.status-processing {
    background: #d94b4b;
}

/* נשלחה */
.order-status-select.status-shipped {
    background: #ffd83d;
    color: #16324f;
}

/* הושלמה */
.order-status-select.status-completed {
    background: #19a55a;
}


/* ========================================
   מעקב הזמנה
   ======================================== */

#trackingOrderNumber {
    width: 100%;

    margin-top: 10px;
    padding: 14px;

    border: 2px solid #dcebec;
    border-radius: 12px;

    font-size: 18px;
    outline: none;
}

#trackingOrderNumber:focus {
    border-color: #09a88e;
}

.tracking-status {
    display: inline-block;

    margin-top: 10px;
    padding: 14px 25px;

    border-radius: 25px;

    font-size: 20px;
    font-weight: bold;
}


/* חדשה - כחול */

.tracking-new {
    background: #0878c9;
    color: white;
}


/* בטיפול - אדום */

.tracking-processing {
    background: #d94b4b;
    color: white;
}


/* נשלחה - צהוב */

.tracking-shipped {
    background: #ffd83d;
    color: #16324f;
}


/* הושלמה - ירוק */

.tracking-completed {
    background: #19a55a;
    color: white;
}



nav a[href="track-order.html"] {
    transform: translateX(20px);
}

nav a[href="track-order.html"]:hover {
    transform: translateX(20px) translateY(-2px);
}


/* עמוד מעקב הזמנה */

.tracking-page {
    min-height: calc(100vh - 80px);
    padding: 70px 20px;

    background: linear-gradient(
        135deg,
        #0878c9,
        #09a88e
    );

    text-align: center;
}

.tracking-box,
.tracking-result {
    width: min(650px, 100%);

    margin: 0 auto 25px;
    padding: 45px 30px;

    background: white;
    border-radius: 28px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.tracking-icon {
    font-size: 60px;
}

.tracking-box h1 {
    margin: 20px 0;

    color: #6b3f22;
    font-size: 40px;
    line-height: 1.25;
}

.tracking-box p {
    color: #607784;
    font-size: 19px;
}

#trackingOrderNumber {
    width: 100%;

    margin-top: 20px;
    padding: 16px;

    border: 2px solid #dcebec;
    border-radius: 15px;

    text-align: center;

    font-size: 22px;
    font-weight: bold;

    outline: none;
}

#trackingOrderNumber:focus {
    border-color: #09a88e;
}

#trackOrderButton {
    width: 100%;
}

.tracking-result h2 {
    color: #0878c9;
    font-size: 30px;
}

@media (max-width: 600px) {

    .tracking-page {
        padding: 35px 15px;
    }

    .tracking-box {
        padding: 30px 20px;
    }

    .tracking-box h1 {
        font-size: 30px;
    }
}


.refresh-status-message {
    font-size: 32px !important;
    font-weight: bold;
    color: #0878c9 !important;
    margin-bottom: 25px;
}


/* הטקסט הקטן של המוצר - צהוב */

.product-small-text {
    color: #f2c500 !important;
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0 12px;
}


/* תיקון תמונה בעמוד פרטי המוצרים */

.product-details-card {
    margin: 20px 0;
    padding: 20px;

    background: #f7fbff;
    border-radius: 18px;

    overflow: hidden;
}

.product-details-image {
    display: block;

    width: 160px !important;
    height: 160px !important;

    max-width: 100%;

    object-fit: cover;

    margin: 15px 0;

    border-radius: 15px;
}


/* כרטיס מוצר בעמוד פרטי המוצרים */

.product-details-card {
    width: 100%;
    max-width: 520px;

    margin: 20px auto;
    padding: 22px;

    background: #f5fbff;
    border-radius: 20px;
}

.product-details-image {
    width: 150px !important;
    height: 150px !important;

    object-fit: cover;
    border-radius: 15px;

    margin: 15px 0;
}


/* תמונת מוצר כרקע בפרטי המוצרים */

.product-details-card {
    width: 100%;
    max-width: 100%;

    min-height: 380px;

    margin: 25px 0;
    padding: 35px;

    border-radius: 25px;

    background-color: #ffffff;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);

    overflow: hidden;
}

.product-details-card h3 {
    font-size: 28px;
    color: #16324f;
}

.product-details-card p {
    font-size: 18px;
    font-weight: bold;
    color: #16324f;
}

.product-detail-field {
    margin-top: 18px;
}

.product-detail-field label {
    display: block;
    margin-bottom: 7px;

    font-weight: bold;
    color: #16324f;
}

.product-detail-field input {
    width: 100%;

    padding: 14px;

    background: rgba(255, 255, 255, 0.92);

    border: 2px solid #dcebec;
    border-radius: 12px;

    font-size: 16px;
}


/* ========================================
   עיצוב חדש לפרטי המוצרים
   ======================================== */

.product-details-card {
    width: 100%;
    max-width: 100%;

    margin: 25px 0;

    background: white !important;
    background-image: none !important;

    border-radius: 25px;
    overflow: hidden;

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}


/* הטקסט מעל התמונה */

.product-details-top {
    padding: 25px 35px;

    text-align: right;

    background: white;
}

.product-details-top h3 {
    margin: 0 0 15px;

    color: #16324f;

    font-size: 28px;
}

.product-details-top p {
    margin: 8px 0;

    color: #16324f;

    font-size: 18px;
    font-weight: bold;
}


/* התמונה בבהירות רגילה */

.product-details-background-image {
    display: block;

    width: 100% !important;
    height: 420px !important;

    object-fit: cover;

    opacity: 1 !important;

    margin: 0;

    border-radius: 0;
}


/* שדות ההתאמה */

.product-details-fields {
    padding: 25px 35px;

    background: white;
}

.product-detail-field {
    margin-top: 18px;
}

.product-detail-field label {
    display: block;

    margin-bottom: 7px;

    color: #16324f;

    font-weight: bold;
}

.product-detail-field input {
    width: 100%;

    padding: 14px;

    border: 2px solid #dcebec;
    border-radius: 12px;

    background: white;

    font-size: 16px;
}



/* ========================================
   חיפוש הזמנה - כמו חיפוש מוצרים
   ======================================== */

.order-search-box {
    width: 100%;
    margin: 25px 0 40px;
    padding: 30px;

    background: transparent;
    box-shadow: none;
}

.order-search-box h2 {
    text-align: center;
    color: #0878c9;
    font-size: 32px;
}

.order-search-box > p {
    text-align: center;
    font-size: 18px;
    color: #527080;
}

.order-search-row {
    width: min(750px, 100%);
    margin: 25px auto 0;

    display: flex;
    gap: 12px;
}

#orderSearch {
    flex: 1;

    padding: 15px 22px;

    border: 2px solid #d9eeee;
    border-radius: 30px;

    background: white;

    font-size: 17px;
    outline: none;
}

#orderSearch:focus {
    border-color: #09a88e;
}

#orderSearchButton {
    padding: 14px 28px;

    border: 0;
    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #0878c9,
        #09a88e
    );

    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;
}

@media (max-width: 600px) {

    .order-search-row {
        flex-direction: column;
    }

    #orderSearchButton {
        width: 100%;
    }
}