img{
    max-width: 100%;
    height: auto;
} 
/* Product Image Standardization */
.product-card-image-container {
    width: 100%;
    height: 180px; /* Reduced height for all image containers */
    overflow: hidden; /* Hide any overflow */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
}

.product-card-image {
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Cover the entire container */
    object-position: center; /* Center the image */
    transition: transform 0.3s ease;
}

.product-card-image-container:hover .product-card-image {
    transform: scale(1.05);
}
.pgp_page .file_upload{
    padding: 5px 5px 35px;
}
.bitcoin_img{
    max-width: 45px;
}
.hide_991{
    display: block;
    width: 100%;
}
.show_991{
    display: none;
}
.dflex{
    align-items: center;
   justify-content: space-between;
   display: flex;
}
nav.navbar li.nav-item .badge{
    font-size: 65%;
    background-color: #fb0606;
}  
#navbarResponsive li a.nav-link{
    padding-left: 5px !important;
    padding-right: 5px !important;
}
li i.fas.fa-sign-out-alt{
    color: #fb0606;
}
.pad_right50{
    padding-right: 50px;
}
.forgot_pass .badge.bluebadge{
    height: 18px;
    margin-left: 10px;
}

@media only screen and (max-width: 1199.5px) {
    .bbl ul{
        padding-left: 15px;
    }
    .list-group-item:first-child{
        padding: 10px;
    }
    .btnul li:last-child{
        margin-top: 10px;
    }
    .list-group .list-group-item.mt-0.cat_li0{
        padding: 10px;
    }
    
    .product-card-image-container {
        height: 160px;
    }
 }
 @media only screen and (max-width: 991.5px) {
    .product-card-image-container {
        height: 150px;
    }
    
    .compact-title {
        font-size: 0.9rem;
        line-height: 1.3;
        max-height: 2.6rem;
    }
    
    .compact-price {
        font-size: 0.85rem;
    }
    /* Hamburger menu styles */
    .navbar-toggler {
        display: block;
        position: relative;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .navbar-toggler::before,
    .navbar-toggler::after,
    .navbar-toggler span {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #00ff00;
        transition: all 0.3s ease;
    }

    .navbar-toggler::before { top: 0; }
    .navbar-toggler span { top: 50%; transform: translateY(-50%); }
    .navbar-toggler::after { bottom: 0; }

    .navbar-toggler.active::before {
        transform: translateY(10px) rotate(45deg);
    }

    .navbar-toggler.active span {
        opacity: 0;
    }

    .navbar-toggler.active::after {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Responsive navigation */
    #navbarResponsive {
        display: none;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background: #000000;
        border: 1px solid #00ff00;
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
        z-index: 1000;
    }

    #navbarResponsive.show {
        display: block;
    }

    #navbarResponsive ul.navbar-nav {
        flex-direction: column;
        padding: 1rem;
    }

    #navbarResponsive li.nav-item {
        width: 100%;
        margin: 0.5rem 0;
    }

    /* Sidebar responsiveness */
    .sidebar {
        position: fixed;
        top: var(--navbar-height);
        left: -250px;
        width: 250px;
        height: calc(100vh - var(--navbar-height));
        background: #000000;
        border-right: 1px solid #00ff00;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .sidebar.active {
        left: 0;
    }

    /* Main content adjustment */
    .container {
        width: 100% !important;
        min-width: auto !important;
        margin: 1rem;
        padding: 0.5rem;
    }

    /* Hide desktop elements */
    .hide_991 {
        display: none;
    }

    /* Show mobile elements */
    .show_991 {
        display: block;
        width: 100%;
    }
  }
  #menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fb0606;
  position: absolute;
  height: 3px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: -4px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: -4px;
  transform: rotate(-405deg);
}

 
  .menu-button-container {
    display: flex;
    float: right;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    margin-bottom: 0;
    line-height: 0;
  }
  .menu {
    /* position: absolute; */
    top: 0;
    left: 0;
    /* flex-direction: column; */
    width: 100%;
    justify-content: space-between;
    z-index: 9;
    background-color: transparent;
    border-radius: 5px;
    border: 2px solid #fb0606;
    
  }
 
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    background-color: transparent;
  }
  #menu-toggle:checked ~ .menu li {
   
    height: auto;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    
  }
  #menu-toggle:checked ~ .menu{
    border: 1px solid #fb0606;
  }
  ul.menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
/*    background-color: #222;*/
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
    .card>hr{
       margin: 0 0 15px;
    }
    .bbl ul{
        text-align: center;
        display: block;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .footer h3 small{
        font-size: 75%;
    } 
    .btnul li{
        margin-bottom: 10px;
    }
    .btnul li:last-child {
        margin-top: 0;
    }
    .dblock{
       display: none
    }
    #menu-toggle:checked ~ .dblock {
        display: block;
    }
    #menu-toggle:checked + .menu-button-container .menu-button{
        top: 30%;
    }
}
@media only screen and (max-width: 767.5px) {
 .navbar-brand{
        margin-right: 0;
    }
    .navbar-brand img{
        max-width: 160px;
    }
    .show_991 form .input-group{
        max-width: 200px;
    }
    .btnul li {
        padding: 0px 2px;
    }
    .article_page textarea{
        width: 100%;
    }
    .all_orders
    .footer h3 small{
        font-size: 52%;
    } 
    .wallet_page .btn.btn-success{
        margin-top: 15px;
    }
    .wallet_page span.mb-0.col-md-4,
    .wallet_page span.mb-0.col-md-3{
        margin-bottom: 15px !important;
    }
    .become_seller .card.mt-4{
        margin-bottom: 15px;
    }
    .dashboard_box .card-body .card.bg-dark{
        max-width: 100% !important;
    }
    .table.product_reviews td, 
    .table.product_reviews th {
        padding: 8px;
    }
    .product_reviews .text-left{
        max-width: 80px;
    }
    .product_reviews .badge_width,
    .product_reviews .badge_width .goldbadge{
        max-width: 100px;
        white-space: normal; 
    }
    .profile-card.border.border-secondary .col-sm-4.text-right{
        text-align: center !important;
    }
    .user_pge nav{
        text-align: center; 
        margin: 0 auto;
    }
}
@media only screen and (max-width: 480.5px){
    .menu-button, .menu-button::before, .menu-button::after{
            width: 23px;
    }
    .pad_right50 {
        padding-right: 35px;
    }
    .navbar-brand img {
        max-width: 135px;
    }
    .show_991 form .input-group{
        padding-top: 14px;
    }
/*    .menu-button-container{
        top: 50%;
    }*/
    .footer h3 small {
        font-size: 53%;
    }
    .table.product_reviews td, .table.product_reviews th{
        padding: 8px 3px;
    }
    .profile_pic{
        max-width: 65px !important;
    }
    .admin_name{
        max-width: 65px !important;
    }
    .align_stars{
        text-align: center;
    }
    .overflow_stars{
        white-space: nowrap;
        max-width: 30px;
        overflow: hidden;
        text-overflow: ellipsis;
}

/* Global responsive styles */
img {
    max-width: 100%;
    height: auto;
}

/* Product cards */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tables */
.table-responsive {
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Navigation */
.navbar-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .container {
        padding: 1rem;
    }
}

@media (max-width: 992px) {
    .hide_991 {
        display: none;
    }
    .show_991 {
        display: block;
    }
    .navbar-brand img {
        max-height: 40px;
    }
}

@media (max-width: 768px) {
    .product-card-image-container {
        height: 180px;
    }
    
    .compact-title {
        font-size: 0.85rem;
        line-height: 1.2;
        max-height: 2.4rem;
    }
    
    .compact-price {
        font-size: 0.8rem;
    }
    
    .price-crypto {
        display: none;
    }
    
    .table-responsive {
        font-size: 0.9em;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
    
    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .product-card-image-container {
        height: 160px;
    }
    
    .compact-title {
        font-size: 0.8rem;
        line-height: 1.2;
        max-height: 2.4rem;
    }
    
    .compact-price {
        font-size: 0.75rem;
    }
    
    .navbar-brand img {
        max-height: 30px;
    }
    
    .table-responsive {
        font-size: 0.85em;
    }
    
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Utility classes */
.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

/* Form elements */
input, select, textarea {
    max-width: 100%;
}

/* Badges and icons */
.badge {
    white-space: normal;
    text-align: center;
}

/* Modal responsiveness */
.modal-dialog {
    margin: 0.5rem;
    max-width: 100%;
}

@media (min-width: 576px) {
    .modal-dialog {
        margin: 1.75rem auto;
    }
}

.dd {
  border: 1px solid grey;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: Arial;
  margin: 0 auto; /* Center website */
  max-width: 800px; /* Max width */
  padding: 20px;
}

.heading {
  font-size: 25px;
  margin-right: 25px;
}

/* Three column layout */
.side {
  float: left;
  width: 15%;
  margin-top:10px;
}

.middle {
  margin-top:10px;
  float: left;
  width: 70%;
}

/* Place text to the right */
.right {
  text-align: right;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The bar container */
.bar-container {
  width: 100%;
  background-color: #f1f1f1;
  text-align: center;
  color: white;
}

/* Individual bars */
.bar-5 {height: 18px; background-color: #04AA6D;}
.bar-4 {height: 18px; background-color: #2196F3;}
.bar-3 {height: 18px; background-color: #00bcd4;}
.bar-2 {height: 18px; background-color: #ff9800;}
.bar-1 {height: 18px; background-color: #f44336;}

/* Responsive layout - make the columns stack on top of each other instead of next to each other */
@media (max-width: 400px) {
  .side, .middle {
    width: 100%;
  }
  .right {
    display: none;
  }
}

/* Product Grid */
.product-grid-item {
    width: 25%;
    padding: 8px;
    min-width: 25%;
    flex: 0 0 25%;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.product-card-image-container {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.product-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure grid stays consistent across all screens */
@media (max-width: 1200px) {
    .product-grid-item {
        width: 25%;
        min-width: 25%;
        flex: 0 0 25%;
    }
    .product-card-image-container {
        padding-top: 100%;
    }
}

@media (max-width: 992px) {
    .product-grid-item {
        width: 25%;
        min-width: 25%;
        flex: 0 0 25%;
    }
    .product-card {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .product-card-image-container {
        height: 180px;
    }
    
    .compact-title {
        font-size: 0.85rem;
        line-height: 1.2;
        max-height: 2.4rem;
    }
    
    .compact-price {
        font-size: 0.8rem;
    }
    
    .price-crypto {
        display: none;
    }
    
    .product-grid-item {
        width: 50%;
        min-width: 50%;
        flex: 0 0 50%;
    }
    
    .product-card {
        font-size: 0.85em;
    }
    
    .card-body {
        padding: 0.5rem;
    }
}

@media (max-width: 576px) {
    .product-card-image-container {
        height: 160px;
    }
    
    .compact-title {
        font-size: 0.8rem;
        line-height: 1.2;
        max-height: 2.4rem;
    }
    
    .compact-price {
        font-size: 0.75rem;
    }
    
    .product-grid-item {
        width: 100%;
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .product-card {
        font-size: 0.8em;
    }
    
    .card-body {
        padding: 0.25rem;
    }
}

/* Adjust container for better fit */
.container {
    max-width: 100%;
    padding-right: 5px;
    padding-left: 5px;
}

.row {
    margin-right: -5px;
    margin-left: -5px;
}

/* Ensure text doesn't overflow */
.compact-header {
    margin-bottom: 0.5rem;
    height: 2.4em;
    overflow: hidden;
}

.compact-title {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.2;
    height: 2.4em;
    overflow: hidden;
}

.compact-title a {
    color: #00ff00;
    text-decoration: none;
    display: block;
    height: 2.4em;
    overflow: hidden;
    position: relative;
}

.compact-title a:after {
    content: "...";
    position: absolute;
    bottom: 0;
    right: 0;
    background: #000;
    padding-left: 0.5em;
}

/* Ensure consistent card heights */
.art_card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body-compact {
    height: 180px;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.compact-price,
.compact-details {
    margin-top: auto;
}



@media (max-width: 576px) {
    .compact-title {
        font-size: 0.8em;
    }
}

.navbar-logo {
    max-width: 150px;
    width: auto;
    height: auto;
    max-height: 40px;
}

.navbar-brand picture {
    display: inline-block;
}

@media (max-width: 576px) {
    .navbar-logo {
        max-width: 120px;
        max-height: 32px;
    }
}

/* Responsive container behavior */
@media only screen and (max-width: 1200px) {
    .container {
        width: 100% !important;
        max-width: 1140px !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
    
    .navbar-toggler {
        display: none !important;
    }
}

/* Force desktop layout */
.container {
    min-width: 1024px !important;
}

.navbar-expand-lg .navbar-collapse {
    display: flex !important;
}

.navbar-expand-lg .navbar-toggler {
    display: none !important;
}}
}
