@import url("https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@600;700&display=swap");


/* Hero */

.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(115deg, rgba(5, 50, 37, 0.98), rgba(8, 91, 66, 0.94)),
        var(--primary-dark);
}

.hero-section > .container {
    z-index: 2;
}

.hero-section::before {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 65px 65px;
    content: "";
    mask-image: linear-gradient(to right, #000000, transparent);
}


.hero-flag-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.30;
    transform: rotate(-7deg) scale(1.15);
}


.flag-stream {
    display: flex;
    width: 100%;
    overflow: hidden;
}


.flag-track {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    gap: 150px;
    padding-right: 55px;
    animation: flagsMoveLeft 38s linear infinite;
}


.flag-track span {
    display: inline-flex;
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 25px;
    font-size: 3.3rem;
    filter: saturate(1.2);
    backdrop-filter: blur(4px);
}


.flag-stream-reverse .flag-track {
    animation-name: flagsMoveRight;
    animation-duration: 45s;
}


@keyframes flagsMoveLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


@keyframes flagsMoveRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}




.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}


.hero-glow-one {
    top: -250px;
    right: -160px;
    width: 620px;
    height: 620px;
    background: rgba(244, 166, 35, 0.18);
}


.hero-glow-two {
    bottom: -280px;
    left: 20%;
    width: 520px;
    height: 520px;
    background: rgba(38, 202, 149, 0.14);
}


.min-vh-hero {
    min-height: 720px;
    padding: 70px 0 100px;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    padding: 9px 15px;
    color: #d5f7e9;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
}


.hero-badge i {
    color: var(--secondary);
}


.hero-content h1 {
    max-width: 780px;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(3.4rem, 6.2vw, 6.5rem);
    letter-spacing: -0.055em;
    line-height: 0.95;
}


.hero-content h1 span {
    display: block;
    color: var(--secondary);
}


.hero-content > p {
    max-width: 670px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


.hero-actions .btn {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 23px;
    border-radius: 15px;
    font-size: 0.84rem;
    font-weight: 800;
}


.hero-primary-button {
    color: var(--dark);
    background: var(--secondary);
    border: 1px solid var(--secondary);
    box-shadow: 0 15px 35px rgba(244, 166, 35, 0.22);
}


.hero-primary-button:hover {
    color: var(--dark);
    background: #ffc45e;
    border-color: #ffc45e;
    transform: translateY(-3px);
}


.hero-secondary-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}


.hero-secondary-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}


.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 42px;
}


.hero-trust-row > div {
    display: flex;
    flex-direction: column;
}


.hero-trust-row strong {
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
}


.hero-trust-row span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    font-weight: 600;
}


.hero-trust-row i {
    color: var(--secondary);
}


/* Hero visual */

.hero-visual {
    position: relative;
    width: min(100%, 500px);
    height: 520px;
    margin-left: auto;
}


.hero-orbit {
    position: absolute;
    top: 55px;
    right: 5px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    animation: slowRotate 22s linear infinite;
}


.hero-orbit::before,
.hero-orbit::after {
    position: absolute;
    border: 1px dashed rgba(244, 166, 35, 0.22);
    border-radius: 50%;
    content: "";
}


.hero-orbit::before {
    inset: 42px;
}


.hero-orbit::after {
    inset: 92px;
}


.hero-basket {
    position: absolute;
    top: 96px;
    right: 55px;
    display: flex;
    width: 320px;
    height: 320px;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.16), transparent 25%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}


.basket-icon {
    display: flex;
    width: 135px;
    height: 135px;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: linear-gradient(135deg, var(--secondary), #ffd78c);
    border-radius: 42px;
    box-shadow: 0 25px 55px rgba(244, 166, 35, 0.25);
    font-size: 4.3rem;
    transform: rotate(-7deg);
    animation: basketFloat 4s ease-in-out infinite;
}


.floating-product {
    position: absolute;
    display: flex;
    min-width: 105px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 13px;
    box-shadow: var(--shadow-md);
    font-size: 0.72rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}


.floating-product i {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 9px;
    font-size: 0.95rem;
}


.product-rice {
    top: -28px;
    left: 75px;
    animation: productFloatOne 5s ease-in-out infinite;
}


.product-meat {
    top: 78px;
    right: -64px;
    animation: productFloatTwo 5.5s ease-in-out infinite;
}


.product-spices {
    bottom: 20px;
    right: -28px;
    animation: productFloatOne 6s ease-in-out infinite reverse;
}


.product-fresh {
    bottom: 35px;
    left: -50px;
    animation: productFloatTwo 5.2s ease-in-out infinite reverse;
}


.hero-delivery-card,
.hero-rating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}


.hero-delivery-card {
    right: 3px;
    bottom: 20px;
    gap: 11px;
    padding: 13px 15px;
    border-radius: 16px;
}


.hero-delivery-card > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 12px;
}


.hero-delivery-card div {
    display: flex;
    flex-direction: column;
    min-width: 90px;
    line-height: 1.2;
}


.hero-delivery-card small {
    color: var(--muted);
    font-size: 0.62rem;
}


.hero-delivery-card strong {
    font-size: 0.78rem;
}


.hero-delivery-card > i {
    color: var(--success);
}


.hero-rating-card {
    bottom: -30px;
    left: -20px;
    gap: 13px;
    padding: 14px 16px;
    border-radius: 17px;
}


.customer-avatars {
    display: flex;
}


.customer-avatars span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin-left: -7px;
    color: #ffffff;
    background: var(--primary);
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
}


.customer-avatars span:first-child {
    margin-left: 0;
    background: var(--secondary-dark);
}


.customer-avatars span:last-child {
    background: var(--accent);
}


.hero-rating-card > div:last-child {
    display: flex;
    flex-direction: column;
}


.hero-rating-card strong {
    font-size: 0.72rem;
}


.hero-rating-card > div:last-child span {
    color: var(--muted);
    font-size: 0.6rem;
}


.hero-rating-card i {
    color: var(--secondary);
}


.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transform: translateX(-50%);
}


.scroll-indicator i {
    animation: scrollBounce 1.6s ease-in-out infinite;
}


/* Services */

.service-highlights {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 22px;
    border-right: 1px solid var(--border);
}


.service-item:last-child {
    border-right: 0;
}


.service-item > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 15px;
    font-size: 1.25rem;
}


.service-item div {
    display: flex;
    flex-direction: column;
}


.service-item strong {
    color: var(--dark);
    font-size: 0.81rem;
}


.service-item small {
    color: var(--muted);
    font-size: 0.67rem;
}


/* Categories */

.categories-section {
    background:
        radial-gradient(circle at 5% 15%, rgba(12, 107, 79, 0.06), transparent 22%),
        var(--surface-soft);
}


.category-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}


.category-card {
    position: relative;
    display: grid;
    min-height: 285px;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 25px;
    padding: 38px;
    overflow: hidden;
    color: var(--dark);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 12px 35px rgba(16, 35, 29, 0.05);
}


.category-card::before {
    position: absolute;
    right: -65px;
    bottom: -75px;
    width: 210px;
    height: 210px;
    background: var(--category-color);
    border-radius: 50%;
    content: "";
    opacity: 0.09;
    transition: transform 0.5s ease;
}


.category-card:hover {
    color: var(--dark);
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-7px);
}


.category-card:hover::before {
    transform: scale(1.35);
}


.category-halal {
    --category-color: #b74343;
}


.category-asian {
    --category-color: #e3930b;
}


.category-african {
    --category-color: #8c5b30;
}


.category-portuguese {
    --category-color: #0c6b4f;
}


.category-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 95px;
    height: 95px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--category-color);
    border-radius: 28px;
    box-shadow: 0 18px 38px color-mix(in srgb, var(--category-color) 28%, transparent);
    font-size: 2.2rem;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}


.category-card:hover .category-icon {
    transform: rotate(0) scale(1.07);
}


.category-content {
    position: relative;
    z-index: 2;
}


.category-content > span {
    color: var(--category-color);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


.category-content h3 {
    margin: 7px 0 9px;
    font-family: "Playfair Display", serif;
    font-size: 1.7rem;
}


.category-content p {
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 0.82rem;
}


.category-content strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem;
}


.category-number {
    position: absolute;
    top: 19px;
    right: 24px;
    color: var(--category-color);
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 800;
    opacity: 0.3;
}


/* Offer banner */

.offer-section {
    padding-top: 0;
    background: var(--surface-soft);
}


.offer-banner {
    position: relative;
    display: grid;
    min-height: 365px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
    padding: 55px 70px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 25%, rgba(244, 166, 35, 0.32), transparent 28%),
        linear-gradient(125deg, #10231d, #0a6248);
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
}


.offer-banner::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    content: "";
    opacity: 0.14;
}


.offer-content,
.offer-badge {
    position: relative;
    z-index: 2;
}


.offer-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 13px;
    color: var(--secondary);
    background: rgba(244, 166, 35, 0.1);
    border: 1px solid rgba(244, 166, 35, 0.25);
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
}


.offer-content h2 {
    max-width: 670px;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.98;
}


.offer-content h2 span {
    display: block;
    color: var(--secondary);
}


.offer-content p {
    max-width: 580px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.67);
}


.offer-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    color: var(--dark);
    background: #ffffff;
    border-radius: 13px;
    font-size: 0.78rem;
    font-weight: 800;
}


.offer-content .btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}


.offer-badge {
    display: flex;
    width: 190px;
    height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: var(--secondary);
    border: 9px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    transform: rotate(7deg);
}


.offer-badge small {
    font-weight: 700;
}


.offer-badge strong {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    line-height: 1;
}


.offer-badge span {
    margin-top: 5px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}


/* Product previews */

.product-preview-section {
    padding-top: 20px;
}


.product-preview-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(16, 35, 29, 0.045);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}


.product-preview-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}


.product-preview-image {
    position: relative;
    display: flex;
    height: 230px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.product-preview-image::before {
    position: absolute;
    width: 155px;
    height: 155px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    content: "";
    transition: transform 0.5s ease;
}


.product-preview-card:hover .product-preview-image::before {
    transform: scale(1.18);
}


.product-image-rice {
    background: linear-gradient(145deg, #f7e9c4, #f2d58c);
}


.product-image-spices {
    background: linear-gradient(145deg, #f7dcc8, #edae81);
}


.product-image-meat {
    background: linear-gradient(145deg, #f2d2d2, #e49c9c);
}


.product-image-snacks {
    background: linear-gradient(145deg, #d6ece4, #94cfba);
}


.product-placeholder-icon {
    position: relative;
    z-index: 2;
    color: rgba(16, 35, 29, 0.66);
    font-size: 5.3rem;
    filter: drop-shadow(0 15px 15px rgba(16, 35, 29, 0.16));
    transition: transform 0.5s ease;
}


.product-preview-card:hover .product-placeholder-icon {
    transform: scale(1.08) rotate(-4deg);
}


.product-label {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    padding: 6px 10px;
    color: #ffffff;
    background: var(--accent);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
}


.product-label.new-label {
    background: #376fce;
}


.product-label.halal-label {
    background: var(--primary);
}


.product-label.offer-label {
    background: var(--secondary-dark);
}


.product-preview-image > button {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    width: 37px;
    height: 37px;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.88);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 35, 29, 0.08);
}


.product-preview-image > button:hover {
    color: #ffffff;
    background: var(--accent);
    transform: scale(1.08);
}


.product-preview-content {
    padding: 21px;
}


.product-preview-content > span {
    color: var(--primary);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.product-preview-content h3 {
    min-height: 42px;
    margin: 7px 0 12px;
    font-size: 0.93rem;
    line-height: 1.35;
}


.product-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}


.product-rating span {
    color: var(--dark);
    font-size: 0.68rem;
    font-weight: 800;
}


.product-rating i {
    color: var(--secondary);
}


.product-rating small {
    color: var(--muted);
    font-size: 0.62rem;
}


.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 16px;
}


.product-price-row > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}


.product-price-row strong {
    color: var(--dark);
    font-size: 1.15rem;
}


.product-price-row del {
    color: var(--muted);
    font-size: 0.68rem;
}


.product-price-row button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border: 0;
    border-radius: 12px;
}


.product-price-row button:hover {
    background: var(--primary-dark);
    box-shadow: 0 9px 20px rgba(12, 107, 79, 0.22);
    transform: rotate(5deg) scale(1.08);
}


.preview-notice {
    margin: 28px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.69rem;
}


/* Animations */

@keyframes slowRotate {
    to {
        transform: rotate(360deg);
    }
}


@keyframes basketFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-7deg);
    }

    50% {
        transform: translateY(-14px) rotate(-3deg);
    }
}


@keyframes productFloatOne {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


@keyframes productFloatTwo {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}


@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}


/* Responsive */

@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }

    .hero-visual {
        transform: scale(0.88);
        transform-origin: right center;
    }

    .category-card {
        padding: 30px;
    }
}


@media (max-width: 991.98px) {
    .hero-section,
    .min-vh-hero {
        min-height: auto;
    }

    .min-vh-hero {
        padding: 90px 0 135px;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-trust-row {
        justify-content: center;
    }

    .hero-visual {
        width: 500px;
        max-width: 100%;
        margin: 45px auto 0;
        transform: scale(0.9);
        transform-origin: center;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item:nth-child(2) {
        border-right: 0;
    }

    .service-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

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

    .offer-banner {
        padding: 50px;
    }
}


@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: clamp(3rem, 13vw, 4.2rem);
    }

    .hero-visual {
        height: 430px;
        margin-top: 20px;
        transform: scale(0.76);
    }

    .hero-trust-row {
        gap: 25px;
    }

    .offer-banner {
        grid-template-columns: 1fr;
        padding: 42px 30px;
        text-align: center;
    }

    .offer-content p {
        margin-right: auto;
        margin-left: auto;
    }

    .offer-badge {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .offer-badge strong {
        font-size: 2.7rem;
    }
}


@media (max-width: 575.98px) {
    .min-vh-hero {
        padding: 70px 0 90px;
    }

    .hero-badge {
        font-size: 0.62rem;
    }

    .hero-content h1 {
        font-size: 3.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .hero-trust-row strong {
        font-size: 1.15rem;
    }

    .hero-trust-row span {
        font-size: 0.57rem;
    }

    .hero-visual {
        width: 430px;
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%) scale(0.68);
        transform-origin: top center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-item,
    .service-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .service-item:last-child {
        border-bottom: 0;
    }

    .category-card {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .category-icon {
        width: 72px;
        height: 72px;
        border-radius: 21px;
        font-size: 1.7rem;
    }

    .offer-banner {
        border-radius: 24px;
    }

    .product-preview-image {
        height: 210px;
    }
}


.flag-marquee {
    position: absolute;
    left: -5%;
    z-index: 1;
    width: 110%;
    overflow: hidden;
    opacity: 0.90;
    filter: saturate(1.25);
    transform: rotate(-4deg);
}


.flag-item {
    display: flex;
    flex-direction: column;  /* Changed from 'row' to 'column' */
    min-width: 175px;
    align-items: center;  /* Center content horizontally */
    gap: 8px;  /* Space between country name and flags */
    padding: 10px 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}



/* =========================================================
   CHECKOUT READABILITY OVERRIDE
========================================================= */

.checkout-back-link {
    font-size: 14px;
    font-weight: 800;
}

.checkout-header-content > div:first-child > span {
    font-size: 13px;
    font-weight: 900;
}

.checkout-header-content p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.checkout-security-badge strong {
    font-size: 14px;
    font-weight: 900;
}

.checkout-security-badge small {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-card-heading small {
    font-size: 12px;
    font-weight: 900;
}

.checkout-card-heading h2 {
    font-size: 31px;
    font-weight: 800;
}

.checkout-card-heading p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.checkout-step-number {
    font-size: 17px;
}

.checkout-field label {
    margin-bottom: 10px;
    color: #183c31;
    font-size: 14px;
    font-weight: 900;
}

.checkout-input {
    min-height: 54px;
    padding-right: 16px;
    padding-left: 16px;
    color: #183c31;
    font-size: 14px;
    font-weight: 600;
}

.checkout-input::placeholder {
    color: #8a9a94;
    font-size: 13px;
    font-weight: 500;
}

textarea.checkout-input {
    min-height: 125px;
    padding-top: 15px;
}

.checkout-field-error {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
}

.checkout-form-errors {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.checkout-choice-content strong {
    font-size: 15px;
    font-weight: 900;
}

.checkout-choice-content small {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.checkout-choice-icon {
    font-size: 22px;
}

.checkout-choice-check {
    font-size: 11px;
}

.checkout-subheading span {
    font-size: 11px;
    font-weight: 900;
}

.checkout-subheading h3 {
    font-size: 26px;
    font-weight: 800;
}

.checkout-checkbox-card strong {
    font-size: 14px;
    font-weight: 900;
}

.checkout-checkbox-card small {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-payment-notice {
    padding: 16px;
}

.checkout-payment-notice i {
    font-size: 18px;
}

.checkout-payment-notice p {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.65;
}

/* ORDER SUMMARY */

.checkout-summary-heading span {
    font-size: 12px;
    font-weight: 900;
}

.checkout-summary-heading h2 {
    font-size: 34px;
    font-weight: 800;
}

.checkout-summary-product strong {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
}

.checkout-summary-product small {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 600;
}

.checkout-summary-product > span {
    font-size: 13px;
    font-weight: 900;
}

.checkout-product-image b {
    width: 23px;
    height: 23px;
    font-size: 10px;
}

.checkout-summary-lines {
    padding: 24px 26px;
}

.checkout-summary-lines > div + div {
    margin-top: 18px;
}

.checkout-summary-lines span {
    font-size: 14px;
    font-weight: 700;
}

.checkout-summary-lines strong {
    font-size: 14px;
    font-weight: 900;
}

.checkout-summary-total {
    margin-right: 26px;
    margin-left: 26px;
    padding: 24px 0;
}

.checkout-summary-total span {
    font-size: 17px;
    font-weight: 900;
}

.checkout-summary-total small {
    max-width: 190px;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-summary-total > strong {
    font-size: 30px;
    font-weight: 900;
}

.checkout-submit-button {
    width: calc(100% - 52px);
    min-height: 58px;
    margin-right: 26px;
    margin-left: 26px;
    font-size: 14px;
    font-weight: 900;
}

.checkout-summary-security {
    margin: 18px 26px 26px;
    padding: 15px;
}

.checkout-summary-security i {
    font-size: 16px;
}

.checkout-summary-security p {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.65;
}

/* RADIO AND CHECKBOX SIZE */

.checkout-choice-card {
    min-height: 88px;
    padding: 18px;
}

.checkout-choice-card > input,
.checkout-checkbox-card > input {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .checkout-card-heading h2 {
        font-size: 27px;
    }

    .checkout-header-content p {
        font-size: 14px;
    }

    .checkout-choice-content strong {
        font-size: 14px;
    }

    .checkout-input {
        font-size: 16px;
    }
}






.masjid-home-callout {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background: #032f27;
    color: #ffffff;
}

.masjid-home-callout-background,
.masjid-home-callout-overlay,
.masjid-home-callout-light {
    position: absolute;
    inset: 0;
}

.masjid-home-callout-background {
    background-position: center;
    background-size: cover;
}

.masjid-home-callout-overlay {
    background: linear-gradient(90deg, rgba(2, 35, 29, 0.97), rgba(3, 55, 44, 0.82), rgba(3, 55, 44, 0.48));
    pointer-events: none;
}

.masjid-home-callout-light {
    background: radial-gradient(circle at 80% 15%, rgba(242, 217, 122, 0.3), transparent 30%);
    pointer-events: none;
}

.masjid-home-callout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 65px;
    align-items: center;
}

.masjid-home-callout-content {
    max-width: 750px;
}

.masjid-home-bismillah {
    display: block;
    margin-bottom: 9px;
    color: #f2d97a;
    font-family: "Noto Naskh Arabic", serif;
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.5;
}

.masjid-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f2d97a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.masjid-home-callout h2 {
    margin: 11px 0 18px;
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 6vw, 66px);
    font-weight: 800;
    line-height: 1.03;
}

.masjid-home-callout h2 span {
    display: block;
    color: #f2d97a;
}

.masjid-home-callout-content > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.8;
}

.masjid-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.masjid-home-primary,
.masjid-home-secondary {
    display: inline-flex;
    min-height: 53px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 21px;
    border-radius: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.masjid-home-primary {
    background: linear-gradient(135deg, #d4af37, #f2d97a);
    color: #173b31;
    box-shadow: 0 14px 34px rgba(212, 175, 55, 0.28);
}

.masjid-home-secondary {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.masjid-home-primary:hover,
.masjid-home-secondary:hover {
    color: inherit;
    transform: translateY(-3px);
}

.masjid-home-bank-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 21px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.masjid-home-bank-notice i {
    color: #f2d97a;
    font-size: 18px;
}

.masjid-home-hadith {
    margin: 0;
    padding: 31px;
    border: 1px solid rgba(242, 217, 122, 0.35);
    border-radius: 23px;
    background: rgba(2, 47, 39, 0.72);
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(15px);
}

.masjid-home-hadith > i {
    color: #f2d97a;
    font-size: 40px;
}

.masjid-home-hadith p {
    margin: 10px 0 18px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.6;
}

.masjid-home-hadith footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.masjid-home-hadith strong {
    color: #f2d97a;
    font-size: 12px;
}

.masjid-home-hadith a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .masjid-home-callout-layout {
        grid-template-columns: 1fr;
    }

    .masjid-home-hadith {
        max-width: 620px;
    }
}

@media (max-width: 575.98px) {
    .masjid-home-callout {
        padding: 70px 0;
    }

    .masjid-home-actions {
        flex-direction: column;
    }

    .masjid-home-primary,
    .masjid-home-secondary {
        width: 100%;
    }
}








/* =========================================================
   DATABASE-DRIVEN HOMEPAGE PRODUCTS
   ========================================================= */

.product-preview-card {
    position: relative;
    height: 100%;
}

.home-product-real-image {
    position: relative;
    display: block;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #f3f6f4 100%
        );
}

.home-product-real-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.product-preview-card:hover
.home-product-real-image img {
    transform: scale(1.06);
    filter:
        drop-shadow(
            0 15px 18px
            rgba(15, 75, 55, 0.13)
        );
}

.home-product-labels {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-product-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    padding: 0;
    color: #163c31;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 75, 55, 0.12);
    border-radius: 50%;
    box-shadow:
        0 8px 22px
        rgba(15, 23, 42, 0.1);
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.home-product-wishlist:hover,
.home-product-wishlist.active {
    color: #ffffff;
    background: #dc3545;
    transform: translateY(-2px);
}

.home-product-region {
    min-height: 22px;
    margin-bottom: 5px;
}

.home-product-region a,
.home-product-region span {
    color: #168260;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.home-product-name {
    color: inherit;
    text-decoration: none;
}

.home-product-name:hover {
    color: #087856;
}

.home-product-brand {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
}

.home-product-size {
    display: block;
    margin-top: 3px;
    color: #7b8794;
    font-size: 0.75rem;
}

.home-product-add-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #10815e,
            #075f45
        );
    border: 0;
    border-radius: 12px;
    box-shadow:
        0 10px 23px
        rgba(8, 120, 86, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-product-add-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        0 14px 28px
        rgba(8, 120, 86, 0.3);
}

.home-product-add-button.unavailable {
    color: #ffffff;
    background: #9ca3af;
    box-shadow: none;
    cursor: not-allowed;
}

.home-product-availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #edf1ef;
}

.home-product-availability > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-product-availability .in-stock {
    color: #168260;
}

.home-product-availability .out-of-stock {
    color: #dc3545;
}

.home-product-availability > a {
    color: #334155;
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: none;
}

.home-product-availability > a:hover {
    color: #087856;
}

.home-products-empty {
    padding: 55px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e6ece9;
    border-radius: 24px;
}

.home-products-empty > i {
    color: #10815e;
    font-size: 3rem;
}

.home-products-empty h3 {
    margin: 15px 0 8px;
}

.home-products-empty p {
    color: #64748b;
}

.home-products-empty a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #ffffff;
    background: #087856;
    border-radius: 12px;
    padding: 11px 17px;
    font-weight: 700;
    text-decoration: none;
}





/* Final compact rolling-country override */
body .hero-flag-background .flag-track {
    gap: 12px !important;
}

body .hero-flag-background .flag-item {
    display: flex !important;
    flex-direction: row !important;
    min-width: 100px !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 5px !important;
    padding: 5px 7px !important;
    white-space: nowrap !important;
    border-radius: 11px !important;
}

body .hero-flag-background .flag-item img {
    width: 25px !important;
    height: 17px !important;
    flex-shrink: 0 !important;
}

body .hero-flag-background .flag-item span,
body .hero-flag-background .flag-item strong,
body .hero-flag-background .flag-item small {
    font-size: 7px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 767.98px) {
    body .hero-flag-background .flag-item {
        min-width: 82px !important;
        gap: 4px !important;
        padding: 4px 5px !important;
    }

    body .hero-flag-background .flag-item img {
        width: 21px !important;
        height: 14px !important;
    }

    body .hero-flag-background .flag-item span,
    body .hero-flag-background .flag-item strong,
    body .hero-flag-background .flag-item small {
        font-size: 6px !important;
    }
}















