
:root {
  --primary-color: #688539;
  --secondary-color: #EFE8D8;
  --heading-color: #022B0D;
  --para-color: #757B77;
  --button-color: #6B8E23;
  --second-button-color: #DA9D2A;
  --background-color: #F4F3E9;
  --banner-bg-color: #00280A;
  --badge-color: #FF0B0B;
  --second-badge-color: #063312;
}

header {
  background-color: #f1f58f;
  text-align: center;
  font-size: 14px;
  padding: 8px;
}
.cart-container {
    max-width: 1400px;
margin: auto;
padding: 40px 20px;
display: flex
;
justify-content: space-between;
gap: 41px;
}

h2 {
text-align: center;
margin-bottom: 40px;
font-size: 28px;
}

.cart-table {
width: 100%;
border-collapse: collapse;
background: #fff;
box-shadow: 0 2px 12px rgba(0,0,0,0.05);
border-radius: 10px;
overflow: hidden;
}

.cart-header, .cart-row {
display: grid;
grid-template-columns: 3fr 1fr 1fr 1fr;
align-items: center;
padding: 20px;
border-bottom: 1px solid #eee;
}

.cart-header {
font-weight: bold;
text-transform: uppercase;
font-size: 14px;
background: #fafafa;
}

.product-info {
display: flex;
align-items: center;
gap: 15px;
}

.product-info img {
width: 70px;
border-radius: 6px;
}

.product-details span {
display: block;
font-size: 13px;
color: #888;
}

.qty-input {
display: flex;
align-items: center;
gap: 5px;
}

.qty-input button {
padding: 4px 8px;
border: 1px solid #ccc;
background: #fff;
cursor: pointer;
}


.cart-title {
  font-size: 24px;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.item-name {
  font-weight: bold;
  color: var(--heading-color);
}

.item-price {
  color: var(--heading-color);
}

.item-price del {
  color: #888;
  margin-left: 10px;
}

.item-size {
  font-size: 14px;
  color: var(--para-color);
}

.qty-btn {
  border: 1px solid #ccc;
  padding: 4px 10px;
  background: none;
  cursor: pointer;
}

.add-btn {
  background: var(--button-color);
  color: white;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.coupon-box {
  background: #edf6e9;
  padding: 30px 20px;
  border: 1px solid #c8e0c1;
}

.checkout {
  background: var(--button-color);
  color: white;
  padding: 15px;
  border: none;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}

footer img {
  height: 40px;
}

.cart-contain{
    display: flex;
    justify-content: space-between;
}
.cart{
    display: flex;
    gap: 1rem;
}
.cart-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-img img{
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.cart-image{
  
    height: 80px;
    object-fit: cover;
}
.cpn{
    display: flex;
    gap: 1rem;
    padding: 10px;
    border: 1px solid #c8e0c1;
    border-radius: 8px;
}
.check-img img{
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.check-cnt p{
    font-size: 12px;
    color: #063312;
}
.txt-head{
    font-size: 14px;
    color: #063312;
    font-weight: 400;
}
.Rupee img{
    height: 12px;
    width:12px;
     vertical-align:middle;
      margin-right:4px;
}
@media (max-width: 991px){
  .cart-container {
    flex-direction: column!important;
    }
   
    .tbg-block{
      display: flex!important;
      flex-direction: row!important;
    }
}
@media (max-width: 768px) {
   .cart-container {
flex-direction: column!important;
}
.cart-header, .cart-row {
grid-template-columns: 2fr 1fr 1fr !important; 
font-size: 14px !important;
gap: 10px !important;
padding: 12px 8px !important;
}

.cart-header span,
.cart-row div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.cart-row img {
width: 40px;
height: 40px;
}
.Rupee img{
width: 10px!important;
height: 10px!important;
}
}
@media (max-width: 500px) {
.cart-header,
.cart-row {
grid-template-columns: 1.5fr 0.8fr 0.8fr !important; 
font-size: 12px!important;
gap: 8px!important;
padding: 10px 6px!important;
}

.cart-row img {
width: 35px;
height: 35px;
object-fit: cover;
border-radius: 6px;
}

.product-title {
font-size: 12px;
}

 .product-info{
   flex-direction: column;
   align-items: start !important;
   justify-content: flex-start !important;
   gap: 5px;
}
  .qty-input{
    margin-left: -20px;
  }

  .qty-header{
    margin-left: -20px;
  }

.product-desc {
font-size: 10px;
color: #777;
}

.quantity input {
width: 40px;
padding: 2px;
font-size: 12px;
}

.action button {
padding: 2px 6px;
font-size: 11px;
}
.Rupee img{
width: 10px!important;
height: 10px!important;
}
}

/* @media screen and (max-width: 380px) {
 .product-info{
   flex-direction: column;
   align-items: start !important;
   justify-content: flex-start !important;
   gap: 5px;
}
  .qty-input{
    margin-left: -20px;
  }

  .qty-header{
    margin-left: -20px;
  }
} */
