/* ==== Custom fonts from PDF ==== */
@font-face {
    font-family: 'GirlyRegular';
    src: url('../fonts/GirlyRegular.woff2') format('woff2'),
         url('../fonts/GirlyRegular.woff') format('woff'),
         url('../fonts/GirlyRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BaskOldFace';
    src: url('../fonts/BaskOldFace.woff2') format('woff2'),
         url('../fonts/BaskOldFace.woff') format('woff'),
         url('../fonts/BaskOldFace.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/

/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Fredoka', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}
.dropdown .dropdown-menu a {
    background: turqoise;
    color: var(--bs-primary);
}

.dropdown .dropdown-menu a:hover {
    background: #74C4BA;
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/

/* ===== HERO IMAGE FULL-WIDTH ===== */
.hero-header,
.page-header {
    background-image: url(/../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 150% !important;
    height: 320px !important;
    padding: 0 !important;
    margin: 0 auto;
    max-width: 1600px;
    display: block;
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-header,
    .page-header {
        height: 120px !important;
        max-width: 100% !important;
    }
}

/* ===== Colors for Lina header ===== */
:root {
    --lina-teal: #5ec9cc;
    --lina-pink: #ff6ba5;
    --lina-gray-bg: #fff;
    --lina-text-dark: #555555;
}

/* خلفية عامة رمادية */
body {
    font-family: 'BaskOldFace', 'Times New Roman', serif;
    background: var(--lina-gray-bg);
}

/* الهيدر كله داخل الصفحة */
.lina-header {
    background: #ffffff;
}

/* ===== Personalized strip – pure CSS ticker ===== */
.personalized-strip {
    background: var(--lina-teal, #5ec9cc);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

/* إطار التيكر */
.ticker {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* الشريط اللي عم يتحرّك */
.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

/* أيتِم واحد داخل الشريط */
.ticker-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    color: #ffffff;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 18px;
    letter-spacing: 0.12em;
    text-transform: capitalize;
}

.ticker-item2 {
    display: inline-flex;
    align-items: right;
    justify-content: left;
    padding: 0 140px;
    color: #ffffff;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: capitalize;
}

.ticker-item i {
    color: #ff6ba5;
    font-size: 18px;
}

/* حركة مستمرّة لليسار */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* موبايل: شوي أصغر */
@media (max-width: 767.98px) {
    .ticker-item {
        padding: 0 24px;
        font-size: 16px;
        letter-spacing: 0.08em;
    }
}

/* Mobile menu button in top right corner - inside the pink strip */
.mobile-menu-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 24px;
    color: #fff;
    z-index: 1002;
    padding: 5px 10px;
    cursor: pointer;
    display: none;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hide the mobile menu button when menu is open */
    body.menu-open .mobile-menu-btn {
        display: none;
    }
    
    /* Hide the default Bootstrap navbar toggler */
    .header-menu .navbar-toggler {
        display: none !important;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    body.menu-open .mobile-menu-overlay {
        display: block;
        opacity: 1;
    }
    
    /* Mobile menu container */
    .mobile-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #ff4081; /* Your pink color */
        z-index: 1000;
        padding: 70px 0 20px 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-container.show {
        transform: translateY(0);
    }
    
    /* Mobile menu items */
    .mobile-menu-container .navbar-nav {
        flex-direction: column;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-container .nav-item {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-container .nav-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-container .nav-link {
        color: white;
        font-size: 18px;
        padding: 10px 20px;
        display: block;
    }
    
    .mobile-menu-container .nav-link:hover,
    .mobile-menu-container .nav-link.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Close button in mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 15px;
        right: 20px;
        background: transparent;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Make sure mobile menu is above everything */
    .mobile-menu-container {
        z-index: 1001;
    }
    
    .mobile-menu-overlay {
        z-index: 1000;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu-container,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* البار الأبيض (search + logo + icons) */
.header-main {
    background: #ffffff;
    padding: 18px 0;
    border-bottom: 1px solid #e7e7e7;
}

/* اللوجو */
.header-logo img {
    max-height: 80px;
}

/* Search style مثل التصميم */
.header-search {
    border-radius: 999px;
    background: #f8f8f8;
    border: 1px solid #dedede;
    padding: 4px 14px;
}

.header-search-icon {
    font-size: 18px;
    color: #a0a0a0;
    margin-right: 8px;
}

.header-search-input {
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
    padding-left: 0;
}

.header-search-input:focus {
    outline: none;
    box-shadow: none;
}

.logo-text,
.header-logo-text {
    font-family: 'GirlyRegular', 'Comic Sans MS', cursive;
    font-size: 32px;
}

/* Icons يمين */
.header-icons {
    gap: 18px;
}

.header-icon-link {
    font-size: 22px;
    color: #f56295;
    transition: 0.2s;
}

.header-icon-link:hover {
    color: #d94c7f;
}

/* المنيو الزهري */
.header-menu {
    background: var(--lina-pink);
    padding: 0;
    border: 0;
}

.header-menu .navbar-nav .nav-link {
    color: #ffffff;
    padding: 10px 28px;
    font-size: 18px;
    font-family: 'BaskOldFace', 'Times New Roman', serif;
    letter-spacing: 0.08em;
    font-weight: 100 !important;
}

.header-menu .navbar-nav .nav-link:hover,
.header-menu .navbar-nav .nav-link.active {
    text-decoration: underline;
    color: #ffffff;
}

/* نلغي تأثير الألوان القديمة للـ navbar */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: inherit;
}

/* موبايل */
@media (max-width: 767.98px) {
    .header-main {
        padding: 14px 0;
    }

    .header-search {
        margin-top: 4px;
    }

    .header-menu .navbar-nav .nav-link {
        padding: 8px 18px;
        text-align: center;
    }
}

/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}

.blog-foot {
    margin-top: -30px;
    line-height: 0;
    width: 100%;
}

/* الصورة نفسها */
.blog-foot img {
    display: block;
    width: 100%;
    height: auto;
}
/*** Blog End ***/

/* ===== Footer (Lina style) ===== */
.footer {
    position: relative;
    padding: 30px 0 15px 0;   
    background: #ff6ba5;
    color: #ffffff;
    margin-bottom: 2px;
}

.bg-footer {
    color: #ff6ba5;
}

/* كل ويدجت */
.footer .footer-widget {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}

/* عناوين الأعمدة: Get in touch / Follow us / Location / Purchase Info */
.footer .footer-widget h2 {
    font-family: 'Allura', cursive;
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    white-space: nowrap;
}

/* لستة الروابط / المعلومات */
.footer .footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .footer-widget ul li {
    margin-bottom: 10px;
}

.footer .footer-widget ul li:last-child {
    margin-bottom: 0;
}

/* النص داخل الروابط – سيريف أبيض مثل الصورة */
.footer .footer-widget ul li a {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 17px;
    color: #ffffff;
    white-space: nowrap;
    display: block;
    line-height: 24px;
    text-decoration: none;
    transition: opacity .3s;
}

/* السهم الصغير قبل كل link */
.footer .footer-widget ul li a::before {
    content: '▸';
    display: inline-block;
    margin-right: 6px;
    font-size: 14px;
}

/* hover خفيف بس */
.footer .footer-widget ul li a:hover {
    opacity: 0.8;
}

/* معلومات التواصل (Tripoli, email, Whatsapp...) */
.footer .contact-info p {
    margin-bottom: 10px;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 17px;
    color: #ffffff;
}

.footer .contact-info p i {
    margin-right: 8px;
    font-size: 18px;
}

/* سوشال ميديا بالفوتر (إذا عندك أيقونات) */
.footer .social {
    position: relative;
    width: 100%;
}

.footer .social a {
    display: inline-block;
    margin: 6px 8px 0 0;
    font-size: 18px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 4px;
    width: 40px;
    height: 40px;
    text-align: center;
    padding-top: 7px;
    transition: background .3s, color .3s, border-color .3s;
}

.footer .social a:hover {
    background: #ffffff;
    color: #ff6ba5;
    border-color: #ffffff;
}

/* الشريط التحتاني (Payment / حقوق) إذا حابب تخليه */
.footer .payment {
    padding-top: 20px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

@media (min-width: 992px) {
    .footer .payment {
        max-width: 80%;
        margin: 0 auto;
    }
}

.footer .payment-method,
.footer .payment-security {
    overflow: hidden;
    color: #ffffff;
}

.footer .payment-method {
    text-align: left;
}

.footer .payment-security {
    text-align: right;
}

@media (max-width: 768.98px) {
    .footer .payment-method {
        margin-bottom: 15px;
    }
    
    .footer .payment-method,
    .footer .payment-security {
        text-align: center;
    }
}

.footer .payment-method h2,
.footer .payment-security h2 {
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

.footer .payment-method img,
.footer .payment-security img {
    height: 25px;
}

/* Old mobile menu styles - keeping for reference but they're overridden by new styles */
@media (max-width: 991.98px) {
    .mobile-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: #ff6ba5;
        z-index: 99;
        padding: 10px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .mobile-menu .nav-link {
        color: #fff;
        font-size: 16px;
        padding: 10px 20px;
        text-align: center;
    }

    .mobile-menu .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
    }
}
/* ===== Product card hover icons ===== */
.product-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.product-img-wrapper img {
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.04);
}

/* overlay اللي بيطلع على الصورة */
.product-img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 10px;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none; /* ما يعرقل الكليك على الصورة وقت يكون مخفي */
}

.product-card:hover .product-img-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* الأزرار الدائرية (wishlist / cart) */
.product-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ff4f8a; /* زهري */
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.22);
    background: #ff4f8a;
    color: #ffffff;
}

/* زر الكارِت بلون توركواز */
.product-icon-cart {
    background: #25c2c1; /* توركواز */
    color: #ffffff;
}

.product-icon-cart:hover {
    background: #1aa5a3;
    color: #ffffff;
}
.header-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--bs-primary);
    margin-left: 10px;
}

.header-icon-link:hover {
    color: #ff4081; /* الزهري تبعك */
}

.header-icon-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff4081;      /* pink */
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 0 0 2px #fff; /* white ring حوالَيها */
}
