
        body {
            font-family: 'Cairo', sans-serif;
        }
        h1, h2, h3, h4, .font-display {
            font-family: 'El Messiri', sans-serif;
        }
        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        }
        .blue-blueprint-grid {
            background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
            background-size: 24px 24px;
        }
    
/* Home Hero Slider */
.hero-slider {
    isolation: isolate;
}

.hero-slider__track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity 700ms ease, visibility 700ms ease, transform 1200ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.hero-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(7, 19, 47, 0.92) 0%, rgba(7, 19, 47, 0.58) 50%, rgba(7, 19, 47, 0.18) 100%);
}

.hero-slide__content {
    position: relative;
    z-index: 2;
}

.hero-slide__content > div:first-child {
    animation: heroContentIn 850ms ease both;
}

.hero-slide.is-active .hero-slide__content > div:first-child {
    animation-name: heroContentIn;
}

.hero-slider__control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background-color 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.hero-slider__control:hover,
.hero-slider__control:focus-visible {
    background: rgba(255, 122, 32, 0.9);
    border-color: rgba(255, 122, 32, 1);
    transform: translateY(-50%) scale(1.05);
    outline: none;
}

.hero-slider__control--prev {
    right: 24px;
}

.hero-slider__control--next {
    left: 24px;
}

.hero-slider__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    z-index: 4;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-slider__dot {
    width: 11px;
    height: 11px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    transition: width 250ms ease, background-color 250ms ease, border-color 250ms ease;
}

.hero-slider__dot.is-active,
.hero-slider__dot:hover,
.hero-slider__dot:focus-visible {
    width: 34px;
    background: #ff7a20;
    border-color: #ff7a20;
    outline: none;
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 88vh;
    }

    .hero-slide__overlay {
        background: linear-gradient(270deg, rgba(7, 19, 47, 0.95) 0%, rgba(7, 19, 47, 0.75) 65%, rgba(7, 19, 47, 0.42) 100%);
    }

    .hero-slider__control {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 76px;
        transform: none;
    }

    .hero-slider__control:hover,
    .hero-slider__control:focus-visible {
        transform: scale(1.05);
    }

    .hero-slider__control--prev {
        right: 16px;
    }

    .hero-slider__control--next {
        left: 16px;
    }

    .hero-slider__dots {
        bottom: 28px;
    }
}


/* Store Categories Reference-Style Carousel */
.store-categories-section {
    position: relative;
    overflow: hidden;
}

.store-categories-section::before {
    content: "";
    position: absolute;
    inset: auto -12% -36% -12%;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 122, 32, 0.12), transparent 68%);
    pointer-events: none;
}

.store-categories-header {
    position: relative;
    z-index: 2;
}

.store-categories-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.store-categories-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9d4400;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 800;
    transition: color 200ms ease, transform 200ms ease;
}

.store-categories-link:hover,
.store-categories-link:focus-visible {
    color: #ff7a20;
    transform: translateX(-4px);
    outline: none;
}

.store-carousel-controls {
    display: flex;
    gap: 10px;
}

.store-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 112px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #c6c6ce;
    border-radius: 999px;
    color: #07132f;
    background: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(7, 19, 47, 0.08);
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.store-carousel__button:hover,
.store-carousel__button:focus-visible {
    color: #ffffff;
    background: #07132f;
    border-color: #07132f;
    transform: translateY(-2px);
    outline: none;
}

.store-carousel__button--next {
    color: #5f2600;
    background: #ff7a20;
    border-color: #ff7a20;
}

.store-carousel__button--next:hover,
.store-carousel__button--next:focus-visible {
    color: #ffffff;
    background: #9d4400;
    border-color: #9d4400;
}

.store-carousel {
    position: relative;
    z-index: 2;
}

.store-carousel__viewport {
    overflow: hidden;
    padding: 8px 0 18px;
}

.store-carousel__track {
    --store-card-width: 25%;
    --store-carousel-index: 0;
    display: flex;
    align-items: stretch;
    transform: translateX(calc(var(--store-carousel-index) * var(--store-card-width)));
    transition: transform 550ms cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.store-category-card {
    flex: 0 0 var(--store-card-width);
    max-width: var(--store-card-width);
    padding: 0 12px;
    color: inherit;
    outline: none;
}

.store-category-card__image {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #1d2845;
}

.store-category-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 19, 47, 0.08) 0%, rgba(7, 19, 47, 0.78) 100%);
}

.store-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 500ms ease;
}


.store-category-card__body {
    position: relative;
    min-height: 260px;
    margin-top: -1px;
    padding: 58px 22px 24px;
    border: 1px solid #e2e2e2;
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(7, 19, 47, 0.08);
    transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.store-category-card__icon {
    position: absolute;
    top: -36px;
    right: 22px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 6px solid #ffffff;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #07132f 0%, #1d2845 70%);
    box-shadow: 0 16px 36px rgba(7, 19, 47, 0.2);
    transition: background 250ms ease, transform 250ms ease;
}

.store-category-card__icon .material-symbols-outlined {
    font-size: 34px;
}

.store-category-card__eyebrow {
    margin-bottom: 8px;
    color: #9d4400;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.store-category-card h4 {
    margin-bottom: 10px;
    color: #07132f;
    font-family: 'El Messiri', sans-serif;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
}

.store-category-card__body > p:not(.store-category-card__eyebrow) {
    color: #45464d;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.store-category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #07132f;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 900;
    transition: color 200ms ease, transform 200ms ease;
}

.store-category-card:hover .store-category-card__image img,
.store-category-card:focus-visible .store-category-card__image img {
    transform: scale(1.1);
}

.store-category-card:hover .store-category-card__body,
.store-category-card:focus-visible .store-category-card__body {
    border-color: rgba(255, 122, 32, 0.42);
    box-shadow: 0 24px 60px rgba(7, 19, 47, 0.14);
    transform: translateY(-6px);
}

.store-category-card:hover .store-category-card__icon,
.store-category-card:focus-visible .store-category-card__icon {
    background: linear-gradient(135deg, #ff7a20 0%, #9d4400 100%);
    transform: rotate(-3deg) scale(1.04);
}

.store-category-card:hover .store-category-card__link,
.store-category-card:focus-visible .store-category-card__link {
    color: #9d4400;
    transform: translateX(-4px);
}

.store-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.store-carousel__dot {
    width: 10px;
    height: 10px;
    border: 1px solid #9d4400;
    border-radius: 999px;
    background: transparent;
    transition: width 250ms ease, background-color 250ms ease;
}

.store-carousel__dot.is-active,
.store-carousel__dot:hover,
.store-carousel__dot:focus-visible {
    width: 32px;
    background: #ff7a20;
    outline: none;
}

@media (max-width: 1023px) {
    .store-carousel__track {
        --store-card-width: 50%;
    }
}

@media (max-width: 639px) {
    .store-categories-actions {
        width: 100%;
    }

    .store-carousel-controls {
        width: 100%;
    }

    .store-carousel__button {
        flex: 1;
        min-width: 0;
    }

    .store-carousel__track {
        --store-card-width: 100%;
    }

    .store-category-card {
        padding: 0 4px;
    }

    .store-category-card__image {
        height: 230px;
    }
}


.latest-products-section {
    background: var(--surface-container-lowest, #ffffff);
}

.store-product-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--secondary-container, #ff7a20);
    color: var(--on-secondary-container, #5f2600);
    font-family: Cairo, sans-serif;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.store-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid rgba(118, 119, 126, 0.18);
    color: var(--outline, #76777e);
    font-family: Cairo, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.store-product-card__meta strong {
    color: var(--secondary, #9d4400);
    font-size: 16px;
    white-space: nowrap;
}

.store-product-card:hover .store-product-card__badge,
.store-product-card:focus-visible .store-product-card__badge {
    background: var(--primary, #07132f);
    color: var(--on-primary, #ffffff);
}


/* Latest Projects Hero Slider */
.projects-hero-slider {
    min-height: 72vh;
    border-top: 1px solid rgba(198, 198, 206, 0.28);
    border-bottom: 1px solid rgba(198, 198, 206, 0.28);
}

.projects-hero-slider .hero-slide__image {
    opacity: 0.48;
}

.projects-hero-slider .hero-slide__overlay {
    background: linear-gradient(270deg, rgba(7, 19, 47, 0.94) 0%, rgba(7, 19, 47, 0.68) 52%, rgba(7, 19, 47, 0.22) 100%);
}

.projects-hero-slider__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.projects-hero-slider__card {
    max-width: 360px;
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.projects-hero-slider__card h4 {
    margin: 10px 0 12px;
    color: #ffffff;
    font-family: 'El Messiri', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
}

.projects-hero-slider__card p:not(.projects-hero-slider__label) {
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
}

.projects-hero-slider__label {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    color: #5f2600;
    background: #ff7a20;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.projects-hero-slider__card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #ffdbca;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 900;
    transition: color 200ms ease, transform 200ms ease;
}

.projects-hero-slider__card a:hover,
.projects-hero-slider__card a:focus-visible {
    color: #ffffff;
    transform: translateX(-4px);
    outline: none;
}

@media (max-width: 768px) {
    .projects-hero-slider {
        min-height: 78vh;
    }

    .projects-hero-slider__meta {
        gap: 10px;
    }

    .projects-hero-slider__meta span {
        min-height: 34px;
        font-size: 12px;
    }
}


/* Fixed WhatsApp Contact Button */
.whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-floating:hover,
.whatsapp-floating:focus-visible {
  transform: translateY(-4px);
  background: #1ebe5d;
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.45);
}

.whatsapp-floating__icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .whatsapp-floating {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }
}

/* Homepage footer refined after client feedback */
.home-site-footer.footer-reference {
    color: var(--color-primary-fixed, #dae2ff);
    background: linear-gradient(135deg, var(--color-primary, #07132f) 0%, var(--color-primary-container, #1d2845) 58%, #0b1734 100%);
    border-top: 4px solid var(--color-secondary-container, #ff7a20);
    overflow: hidden;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-reference__inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 24px;
}

.footer-reference__grid {
    display: grid;
    grid-template-columns: 30% 25% 45%;
    grid-template-areas:
        "keywords about pages"
        "contact message message";
    column-gap: 30px;
    row-gap: 18px;
    align-items: start;
}

.footer-reference__section {
    min-width: 0;
    padding: 2px 0;
}

.footer-reference__section--pages { grid-area: pages; }
.footer-reference__section--about { grid-area: about; }
.footer-reference__section--keywords { grid-area: keywords; }
.footer-reference__section--message { grid-area: message; }
.footer-reference__section--contact { grid-area: contact; }

.footer-reference__section h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 8px;
    color: #ffffff;
    font-family: 'El Messiri', 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.footer-reference__icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: var(--color-on-secondary-container, #5f2600);
    background: linear-gradient(135deg, var(--color-secondary-container, #ff7a20), var(--color-secondary-fixed, #ffdbca));
    font-size: 17px;
    box-shadow: 0 8px 20px rgba(255, 122, 32, 0.22);
    filter: none;
}

.footer-reference__section p,
.footer-reference__section li,
.footer-reference__section a,
.footer-reference__bottom,
.footer-reference__form input,
.footer-reference__form textarea {
    font-size: 13px;
    line-height: 1.9;
}

.footer-reference__section p {
    margin: 0;
    color: rgba(218, 226, 255, 0.92);
    font-weight: 600;
    text-align: right;
}

.footer-reference__subheading {
    margin-bottom: 8px !important;
    color: var(--color-secondary-fixed, #ffdbca) !important;
    font-weight: 800 !important;
}

.footer-reference__links-grid {
    display: block;
}

.footer-reference__menu,
.footer-reference__contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-reference__menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
}

.footer-reference__links-grid li,
.footer-reference__contact-list li {
    margin: 0 0 5px;
    white-space: nowrap;
}

.footer-reference__links-grid a,
.footer-reference__contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-reference__links-grid a::before,
.footer-reference__contact-list a::before {
    content: "\2039";
    flex: 0 0 auto;
    color: var(--color-secondary-fixed-dim, #ffb68f);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-1px);
}

.footer-reference__links-grid a:hover,
.footer-reference__links-grid a:focus-visible,
.footer-reference__contact-list a:hover,
.footer-reference__contact-list a:focus-visible,
.footer-reference__bottom a:hover,
.footer-reference__bottom a:focus-visible {
    color: var(--color-secondary-container, #ff7a20);
    outline: none;
    transform: translateX(2px);
}

.footer-reference__form {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(260px, 1fr);
    grid-template-areas:
        "fields message"
        "button button";
    gap: 12px 20px;
    align-items: start;
    margin-top: 5px;
    direction: rtl;
}

.footer-reference__form-fields {
    grid-area: fields;
    display: grid;
    gap: 10px;
}

.footer-reference__form input,
.footer-reference__form textarea {
    width: 100%;
    border: 1px solid rgba(255, 182, 143, 0.22);
    border-radius: 10px;
    outline: none;
    color: #ffffff;
    background: rgba(7, 19, 47, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 28px rgba(0, 0, 0, 0.10);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.footer-reference__form input::placeholder,
.footer-reference__form textarea::placeholder {
    color: rgba(255, 255, 255, 0.82);
    opacity: 1;
}

.footer-reference__form input:focus,
.footer-reference__form textarea:focus {
    border-color: rgba(255, 122, 32, 0.72);
    background: rgba(7, 19, 47, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 122, 32, 0.12);
}

.footer-reference__form input {
    height: 38px;
    padding: 6px 10px;
}

.footer-reference__form textarea {
    grid-area: message;
    min-height: 102px;
    resize: vertical;
    padding: 8px 10px;
}

.footer-reference__form button,
.footer-reference__form input[type="submit"],
.footer-reference__form .wpcf7-submit {
    grid-area: button;
    justify-self: center;
    border: 1px solid rgba(255, 122, 32, 0.55);
    border-radius: 12px;
    min-width: 110px;
    height: 48px;
    padding: 0 26px;
    color: #ffffff;
    background: var(--color-secondary-container, #ff7a20);
    font-family: 'El Messiri', 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255, 122, 32, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, border-color .18s ease, background .18s ease;
}

.footer-reference__form button:hover,
.footer-reference__form button:focus-visible,
.footer-reference__form input[type="submit"]:hover,
.footer-reference__form input[type="submit"]:focus-visible,
.footer-reference__form .wpcf7-submit:hover,
.footer-reference__form .wpcf7-submit:focus-visible {
    transform: translateY(-2px);
    opacity: 0.94;
    border-color: rgba(255, 182, 143, 0.86);
    background: var(--color-secondary, #ff7a20);
    box-shadow: 0 16px 34px rgba(255, 122, 32, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    outline: none;
}

.footer-reference__twitter-box {
    display: block;
    height: 58px;
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(7, 19, 47, 0.55), rgba(29, 40, 69, 0.72));
    border: 1px solid rgba(255, 182, 143, 0.12);
    border-radius: 14px;
    text-decoration: none;
}

.footer-reference__social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 12px;
}

.footer-reference__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border: 1px solid rgba(255, 182, 143, 0.20);
    border-radius: 999px;
    color: var(--color-secondary-fixed, #ffdbca);
    background: rgba(7, 19, 47, 0.62);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
    transition: color .18s ease, background .18s ease, transform .18s ease, border-color .18s ease;
}

.footer-reference__social a:hover,
.footer-reference__social a:focus-visible {
    color: var(--color-on-secondary-container, #5f2600);
    background: var(--color-secondary-container, #ff7a20);
    border-color: var(--color-secondary-container, #ff7a20);
    transform: translateY(-2px);
    outline: none;
}

.footer-reference__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding-top: 16px;
    color: rgba(218, 226, 255, 0.9);
    border-top: 1px solid rgba(255, 182, 143, 0.18);
}

.footer-reference__bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    direction: rtl;
    unicode-bidi: isolate;
}

.footer-reference__bottom-links a::before,
.footer-reference__bottom-links a::after {
    content: none !important;
    display: none !important;
}

.footer-reference__bottom a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-reference__bottom p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.75;
    font-weight: 800;
    text-align: left;
}

.footer-reference__copyright-link {
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none;
}

.footer-reference__copyright-link:hover,
.footer-reference__copyright-link:focus-visible {
    color: var(--color-secondary-container, #ff7a20) !important;
    text-decoration: underline;
    outline: none;
}

@media (max-width: 960px) {
    .footer-reference__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "pages pages"
            "about keywords"
            "message message"
            "contact contact";
        gap: 22px;
    }

    .footer-reference__form {
        grid-template-columns: 1fr;
        grid-template-areas:
            "fields"
            "message"
            "button";
    }

}

@media (max-width: 640px) {
    .footer-reference__inner {
        width: min(100% - 24px, 1000px);
        padding-bottom: 92px;
    }

    .footer-reference__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "pages"
            "about"
            "keywords"
            "message"
            "contact";
    }

    .footer-reference__menu {
        grid-template-columns: 1fr;
    }

    .footer-reference__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-reference__bottom p {
        text-align: center;
    }
}

/* Home Header Mega Dropdown - Shop */
.mega-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.mega-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 2px;
    line-height: 1;
    text-decoration: none;
}

.mega-dropdown__trigger-icon {
    font-size: 18px;
    transition: transform 180ms ease;
}

.mega-dropdown:hover .mega-dropdown__trigger,
.mega-dropdown:focus-within .mega-dropdown__trigger {
    color: var(--color-secondary, #ff7a20);
}

.mega-dropdown:hover .mega-dropdown__trigger-icon,
.mega-dropdown:focus-within .mega-dropdown__trigger-icon {
    transform: rotate(180deg);
}

.mega-dropdown__panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 50%;
    z-index: 80;
    width: min(820px, calc(100vw - 48px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(50%) translateY(10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.mega-dropdown__panel::before {
    content: "";
    position: absolute;
    top: -18px;
    inset-inline: 0;
    height: 18px;
}

.mega-dropdown__panel::after {
    content: "";
    position: absolute;
    top: -8px;
    right: 50%;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-top: 1px solid rgba(7, 19, 47, 0.10);
    border-right: 1px solid rgba(7, 19, 47, 0.10);
    transform: translateX(50%) rotate(-45deg);
}

.mega-dropdown:hover .mega-dropdown__panel,
.mega-dropdown:focus-within .mega-dropdown__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
}

.mega-dropdown__panel-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(420px, 1.6fr);
    gap: 22px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(7, 19, 47, 0.18);
    overflow: hidden;
}

.mega-dropdown__intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    min-height: 260px;
    color: #ffffff;
    background: linear-gradient(135deg, #07132f 0%, #13264f 58%, #ff7a20 160%);
    border-radius: 20px;
    overflow: hidden;
}

.mega-dropdown__intro::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -74px;
    bottom: -82px;
    background: radial-gradient(circle, rgba(255, 122, 32, 0.46), transparent 68%);
    pointer-events: none;
}

.mega-dropdown__eyebrow {
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffdbca;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}

.mega-dropdown__intro h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
}

.mega-dropdown__intro p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.9;
}

.mega-dropdown__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 14px;
    color: #07132f;
    background: #ff7a20;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mega-dropdown__cta:hover,
.mega-dropdown__cta:focus-visible {
    background: #ff8f44;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 122, 32, 0.28);
    outline: none;
}

.mega-dropdown__cta .material-symbols-outlined {
    font-size: 18px;
}

.mega-dropdown__columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mega-dropdown__column {
    padding: 16px;
    background: rgba(7, 19, 47, 0.035);
    border: 1px solid rgba(7, 19, 47, 0.07);
    border-radius: 18px;
}

.mega-dropdown__column--highlight {
    background: rgba(255, 122, 32, 0.08);
    border-color: rgba(255, 122, 32, 0.18);
}

.mega-dropdown__column h4 {
    margin: 0 0 12px;
    color: #07132f;
    font-size: 15px;
    font-weight: 900;
}

.mega-dropdown__column a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 8px;
    color: rgba(7, 19, 47, 0.78);
    border-radius: 13px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.mega-dropdown__column a:hover,
.mega-dropdown__column a:focus-visible {
    color: #07132f;
    background: #ffffff;
    transform: translateX(-3px);
    outline: none;
}

.mega-dropdown__column a .material-symbols-outlined {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: #ff7a20;
    background: rgba(255, 122, 32, 0.12);
    border-radius: 10px;
    font-size: 18px;
}

.mobile-shop-dropdown {
    border-radius: 12px;
}

.mobile-shop-dropdown summary {
    cursor: pointer;
    list-style: none;
}

.mobile-shop-dropdown summary::-webkit-details-marker {
    display: none;
}

.mobile-shop-dropdown__chevron {
    margin-inline-start: auto;
    transition: transform 180ms ease;
}

.mobile-shop-dropdown[open] .mobile-shop-dropdown__chevron {
    transform: rotate(180deg);
}

.mobile-shop-dropdown__content {
    display: grid;
    gap: 6px;
    margin: 0 12px 10px;
    padding: 10px;
    background: rgba(7, 19, 47, 0.04);
    border: 1px solid rgba(7, 19, 47, 0.08);
    border-radius: 14px;
}

.mobile-shop-dropdown__content a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    color: #07132f;
    background: #ffffff;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-shop-dropdown__content .material-symbols-outlined {
    color: #ff7a20;
    font-size: 20px;
}

@media (max-width: 1120px) {
    .mega-dropdown__panel {
        right: auto;
        left: 50%;
        width: min(760px, calc(100vw - 32px));
        transform: translateX(-50%) translateY(10px);
    }

    .mega-dropdown:hover .mega-dropdown__panel,
    .mega-dropdown:focus-within .mega-dropdown__panel {
        transform: translateX(-50%) translateY(0);
    }

    .mega-dropdown__panel::after {
        right: auto;
        left: 50%;
        transform: translateX(-50%) rotate(-45deg);
    }
}

@media (max-width: 900px) {
    .mega-dropdown__panel {
        display: none;
    }
}



/* Home announcement ticker - homepage only */
.home-announcement-bar {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #07132f 0%, #0f214a 52%, #07132f 100%);
    border-bottom: 3px solid #ff7a20;
    color: #ffffff;
    position: relative;
    z-index: 60;
    box-shadow: 0 8px 22px rgba(7, 19, 47, 0.16);
}

.home-announcement-bar::before,
.home-announcement-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 92px;
    z-index: 2;
    pointer-events: none;
}

.home-announcement-bar::before {
    right: 0;
    background: linear-gradient(90deg, rgba(7, 19, 47, 0), #07132f);
}

.home-announcement-bar::after {
    left: 0;
    background: linear-gradient(270deg, rgba(7, 19, 47, 0), #07132f);
}

.home-announcement-bar__viewport {
    overflow: hidden;
    min-height: 38px;
    display: flex;
    align-items: center;
}

.home-announcement-bar__track {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    min-width: max-content;
    padding-inline: 24px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    animation: homeAnnouncementRtl 24s linear infinite;
    will-change: transform;
}

.home-announcement-bar:hover .home-announcement-bar__track {
    animation-play-state: paused;
}

.home-announcement-bar__separator {
    color: #ff7a20;
    font-size: 18px;
    line-height: 1;
}

@keyframes homeAnnouncementRtl {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .home-announcement-bar__viewport {
        min-height: 34px;
    }

    .home-announcement-bar__track {
        font-size: 13px;
        gap: 12px;
        animation-duration: 20s;
    }
}

/* Tablet and mobile shop navigation behavior
   - Desktop keeps the mega dropdown.
   - Tablet shows only a direct shop link.
   - Mobile drawer uses a direct shop link in the HTML. */
.tablet-shop-link {
    display: none;
    align-items: center;
    line-height: 1;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    nav .tablet-shop-link {
        display: inline-flex;
    }

    nav .mega-dropdown {
        display: none !important;
    }
}


/* ================================
   Home Latest Products - Cart Button Fix
================================ */

body.home .almajarrat-product-card__cart-button,
body.home .add_to_cart_button,
body.home .ajax_add_to_cart {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #07132f !important;
    color: #ffffff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: -9999px !important;
}

body.home .almajarrat-product-card__cart-button::before,
body.home .add_to_cart_button::before,
body.home .ajax_add_to_cart::before {
    content: "shopping_cart" !important;
    position: absolute;
    inset: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-family: "Material Symbols Outlined";
    font-size: 24px !important;
    line-height: 1;
    color: #ffffff !important;
    text-indent: 0 !important;
}

body.home .almajarrat-product-card__cart-button::after,
body.home .add_to_cart_button::after,
body.home .ajax_add_to_cart::after {
    display: none !important;
    content: none !important;
}

body.home .almajarrat-product-card__cart-button > *,
body.home .add_to_cart_button > *,
body.home .ajax_add_to_cart > * {
    display: none !important;
}

body.home .almajarrat-product-card__cart-button:hover,
body.home .add_to_cart_button:hover,
body.home .ajax_add_to_cart:hover {
    background: #f97316 !important;
    color: #ffffff !important;
}
/* ================================
   Default WordPress Page Template
================================ */

.almajarrat-default-page {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 32%),
        #ffffff;
}

.almajarrat-default-page-hero {
    position: relative;
    padding: 90px 24px;
    background:
        linear-gradient(135deg, rgba(7, 19, 47, 0.95), rgba(15, 35, 80, 0.88)),
        #07132f;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.almajarrat-default-page-hero__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    text-align: right;
}

.almajarrat-default-page-hero__breadcrumbs {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.almajarrat-default-page-hero__breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.almajarrat-default-page-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.16);
    color: #ff7a20;
    font-size: 13px;
    font-weight: 800;
}

.almajarrat-default-page-hero__title {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-family: 'El Messiri', serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.25;
}

.almajarrat-default-page-content {
    width: min(980px, calc(100% - 32px));
    margin: -44px auto 90px;
    position: relative;
    z-index: 2;
}

.almajarrat-default-page-card {
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid rgba(7, 19, 47, 0.12);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(7, 19, 47, 0.08);
}

.almajarrat-default-page-card__content {
    color: #1a1c1c;
    font-size: 17px;
    line-height: 2;
}

.almajarrat-default-page-card__content > *:first-child {
    margin-top: 0;
}

.almajarrat-default-page-card__content > *:last-child {
    margin-bottom: 0;
}

.almajarrat-default-page-card__content h2,
.almajarrat-default-page-card__content h3,
.almajarrat-default-page-card__content h4 {
    margin: 34px 0 14px;
    color: #07132f;
    font-family: 'El Messiri', serif;
    font-weight: 800;
    line-height: 1.4;
}

.almajarrat-default-page-card__content h2 {
    font-size: 30px;
}

.almajarrat-default-page-card__content h3 {
    font-size: 24px;
}

.almajarrat-default-page-card__content p {
    margin: 0 0 18px;
}

.almajarrat-default-page-card__content ul,
.almajarrat-default-page-card__content ol {
    margin: 0 0 22px;
    padding-inline-start: 24px;
}

.almajarrat-default-page-card__content li {
    margin-bottom: 10px;
}

.almajarrat-default-page-card__content a {
    color: #f97316;
    font-weight: 800;
    text-decoration: none;
}

.almajarrat-default-page-card__content a:hover {
    text-decoration: underline;
}

.almajarrat-default-page-card__content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-right: 4px solid #f97316;
    border-radius: 16px;
    background: #fff7ed;
    color: #07132f;
    font-weight: 700;
}

@media (max-width: 768px) {
    .almajarrat-default-page-hero {
        padding: 70px 18px;
    }

    .almajarrat-default-page-content {
        width: min(100% - 24px, 980px);
        margin-top: -32px;
        margin-bottom: 60px;
    }

    .almajarrat-default-page-card {
        border-radius: 22px;
    }

    .almajarrat-default-page-card__content {
        font-size: 16px;
    }
}
/* ================================
   Default Page Typography Fix
   Normal pages / Terms / Privacy
================================ */

.almajarrat-default-page,
.almajarrat-default-page-card,
.almajarrat-default-page-card__content {
    font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    font-variant-ligatures: normal !important;
    font-feature-settings: normal !important;
    text-rendering: optimizeLegibility;
}

.almajarrat-default-page-card__content,
.almajarrat-default-page-card__content *:not(h1):not(h2):not(h3):not(h4):not(.material-symbols-outlined) {
    font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
}

.almajarrat-default-page-card__content p,
.almajarrat-default-page-card__content li,
.almajarrat-default-page-card__content span,
.almajarrat-default-page-card__content div {
    line-height: 2 !important;
}

/* Fix text pasted as Code / Preformatted blocks */
.almajarrat-default-page-card__content pre,
.almajarrat-default-page-card__content code,
.almajarrat-default-page-card__content kbd,
.almajarrat-default-page-card__content samp,
.almajarrat-default-page-card__content .wp-block-code,
.almajarrat-default-page-card__content .wp-block-preformatted,
.almajarrat-default-page-card__content .wp-block-verse {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #1a1c1c !important;
    font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 2 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    white-space: normal !important;
    overflow: visible !important;
}

.almajarrat-default-page-hero__title,
.almajarrat-default-page-card__content h1,
.almajarrat-default-page-card__content h2,
.almajarrat-default-page-card__content h3,
.almajarrat-default-page-card__content h4 {
    font-family: 'El Messiri', 'Cairo', Tahoma, Arial, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}


/* ================================
   Breadcrumbs after hero alignment
================================ */

.almajarrat-default-page > .almajarrat-breadcrumbs-wrap--custom-page {
    margin-top: 0;
    margin-bottom: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.almajarrat-default-page .almajarrat-default-page-content {
    margin-top: 0;
}


/* ================================
   Header Product Search
================================ */

.almajarrat-shop-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
}

.almajarrat-shop-search__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 999px;
    background: #ffffff;
    color: #07132f;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(7, 19, 47, 0.06);
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.almajarrat-shop-search__toggle:hover,
.almajarrat-shop-search__toggle:focus-visible,
.almajarrat-shop-search.is-open .almajarrat-shop-search__toggle {
    color: #ffffff;
    background: #ff7a20;
    border-color: #ff7a20;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 122, 32, 0.22);
    outline: none;
}

.almajarrat-shop-search__toggle .material-symbols-outlined {
    font-size: 22px;
}

.almajarrat-shop-search--desktop .almajarrat-shop-search__form {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    z-index: 90;
    width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}

.almajarrat-shop-search--desktop.is-open .almajarrat-shop-search__form {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.almajarrat-shop-search__form {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 6px 8px;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(7, 19, 47, 0.14);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.almajarrat-shop-search__form:focus-within {
    border-color: rgba(255, 122, 32, 0.62);
    box-shadow: 0 20px 50px rgba(7, 19, 47, 0.14), 0 0 0 3px rgba(255, 122, 32, 0.12);
}

.almajarrat-shop-search__icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    color: #ff7a20;
    background: rgba(255, 122, 32, 0.10);
    border-radius: 12px;
    font-size: 20px;
}

.almajarrat-shop-search__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 36px;
    padding: 0 4px;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    color: #07132f;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none !important;
}

.almajarrat-shop-search__input::placeholder {
    color: rgba(7, 19, 47, 0.46);
    opacity: 1;
}

.almajarrat-shop-search__submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    background: #07132f;
    color: #ffffff;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.almajarrat-shop-search__submit:hover,
.almajarrat-shop-search__submit:focus-visible {
    background: #ff7a20;
    transform: translateX(-2px);
    outline: none;
}

.almajarrat-shop-search__submit .material-symbols-outlined {
    font-size: 19px;
}

.almajarrat-shop-search--mobile {
    width: 100%;
    padding: 12px 10px 8px;
}

.almajarrat-shop-search--mobile .almajarrat-shop-search__form {
    width: 100%;
    min-height: 50px;
    box-shadow: 0 12px 28px rgba(7, 19, 47, 0.08);
}

@media (max-width: 767px) {
    .almajarrat-shop-search--desktop {
        display: none !important;
    }

    .almajarrat-shop-search__input {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .almajarrat-shop-search--mobile {
        display: none !important;
    }
}


/* ================================
   Blog Categories Page
================================ */

.store-category-card h3 {
    margin-bottom: 10px;
    color: #07132f;
    font-family: 'El Messiri', sans-serif;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
}

.almajarrat-blog-categories-page {
    background: #ffffff;
}


.blog-categories-archive-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.blog-categories-archive-frame {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 24px 70px rgba(7, 19, 47, 0.08);
}

.blog-categories-archive-frame::before {
    content: "";
    position: absolute;
    inset-inline: 34px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #f97316, transparent);
}

.blog-categories-archive-frame::after {
    content: "";
    position: absolute;
    inset-inline-start: -90px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.07);
    pointer-events: none;
}

.blog-categories-archive-frame > * {
    position: relative;
    z-index: 1;
}

.almajarrat-blog-categories-hero__text {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.9;
}

.blog-categories-archive-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.blog-categories-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-categories-archive-grid .store-category-card {
    display: block;
    max-width: 100%;
    padding: 0;
}

@media (max-width: 1024px) {
    .blog-categories-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .blog-categories-archive-frame {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .blog-categories-archive-frame::before {
        inset-inline: 22px;
    }

    .blog-categories-archive-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-categories-archive-grid {
        grid-template-columns: 1fr;
    }
}

.almajarrat-blog-categories-breadcrumbs {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0 0;
}

.blog-categories-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
}

.blog-categories-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid rgba(7, 19, 47, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: #07132f;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(7, 19, 47, 0.06);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-categories-pagination a.page-numbers:hover,
.blog-categories-pagination .page-numbers.current {
    border-color: #f97316;
    background: #f97316;
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-categories-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.blog-categories-pagination .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 767px) {
    .almajarrat-blog-categories-breadcrumbs {
        width: calc(100% - 32px);
    }

    .blog-categories-pagination .page-numbers {
        min-width: 40px;
        min-height: 40px;
        padding: 8px 12px;
    }
}

/* ================================
   Blog Category Archive
================================ */

.almajarrat-blog-category-page {
    background: #ffffff;
}

.almajarrat-blog-category-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 8px 16px;
    border-inline-start: 4px solid #f97316;
    color: #f97316;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.almajarrat-blog-category-hero__text {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.9;
}

.almajarrat-blog-category-hero__stats {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-weight: 800;
}

.almajarrat-blog-category-hero__stats .material-symbols-outlined {
    color: #f97316;
    font-size: 22px;
}

.almajarrat-blog-category-breadcrumbs {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0 0;
}

.blog-category-posts-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.blog-category-posts-frame {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 24px 70px rgba(7, 19, 47, 0.08);
}

.blog-category-posts-frame::before {
    content: "";
    position: absolute;
    inset-inline: 34px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #f97316, transparent);
}

.blog-category-posts-frame::after {
    content: "";
    position: absolute;
    inset-inline-end: -90px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.07);
    pointer-events: none;
}

.blog-category-posts-frame > * {
    position: relative;
    z-index: 1;
}

.blog-category-posts-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.blog-category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-category-post-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(7, 19, 47, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-category-post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 26px 60px rgba(7, 19, 47, 0.12);
}

.blog-category-post-card__image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: #07132f;
}

.blog-category-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-category-post-card:hover .blog-category-post-card__image img {
    transform: scale(1.06);
}

.blog-category-post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.blog-category-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #9a4a12;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.blog-category-post-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-category-post-card__meta .material-symbols-outlined {
    font-size: 17px;
    color: #f97316;
}

.blog-category-post-card h2 {
    margin: 0 0 14px;
    color: #07132f;
    font-family: 'El Messiri', sans-serif;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 800;
}

.blog-category-post-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-category-post-card h2 a:hover {
    color: #f97316;
}

.blog-category-post-card p {
    margin: 0 0 22px;
    color: #5f6675;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.blog-category-post-card__button {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    background: #07132f;
    color: #ffffff;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.blog-category-post-card__button:hover {
    background: #f97316;
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-category-post-card__button .material-symbols-outlined {
    font-size: 18px;
}

.blog-category-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
}

.blog-category-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid rgba(7, 19, 47, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: #07132f;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(7, 19, 47, 0.06);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-category-pagination a.page-numbers:hover,
.blog-category-pagination .page-numbers.current {
    border-color: #f97316;
    background: #f97316;
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-category-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.blog-category-pagination .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 1024px) {
    .blog-category-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .almajarrat-blog-category-breadcrumbs {
        width: calc(100% - 32px);
    }

    .blog-category-posts-frame {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .blog-category-posts-frame::before {
        inset-inline: 22px;
    }

    .blog-category-posts-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-category-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-category-post-card__image {
        height: 200px;
    }

    .blog-category-post-card h2 {
        font-size: 22px;
    }

    .blog-category-pagination .page-numbers {
        min-width: 40px;
        min-height: 40px;
        padding: 8px 12px;
    }
}

/* Category archive breadcrumb standalone centered frame */
.almajarrat-blog-category-breadcrumbs {
    width: min(760px, 100%);
    margin: 0 auto 34px;
    padding: 12px 18px;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-inline-start: 4px solid #f97316;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(7, 19, 47, 0.07);
    text-align: center;
}

.almajarrat-blog-category-trail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.almajarrat-blog-category-trail::before {
    content: none;
}

.almajarrat-blog-category-trail ol {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center !important;
    gap: 10px;
    width: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none;
}

.almajarrat-blog-category-trail li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.almajarrat-blog-category-trail li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #f97316;
    border-left: 2px solid #f97316;
    transform: rotate(-45deg);
    opacity: 0.95;
}

.almajarrat-blog-category-trail a,
.almajarrat-blog-category-trail span[aria-current="page"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.almajarrat-blog-category-trail a {
    border: 1px solid rgba(249, 115, 22, 0.18);
    background: #fff7ed;
    color: #9a4a12;
}

.almajarrat-blog-category-trail a:hover {
    border-color: rgba(249, 115, 22, 0.38);
    background: #ffedd5;
    color: #f97316;
}

.almajarrat-blog-category-trail span[aria-current="page"] {
    border: 1px solid rgba(7, 19, 47, 0.12);
    background: #07132f;
    color: #ffffff !important;
}

.almajarrat-blog-category-trail span[aria-current="page"] *,
.almajarrat-blog-category-trail span[aria-current="page"] .material-symbols-outlined {
    color: #ffffff !important;
}

.almajarrat-blog-category-trail .material-symbols-outlined {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 767px) {
    .almajarrat-blog-category-breadcrumbs {
        width: 100%;
        margin-bottom: 24px;
        padding: 10px 12px;
        border-radius: 22px;
    }

    .almajarrat-blog-category-trail ol {
        gap: 8px;
    }

    .almajarrat-blog-category-trail a,
    .almajarrat-blog-category-trail span[aria-current="page"] {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Blog categories page breadcrumb uses the same visual style as single category archive */
.blog-categories-breadcrumb-section {
    background: #ffffff;
    padding: 28px 0 0;
}

.blog-categories-breadcrumb-section .almajarrat-blog-category-breadcrumbs {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .blog-categories-breadcrumb-section {
        padding-top: 22px;
    }
}

/* ================================
   Single Blog Post Template
================================ */

.almajarrat-single-post-page {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.07), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.almajarrat-single-post-hero {
    min-height: 440px;
    display: flex;
    align-items: center;
}

.almajarrat-single-post-hero__category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.18);
    color: #ffb076;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.almajarrat-single-post-hero__category:hover {
    background: rgba(249, 115, 22, 0.28);
    color: #ffffff;
}

.almajarrat-single-post-hero__title {
    max-width: 900px;
}

.almajarrat-single-post-hero .almajarrat-default-page-hero__inner {
    text-align: center;
}

.almajarrat-single-post-hero__title {
    margin-inline: auto;
}

.almajarrat-single-post-hero__meta {
    justify-content: center;
}

.almajarrat-single-post-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.almajarrat-single-post-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.almajarrat-single-post-hero__meta .material-symbols-outlined {
    color: #f97316;
    font-size: 18px;
}

.almajarrat-single-post-hero__date-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #f97316;
}

.single-post-breadcrumb-section .almajarrat-blog-category-breadcrumbs {
    width: min(980px, 100%);
}

.almajarrat-single-post-content-section {
    padding: 42px 0 90px;
}

.almajarrat-single-post-frame {
    position: relative;
    overflow: hidden;
    width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(7, 19, 47, 0.08);
}

.almajarrat-single-post-frame::before {
    content: "";
    position: absolute;
    inset-inline: 34px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #f97316, transparent);
}

.almajarrat-single-post-frame::after {
    content: "";
    position: absolute;
    inset-inline-start: -100px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.07);
    pointer-events: none;
}

.almajarrat-single-post-frame > * {
    position: relative;
    z-index: 1;
}

.almajarrat-single-post-content-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(7, 19, 47, 0.08);
    text-align: center;
}

.almajarrat-single-post-content-header > div {
    width: 100%;
}

.almajarrat-single-post-content-header h2 {
    margin: 0 0 8px;
    color: #07132f;
    font-family: 'El Messiri', 'Cairo', Tahoma, Arial, sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.35;
}

.almajarrat-single-post-content-header p {
    margin: 0;
    color: #5f6675;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.almajarrat-single-post-content {
    color: #1f2937;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 18px;
    line-height: 2.05;
}

.almajarrat-single-post-content > *:first-child {
    margin-top: 0;
}

.almajarrat-single-post-content > *:last-child {
    margin-bottom: 0;
}

.almajarrat-single-post-content p {
    margin: 0 0 20px;
}

.almajarrat-single-post-content h2,
.almajarrat-single-post-content h3,
.almajarrat-single-post-content h4 {
    margin: 36px 0 16px;
    color: #07132f;
    font-family: 'El Messiri', 'Cairo', Tahoma, Arial, sans-serif;
    font-weight: 900;
    line-height: 1.4;
}

.almajarrat-single-post-content h2 {
    font-size: 32px;
}

.almajarrat-single-post-content h3 {
    font-size: 26px;
}

.almajarrat-single-post-content h4 {
    font-size: 22px;
}

.almajarrat-single-post-content ul,
.almajarrat-single-post-content ol {
    margin: 0 0 24px;
    padding-inline-start: 24px;
}

.almajarrat-single-post-content li {
    margin-bottom: 10px;
}

.almajarrat-single-post-content a {
    color: #f97316;
    font-weight: 800;
    text-decoration: none;
}

.almajarrat-single-post-content a:hover {
    text-decoration: underline;
}

.almajarrat-single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.almajarrat-single-post-content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-inline-start: 4px solid #f97316;
    border-radius: 18px;
    background: #fff7ed;
    color: #07132f;
    font-weight: 800;
}

.almajarrat-single-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(7, 19, 47, 0.08);
    color: #5f6675;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-weight: 800;
}

.almajarrat-single-post-tags .material-symbols-outlined {
    color: #f97316;
    font-size: 20px;
}

.almajarrat-single-post-tags a {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a4a12;
    text-decoration: none;
}

.almajarrat-single-post-tags a:hover {
    background: #f97316;
    color: #ffffff;
}

@media (max-width: 767px) {
    .almajarrat-single-post-hero {
        min-height: 360px;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .single-post-breadcrumb-section .almajarrat-blog-category-breadcrumbs {
        width: 100%;
    }

    .almajarrat-single-post-content-section {
        padding: 30px 0 64px;
    }

    .almajarrat-single-post-frame {
        border-radius: 24px;
        padding: 26px 18px;
    }

    .almajarrat-single-post-frame::before {
        inset-inline: 22px;
    }

    .almajarrat-single-post-content-header {
        align-items: flex-start;
        flex-direction: column-reverse;
        margin-bottom: 26px;
    }

    .almajarrat-single-post-content {
        font-size: 16px;
    }
}

.almajarrat-single-post-hero__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.almajarrat-single-post-hero__meta > span > span {
    display: inline-flex;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.single-post-breadcrumb-section .almajarrat-blog-category-trail span[aria-current="page"] {
    max-width: 480px;
    white-space: normal;
    text-align: center;
}

@media (max-width: 767px) {
    .single-post-breadcrumb-section .almajarrat-blog-category-trail span[aria-current="page"] {
        max-width: 100%;
    }
}

/* Single post: keep breadcrumb frame and content frame on the same visual width */
.single-post-breadcrumb-section > div,
.almajarrat-single-post-content-section > div {
    width: min(980px, calc(100% - 32px));
    max-width: 980px;
    margin-inline: auto;
    padding-inline: 0 !important;
}

.single-post-breadcrumb-section .almajarrat-blog-category-breadcrumbs,
.almajarrat-single-post-frame {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.single-post-breadcrumb-section .almajarrat-blog-category-breadcrumbs {
    margin-inline: 0;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .single-post-breadcrumb-section > div,
    .almajarrat-single-post-content-section > div {
        width: min(100% - 24px, 100%);
    }
}

/* Single post related posts */
.almajarrat-related-posts-frame {
    position: relative;
    overflow: hidden;
    margin: 32px auto 0;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-radius: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 22px 62px rgba(7, 19, 47, 0.075);
}

.almajarrat-related-posts-frame::before {
    content: "";
    position: absolute;
    inset-inline: 32px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #f97316, transparent);
}

.almajarrat-related-posts-frame > * {
    position: relative;
    z-index: 1;
}

.almajarrat-related-posts-header {
    max-width: 680px;
    margin: 0 auto 30px;
    text-align: center;
}

.almajarrat-related-posts-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a4a12;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
}

.almajarrat-related-posts-header h2 {
    margin: 0 0 8px;
    color: #07132f;
    font-family: 'El Messiri', 'Cairo', Tahoma, Arial, sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.35;
}

.almajarrat-related-posts-header p {
    margin: 0;
    color: #5f6675;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.almajarrat-related-post-card .blog-category-post-card__image {
    height: 190px;
}

.almajarrat-related-post-card h2 {
    font-size: 22px;
}

.almajarrat-related-post-card__date-icon {
    width: 17px;
    height: 17px;
    color: #f97316;
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .almajarrat-related-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .almajarrat-related-posts-frame {
        margin-top: 24px;
        padding: 24px 16px;
        border-radius: 24px;
    }

    .almajarrat-related-posts-frame::before {
        inset-inline: 22px;
    }

    .almajarrat-related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog search result category badge */
.blog-search-post-card__category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9a4a12;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-search-post-card__category:hover {
    color: #f97316;
}

.blog-search-post-card__category .material-symbols-outlined {
    font-size: 17px;
    color: #f97316;
}


/* Inline icons fallback: avoids showing Material icon names if font is unavailable */
.almajarrat-inline-arrow-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

.store-categories-link .almajarrat-inline-arrow-icon,
.blog-category-post-card__button .almajarrat-inline-arrow-icon {
    width: 18px;
    height: 18px;
}

/* Unified Site Breadcrumbs fallback override */
.almajarrat-default-page > .almajarrat-breadcrumbs-wrap--custom-page,
.almajarrat-breadcrumbs-wrap--custom-page,
.almajarrat-breadcrumbs-wrap--woocommerce {
    width: min(760px, calc(100% - 48px));
    max-width: 760px;
    margin: 28px auto 24px;
    padding: 12px 18px;
    border: 1px solid rgba(7, 19, 47, 0.10);
    border-inline-start: 4px solid #f97316;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(7, 19, 47, 0.07);
    text-align: center;
}

/* ================================
   Project Category Archive Template
================================ */
.almajarrat-project-category-page .project-category-breadcrumb-section {
    background: #ffffff;
    padding: 28px 0 0;
}

.almajarrat-project-category-page .project-category-breadcrumb-section .almajarrat-blog-category-breadcrumbs {
    margin-bottom: 0;
}

.project-category-posts-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.project-category-card__date-icon {
    width: 17px;
    height: 17px;
    fill: #f97316;
}

@media (max-width: 767px) {
    .almajarrat-project-category-page .project-category-breadcrumb-section {
        padding-top: 22px;
    }
}

/* ================================
   Project Category Recent Projects
================================ */
.project-category-recent-projects-section {
    background: #f6f7f9;
}

.project-category-recent-projects-section .recent-products-link .almajarrat-inline-arrow-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.project-category-recent-projects-section .recent-products-link:hover .almajarrat-inline-arrow-icon {
    transform: translateX(-5px);
}

.project-recent-card__category {
    display: inline-flex;
    align-self: flex-start;
    text-decoration: none;
}

.project-recent-card__category:hover {
    color: #07152f;
}

.project-recent-card__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9a4a12;
    font-size: 13px;
    font-weight: 900;
}

.project-recent-card__date .almajarrat-inline-arrow-icon {
    width: 16px;
    height: 16px;
    fill: #f97316;
}

.project-recent-card__button .almajarrat-inline-arrow-icon {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

/* ================================
   Projects Archive Template
================================ */
.project-archive-card__meta {
    justify-content: space-between;
}

.project-archive-card__category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.10);
    color: #9a4a12;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
    text-decoration: none;
}

.project-archive-card__category:hover,
.project-archive-card__category:focus-visible {
    color: #07152f;
    background: rgba(7, 21, 47, 0.08);
}

@media (max-width: 767px) {
    .project-archive-card__meta {
        justify-content: flex-start;
    }
}

/* Footer Contact Form Submit Button - Force approved orange color */
.footer-reference .footer-reference__form button,
.footer-reference .footer-reference__form button[type="submit"],
.footer-reference .footer-reference__form input[type="submit"],
.footer-reference .footer-reference__form .wpcf7-submit,
.footer-reference .footer-cf7-form button,
.footer-reference .footer-cf7-form button[type="submit"],
.footer-reference .footer-cf7-form input[type="submit"],
.footer-reference .footer-cf7-form .wpcf7-submit {
    background: #ff7a20 !important;
    background-color: #ff7a20 !important;
    border-color: #ff7a20 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(255, 122, 32, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.footer-reference .footer-reference__form button:hover,
.footer-reference .footer-reference__form button:focus-visible,
.footer-reference .footer-reference__form button[type="submit"]:hover,
.footer-reference .footer-reference__form button[type="submit"]:focus-visible,
.footer-reference .footer-reference__form input[type="submit"]:hover,
.footer-reference .footer-reference__form input[type="submit"]:focus-visible,
.footer-reference .footer-reference__form .wpcf7-submit:hover,
.footer-reference .footer-reference__form .wpcf7-submit:focus-visible,
.footer-reference .footer-cf7-form button:hover,
.footer-reference .footer-cf7-form button:focus-visible,
.footer-reference .footer-cf7-form button[type="submit"]:hover,
.footer-reference .footer-cf7-form button[type="submit"]:focus-visible,
.footer-reference .footer-cf7-form input[type="submit"]:hover,
.footer-reference .footer-cf7-form input[type="submit"]:focus-visible,
.footer-reference .footer-cf7-form .wpcf7-submit:hover,
.footer-reference .footer-cf7-form .wpcf7-submit:focus-visible {
    background: #f36f13 !important;
    background-color: #f36f13 !important;
    border-color: #f36f13 !important;
    color: #ffffff !important;
    box-shadow: 0 16px 34px rgba(255, 122, 32, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

/* Footer highlighted helper texts - approved orange color */
.footer-reference .footer-reference__subheading,
.footer-reference .footer-reference__section--message > p {
    color: #ff7a20 !important;
}


/* ==========================================================
   Header English brand fit - WPML
   Keeps the English site title compact so it does not overlap
   with the primary navigation. Arabic layout is untouched.
========================================================== */
html[lang^="en"] .almajarrat-brand {
    min-width: 0;
    flex: 0 1 auto;
    gap: 8px;
}

html[lang^="en"] .almajarrat-brand-text {
    font-size: clamp(0.7rem, 0.78vw, 0.86rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 190px;
    white-space: normal !important;
}

html[lang^="en"] .almajarrat-logo-img {
    flex: 0 0 auto;
}

html[lang^="en"] .almajarrat-desktop-nav,
html[lang^="en"] .almajarrat-desktop-nav ul,
html[lang^="en"] .almajarrat-desktop-nav li,
html[lang^="en"] .almajarrat-desktop-nav a {
    white-space: nowrap;
}

@media (min-width: 1280px) {
    html[lang^="en"] .almajarrat-brand-text {
        max-width: 220px;
    }
}

/* WPML / English product categories mega-menu layout guard
   Keeps long translated category names inside the dropdown without changing the main design. */
.mega-dropdown__panel {
    width: min(980px, calc(100vw - 40px));
}

.mega-dropdown__panel-inner {
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.95fr);
}

.mega-dropdown__columns,
.mega-dropdown__column,
.mega-dropdown__column a {
    min-width: 0;
}

.mega-dropdown__column a {
    width: 100%;
    align-items: flex-start;
}

.mega-dropdown__column a > span:not(.material-symbols-outlined) {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.35;
}

html[lang^="en"] .mega-dropdown__columns {
    gap: 12px;
}

html[lang^="en"] .mega-dropdown__column {
    padding: 14px;
}

html[lang^="en"] .mega-dropdown__column h4 {
    font-size: 14px;
    line-height: 1.25;
}

html[lang^="en"] .mega-dropdown__column a {
    gap: 7px;
    padding: 8px 6px;
    font-size: 12.5px;
    line-height: 1.35;
}

html[lang^="en"] .mega-dropdown__column a .material-symbols-outlined {
    width: 24px;
    height: 24px;
    font-size: 16px;
    border-radius: 8px;
}

@media (max-width: 1120px) {
    .mega-dropdown__panel {
        width: min(900px, calc(100vw - 32px));
    }

    .mega-dropdown__panel-inner {
        grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2fr);
    }
}

/* WPML footer language switcher guard
   The theme already renders its own language switcher inside the footer. */
.wpml-ls-statics-footer {
    display: none !important;
}

/* English mega-menu readability fix
   The desktop nav forces nowrap on English menu items; reset it inside the mega panel only. */
html[lang^="en"] .almajarrat-desktop-nav .mega-dropdown__panel,
html[lang^="en"] .almajarrat-desktop-nav .mega-dropdown__panel * {
    white-space: normal;
}

html[lang^="en"] .mega-dropdown__panel {
    width: min(1040px, calc(100vw - 32px));
}

html[lang^="en"] .mega-dropdown__panel-inner {
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 2fr);
    gap: 18px;
}

html[lang^="en"] .mega-dropdown__intro h3 {
    font-size: 21px;
    line-height: 1.25;
    overflow-wrap: break-word;
}

html[lang^="en"] .mega-dropdown__intro p {
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

html[lang^="en"] .mega-dropdown__cta {
    white-space: nowrap;
    font-size: 13px;
}

html[lang^="en"] .mega-dropdown__column a {
    white-space: normal;
    overflow-wrap: break-word;
}

@media (max-width: 1120px) {
    html[lang^="en"] .mega-dropdown__panel-inner {
        grid-template-columns: minmax(280px, 0.95fr) minmax(0, 2fr);
    }
}


/* Footer EN contact cleanup */
.footer-reference--en .footer-reference__section p {
    text-align: left;
}

.footer-reference--en .footer-reference__section--message .footer-reference__quick-note {
    display: block;
    width: 100%;
    margin: 0 0 10px !important;
    text-align: left !important;
    color: var(--color-secondary-fixed, #ffdbca) !important;
    font-weight: 800 !important;
}

.footer-reference--en .footer-reference__section--message .footer-reference__form {
    margin-top: 0;
}

/* ==========================================================
   Unified header actions
   Fixed order: Search → Cart → Account → Contact → Language.
========================================================== */
.almajarrat-header-actions {
    --almajarrat-header-action-size: 42px;
    --almajarrat-header-action-gap: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: var(--almajarrat-header-action-gap);
    direction: ltr;
    white-space: nowrap;
}

.almajarrat-header-actions > * {
    flex: 0 0 auto;
}

.almajarrat-header-action-control,
.almajarrat-header-actions .almajarrat-shop-search__toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 var(--almajarrat-header-action-size);
    width: var(--almajarrat-header-action-size);
    height: var(--almajarrat-header-action-size);
    min-width: var(--almajarrat-header-action-size);
    padding: 0 !important;
    border: 1px solid rgba(7, 19, 47, 0.11);
    border-radius: 999px;
    background: #ffffff;
    color: #07132f;
    box-shadow: 0 8px 20px rgba(7, 19, 47, 0.07);
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.almajarrat-header-action-control .material-symbols-outlined,
.almajarrat-header-actions .almajarrat-shop-search__toggle .material-symbols-outlined {
    display: block;
    margin: 0;
    font-size: 22px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.almajarrat-header-action-control:hover,
.almajarrat-header-action-control:focus-visible,
.almajarrat-header-action-control.is-active,
.almajarrat-header-actions .almajarrat-shop-search__toggle:hover,
.almajarrat-header-actions .almajarrat-shop-search__toggle:focus-visible,
.almajarrat-header-actions .almajarrat-shop-search.is-open .almajarrat-shop-search__toggle {
    color: #ffffff;
    background: #ff7a20;
    border-color: #ff7a20;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 122, 32, 0.24);
    outline: none;
}

.almajarrat-header-action-control:focus-visible,
.almajarrat-header-language-switcher__link:focus-visible {
    outline: 3px solid rgba(255, 122, 32, 0.24);
    outline-offset: 2px;
}

/* Search keeps its floating form while sharing the same button shell. */
.almajarrat-header-actions .almajarrat-shop-search {
    width: var(--almajarrat-header-action-size);
    height: var(--almajarrat-header-action-size);
}

.almajarrat-header-actions .almajarrat-shop-search--desktop .almajarrat-shop-search__form {
    direction: inherit;
}

/* Cart counter remains readable on every action state. */
.almajarrat-header-action-control--cart .almajarrat-cart-count {
    top: -5px !important;
    right: -5px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    padding: 0 !important;
    border: 2px solid #ffffff;
    background: #ff7a20 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800;
    line-height: 14px;
    box-shadow: 0 4px 10px rgba(7, 19, 47, 0.18);
}

.almajarrat-header-action-control--cart:hover .almajarrat-cart-count,
.almajarrat-header-action-control--cart:focus-visible .almajarrat-cart-count,
.almajarrat-header-action-control--cart.is-active .almajarrat-cart-count {
    background: #07132f !important;
}

/* AR / EN is a compact control with the same height, border and shadow. */
.almajarrat-header-language-switcher {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: var(--almajarrat-header-action-size);
    min-width: 110px;
    padding: 3px 4px;
    border: 1px solid rgba(7, 19, 47, 0.11);
    border-radius: 999px;
    background: #ffffff;
    color: #07132f;
    box-shadow: 0 8px 20px rgba(7, 19, 47, 0.07);
    direction: ltr;
}

.almajarrat-header-language-switcher__icon {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 34px;
    color: #07132f;
    font-size: 20px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.almajarrat-header-language-switcher__link {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 7px;
    border-radius: 999px;
    color: #5f6675;
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.almajarrat-header-language-switcher__link:hover,
.almajarrat-header-language-switcher__link:focus-visible {
    color: #ff7a20;
    background: rgba(255, 122, 32, 0.09);
}

.almajarrat-header-language-switcher__link.is-active {
    color: #ffffff;
    background: #ff7a20;
    box-shadow: 0 5px 12px rgba(255, 122, 32, 0.22);
}

/* The drawer language row uses the same visual vocabulary on mobile. */
.almajarrat-mobile-language-switcher[data-component="language-switcher"] {
    width: calc(100% - 16px);
    min-height: 44px;
    margin: 10px 8px 0;
    padding: 4px !important;
    border: 1px solid rgba(7, 19, 47, 0.11);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(7, 19, 47, 0.06);
    direction: ltr;
    justify-content: center;
    gap: 4px !important;
}

.almajarrat-mobile-language-switcher[data-component="language-switcher"] > span:not(.material-symbols-outlined) {
    display: none;
}

.almajarrat-mobile-language-switcher[data-component="language-switcher"] > .material-symbols-outlined {
    display: grid;
    place-items: center;
    width: 30px;
    height: 34px;
    color: #07132f !important;
    font-size: 20px;
}

.almajarrat-mobile-language-switcher[data-component="language-switcher"] > a {
    display: inline-grid;
    place-items: center;
    min-width: 64px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #5f6675 !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.almajarrat-mobile-language-switcher[data-component="language-switcher"] > a[aria-current="true"] {
    color: #ffffff !important;
    background: #ff7a20;
}

@media (min-width: 768px) {
    .almajarrat-header-language-switcher {
        display: inline-flex;
    }
}

@media (min-width: 768px) and (max-width: 1180px) {
    .almajarrat-header-actions {
        --almajarrat-header-action-size: 38px;
        --almajarrat-header-action-gap: 6px;
    }

    .almajarrat-header-action-control .material-symbols-outlined,
    .almajarrat-header-actions .almajarrat-shop-search__toggle .material-symbols-outlined {
        font-size: 20px;
    }

    .almajarrat-header-language-switcher {
        min-width: 98px;
    }

    .almajarrat-header-language-switcher__icon {
        flex-basis: 22px;
        width: 22px;
        height: 30px;
        font-size: 18px;
    }

    .almajarrat-header-language-switcher__link {
        min-width: 30px;
        height: 30px;
        padding-inline: 5px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .almajarrat-header-actions {
        --almajarrat-header-action-size: 38px;
        --almajarrat-header-action-gap: 6px;
    }

    .almajarrat-header-action-control .material-symbols-outlined,
    .almajarrat-header-actions .almajarrat-shop-search__toggle .material-symbols-outlined {
        font-size: 20px;
    }
}

/* ==========================================================
   Header search panel — viewport-safe directional alignment
   Arabic opens toward the right; English opens toward the left.
   This keeps the form inside the viewport and prevents x-scroll.
========================================================== */
.almajarrat-header-actions .almajarrat-shop-search--desktop .almajarrat-shop-search__form {
    box-sizing: border-box;
    width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
}

html[dir="rtl"] .almajarrat-header-actions .almajarrat-shop-search--desktop .almajarrat-shop-search__form,
html[lang^="ar"] .almajarrat-header-actions .almajarrat-shop-search--desktop .almajarrat-shop-search__form {
    inset-inline: auto !important;
    left: 0 !important;
    right: auto !important;
    transform-origin: top left;
}

html[dir="ltr"] .almajarrat-header-actions .almajarrat-shop-search--desktop .almajarrat-shop-search__form,
html[lang^="en"] .almajarrat-header-actions .almajarrat-shop-search--desktop .almajarrat-shop-search__form {
    inset-inline: auto !important;
    right: 0 !important;
    left: auto !important;
    transform-origin: top right;
}

@media (min-width: 768px) and (max-width: 980px) {
    .almajarrat-header-actions .almajarrat-shop-search--desktop .almajarrat-shop-search__form {
        width: min(340px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
    }
}
