/* Template Options */

/*
	--//-- 1. Color Options --//--

	- Theme color - d42d2d  (rgba - 212, 45, 45);
	
	--//-- 2. Theme Font --//--
   
	- Main font - Open Sans;	
	
*/

a,
h1,
h2,
h3,
h4,
h5,
h6,
body,
code,
body #mc_signup_submit,
input,
textarea {
	font-family: 'Open Sans', sans-serif; /* Main font */
}

.non_retina_image,
.retina_image {
	width:102px;
	height:18px;
}

::selection {
	background:#7cbbc4; /* Theme color */
}
::-moz-selection {
	background:#7cbbc4; /* Theme color */
}

/* Headers */
h1 {
	font-size:41px;
	line-height:45px;
}
h2 {
	font-size:37px;
	line-height:39px;
}
h3 {
	font-size:32px;
	line-height:39px;
}
h4 {
	font-size:20px;
	line-height:25px;
}
h5 {
	font-size:16px;
	line-height:22px;
}
h6 {
	font-size:14px;
	line-height:24px;
}

.bc_area {
	background-image: url(../img/header_bg.jpg); /* Breadcrumbs Bg */
}

a,
.summary .amount span,
.product-rating .review-link:hover,
.product_category a:hover,
.shop_list li h3:hover,
.product_meta a.button:hover,
.logo_links_cont a:hover,
.breadcrumbs a:hover,
.sidepanel a:hover,
.acc_togg_title:hover span,
.item_info h5 a:hover,
.teamlink:hover i,
.shortcode_tabs .shortcode_tab_item_title:hover,
.views_likes:hover .post_likes_add,
.acc_togg_title.state-active span,
.dropcap.type3,
.optionset li.selected a,
.most_popular .currperiod,
.module_portfolio .optionset a:hover,
.most_popular .currprice,
.horizontal_menu ul li a:hover,
.entry-title a:hover,
.preview_meta_data a:hover,
.page .bloglisting_post .post_preview .post_otput_container .meta span a:hover,
.archive .bloglisting_post .post_preview .post_otput_container .meta span a:hover,
.home .bloglisting_post .post_preview .post_otput_container .meta span a:hover,
.page .bloglisting_post .post_preview h3.entry-title a:hover,
.archive .bloglisting_post .post_preview h3.entry-title a:hover,
.home .bloglisting_post .post_preview h3.entry-title a:hover,
.horizontal_menu ul li.current-menu-parent a,
.horizontal_menu ul li.current-menu-item a,
.page-template-page-albums .bc_content h6 a:hover,
.page-template-page-albums .bc_likes:hover,
.shortcode_iconbox a:hover .ico,
.shortcode_iconbox a:hover .iconbox_title,
.shortcode_iconbox a:hover .iconbox_body,
.fullscreen_block .fw_preview_wrapper .blogpost_title a:hover,
.postmeta div a:hover,
.single-port .thisprev a:hover,
.single .thisprev a:hover,
.single-port .thisnext a:hover,
.single .thisnext a:hover,
.single-port .meta span a:hover,
.single .meta span a:hover,
.single ol.commentlist li .stand_comment .thiscommentbody .comment_info .author_name a.comment-edit-link:hover,
.single ol.commentlist li .stand_comment .thiscommentbody .comment_info .comments a.comment-reply-link:hover,
.single form.comment-form .logged-in-as a:hover,
.fw_block .is_masonry .fw_preview_wrapper .inner h6.blogpost_title a:hover,
.grid_title_ajax_isotope_block .fw_preview_wrapper .inner h6.blogpost_title a:hover,
.fw_block .is_masonry .fw_preview_wrapper .inner .inmeta .post_likes:hover,
.grid_title_ajax_isotope_block .fw_preview_wrapper .inner .inmeta .post_likes:hover,
.page .portfolio_block .post_preview .preview_wrapper .preview_topblock h3 a:hover,
.page .portfolio_block .post_preview .preview_wrapper .preview_topblock .meta .post_likes:hover,
.page .portfolio_block .post_preview .preview_wrapper .preview_topblock .meta span a:hover,
.page .bloglisting_post.type2 .meta span a:hover,
.right-sidebar-block .widget_search input,
.left-sidebar-block .widget_search input,
.mc_merge_var input.mc_input,
.block404 .search_form_block input.field_search {
	color:#7cbbc4; /* Theme color */
}

.shop_list li span.onsale,
.single-port .thisprev a:hover:before,
.single .thisprev a:hover:before,
.single-port .thisnext a:hover:after,
.single .thisnext a:hover:after,
.btn_type1:hover,
.btn_type3:hover,
.btn_type4:hover,
.page form.wpcf7-form p input[type="submit"]:hover {
	background-color: #7cbbc4; /* Theme color */
}

.module_price_table .shortcode_button:hover .btn_text {
	color:#7cbbc4 !important; /* Theme color */
}

.most_popular .price_item_title,
.most_popular .price_item_btn .shortcode_button,
.btn_type5,
.most_popular .shortcode_button:after {
	background-color:#7cbbc4; /* Theme color */
}

.most_popular .shortcode_button:after,
.module_price_table .most_popular .shortcode_button {
	background-color:#7cbbc4 !important; /* Theme color */
}

.shortcode_blockquote.type3,
.most_popular .price_item_title,
.most_popular .shortcode_button {
	border-color:#7cbbc4; /* Theme color */
}
.contact_form input[type="submit"]:hover {
	background:#7cbbc4; /* Theme color */
}

.shop_table .product-subtotal .amount,
.shop_table .product-name a:hover,
.cart_info .fl span,
.cart-collaterals .cart_totals h2.calc a:hover {
	color:#7cbbc4; /* Theme color */
}
.images span.onsale {
	background:#7cbbc4; /* Theme color */
}

/* زر القائمة الجانبية (الهامبرجر) */
.menu_toggler {
    display: inline-block;
    width: 32px;
    height: 32px;
    position: relative;
    cursor: pointer;
}

.menu_toggler:before,
.menu_toggler:after,
.menu_toggler span {
    content: '';
    display: block;
    position: absolute;
    left: 6px;
    right: 6px;
    height: 4px;
    background: #2196f3; /* لون الأزرق، يمكنك تغييره لأي لون */
    border-radius: 2px;
    transition: all 0.3s;
}

.menu_toggler:before {
    top: 8px;
}
.menu_toggler span {
    top: 14px;
}
.menu_toggler:after {
    top: 20px;
}

/* عند تفعيل القائمة (تغيير شكل الزر) */
.menu_toggler.active:before {
    transform: translateY(6px) rotate(45deg);
}
.menu_toggler.active:after {
    transform: translateY(-6px) rotate(-45deg);
}
.menu_toggler.active span {
    opacity: 0;
}

.products-grid-wrap {
    padding: 10px 40px 70px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
    margin: 0;
    padding: 0;
}

.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f3f3;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-title {
    display: block;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
    color: #222;
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid-wrap {
        padding: 10px 16px 50px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-gallery {
    max-width: 100%;
    margin: 0 auto;
}

.product-gallery-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f3f3;
}

.product-gallery-stage img#mainImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.product-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    user-select: none;
}

.product-gallery-nav.prev { left: 12px; }
.product-gallery-nav.next { right: 12px; }

.product-gallery-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    padding: 8px 14px;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.product-thumbs .thumb-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f3f3f3;
}

.product-thumbs .thumb-img.is-active {
    border-color: #111;
}

#fullscreenModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#fullscreenModal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

#fullscreenModal .fs-close,
#fullscreenModal .fs-prev,
#fullscreenModal .fs-next {
    position: absolute;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

#fullscreenModal .fs-close {
    top: 18px;
    right: 30px;
    font-size: 40px;
}

#fullscreenModal .fs-prev {
    top: 50%;
    left: 24px;
    font-size: 48px;
    transform: translateY(-50%);
}

#fullscreenModal .fs-next {
    top: 50%;
    right: 24px;
    font-size: 48px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .product-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

.home-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 62vh;
    min-height: 360px;
    max-height: 680px;
    overflow: hidden;
    background: #111;
    margin: 0 0 18px;
}

.home-slider-track {
    position: absolute;
    inset: 0;
}

.home-slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.home-slider-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.home-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.home-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-slider-nav:after {
    content: '';
    width: 8px;
    height: 8px;
    margin: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.home-slider-prev {
    left: 12px;
}

.home-slider-prev:after {
    transform: rotate(-135deg) translate(-1px, 1px);
}

.home-slider-next {
    right: 12px;
}

.home-slider-next:after {
    transform: rotate(45deg) translate(-1px, 1px);
}

.home-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.home-slider-dots button.is-active {
    background: #fff;
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .home-slider {
        height: 58vh;
        min-height: 340px;
        max-height: none;
        margin-bottom: 10px;
        width: calc(100% + 70px);
        margin-left: -35px;
        margin-right: -35px;
    }

    .home-slider-nav {
        width: 38px;
        height: 38px;
        margin-top: -19px;
    }
}

@media (max-width: 567px) {
    .home-slider {
        height: 62vh;
        min-height: 360px;
    }
}

@media (min-width: 768px) {
    header .logo_links_cont_hor {
        display: block;
        width: auto;
        min-height: 0;
        gap: 0;
    }

    header .logo_links_cont_hor .fl {
        display: block;
        float: left;
        line-height: 18px;
    }

    header .logo_links_cont_hor .fr {
        display: block;
        float: right;
        margin-left: 0;
        line-height: 12px;
    }

    header .logo img,
    header .logo .non_retina_image,
    header .logo .retina_image {
        width: 102px;
        height: 18px;
    }
}

@media (max-width: 767px) {
    header .container.fw .fw_ip {
        padding: 8px 0 !important;
    }

    header .row .span12.logo_links_cont_hor,
    header .row [class*="span"].logo_links_cont_hor,
    header .logo_links_cont_hor {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        float: none !important;
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 0 !important;
        min-height: 44px;
        padding: 0;
        gap: 12px;
    }

    header .logo {
        display: flex;
        align-items: center;
        line-height: 0;
    }

    header .logo img,
    header .logo .non_retina_image {
        width: 168px;
        height: 30px;
        margin-top: 0 !important;
        display: block;
    }

    header .logo .retina_image {
        display: none !important;
    }

    header .logo_links_cont_hor .fl,
    header .logo_links_cont_hor .fr {
        display: flex !important;
        align-items: center !important;
        float: none !important;
        clear: none !important;
        width: auto !important;
        height: 30px;
        line-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header .logo_links_cont_hor .fl {
        margin-right: auto !important;
    }

    header .logo_links_cont_hor .fr {
        margin-left: auto !important;
    }

    header .horizontal_menu {
        display: none !important;
    }

    header .phone_menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 30px;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    header .menu_toggler {
        background: none !important;
        margin: 0 !important;
        float: none !important;
        width: 28px;
        height: 30px;
        display: block !important;
        position: relative;
        padding: 0;
        line-height: 0;
    }

    header .menu_toggler:before,
    header .menu_toggler:after {
        left: 2px;
        right: 2px;
        height: 3px;
    }

    header .menu_toggler:before {
        top: 10px;
    }

    header .menu_toggler:after {
        top: 18px;
    }

    header .menu_toggler span {
        display: none;
    }

    header .menu_mobile,
    header > .gt3_menu {
        display: grid !important;
        grid-template-rows: 0fr;
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        transition: grid-template-rows 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }

    header .menu_mobile > .gt3_menu,
    header > .gt3_menu > .menu_scroll {
        min-height: 0;
        overflow: hidden;
    }

    header .menu_mobile > .gt3_menu {
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    body.gt3_menu_active header .menu_mobile,
    body.gt3_menu_active header > .gt3_menu {
        grid-template-rows: 1fr;
    }

    body.gt3_menu_active {
        left: 0 !important;
    }

    header .gt3_menu .menu_scroll,
    header .gt3_menu .jspContainer,
    header .gt3_menu .jspPane {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        overflow: visible !important;
        top: 0 !important;
    }

    header .gt3_menu .jspVerticalBar,
    header .gt3_menu .jspHorizontalBar {
        display: none !important;
    }

    header .gt3_menu .menu > li a span i {
        display: none;
    }
}

.page-template-page-slider-portfolio-grid-ajax .grid_ajax_isotope_block.sorting_block {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 18px;
    height: auto !important;
    margin: 0;
    padding: 10px 20px 40px;
}

.page-template-page-slider-portfolio-grid-ajax .grid_ajax_isotope_block .isotope-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.page-template-page-slider-portfolio-grid-ajax .fullscreen_block_grid_ajax:before,
.page-template-page-slider-portfolio-grid-ajax .fullscreen_block_grid_ajax:after {
    display: none;
}

@media (max-width: 1100px) {
    .page-template-page-slider-portfolio-grid-ajax .grid_ajax_isotope_block.sorting_block {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-template-page-slider-portfolio-grid-ajax .grid_ajax_isotope_block.sorting_block {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px 12px 40px;
        gap: 16px 10px;
    }
}

@media (max-width: 480px) {
    .page-template-page-slider-portfolio-grid-ajax .grid_ajax_isotope_block.sorting_block {
        grid-template-columns: 1fr;
    }
}

.samples-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px 80px;
}

.sample-section {
    margin: 0 0 48px;
}

.sample-title {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #222;
}

.sample-subtitle {
    margin: 22px 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 16px;
}

.sample-card {
    margin: 0;
}

.sample-card-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f3f3;
}

.sample-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sample-card-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    color: #333;
}

.samples-empty {
    text-align: center;
    padding: 40px 0;
}

@media (max-width: 1100px) {
    .samples-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .samples-page {
        padding: 16px 16px 60px;
    }
    .samples-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
    }
}

