@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
body {
  font-family: 'Open Sans', sans-serif;
}

/* ===== Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}
body {
    font-family: 'Open Sans', sans-serif;
    background: #f5f5f5;
    color: #333;
}
a {
    text-decoration: none;
    color: inherit;
}
.products_sec{
    padding: 60px 0px;
}
.products-details {
    width: 100%;
}
.products_nave {
    flex: 0 0 320px;
}
.page-banner-section {
    padding: 65px 0 65px;
    position: relative;
    background: url('../images/ban.jpg') center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}
.page-banner-section .container {
    position: relative;
    z-index: 2;
    background: transparent;
    box-shadow: unset;
    padding: 0px;
    max-width: 1200px;
    margin: 20px auto;
}
.page-banner-section .row{
    width: 100%;
}
.product-card ul.specs_cunt {
    margin-top: 10px;
    height: 150px;
    overflow: hidden;
}
.product-card ul.specs_cunt li{
    font-size: 14px;
}
.acc-panel .sub-panel {
    margin-left: 15px;
}
.page-banner-section h2 {
    color: #515252;
    font-size: 35px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    margin: 0 0 15px;
    margin-bottom: 0;
    text-transform: capitalize;
    float: left;
}
.page-banner-section ul.page-depth li {
    display: inline-block;
    margin-left: 1px;
}
ul.page-depth {
    float: right;
}
.page-banner-section .col-md-12 {
    padding: 0px 15px;
}
.page-banner-section ul.page-depth li a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    color: #515252;
    font-weight: 600;
}
.page-banner-section ul.page-depth li a:hover {
    color: #0868b2;
}
.page-banner-section ul.page-depth li:before {
    content: '/';
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    color: #515252;
    margin-right: 5px;
}
.page-banner-section ul.page-depth li:first-child:before {
    content: '';
    margin-right: 0;
}
.page-banner-section:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
/* ===== Page Layout ===== */
.page {
    max-width: 1170px;
    margin: 16px auto;
    padding: 0 12px;
}
.breadcrumb {
    font-size: 13px;
    color: #6E6E6E;
    margin-bottom: 12px;
}
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.header-row h1 {
    font-size: 18px;
}
.header-row .meta {
    font-size: 14px;
    color: #6E6E6E;
}
.layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
}
/* ===== Sidebar ===== */
.sidebar {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}
.sidebar h4 {
    margin: 8px 0;
    font-size: 14px;
}
.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
    font-size: 14px;
}
.checkbox input {
    width: 16px;
    height: 16px;
}
.clear-btn {
    display: inline-block;
    background: transparent;
    color: #0868b2;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}
/* Accordion */
 .acc-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0px;
    padding: 10px 0px;
}
.acc-trigger {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0px;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0px;
    color: #0868b2;
    margin-bottom: 0px;
}
button.sub-acc-trigger {
    background: transparent;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 15px;
    font-weight: 600;
    margin: 10px 0px;
    cursor: pointer;
}
.acc-panel,
.sub-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    margin-bottom: 8px;
}
/* ✅ scrollbar hide pannura code */
.sidebar::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
/* ✅ Firefox support */
.sidebar {
    scrollbar-width: none;
}
.acc-panel .checkbox,
.sub-panel .checkbox {
    margin-left: 12px;
}
/* Price slider */
.price-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0;
}
.price-inputs {
    display: flex;
    gap: 6px;
}
.price-inputs input {
    width: 80px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.range-slider {
    position: relative;
    height: 6px;
    background: #eee;
    border-radius: 3px;
}
.range-slider input[type=range] {
    position: absolute;
    width: 100%;
    top: -5px;
    pointer-events: none;
    background: none;
}
.range-progress {
    position: absolute;
    height: 6px;
    background: #0868b2;
    border-radius: 3px;
    top: 0;
}
.range-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0868b2;
    -webkit-appearance: none;
    cursor: pointer;
}
/* ===== Content ===== */
.content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sort-row {
    /*display: flex;*/
    display:none;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    flex-wrap: wrap;
}
.sort-row .left {
    font-size: 14px;
}
.sort-row .right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.pill {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-card {
    /* display: flex; */
    gap: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    align-items: center;
    min-height: 180px;
}
.sort-row input {
    height: 35px;
    border: 1px solid #cdcd;
    padding: 20px;
}
.sort-row input:focus, .sort-row input:focus-within, select:focus, select:focus-within{
    outline: none;
}
.sort-row .left {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sort-row .right {
    flex-wrap: wrap;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
select {
    height: 40px;
    border: 1px solid #cdcd;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img {
    width: 100%;
    max-height: 210px;
    background: #eef2ff;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.product-img img {
    width: 100%;
    height: 100%;
    background: #eef2ff;
}
.product-info {
    flex: 1;
    min-width: 0;
    max-height: 200px;
}
.product-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
    text-align: left;
}
.specs {
    font-size: 13px;
    color: #6E6E6E;
    margin: 4px 0;
    padding: 0;
    list-style: none;
}
.product-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    margin-top: 4px;
}
.rating {
    background: #eaf7ee;
    color: #0868b2;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
}
.price-col {
    width: 120px;
    text-align: right;
    flex-shrink: 0;
}
.price {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
}
li::marker {
    content: "";
    display: none;
}
.old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-top: 4px;
}
.badge {
    display: inline-block;
    background: #f0f7ff;
    color: #0868b2;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 13px;
    margin-top: 4px;
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.pagination .pill {
    background: #fff;
    border: 1px solid #ddd;
}
.pagination .pill.active {
    background: #0868b2;
    color: #fff;
    border: none;
}
.thumbnail img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
}
/* Mobile filter button */
.mobile-filter-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 999;
    padding: 10px 14px;
    background: #0868b2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: none;
}
.fld-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #cdcd;
    padding-bottom: 10px;
}
.fld-head h2 {
    font-size: 20px;
    color: #000;
    margin: 0;
}
.product_sec .container {
    display: flex;
    max-width: 1170px;
    margin: 20px auto;
    background: #fff;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
}
.left-section {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    border-right: 1px solid #eee;
    scrollbar-width: none;
}
.left-section::-webkit-scrollbar {
    display: none;
}
.left-section .thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.left-section img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    height: 400px;
    object-fit: contain;
    background: #f5f6f7;
}
.left-section .thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid #ccddcc24;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}
.left-section .thumbnail.active {
    border: 2px solid #0868b2;
}
.right-section {
    flex: 1.5;
    padding: 0 10px;
}
.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.price-section {
    font-size: 1.6rem;
    color: #0868b2;
    font-weight: 700;
    margin: 10px 0;
}
.old-price {
    font-size: 1rem;
    color: #6E6E6E;
    text-decoration: line-through;
    margin-left: 10px;
}
.protect-fee {
    font-size: 0.85rem;
    color: #6E6E6E;
    margin-top: 5px;
}
.coupon,
.offer,
.available-offers,
.delivery-check,
.highlights,
.seller-info,
.product-desc,
.specs {
    background: #f9fafb;
    padding: 14px 16px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #e5e7eb;
}
.coupon h3,
.offer h3,
.available-offers h3,
.delivery-check h3,
.highlights h3,
.seller-info h3,
.product-desc h3,
.specs h3 {
    font-size: 1rem;
    color: #222222;
    margin-bottom: 8px;
}
.coupon p,
.available-offers li,
.delivery-check p,
.highlights li,
.seller-info p,
.product-desc p,
.specs td {
    font-size: 0.9rem;
    line-height: 1.4;
}
.black {
    font-weight: 600;
    color: #222222;
}
.blue {
    color: #0868b2;
    cursor: pointer;
    font-weight: 500;
}
.buy-section {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-cart {
    background: #0868b2;
    color: #fff;
}
.btn-buy {
    background: #fb641b;
    color: #fff;
}
.btn:hover {
    opacity: 0.9;
}
.ram-btns,
.screen-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
}
.ram-btn,
.screen-btn {
    padding: 6px 12px;
    border: 2px solid #0868b2;
    background: #fff;
    color: #0868b2;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}
.ram-btn.active,
.screen-btn.active {
    background: #0868b2;
    color: #fff;
}
.radio-group {
    margin: 10px 0;
}
.radio-group label {
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
}
.radio-group input[type="radio"] {
    margin-right: 8px;
}
.product-desc img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}
.product_sec table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.product_sec table td,
.product_sec table th {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}
.product_sec table th {
    background: #f3f3f3;
    font-weight: 600;
}
/* ✅ Custom Checkbox */
.product_sec .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 28px;
    margin: 6px 0;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    user-select: none;
}
.product_sec .checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.product_sec .checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 18px;
    width: 18px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.product_sec .checkbox input:checked ~ .checkmark {
    background-color: #0868b2;
    border-color: #0868b2;
}
.product_sec .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.product_sec .checkbox input:checked ~ .checkmark:after {
    display: block;
}
.product_sec .checkbox .checkmark:after {
    left: 5px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* Modal */
.modal {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    justify-content:center;
    align-items:center;
    z-index:1000;
    animation:fadeIn .4s;
}
.modal.active {display:flex;}
    @keyframes fadeIn {
    from{opacity:0;}
    to{opacity:1;}
}
#formModal .modal-content {
    background:#fff;
    width:90%;
    max-width:420px;
    border-radius:12px;
    padding:25px 30px;
    position:relative;
    animation:zoomIn .3s ease;
}
@keyframes zoomIn {
    from{transform:scale(.8);opacity:0;}
    to{transform:scale(1);opacity:1;}
}
#formModal .close-btn {
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    right: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -12px;
    background: #0761a6;
    border: 1px solid #0865ac;
    color: #fff;
}
.product_sec h2 {
    text-align:left;
    color:#333;
}
#formModal .form-group {
    margin-bottom:20px;
    position:relative;
}
#formModal .form-group label {
    display:block;
    margin-bottom:6px;
    font-weight:600;
    color:#222;
}
#formModal .form-group input,
#formModal .form-group textarea {
    width:100%;
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:14px;
    transition:.3s;
}
#formModal .form-group input:focus,
#formModal .form-group textarea:focus {
    border-color:#0868b2;
    outline:none;
}
#formModal .error-msg {
    display: none;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    animation: fadeError .3s;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -15px;
}
@keyframes fadeError {
    from{opacity:0;}
    to{opacity:1;}
}
.btn-submit {
    background:#0868b2;
    color:#fff;
    border:none;
    width:100%;
    padding:12px;
    border-radius:6px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
    margin-bottom: 0px;
}
.btn-submit:hover {background:#0868b2;}
/* ✅ Success Modal */
.success-box {
    border-radius: 10px;
    text-align:center;
    padding:40px 20px;
    animation:zoomIn .4s ease;
    background: #fff;
}
.success-icon {
    font-size:60px;
    color:#2ecc71;
    margin-bottom:15px;
    animation:pop .6s ease;
}
@keyframes pop {
    0%{transform:scale(0);}
    80%{transform:scale(1.2);}
    100%{transform:scale(1);}
}
.success-box h3 {
    color:#333;
    font-size:22px;
    margin-bottom:10px;
}
.success-box p {
    color:#6E6E6E;
    font-size:15px;
    margin-bottom:20px;
}
.ok-btn {
    background:#0868b2;
    color:#fff;
    padding:10px 20px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}
.page-banner-section .col-md-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
span.caret svg {
    display: inline-block;
    cursor: pointer;
    width: 6px;
    height: 11px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

span.caret svg path {
    fill: #000;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 12px 18px;
  }

  .pagination button {
    background: #f1f4f9;
    border: none;
    color: #333;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.25s ease;
  }

  .pagination button:hover:not(:disabled) {
    background: #0868b2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(11, 116, 222, 0.25);
  }

  .pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #e4e7eb;
  }

  .pagination button.active {
    background: #0868b2;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(11,116,222,0.25);
  }
.product_sec .acc-item.ro-radio span.checkmark {
    border-radius: 50%;
}
.left-section img.main-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.thumbnail-container .thumbnail img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.3s;
}

.thumbnail.active img,
.thumbnail:hover img {
  border-color: #0078d7;
  transform: scale(1.05);
}

/* Owl dots & arrows */
.owl-nav button {
  background: #0078d7 !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 30px;
  height: 30px;
  margin: 0 5px;
}
button.owl-prev {
    position: absolute;
    bottom: 15px;
    
    left: -20px;
}

.thumbnail-container {
    position: relative;
    padding: 0px 30px;
}
button.disabled {
    background: #0078d7 !important;
    opacity: 60%;
    cursor: not-allowed !important;
}
button.owl-next {
    position: absolute;
    bottom: 15px;
    right: -20px;
}
.owl-nav button:hover {
  background: #005ea2 !important;
}
  /* Optional animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .pagination { animation: fadeIn 0.4s ease; }
  /* Responsive tweak */
@media (max-width:480px){
    .modal-content{width:95%;padding:20px;}
}
/* Sidebar for mobile slide-in */
@media (max-width:900px) {
    .layout {
    grid-template-columns: 1fr;
}
.product-card {
    flex-direction: column;
    align-items: stretch;
}
.product-img {
    width: 100%;
    height: 200px;
}
.price-col {
    width: 100%;
    text-align: left;
    margin-top: 8px;
}
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 14px;
    overflow-y: auto;
    z-index: 998;
    max-height: 100%;
}
.sidebar.active {
    transform: translateX(0);
}
.left-section img{
    height: 260px;
}
.mobile-filter-btn{
    display: block;
}
}
@media(max-width:768px) {
.container {
    flex-direction: column;
}
.left-section {
    position: relative;
    top: auto;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid #eee;
    width: 100%;
}
}
@media(max-width:680px) {
.product_sec .container{
    margin: 0px;
    padding: 0px;
}
.product-desc tr {
    display: flex;
    flex-wrap: wrap;
}
.product-desc table td{
    width: 100%;
}
.buy-section {
    position: fixed;
    bottom: -20px;
    background: #f6f7fb;
    width: 100%;
    left: 0;
    padding: 10px;
    border: none;
}
.right-section{
    padding-bottom: 70px;
}
.sort-row input, .sort-row select {
    width: 100%;
}

.sort-row .left, .sort-row .right {
    flex-wrap: wrap;
}

.sort-row {
    flex-wrap: nowrap;
    gap: 10px;
}
}

#formModal h2 {
    text-align: center;
    padding: 4px 10px 10px 10px;
    margin: 3px 10px 10px 10px;
    text-decoration: underline;
}


/* HTML: <div class="loader"></div> */
#apiloader {
  width: 60px;
  text-align: center;
  margin-left: 50%;
  margin-top: 20%;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

.col-sm-12 {
    flex: 0 0 100%;
}

/* Tablet (>=768px) */
@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Laptop / Desktop (>=1024px) */
@media (min-width: 1024px) {
    .col-lg-6 {
        flex: 0 0 calc(50% - 10px);
    }
}

.product-viewbtn {
    background: #0868b2;
    font-size: 14px;
    color: white;
    width: 120px;
    padding: 5px;
    text-align: center;
    margin-top: 6px;
    border-radius: 5px;
}