.svg-icon {
    width: 1.2em; 
    height: 1.2em;
    fill: currentColor; 
    display: inline-block;
    vertical-align: -0.125em; 
}
/* ====================================================================
   REMAINING CSS (Derived from card_css1a.css)
   ==================================================================== */
.fa-telegram { background: #226397; color: white;}

.alert { padding: 23px; width: fit-content; font-size: 13px; margin: 0px auto; font-weight: 500; border-radius: 6px;}
.danger {background: #ffd0d082; color: #d45050;}
.info { background: #d0deff82; color: #5097d4; }
.success {background: #90ff6c82; color: #1aab2c; }

.dis_flex { text-align: center; padding: 0px 14px; display: grid; grid-template-columns: 33% 33% 33%; max-width: 1120px; margin: 10px auto;}
.dis_flex .link_btn { display: flex; flex-direction: column; width: fit-content; margin: 0 auto; line-height: 2; font-weight: 600; }
.dis_flex .link_btn i { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; margin: 10px auto; font-size: 30px; padding: 0; box-shadow: 0 6px 11px -5px rgba(0,0,0,0.15); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.big_btns:hover, .dis_flex .link_btn:hover i { transform: translateY(-3px); box-shadow: 0 14px 21px -5px rgba(0,0,0,0.25); }

.contact_details { padding: 25px 24px; max-width: 751px; margin: 0 auto; }
.contact_details .contact_d{ display: grid; align-items: center; font-size: 30px; grid-template-columns: 20% auto; }
.contact_details .contact_d i { display: flex; align-items: center; justify-content: center; width: 55px; height: 51px; border-radius: 50%; margin: 6px 15px 6px 0px; font-size: 24px; padding: 0; background: #f9897b; color: white; box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3); }
.contact_details .contact_d p{ margin: 4px 15px; font-size: 15px; border-left: 2px solid; padding-left: 20px; font-weight: 600; display: grid; align-items: center; }

#wtsp_form { margin: 21px auto; width: 95%; max-width: 600px; background: white; display: flex; border: 2px solid #1aab2c; border-radius: 6px; overflow: hidden; box-sizing: border-box; box-shadow: 0px 4px 10px 0px #0000001a; }
#wtsp_form input { font-size: 13px; border: none; padding: 13px; color: black !important; outline: none; width: 65%; background: white; box-sizing: border-box; }
#wtsp_form input[type=submit]{ background: #1faf31; font-size: 14px; padding: 12px 8px; cursor: pointer; width: 24%; display: flex; align-items: center;}

.dis_flex2 { text-align: center;}
.big_btns { background: #00000091; color: white; border-radius: 3px; font-size: 14px; padding: 10px; text-align: center; margin: 7px auto; width: 150px; display: inline-block; box-shadow: 0 0 10px rgb(0 0 0 / 50%); }
.big_btns i{}
.card2 h3:after { content: ''; background: black; width: 200px; position: absolute; height: 2px; bottom: -2px; left: 50%; transform: translate(-50%); }

#social_media_icons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 15px; margin: 20px auto; width: 100%; }
.social_med { box-shadow: 0 4px 11px rgba(0,0,0,0.08); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; justify-content: center; border-radius: 50px; background: transparent; }
.social_med:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.social_med i { display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; font-size: 30px; border-radius: 50%; margin: 0; padding: 0; transition: color 0.3s ease; }
.social_med img { height: 55px; width: auto; display: block; margin: 0; padding: 0; border-radius: 25px; }

.fa-x-twitter {background: #000000; color: white;}
.fa-twitter {background: #149bd2; color: white;}
.fa-facebook {background: #5858fd; color: white;}
.fa-linkedin {background:#007bb6; color:white}
.fa-youtube {background: #e63e3e; color: white;}
.fa-pinterest {background:#cb2027; color:white}
.fa-instagram {background: #fd01bb; color: white;}


.wtsp_share_btn { background: #1aab2c; font-size: 13px; font-weight: 600; padding: 11px 5px; cursor: pointer; width: 35%; color: white; border: none; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }

.card2 h3:after { content: ''; background: black; width: 200px; position: absolute; height: 2px; bottom: -2px; left: 50%; transform: translate(-50%); }
.card2 h3{text-align: center; font-size: 24px; margin: 0px auto 12px; font-weight: 400; letter-spacing: -1px;}
.card2 form{ max-width: 500px; margin: 0 auto;}
.card2 form input,.card2 form textarea{width: -webkit-fill-available; font-size: 14px; border-radius: 5px; padding: 10px; border: 1px solid #dedede; margin: 4px 26px; resize: vertical; background: #00000005;}
.card2 form input[type=submit]{ color: white; background: #4CAF50;}


.product_boxn img:hover { transform: scale(1.03) }

#about_us { text-align: center;}
#about_us h3{}
#about_us p{ white-space: pre-line; font-size: 14px; padding: 26px; margin: 10px auto; text-align: center; max-width: 800px;}
.search_bar { width: 96%; max-width: 655px; background: white; margin: 8px auto; display: grid; box-sizing: border-box; grid-template-columns: 80% 20%; border: 2px solid; border-radius: 5px; align-items: center; z-index: 10; height: fit-content; max-height: 50px;}
.search_bar input{ font-size: 20px; padding: 5px 30px; border: 0px;}
.search_bar button { border: none; height: -webkit-fill-available; font-size: 20px; }
.category_scroll { display: grid; grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto; width: fit-content; margin: 0 auto; overflow-x: auto; max-width: -webkit-fill-available;}
.category { height: 123px; width: 103px; overflow: hidden; background: white; margin: 3px; border-radius: 2px; padding: 2px; text-align: center;}
.category2 { height: fit-content; width: max-content; overflow: hidden; background: white; margin: 10px 2px; border-radius: 2px; padding: 7px; text-align: center;}
.category .fa-bars{ font-size: 40px; background: white; padding: 0px; width: 100px; text-align: center; height: 100px; display: grid; align-items: center; border-radius: 100px;}
.category img{ width: 100px; height: 100px; border-radius: 9px !important;}
.category p{ margin: 2px; padding: 0px; font-size: 12px;}
.category2 p{ margin: 2px; padding: 0px; font-size: 14px;}
.product_boxn { box-shadow: 0 0 10px rgb(0 0 0 / 50%); }
.product_boxn img{ box-shadow: 0 0 5px rgb(0 0 0 / 50%); }

#payment {}
#payment p{font-size: 19px; font-weight: 500; width: 77%; margin: 8px auto;}
#payment h2{font-size: 12px; font-weight: 500; width: 77%; margin: 0 auto;}
#payment img{ width: 30%; border-radius: 20px; margin: 10px 7px; max-height: 400px; }
.btn_buy { box-shadow: 0 0 6px rgb(0 0 0 / 50%); }



/* ====================================================================
   REMAINING CSS (Derived from ncss.css)
   ==================================================================== */
.full_page_alert { position: fixed; top: 0; left: 0; z-index: 9999999; width: 100%; width: -moz-available; width: -webkit-fill-available; width: stretch; height: 100%; height: -moz-available; height: -webkit-fill-available; height: stretch; box-sizing: border-box; padding: 63px; background: white; text-align: center; }
.btn2 { margin: 20px auto; transition: all 0.3s ease; background: #4caf50; color: white; padding: 14px 20px; width: fit-content; border-radius: 5px; }
.pdf_download { padding: 9px 15px; width: fit-content; margin: 4px 11px; border-radius: 5px; cursor: pointer; font-size: 14px; display: inline-block; }

.media_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; justify-items: center; margin-top: 15px; }
.media-item { position: relative; width: 100%; background: #000000; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; }
.media-item iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; margin: 0; padding: 0; }
.media-16x9 { aspect-ratio: 16 / 9; width: 100%; max-width: 560px; }
.media-9x16 { aspect-ratio: 9 / 16; width: 100%;}
.media-insta { aspect-ratio: 9 / 18.5; width: 100%; max-width: 320px; }

.modern_gallery_item { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; background: #ffffff; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #f1f5f9; }
.modern_gallery_item img { width: 100%; height: 100%; object-fit: fill; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); display: block; }

.gallery_title_overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); padding: 25px 15px 12px 15px; color: white; text-align: center; }
.gallery_title_overlay p { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.5px;}

.modern_profile_card { background: #ffffff; border-radius: 16px; padding: 25px 15px; text-align: center; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06); border: 1px solid #f8fafc; cursor: pointer; transition: all 0.3s ease; }
.profile_img_wrapper { width: 90px; height: 90px; margin: 0 auto 15px auto; border-radius: 50%; overflow: hidden; background: #f8fafc; border: 3px solid #ffffff; box-shadow: 0 6px 15px rgba(0,0,0,0.08); }
.profile_img_wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modern_profile_card h4 { margin: 0 0 5px 0; font-size: 16px; font-weight: 700; color: #1e293b; }
.modern_profile_card p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.5; }

.client_mode .profile_img_wrapper { border-radius: 12px; width: 120px; height: 80px; border: none; box-shadow: none; background: transparent; }
.client_mode .profile_img_wrapper img { object-fit: contain; }

.product_boxn { background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px -4px rgba(0,0,0,0.08); border: 1px solid #f1f5f9; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; width: 100%; max-width: 100%; box-sizing: border-box; }
.product_boxn img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-bottom: 1px solid #f1f5f9; }

.product_boxn .pr_nm { font-weight: 700; font-size: 15px; color: #1e293b; padding: 12px 12px 4px 12px; line-height: 1.2; }
.product_boxn .pr_dis { font-size: 12px; color: #64748b; padding: 0 12px; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product_boxn .pr_feature { font-size: 11px; color: #f59e0b; padding: 0 12px; font-weight: 600; }
.product_boxn .pr_am { font-size: 15px; font-weight: 700; color: #10b981; padding: 6px 12px; }
.order_btn1 { 
    width: 100%; 
    max-width: 400px; 
    display: block; 
    margin: 20px auto 10px auto ; 
    transition: all 0.3s ease; 
}
.order_btn1:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4); }

.add_to_cart, .btn_buy, .order_btn1 { background: #10b981; color: white; padding: 9px; text-align: center; font-size: 12px; font-weight: 600; box-shadow: 0 3px 5px rgba(16, 185, 129, 0.3); border-radius: 8px; margin: auto 3px 3px 3px; cursor: pointer; transition: 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.btn_buy { margin: auto 9px 9px 9px; } 

@media (hover: hover) {
    .modern_gallery_item:hover { transform: translateY(-6px); box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.12); }
    .modern_gallery_item:hover img { transform: scale(1.08); }
    .modern_profile_card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1); }
    .product_boxn:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(0,0,0,0.12); }
    .add_to_cart:hover, .btn_buy:hover { opacity: 0.85; transform: scale(0.98); }
}

.modern_gallery_grid, .modern_profile_grid, #search_result > div, #search_result2 > div { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 15px; width: 100%; padding-bottom: 15px; justify-content: center; }

[data-layout="grid"] .modern_gallery_item, [data-layout="grid"] .modern_profile_card, [data-layout="grid"] .product_boxn { width: calc(50% - 10px); max-width: 220px; flex-grow: 0; flex-shrink: 1; }
[data-layout="grid"] .modern_gallery_item { aspect-ratio: 1 / 1; }

[data-layout="list"] .modern_gallery_item, [data-layout="list"] .modern_profile_card, [data-layout="list"] .product_boxn { display: grid; grid-template-columns: 130px 1fr; gap: 0px 15px; align-items: start; text-align: left; padding: 15px; width: calc(50% - 10px); max-width: 100%; box-sizing: border-box; flex-grow: 0; }

@media (min-width: 1100px) {
    [data-layout="list"] .modern_gallery_item, [data-layout="list"] .modern_profile_card, [data-layout="list"] .product_boxn { width: calc(33.333% - 13px); }
}

[data-layout="list"] .modern_gallery_item > img, [data-layout="list"] .product_boxn > img, [data-layout="list"] .modern_profile_card > .profile_img_wrapper { grid-column: 1; grid-row: 1 / 10; width: 130px; height: 130px; border-radius: 12px; margin: 0; border: none; aspect-ratio: 1/1; object-fit: cover; }
[data-layout="list"] .modern_gallery_item > .gallery_title_overlay, [data-layout="list"] .product_boxn > div, [data-layout="list"] .product_boxn > a, [data-layout="list"] .modern_profile_card > h4, [data-layout="list"] .modern_profile_card > p { grid-column: 2; width: 100%; margin: 0; padding: 0; }

[data-layout="list"] .product_boxn .pr_nm { font-size: 16px; padding-bottom: 4px; align-self: end; }
[data-layout="list"] .product_boxn .pr_dis { font-size: 13px; padding-bottom: 5px; -webkit-line-clamp: 2; }
[data-layout="list"] .product_boxn .pr_am { font-size: 15px; padding-bottom: 5px; }

[data-layout="list"] .add_to_cart, [data-layout="list"] .btn_buy { margin: 5px 0 0 0 ; padding: 8px 15px; font-size: 12px; width: fit-content; display: inline-block; }
[data-layout="list"] .gallery_title_overlay { position: relative; background: transparent; padding: 0; }
[data-layout="list"] .gallery_title_overlay p { color: #1e293b; font-size: 16px; white-space: normal; }

[data-layout="tile"] .modern_gallery_item, [data-layout="tile"] .modern_profile_card, [data-layout="tile"] .product_boxn { width: 100%; max-width: 340px; flex-grow: 0; flex-shrink: 1; }
[data-layout="tile"] .modern_gallery_item { aspect-ratio: 4 / 3; border-radius: 20px; }
[data-layout="tile"] .gallery_title_overlay { padding: 40px 20px 20px 20px; }
[data-layout="tile"] .gallery_title_overlay p { font-size: 18px; }
[data-layout="tile"] .profile_img_wrapper { width: 130px; height: 130px; margin-bottom: 20px; }
[data-layout="tile"] .modern_profile_card h4 { font-size: 20px; }

[data-layout="tile"] .product_boxn img { height: 260px; aspect-ratio: auto; object-fit: cover; }
[data-layout="tile"] .product_boxn .pr_nm { font-size: 18px; padding-top: 15px; }
[data-layout="tile"] .add_to_cart, [data-layout="tile"] .btn_buy { margin: 15px; padding: 15px; font-size: 15px; }

#cart_info { position: fixed; bottom: 20px; left: 20px;  padding: 11px 18px; border-radius: 11px; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); z-index: 999; cursor: pointer; font-size: 16px; font-weight: 600; transition: transform 0.3s ease, box-shadow 0.3s ease; }
#cart_info:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5); }
#cart_info .crt_count { position: absolute; top: -8px; right: -8px; background: #ef4444; color: white; font-size: 12px; min-width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-weight: 700; border-radius: 50%; border: 2px solid #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

#cart_result { display: none; position: fixed; z-index: 15222; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); width: 93%; max-width: 600px; padding: 11px; max-height: 85vh; border-radius: 15px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.5); overflow-y: auto; }
#cart_result h3 { font-size: 22px; padding-bottom: 15px; margin: 0 0 15px 0; border-bottom: 2px solid #f1f5f9; color: #1e293b; font-weight: 700; }
.close_btnp { position: absolute; top: 20px; right: 25px; color: #94a3b8;padding: 6px 9px; font-size: 25px; cursor: pointer; transition: color 0.2s; }


/* Massively expanded hitbox for the close button */
.close_btnp { 
    position: absolute; 
    top: 15px; 
    right: 21px; 
    color: #94a3b8; 
    font-size: 24px; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    padding: 15px;
    z-index: 10; 
    border-radius: 5%;
}
.close_btnp:hover { 
    color: #ef4444; 
    background: rgba(239, 68, 68, 0.1);
}

.cart_table { 
    display: grid; 
    grid-template-columns: auto auto 1fr auto; /* Creates 4 distinct columns */
    gap: 2px 12px; /* Controls spacing naturally */
    padding: 15px 0; 
    align-items: center; 
    border-bottom: 1px dashed #e2e8f0;
}
.cart_table:last-of-type { border-bottom: none; }

.cart_table .cart_data:nth-child(1) { grid-column: 1; grid-row: 1 / 3; color: #64748b; font-weight: 600; } /* 1. Item Number */
.cart_table .cart_data:nth-child(2) { grid-column: 2; grid-row: 1 / 3; } /* 2. Image */
.cart_table .cart_data:nth-child(3) { grid-column: 3; grid-row: 1; align-self: end; } /* 3. Title (Top) */
.cart_table .cart_data:nth-child(4) { grid-column: 3; grid-row: 2; align-self: start; } /* 4. Price (Bottom) */
.cart_table .cart_data:nth-child(5) { grid-column: 4; grid-row: 1 / 3; justify-self: end; } /* 5. Trash Button */

/* Typography & Image sizing */
.cart_table .cart_data img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin: 0; }
.cart_data_pnm { padding: 0; text-align: left; }
.cart_data_pnm b { font-weight: 600; font-size: 15px; color: #1e293b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
.cart_pro_price { font-weight: 700; color: #10b981; font-size: 15px; padding: 0; }

.remove_btn { color: #ef4444; background: #fee2e2; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; font-weight: 600; font-size: 13px; white-space: nowrap; }
.remove_btn:hover { background: #ef4444; color: white; }

.card_loader_back { z-index: 9999; background: #ffffff; width: -webkit-fill-available; height: -webkit-fill-available; overflow: auto; position: fixed; top: 0; left: 0; }
.loader2 { background: #ffffffcc; width: -webkit-fill-available; height: 100%; position: fixed; top: 0; left: 0; }
.loader2 img{ width: 100px; margin: 71px auto 0px; display: block; border: 2px solid; border-radius: 114px; height: 100px; }
.loader2 h2 { text-align: center; color: #000000; font-size: 18px; text-transform: uppercase; }
.loader_box { width: 190px; margin: 3% auto 0px; display: grid; grid-template-columns: auto auto auto auto auto; text-align: center; height: 100px; align-items: end; }

.load1 { width: 27px; height: 27px; border-radius: 29px; bottom: 0; text-align: center; animation-delay:0s; }
.load2 { width: 27px; height: 27px; border-radius: 29px; text-align: center; bottom: 0; animation-delay:0.2s }
.load3 { width: 27px; height: 27px; border-radius: 29px; text-align: center; bottom: 0; animation-delay:0.4s }
.load4 { width: 27px; height: 27px; border-radius: 29px; text-align: center; bottom: 0; animation-delay:0.6s }
.load5 { width: 27px; height: 27px; border-radius: 29px; text-align: center; bottom: 0; animation-delay:0.8s }

.load1,.load2,.load3,.load4,.load5 { position: relative; display: block; margin: 0 auto; animation: bounce 1s ease-out infinite alternate; background: radial-gradient(#2196f3, #2196f300); }
.load1 {animation-delay:0s;}
.load2 {animation-delay:0.2s;}
.load3 {animation-delay:0.4s;}
.load4 {animation-delay:0.6s;}
.load5 {animation-delay:0.8s;}

.load1:after,.load2:after,.load3:after,.load4:after,.load5:after { content: ''; position: absolute; width: 0px; height: 0px; background: linear-gradient(180deg, black, transparent); top: -3px; left: 12px; }
@keyframes bounce { 0% {transform: translate(0, 0); height: 15px; box-shadow: 0px 22px 10px 0px #6d6d6d4f; } 30% {height: 27px; box-shadow: 0px 0px 0px 0px #6d6d6d4f; } 100% {transform: translate(0, -50px) ;height:27px;} }

.rating { display: block; position: relative; height: 50px; line-height: 50px; font-size: 32px; margin: 10px 21px; width: fit-content; }
.rating label { position: absolute; top: 0; left: 0; height: 100%; cursor: pointer; }
.rating label:last-child { position: static; }
.rating label:nth-child(1) { z-index: 5; }
.rating label:nth-child(2) { z-index: 4; }
.rating label:nth-child(3) { z-index: 3; }
.rating label:nth-child(4) { z-index: 2; }
.rating label:nth-child(5) { z-index: 1; }
.rating label input { position: absolute; top: 0; left: 0; opacity: 0; }
.rating label .icon { float: left; color: transparent; }
.rating label:last-child .icon { color: #b7b5b5; }
.rating:not(:hover) label input:checked ~ .icon, .rating:hover label:hover input ~ .icon { color: #ff9d0c; }
.rating label input:focus:not(:checked) ~ .icon:last-child { color: #000; text-shadow: 0 0 5px #09f; }

.note { font-size: 10px; text-align: center; color: #313238; }
#feedback_form .close { font-size: 33px; text-align: end; padding: 0px 10px; font-weight: 500; color: #ff0202; cursor: pointer; }
.select_star { margin: 0px 25px; color: gray; }
.feedback_row { display: grid; overflow-x: auto; grid-template-columns: auto auto auto auto auto auto; padding: 0px 19px 20px; width: fit-content; margin: 10px auto; max-width: -webkit-fill-available; }
.feedback_block { padding: 10px 10px 38px; width: 300px; overflow: hidden; box-shadow: 0px 0px 20px 0px #cccccc36; margin: 2px; border-radius: 9px; font-weight: 600; border: 1px solid #7373737a; }
.feed_by { color: #444242; text-decoration: underline; text-transform: capitalize; font-size: 12px; }
.tag_feed { padding: 0px 32px; color: #f44336; }
.feed_back { white-space: pre-wrap; }
.feedback_block .star { display: inline-block; color: #ff9800; font-size: 25px; z-index: 3; }
.feedback_block .star_rate { font-size: 11px; }
.feed_date { position: absolute; right: 9px; bottom: 9px; font-size: 11px; }

.view_counter { width: fit-content; max-width: 200px; text-align: center; font-size: 11px; padding: 6px 12px; background: rgba(0, 0, 0, 0.65); color: white; margin: 0 auto; top: -12px; position: absolute; left: 50%; transform: translateX(-50%); z-index: 22; border: 2px solid white; border-radius: 37px; }
.fa-comment-dots { background: #1cbdff; color: white; }
.error_page { position: fixed; width: 100%; height: 100%; background: white; z-index: 999999; top: 0; left:0; text-align:center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error_page i { font-size: 70px; margin-bottom: 20px; color: #ef4444; }
.error_page h1 { color: #475569; margin: 0; }
.error_page p { font-size: 15px; color: #64748b; font-weight: 500; margin: 15px; font-style: italic; }
.error_page .home_btn { background: #3b82f6; width: fit-content; margin: 10px auto; padding: 13px 30px; color: white; border-radius: 8px; font-weight: 600; transition: 0.3s; }
.error_page .home_btn:hover { background: #2563eb; transform: translateY(-2px); }

.oh_btn { background: #f8fafc; color: #334155; padding: 12px 24px; border-radius: 8px; font-size: 15px; width: fit-content; font-weight: 700; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: all 0.3s ease; display: inline-block; cursor: pointer; }
.oh_btn:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.oh_block { background: #ffffff; padding: 18px 15px; margin: 15px auto 0 auto; border-radius: 12px; border: 1px solid #f1f5f9; box-shadow: 0 10px 25px rgba(0,0,0,0.05); width: 96%; max-width: 455px; }
.oh_block { 
    background: #ffffff; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    width: 96%; 
    max-width: 425px; 
    margin: 0px auto; 
    border: 0px solid transparent; 
    max-height: 0px;
    padding: 0px 15px;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}
.oh_block.is-open {
    /* The Visible State */
    max-height: 1000px; 
    padding: 18px 15px;
    margin-top: 15px;
    border: 1px solid #f1f5f9;
    opacity: 1;
}
.oh_block h3 { margin-top: 0; margin-bottom: 15px; color: #1e293b; text-align: center; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; font-size: 18px;}
.op_hour { display: flex; flex-direction: column; }
.oh_grid { display: flex; justify-content: space-between; align-items: center; padding: 12px 5px; border-bottom: 1px dashed #e2e8f0; }
.oh_grid:last-child { border-bottom: none; }
.oh_grid h5 { margin: 0; font-size: 15px; font-weight: 600; color: #475569; }
.time_boxes { display: flex; align-items: center; gap: 15px; }
.time_badge { background: #f8fafc; color: #334155; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; border: 1px solid #e2e8f0; }
.time_separator { color: #94a3b8; font-weight: 500; }
.oh_closed { color: #ef4444; font-weight: 700; font-size: 14px; padding: 6px 0; }

.menu_bottom { width: 300px; text-align: center; position: fixed; top: 0; z-index: 999; right: -700px; overflow-x: auto; height: -webkit-fill-available; }
.menu_container { text-align: left; width: -webkit-fill-available; padding-top: 50px; }
.menu_item{ align-items: center; font-weight: 500; display: flex; font-size: 14px; padding: 14px 30px; width: -webkit-fill-available; text-align: left; }
.menu_item i{ font-size: 20px; margin: 6px 10px; }
.menu_close { position: fixed; right: 4px; top: 5px; z-index: 10; }
.menu_close i { background: #82828296; color: white; padding: 10px 12px; font-size: 22px; z-index: 10; border: 1px solid gray; border-radius: 5px; }
.menu_close i:hover { background: #000000; }
.menu_item:hover { background: #00000036; }

.lightbox_overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 9999999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease-in-out; }
.lightbox_overlay.active { opacity: 1; visibility: visible; }
.lightbox_content_wrapper { position: relative; max-width: 90%; max-height: 90%; display: flex; flex-direction: column; align-items: center; text-align: center; }
#lightbox_img { max-width: 100%; max-height: 75vh; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); object-fit: contain; }
#lightbox_caption { color: white; margin-top: 15px; font-size: 16px; font-weight: 500; letter-spacing: 0.5px; }
.lightbox_top_bar { position: absolute; top: -40px; width: 100%; display: flex; justify-content: space-between; color: white; font-size: 16px; }
.lightbox_close { cursor: pointer; font-size: 24px; transition: color 0.2s; }
.lightbox_close:hover { color: #ef4444; }
.lightbox_nav { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 25px; cursor: pointer; padding: 15px; transition: 0.2s; z-index: 10; background: rgba(255, 255, 255, 0.1); border-radius: 50%; }
.lightbox_nav:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox_prev { left: -70px; }
.lightbox_next { right: -70px; }

@media screen and (max-width:600px){
    .search_bar { z-index: 1003; }
    #payment img { width: 90%; border-radius: 20px; margin: 10px 7px; }
    .dis_flex { text-align: center; padding: 0px 14px; display: grid; grid-template-columns: auto auto auto; }
    .contact_details .contact_d i { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; margin: 2px 9px 2px 0px; font-size: 21px; padding: 0; background: #f9897b; color: white; }
    #social_media_icons { gap: 11px; margin: 10px auto; }
    .social_med i { width: 51px; height: 51px; font-size: 30px; }
    .social_med img { height: 51px; border-radius: 21px; }
    #wtsp_form input { font-size: 13px; border: 0px; padding: 13px; color: black !important; outline: none; width: 65%; background: white; box-shadow: 0px 0px 10px 0px #0000002e; }
    .wtsp_share_btn { background: #1aab2c; font-size: 13px; padding: 11px 5px; cursor: pointer; width: 50%; color: white; display: inline-block; }
    #about_us p { font-size: 14px; }

    .lightbox_prev { left: -15px; padding: 10px; font-size: 20px;}
    .lightbox_next { right: -15px; padding: 10px; font-size: 20px;}
    #lightbox_img { max-height: 65vh; }
    .lightbox_top_bar { top: -35px; }
    
    .modern_gallery_grid, .modern_profile_grid, #search_result > div, #search_result2 > div { gap: 9px; }
    [data-layout="grid"] .modern_gallery_item, [data-layout="grid"] .modern_profile_card, [data-layout="grid"] .product_boxn { width: calc(50% - 4.5px); max-width: 99%; box-sizing: border-box; }
    
    [data-layout="list"] .modern_gallery_item, [data-layout="list"] .modern_profile_card, [data-layout="list"] .product_boxn { width: 99%; grid-template-columns: 100px 1fr; gap: 1px 11px; padding: 10px; }
    [data-layout="list"] .modern_gallery_item > img, [data-layout="list"] .product_boxn > img, [data-layout="list"] .modern_profile_card > .profile_img_wrapper { width: 100px; height: 100px; }
    
    [data-layout="tile"] .modern_gallery_item, [data-layout="tile"] .modern_profile_card, [data-layout="tile"] .product_boxn { max-width: 98.5%; }
    [data-layout="tile"] .product_boxn img { height: 250px; }

    
    .containerimg { position: relative; max-width: 400px; width: auto; margin: 0 auto; }
}


/* DYNAMIC THEME COLOR INJECTIONS (Mapped to CSS Variables) */
.pdf_download:hover, .dis_flex .link_btn i, .big_btns, .menu_bottom, .search_bar button, .contact_details .contact_d:hover i, 
.category2, .category, .card2 h3:after, .oh_btn, .btn_buy {
    background-color: var(--accent-bg) !important;
    color: var(--accent-text) !important;
}
    
.pdf_download, #cart_info, .time_badge, .contact_details .contact_d i, .btn_buy:hover, .color_change {
    background-color: var(--accent-text) !important;
    color: var(--accent-bg) !important;
    border: 1px solid var(--accent-bg) !important;
}


