/* =========================================
   بن القبطان - Shared Style
   الأكواد المشتركة بين كل الصفحات
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --coffee-dark: #3b1f14;
    --coffee: #6b3e26;
    --coffee-light: #8b5a3c;
    --gold: #c49a5a;
    --cream: #f8f3ed;
    --white: #ffffff;
}

body {
    direction: rtl;
    margin: 0;
    padding: 20px;
    background: var(--cream);
    color: var(--coffee-dark);
    font-family: Arial, sans-serif;
    font-size: 18px;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* =========================================
   الهيدر
========================================= */

header {
    background: var(--coffee-dark);
    color: white;

    padding: 18px 4%;
    margin-bottom: 30px;

    border-radius: 12px;

    display: flex;
    align-items: center;

    position: sticky;
    top: 15px;

    z-index: 9999;

    box-shadow: 0 4px 20px rgba(59, 31, 20, 0.25);

    animation: headerShow 0.8s ease both;
}

header h2 {
    color: var(--gold);

    font-size: 28px;
    margin: 0;

    letter-spacing: 1px;
    white-space: nowrap;

    user-select: none;

    transition: 0.3s ease;
}

header h2:hover {
    transform: translateY(-2px);

    text-shadow:
        0 4px 12px rgba(201, 157, 78, 0.4);
}

/* =========================================
   حبة البن في اللوجو
========================================= */

.coffee-bean {
    display: inline-block;

    width: 20px;
    height: 30px;

    margin-left: 10px;

    position: relative;

    vertical-align: middle;

    border-radius: 48% 52% 45% 55%;

    background:
        radial-gradient(
            circle at 30% 25%,
            #b7df68 0%,
            #75b832 35%,
            #3f7d21 70%,
            #285916 100%
        );

    transform: rotate(-35deg);

    box-shadow:
        inset -3px -4px 5px rgba(20, 60, 10, .35),
        inset 3px 3px 5px rgba(220, 255, 160, .35),
        0 4px 8px rgba(30, 80, 15, .35);

    animation: beanFloat 3s ease-in-out infinite;
}

.coffee-bean::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 22px;

    left: 50%;
    top: 4px;

    border-left: 2px solid rgba(35, 85, 20, .75);

    border-radius: 50%;

    transform:
        translateX(-50%)
        rotate(18deg);
}

.coffee-bean::before {
    content: "";

    position: absolute;

    width: 5px;
    height: 8px;

    top: 5px;
    left: 5px;

    background: rgba(220, 255, 170, .45);

    border-radius: 50%;

    filter: blur(1px);
}

/* =========================================
   روابط الهيدر
========================================= */

header nav {
    display: flex;

    align-items: center;

    gap: 35px;

    margin-right: auto;
}

header nav a {
    color: white;

    font-size: 17px;
    font-weight: 600;

    text-decoration: none;

    position: relative;

    transition: .3s ease;
}

header nav a::after {
    content: "";

    position: absolute;

    right: 50%;
    bottom: -8px;

    width: 0;
    height: 3px;

    background: var(--gold);

    border-radius: 10px;

    transform: translateX(50%);

    transition: .3s ease;
}

header nav a:hover {
    color: var(--gold);

    transform: translateY(-2px);
}

header nav a:hover::after {
    width: 100%;
}

/* =========================================
   زر السلة
========================================= */

.cart-button {
    position: fixed;

    top: 100px;
    right: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--coffee);

    color: white;

    border-radius: 50%;

    font-size: 25px;

    cursor: pointer;

    z-index: 10000;

    box-shadow:
        0 8px 25px rgba(59, 31, 20, .3);

    transition: .3s ease;
}

.cart-button:hover {
    background: var(--coffee-dark);

    transform: scale(1.1);

    box-shadow:
        0 12px 30px rgba(59, 31, 20, .4);
}

.cart-button i {
    font-size: 24px;
}

#cartCount {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 23px;
    height: 23px;

    padding: 2px 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gold);

    color: white;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, .25);
}

/* =========================================
   WhatsApp العائم
========================================= */

.whatsapp-float {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;

    color: white;

    border-radius: 50%;

    font-size: 30px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .2);

    transition: .3s ease;

    z-index: 9999;
}

.whatsapp-float:hover {
    transform: scale(1.1);

    background: #1ebe5d;

    color: white;
}

/* =========================================
   Product Modal
========================================= */

.product-modal {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 20px;

    background: rgba(25, 15, 10, .72);

    backdrop-filter: blur(5px);

    z-index: 30000;

    align-items: center;
    justify-content: center;
}

.product-modal .modal-content {
    width: 760px;
    max-width: 92vw;

    height: 620px;
    max-height: 88vh;

    padding: 30px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: 1fr 1.15fr;

    grid-template-rows:
        auto
        auto
        auto
        auto
        auto
        auto;

    gap: 12px 28px;

    position: relative;

    overflow: hidden;

    background: #fffaf3;

    border-radius: 26px;

    box-shadow:
        0 25px 70px rgba(40, 20, 10, .30);

    animation: modalShow .35s ease both;
}

/* =========================================
   زر إغلاق الـModal
========================================= */

.product-modal .close-modal {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 48px;
    height: 48px;

    margin: 0;
    padding: 0;

    border: none;

    border-radius: 50%;

    background: var(--coffee-dark);

    color: white;

    font-size: 23px;

    cursor: pointer;

    z-index: 10;

    transition: .3s ease;
}

.product-modal .close-modal:hover {
    background: var(--gold);

    transform: rotate(90deg);
}

/* =========================================
   صورة المنتج داخل الـModal
========================================= */

.product-modal #modalImage {
    grid-column: 1;
    grid-row: 1 / 5;

    width: 100%;
    height: 300px;

    margin: auto 0;

    object-fit: cover;

    border-radius: 20px;

    box-shadow:
        0 12px 30px rgba(60, 30, 15, .18);
}

/* =========================================
   اسم المنتج
========================================= */

.product-modal #modalTitle {
    grid-column: 2;
    grid-row: 1;

    color: var(--coffee-dark);

    font-size: 34px;
    font-weight: 800;

    text-align: right;

    margin: 35px 0 0;
}

/* =========================================
   وصف المنتج
========================================= */

.product-modal #modalDescription {
    grid-column: 2;
    grid-row: 2;

    color: #6f625b;

    font-size: 16px;

    line-height: 1.7;

    text-align: right;

    margin: 0;
}

/* =========================================
   أزرار الوزن
========================================= */

.product-modal .weight-options {
    grid-column: 2;
    grid-row: 3;

    display: flex;

    gap: 10px;

    margin: 0;
}

.product-modal .weight-options button {
    flex: 1;

    padding: 11px 10px;

    background: #fffaf3;

    color: var(--coffee-dark);

    border: 1px solid #cdb9a8;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;
}

.product-modal .weight-options button:hover {
    background: var(--coffee-dark);

    color: white;

    border-color: var(--coffee-dark);

    transform: translateY(-2px);
}

.product-modal .weight-options button.active {
    background: #5a2d1c;

    color: white;

    border-color: #5a2d1c;

    box-shadow:
        0 4px 12px rgba(90, 45, 28, .25);

    transform: translateY(-2px);
}

/* =========================================
   الوزن المخصص
========================================= */

.product-modal .custom-weight {
    grid-column: 2;
    grid-row: 4;

    margin: 0;
}

.product-modal .custom-weight label {
    display: block;

    color: var(--coffee-dark);

    font-size: 15px;
    font-weight: bold;

    text-align: right;

    margin-bottom: 6px;
}

.product-modal .custom-weight-input {
    display: flex;

    align-items: center;

    background: #fffaf3;

    border: 1px solid #d7c9bd;

    border-radius: 12px;

    overflow: hidden;
}

.product-modal .custom-weight-input input {
    width: 100%;

    border: none;
    outline: none;

    padding: 12px;

    font-size: 15px;

    text-align: right;

    background: transparent;

    color: var(--coffee-dark);
}

.product-modal .custom-weight-input input::-webkit-inner-spin-button,
.product-modal .custom-weight-input input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-modal .custom-weight-input input {
    appearance: textfield;
}

.product-modal .custom-weight-input span {
    padding: 0 12px;

    color: #777;
}

/* =========================================
   السعر
========================================= */

.product-modal #modalPrice {
    grid-column: 2;
    grid-row: 5;

    color: var(--coffee-dark);

    font-size: 23px;
    font-weight: 800;

    text-align: right;

    margin: 0;
}

/* =========================================
   الكمية
========================================= */

.product-modal .quantity {
    grid-column: 1;
    grid-row: 5;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin: 0;
}

.product-modal .quantity button {
    width: 42px;
    height: 42px;

    margin: 0;
    padding: 0;

    border: none;

    border-radius: 10px;

    background: var(--coffee-dark);

    color: white;

    font-size: 22px;

    cursor: pointer;

    transition: .3s ease;
}

.product-modal .quantity button:hover {
    background: var(--gold);

    transform: translateY(-2px);
}

.product-modal .quantity span {
    min-width: 40px;

    font-size: 20px;
    font-weight: bold;

    text-align: center;
}

/* =========================================
   زر أضف للسلة
========================================= */

.product-modal .add-to-cart {
    grid-column: 1 / 3;
    grid-row: 6;

    width: 70%;

    margin: 0 auto;

    padding: 13px 25px;

    border: none;

    border-radius: 14px;

    background: var(--coffee-dark);

    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: .3s ease;
}

.product-modal .add-to-cart:hover {
    background: var(--gold);

    transform: translateY(-3px);
}

/* =========================================
   Cart Modal
========================================= */

.cart-modal {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 20px;

    background: rgba(25, 15, 10, .72);

    backdrop-filter: blur(5px);

    z-index: 30000;

    align-items: center;
    justify-content: center;
}

.cart-content {
    position: relative;

    width: 650px;
    max-width: 92vw;

    max-height: 88vh;

    overflow-y: auto;

    padding: 28px;

    background: #fffaf3;

    border: 1px solid #ead9c8;

    border-radius: 28px;

    box-shadow:
        0 25px 70px rgba(40, 20, 10, .35);

    animation: premiumCartShow .4s ease both;
}

.cart-content h2 {
    color: #5a2d1c;

    font-size: 30px;
    font-weight: bold;

    margin: 5px 0 25px;

    text-align: center;
}

/* =========================================
   زر إغلاق السلة
========================================= */

.close-cart {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 42px;
    height: 42px;

    margin: 0;
    padding: 0;

    background: #5a2d1c;

    color: white;

    border: none;

    border-radius: 50%;

    font-size: 20px;

    cursor: pointer;

    transition: .3s ease;
}

.close-cart:hover {
    background: #3f2415;

    transform: rotate(90deg) scale(1.08);
}

/* =========================================
   كارت داخل السلة
========================================= */

.cart-item {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 17px;

    margin-bottom: 16px;

    background: #fdf9f4;

    border: 1px solid #e7d7c7;

    border-radius: 19px;

    box-shadow:
        0 4px 15px rgba(70, 40, 20, .05);

    transition: .3s ease;
}

.cart-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 28px rgba(70, 40, 20, .13);
}

.cart-item-image {
    width: 88px;
    height: 88px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 16px;

    border: 1px solid #dfcbb8;

    box-shadow:
        0 5px 15px rgba(40, 20, 10, .14);
}

.cart-item-info {
    flex: 1;

    text-align: right;
}

.cart-item-info h3 {
    margin: 0 0 7px;

    color: #3f2415;

    font-size: 18px;
    font-weight: bold;
}

.cart-item-info p {
    margin: 4px 0;

    color: #777;

    font-size: 14px;
}

.cart-item-info strong {
    display: block;

    margin-top: 7px;

    color: #6b3e26;

    font-size: 17px;
}

/* =========================================
   كمية المنتج داخل السلة
========================================= */

.cart-quantity {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 10px;
}

.cart-quantity button {
    width: 32px;
    height: 32px;

    margin: 0;
    padding: 0;

    border: none;

    border-radius: 50%;

    background: #6b3e26;

    color: white;

    font-size: 18px;

    cursor: pointer;

    transition: .25s ease;
}

.cart-quantity button:hover {
    background: #3f2415;

    transform: scale(1.1);
}

.cart-quantity span {
    min-width: 30px;

    padding: 5px 9px;

    background: #f3e9df;

    border-radius: 10px;

    color: #4a2818;

    font-weight: bold;

    text-align: center;
}

/* =========================================
   حذف المنتج
========================================= */

.remove-item {
    width: 40px;
    height: 40px;

    margin: 0;
    padding: 0;

    border: none;

    border-radius: 50%;

    background: #6b3e26;

    color: white;

    cursor: pointer;

    transition: .3s ease;
}

.remove-item:hover {
    background: #8b3a2b;

    transform: scale(1.1);
}

/* =========================================
   السلة الفارغة
========================================= */

.empty-cart {
    text-align: center;

    padding: 35px 15px;
}

.empty-cart i {
    font-size: 45px;

    color: var(--gold);

    margin-bottom: 15px;
}

.empty-cart p {
    color: #777;
}

.empty-cart span {
    color: var(--coffee);
}

/* =========================================
   زر تفريغ السلة
========================================= */

.clear-cart-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: fit-content;

    margin: 16px 0 0 auto;

    padding: 9px 16px;

    background: #fffaf5;

    color: #8b3a2b;

    border: 1px solid #c98270;

    border-radius: 10px;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;

    transition: .3s ease;

    box-shadow:
        0 4px 12px rgba(70, 40, 20, .08);
}

.clear-cart-btn i {
    font-size: 12px;
}

.clear-cart-btn:hover {
    background: #8b3a2b;

    color: white;

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(70, 40, 20, .15);
}

/* =========================================
   إجمالي السلة
========================================= */

#cartTotal {
    position: relative;

    width: 100%;

    min-height: 66px;

    box-sizing: border-box;

    margin-top: 18px;

    padding: 0 24px 0 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        linear-gradient(
            135deg,
            #6b351b,
            #4a2413
        );

    color: white;

    border: none;

    border-radius: 18px;

    font-size: 22px;
    font-weight: bold;

    direction: rtl;

    overflow: hidden;

    box-shadow:
        0 8px 22px rgba(70, 35, 15, .20);
}

#cartTotal span {
    display: block;

    text-align: right;
}

/* حبة البن داخل الإجمالي */

#cartTotal::before {
    content: "";

    position: absolute;

    left: 25px;
    top: 50%;

    width: 28px;
    height: 19px;

    background:
        linear-gradient(
            135deg,
            #d49a55,
            #9a5b2e
        );

    border-radius: 50%;

    transform:
        translateY(-50%)
        rotate(-38deg);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, .25);

    z-index: 2;
}

#cartTotal::after {
    content: "";

    position: absolute;

    left: 29px;
    top: 50%;

    width: 20px;
    height: 3px;

    background: rgba(255, 235, 205, .65);

    border-radius: 50%;

    transform:
        translateY(-50%)
        rotate(-38deg);

    z-index: 3;
}

/* =========================================
   زر إتمام الطلب في السلة
========================================= */

.checkout-button {
    position: relative;

    width: 100%;

    margin: 18px auto 0;

    padding: 14px 58px 14px 20px;

    border: none;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #6b3e26,
            #4a2413
        );

    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: .3s ease;

    box-shadow:
        0 6px 18px rgba(70, 40, 20, .18);
}

.checkout-button::before {
    content: "\f291";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    position: absolute;

    right: 22px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 22px;

    color: white;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, .25);
}

.checkout-button:hover {
    background:
        linear-gradient(
            135deg,
            #7d4930,
            #5a2d1c
        );

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(70, 40, 20, .25);
}

/* =========================================
   Toast
========================================= */

.toast-message {
    position: fixed;

    right: 30px;
    bottom: 30px;

    padding: 14px 22px;

    background: var(--coffee);

    color: white;

    border-radius: 12px;

    font-size: 16px;
    font-weight: bold;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .25);

    z-index: 40000;

    opacity: 0;

    transform: translateY(20px);

    transition: .3s ease;
}

.toast-message.show {
    opacity: 1;

    transform: translateY(0);
}

/* =========================================
   Reveal
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}

/* =========================================
   Animations مشتركة
========================================= */

@keyframes headerShow {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes beanFloat {
    0%,
    100% {
        transform: rotate(-35deg) translateY(0);
    }

    50% {
        transform: rotate(-30deg) translateY(-2px);
    }
}

@keyframes modalShow {
    from {
        opacity: 0;

        transform:
            scale(.90)
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            scale(1)
            translateY(0);
    }
}

@keyframes premiumCartShow {
    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(.94);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

/* =========================================
   الموبايل
========================================= */

@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    header {
        padding: 15px;

        gap: 15px;

        border-radius: 10px;
    }

    header h2 {
        font-size: 22px;
    }

    header nav {
        gap: 10px;
    }

    header nav a {
        font-size: 14px;
    }

    .cart-button {
        top: 85px;
        right: 15px;

        width: 55px;
        height: 55px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;

        right: 15px;
        bottom: 15px;

        font-size: 27px;
    }

    /* Modal */

    .product-modal .modal-content {
        width: 92vw;

        height: auto;

        max-height: 90vh;

        display: flex;

        flex-direction: column;

        gap: 8px;

        padding: 22px 18px;

        overflow: hidden;
    }

    .product-modal #modalImage {
        width: 220px;
        height: 150px;

        margin: 0 auto;
    }

    .product-modal #modalTitle {
        font-size: 27px;

        text-align: center;

        margin: 5px 0;
    }

    .product-modal #modalDescription {
        font-size: 14px;

        text-align: center;
    }

    .product-modal .weight-options {
        width: 100%;

        gap: 6px;
    }

    .product-modal .weight-options button {
        padding: 9px 8px;

        font-size: 14px;
    }

    .product-modal .custom-weight {
        width: 100%;
    }

    .product-modal #modalPrice {
        text-align: center;

        font-size: 20px;
    }

    .product-modal .quantity {
        order: 0;
    }

    .product-modal .add-to-cart {
        width: 90%;
    }

    /* Cart */

    .cart-content {
        width: 95%;

        padding: 22px 16px;

        max-height: 90vh;
    }

    .cart-content h2 {
        font-size: 25px;
    }

    .cart-item {
        gap: 10px;

        padding: 12px;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-info h3 {
        font-size: 16px;
    }

    .cart-item-info p {
        font-size: 13px;
    }

    #cartTotal {
        font-size: 19px;

        min-height: 58px;

        padding-left: 60px;
    }

    #cartTotal::before {
        left: 18px;
    }

    #cartTotal::after {
        left: 22px;
    }

    .checkout-button {
        font-size: 15px;
    }

    .toast-message {
        right: 15px;
        bottom: 15px;

        max-width: calc(100% - 30px);

        font-size: 14px;
    }
}

/* =========================================
   شاشات صغيرة جدًا
========================================= */

@media (max-width: 480px) {

    header {
        flex-direction: column;

        align-items: center;
    }

    header nav {
        margin-right: 0;

        justify-content: center;

        flex-wrap: wrap;
    }

    .cart-button {
        top: 110px;
    }

    .product-modal #modalImage {
        width: 190px;
        height: 125px;
    }

    .product-modal #modalTitle {
        font-size: 24px;
    }

    .product-modal .weight-options button {
        font-size: 13px;
    }

    .cart-item {
        flex-wrap: wrap;
    }
}
/* =========================================
   الفوتر المشترك - بن القبطان
========================================= */

.contact-footer {
    position: relative;

    background:
        linear-gradient(
            rgba(20, 6, 2, 0.96),
            rgba(12, 3, 1, 0.99)
        );

    padding: 45px 8% 20px;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 40px;

    border-top: 1px solid rgba(215, 161, 93, 0.18);

    box-shadow:
        0 -15px 40px rgba(0, 0, 0, 0.30);

    animation: footerShow 1s ease 0.8s both;
}


/* عناوين الفوتر */

.contact-footer h3 {
    color: #d7a15d;
    margin-bottom: 18px;
    font-size: 20px;
}


/* النصوص والروابط */

.contact-footer p,
.contact-footer a {
    color: #ddd;
    text-decoration: none;
    line-height: 2;
    display: block;
    transition: 0.3s ease;
}


/* حركة الروابط */

.contact-footer a:hover {
    color: #d7a15d;
    transform: translateX(-3px);
}


/* أيقونات الفوتر */

.contact-footer i {
    margin-left: 7px;
    color: #d7a15d;
}


/* =========================================
   أيقونات السوشيال
========================================= */

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;

    border: 1px solid #8d5b2b;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s ease;
}

.social-icons a:hover {
    background: #6b3e26;
    transform: translateY(-4px);
}

.social-icons a i {
    margin: 0;
}


/* =========================================
   عنوان المكان
========================================= */

.footer-location {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;

    color: #f1e8df !important;
}

.footer-location i {
    color: #d7a15d;
    transition: 0.3s ease;
}

.footer-location:hover {
    color: #d7a15d !important;
}

.footer-location:hover i {
    transform: scale(1.1);
}


/* =========================================
   أسفل الفوتر
========================================= */

.contact-footer-bottom {
    grid-column: 1 / -1;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    padding-top: 18px;
    margin-top: 15px;

    text-align: center;

    color: #aaa;
    font-size: 14px;
}


/* =========================================
   حركة ظهور الفوتر
========================================= */

@keyframes footerShow {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   الموبايل
========================================= */

@media (max-width: 768px) {

    .contact-footer {
        grid-template-columns: 1fr;
        text-align: center;

        padding: 35px 25px 18px;

        gap: 30px;
    }

    .contact-footer h3 {
        font-size: 20px;
    }

    .contact-footer p,
    .contact-footer a {
        font-size: 15px;
    }

    .contact-footer a {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-footer-bottom {
        grid-column: auto;
        font-size: 13px;
    }

}


/* =========================================================
   HEADER — مشترك في كل صفحات بن القبطان
   ========================================================= */

.products-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;
    height: 78px;
    min-height: 78px;
    max-height: 78px;

    margin: 0;
    padding: 0;

    display: block;

    background: rgba(36, 16, 6, 0.97);

    border: none;
    border-radius: 0 0 20px 20px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.30);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    overflow: hidden;

    transform: none !important;
    animation: none !important;
}


/* =========================================================
   LOGO
   ========================================================= */

.products-logo {
    position: absolute;

    right: 40px;
    top: 0;

    width: auto;
    height: 78px;
    min-height: 78px;
    max-height: 78px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    gap: 10px;

    white-space: nowrap;

    transform: none !important;
}


.products-logo h2 {
    margin: 0;

    color: var(--gold);

    font-size: 28px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: 1px;

    white-space: nowrap;
}


/* =========================================================
   COFFEE BEAN
   ========================================================= */

.logo-bean {
    position: relative;

    width: 19px;
    min-width: 19px;

    height: 28px;
    min-height: 28px;

    display: inline-block;

    border-radius: 55% 45% 55% 45%;

    background:
        linear-gradient(
            145deg,
            #e0ae6b,
            #8b542d
        );

    transform: rotate(-30deg);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.25);
}


.logo-bean::after {
    content: "";

    position: absolute;

    width: 3px;
    height: 20px;

    left: 8px;
    top: 4px;

    border-radius: 50%;

    background: rgba(55, 25, 12, 0.62);

    transform: rotate(13deg);
}


/* =========================================================
   NAV
   ========================================================= */

.products-header nav {
    position: absolute;

    left: 40px;
    right: auto;
    top: 0;

    width: auto;
    height: 78px;
    min-height: 78px;
    max-height: 78px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    gap: 38px;

    direction: rtl;

    white-space: nowrap;

    transform: none !important;
}


.products-header nav a {
    position: relative;

    margin: 0;
    padding: 0;

    color: #ffffff;

    font-size: 17px;
    line-height: 1;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.products-header nav a::after {
    content: "";

    position: absolute;

    right: 50%;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: var(--gold);

    border-radius: 10px;

    transform: translateX(50%);

    transition: width 0.3s ease;
}


.products-header nav a:hover,
.products-header nav a.active {
    color: var(--gold);
}


.products-header nav a:hover::after,
.products-header nav a.active::after {
    width: 100%;
}


.products-header nav a:hover {
    transform: translateY(-2px);
}


/* =========================================================
   TABLET — HEADER
   ========================================================= */

@media (max-width: 900px) {

    .products-header {
        height: 78px;
        min-height: 78px;
        max-height: 78px;
    }

    .products-logo {
        right: 25px;

        height: 78px;
        min-height: 78px;
        max-height: 78px;
    }

    .products-logo h2 {
        font-size: 24px;
    }

    .products-header nav {
        left: 25px;

        height: 78px;
        min-height: 78px;
        max-height: 78px;

        gap: 24px;
    }

    .products-header nav a {
        font-size: 15px;
    }
}


/* =========================================================
   MOBILE — HEADER
   ========================================================= */

@media (max-width: 700px) {

    .products-header {
        width: 100%;

        height: 78px;
        min-height: 78px;
        max-height: 78px;

        padding: 0;
    }

    .products-logo {
        right: 15px;
        top: 0;

        height: 78px;
        min-height: 78px;
        max-height: 78px;

        gap: 8px;
    }

    .products-logo h2 {
        font-size: 21px;
    }

    .logo-bean {
        width: 16px;
        min-width: 16px;

        height: 24px;
        min-height: 24px;
    }

    .products-header nav {
        left: 15px;
        top: 0;

        height: 78px;
        min-height: 78px;
        max-height: 78px;

        gap: 18px;
    }

    .products-header nav a {
        font-size: 13px;
    }

    .products-header nav a::after {
        bottom: -6px;
    }
}


/* =========================================================
   VERY SMALL SCREENS — HEADER
   ========================================================= */

@media (max-width: 420px) {

    .products-header {
        height: 78px;
        min-height: 78px;
        max-height: 78px;
    }

    .products-header nav {
        left: 10px;

        height: 78px;
        min-height: 78px;
        max-height: 78px;

        gap: 11px;
    }

    .products-header nav a {
        font-size: 11px;
    }

    .products-logo {
        right: 10px;

        height: 78px;
        min-height: 78px;
        max-height: 78px;
    }

    .products-logo h2 {
        font-size: 18px;
    }
}