/**************************************************

 * Category Sidebar Styling

 **************************************************/


#ipc-sidebar {
	background: #ffffff;
	border: 1px solid #e2e2e2;
	padding: 15px;
	border-radius: 6px;
      
}

#ipc-product-card {
	padding: 5px;
	width: 200px;
	border: 1px solid #ddd;
	background-color: #fff !important;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#ipc-sidebar h3 {

	font-size: 18px;

	margin-bottom: 12px;

	font-weight: 600;

	border-bottom: 2px solid #f0f0f0;

	padding-bottom: 6px;

}


.ipc-parent-row:hover {
	background: #f5f7fa;
}


.ipc-toggle {

	width: 18px;

	height: 18px;

	border: 1px solid #666;

	margin-right: 8px;

	font-size: 14px;

	font-weight: 600;

	border-radius: 3px;

	display: flex;

	align-items: center;

	justify-content: center;

	background: #fafafa;

	cursor: pointer;

}


/* Level 1 category */

.ipc-level-1 {

	font-size: 15px;

	margin: 6px 0 4px 20px;

	padding: 4px 0;

	font-weight: 600;

}


/* Level 2 category */

.ipc-level-2 {

	font-size: 14px;

	margin: 4px 0 4px 40px;

	color: #444;

}


/* Child (product) checkbox categories */

.ipc-child-checkbox {
	margin-left: 60px;
	margin-top: 4px;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	font-size: 14px;
}

.ipc-child-checkbox input {
	margin-right: 6px;
	cursor: pointer;
}

/**************************************************
 * Product Grid
 **************************************************/
.ipc-product-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;

}

.ipc-product-card:hover {
	border: 2px dotted #0080ff;
	color: #0073aa;
	box-shadow: 0 3px 16px 0 rgba(0, 0, 0, .11);
}


.ipc-cat-tooltip {
	position: absolute;
	bottom: 7px;
	left: 6px;
	background: rgb(15 18 22 / 79%);
	color: #fff;
	padding: 9px 2px 0px 2px;
	border-radius: 6px;
	display: none;
	backdrop-filter: blur(4px);
	z-index: 20;
	width: 175px;
	height: 184px;
	line-height: 21px;
}

.ipc-cat-tooltip h4 {
	margin: 0;
	font-size: 14px;
	color: #fff;
}

.ipc-cat-tooltip p {
	margin: 0;
	font-size: 14px;
	color: #fff;
}

.ipc-desc {
	font-size: 11px;
	line-height: 10px
}

.ipc-product-card h4 {

	font-size: 15px;

	margin-bottom: 5px;

	font-weight: 600;

}


#ipc-reset-filter {

	margin-top: 12px;

	background: #eb1505;

	color: white;

	border: none;

	border-radius: 4px;

	cursor: pointer;

	width: 100%;

}


#ipc-reset-filter:hover {

	background: #006299;

}


/* =============[ custt]== */

.badge-primary {

	color: #fff;

	background-color: #1ac010;

	border-radius: 10px;

	padding: 0px 6px;

	display: inline-block;

	font-size: 12px;

}

/* ------------------------------

   General UL Reset

------------------------------ */

.ipc-cat-level {

	list-style: none;

	margin: 0;

	padding: 0;

}


/* ------------------------------

   Main Category Row (Level 0)

------------------------------ */

.ipc-parent-row {
	padding: 10px 12px;
	background: #fff;
	border: 1px dotted #6b6b6b;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	transition: 0.2s ease-in-out;
	cursor: pointer;
	margin-top: 11px;
	font-size: 16px;
        font-weight: 500;
}


.ipc-parent-row:hover {

	background: #efefef;

}


/* ------------------------------

   Toggle Button (+ / -)

------------------------------ */

.ipc-toggle {

	width: 20px;

	height: 20px;

	border: 1px solid #666;

	border-radius: 22px;

	text-align: center;

	line-height: 18px;

	margin-right: 10px;

	cursor: pointer;

	background: white;

	font-weight: bold;

	transition: 0.2s;

}


.ipc-toggle:hover {

	background: #e5e5e5;

}


/* ------------------------------

   Level 1 Category (Child of Main)

------------------------------ */

.ipc-level-1 {

	margin-left: 20px;

	font-size: 15px;

	font-weight: 600;

	margin-top: 8px;

	margin-bottom: 4px;

	color: #333;

}


/* ------------------------------

   Level 2 Category

------------------------------ */

.ipc-level-2 {

	margin: 4px 0px 0px 48px !important;

	font-size: 14px;

	font-weight: 500;

	margin: 4px 0;

	color: #444;

}


/* ------------------------------

   Level 3+ (Product Checkbox)

------------------------------ */

.ipc-product-label {

	display: block;

	margin: 4px 0;

	margin-left: 65px !important;

	font-size: 13px;

	color: #222;

	cursor: pointer;

}


.ipc-product-label input[type="checkbox"] {

	margin-right: 6px;

	cursor: pointer;

}


/* ------------------------------

   Children Wrapper Slide Area

------------------------------ */

.ipc-main-category {

	margin-bottom: 30px;

}


.ipc-products-grid {

	display: flex;

	flex-wrap: wrap;

	gap: 15px;

}


.ipc-product-card {
	flex: 0 0 calc(25% - 15px);
	/* 4 columns */
	box-sizing: border-box;
	background: #fff;
	text-align: center;
	cursor: pointer;
	position: relative;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
    	width: 190px;
	height: 200px
}


.ipc-product-grid-wrapper .ipc-category-label {

	border: 1px solid #ddd;

	padding: 8px;

	text-align: center;

	text-transform: uppercase;

	background-color: #dddddd63;

	box-shadow: 2px 1px #ddd;

	margin-bottom: 15px;

	margin-top: 10px;
	font-size: 14px;

}

.npf {

	text-align: center;

	border: 1px solid #ddd;

	padding: 10px;

	color: #d20000;

	font-size: 23px;

	font-family: monospace;

	text-shadow: 2px 2px #dddddd91;

}

.prod-btn {

	display: inline-block;

	padding: 5px;

	width: 100%;

	background: #007bff;

	color: #fff;

	border-radius: 6px;

	text-decoration: none !important;

}

.prod-btn:hover {

	color: #fff;

}

.not-found {

	text-align: center;

	border: 1px solid #ddd;

	padding: 10px;

	color: #ff3a3a;

	font-size: 18px;

	font-family: monospace;

	text-shadow: 2px 2px #dddddd91;

}

.plist-head {

	border: 1px solid #97979740;
	padding: 10px;
	margin-bottom: 10px;
	/* border-radius: 4px; */
	font-weight: 500;
	text-align: center;
	background-color: #dddddd00;
	box-shadow: 0px 2px 0px 0px #f7f7f7;

}

/* ===================================== */
/* -------------------------
   GENERAL STYLES
---------------------------*/
#ipc-global-filter {
	margin-bottom: 10px;
}

#ipc-global-filter input {
	width: 100%;
	padding: 10px 9px 12px 44px;
	border-radius: 0px;
	border: 1px dotted #706767;
	height: 53px;
	font-size: 14px;
	font-weight: 500;
}

/* -------------------------
   TOP LEVEL PARENT
---------------------------*/


.ipc-parent-row:hover {
	background: #c4cdd640;
	box-shadow: 1px 1px 1px 1px #e9e9e9d1;
	border: 1px dotted #007bff;
}

.ipc-toggle {
	display: inline-block;
	width: 20px;
	text-align: center;
	margin-right: 6px;
	font-weight: bold;
}

/* -------------------------
   LEVEL 2 CHILD
---------------------------*/
.ipc-child-row {
	cursor: pointer;
	padding: 6px 10px;
	/* background: #f1f1f1; */
	border: 1px dotted #e0e0e0 !important;
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.ipc-child-row:hover {
	border: 1px dotted #ccc;
}

.ipc-toggle-child {
	display: inline-flex;
	/* Use flex for easy centering */
	justify-content: center;
	/* Horizontal center */
	align-items: center;
	/* Vertical center */
	width: 20px;
	height: 20px;
	/* Make height equal width for perfect square/circle */
	text-align: center;
	margin-right: 6px;
	font-weight: bold;
	border: 1px solid #0f12308c;
	border-radius: 50%;
	/* Uncomment if you want it circular */
	box-sizing: border-box;
}

/* -------------------------
   FINAL LEVEL CHECKBOXES
---------------------------*/
.ipc-product-label {
	display: block;
	margin: 4px 0;
	font-size: 13px;
	cursor: pointer;
}

.ipc-product-label input[type="checkbox"] {
	margin-right: 6px;
}

/* -------------------------
   COLLAPSIBLE CONTAINERS
---------------------------*/
.ipc-children,
.ipc-subchildren {
	padding-left: 0px;
	border-left: 1px dashed #ddd;
}

/* -------------------------
   CATEGORY TITLE (LEVEL 2+)
---------------------------*/
.ipc-category-label {
	font-weight: 600;
	font-size: 14px;
}

/* ============================== */
#ipc-search {
	width: 100%;
	padding: 8px 12px 8px 35px;
	/* left padding for icon */
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: url('data:image/svg+xml;utf8,<svg fill="%23aaa" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 14h-.79l-.28-.27a6.471 6.471 0 001.48-5.34C15.23 5.01 12.71 2.5 9.5 2.5S3.77 5.01 3.77 8.39s2.52 5.89 5.73 5.89c1.61 0 3.09-.66 4.14-1.72l.27.28v.79l4.25 4.25c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat 10px center;
	background-size: 25px 40px;
}

/* Gpon OLt -> SFP -> GPONSFP */
#ipc-child-2 .ipc-category-label[style*="margin-left:20px"] {
    border: 1px dotted #6b6666 !important;
    margin-left: 10px !important;
    margin-bottom: 6px;
    padding: 10px 9px;
}

/* ===========================[]==================================== */
/* ---------------------------------------------
   Extra Small Mobile (0px – 480px)
--------------------------------------------- */
@media (max-width: 480px) {
 .ipc-product-card{
    flex: 0 0 calc(25% - 15px);
    box-sizing: border-box;
    background: #fff;
    text-align: center;
    cursor: pointer;
    position: relative;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 200px;
    width: 100% !important;
 }
.ipc-cat-tooltip{
  position: absolute;
    bottom: 7px;
    left: 6px;
    background: rgb(15 18 22 / 79%);
    color: #fff;
    padding: 9px 2px 0px 2px;
    border-radius: 6px;
    display: none;
    backdrop-filter: blur(4px);
    z-index: 20;
    width: 100% !important;
    height: 184px;
    line-height: 21px;
 }
}


/* ---------------------------------------------
   Small Mobile (0px – 576px)
--------------------------------------------- */
@media (max-width: 576px) {
    .sm-mobile {
        background: #e3f2fd;
    }
}


/* ---------------------------------------------
   Tablets Portrait + Mobiles Landscape
   576px – 768px
--------------------------------------------- */
@media (max-width: 768px) {
    .tablet-mobile {
        background: #fff3e0;
    }

    /* Example: Make 2-column grid into 1-column */
    .grid-2 {
        display: block;
    }
}


/* ---------------------------------------------
   Tablets Landscape / Small Laptops (≤ 992px)
--------------------------------------------- */
@media (max-width: 992px) {
    .tablet-land {
        background: #e8f5e9;
    }

    /* Example: Resize heading */
    h1 {
        font-size: 1.8rem;
    }
}


/* ---------------------------------------------
   Laptops / Desktops (≤ 1200px)
--------------------------------------------- */
@media (max-width: 1200px) {
    .desktop {
        background: #ede7f6;
    }
}


/* ---------------------------------------------
   Extra Large Screens (≥ 1200px)
--------------------------------------------- */
@media (min-width: 1200px) {
    .xl-desktop {
        background: #e1f5fe;
    }
}
