

.page-id-8 #content{
    padding: 100px 15px;
}
.page-id-9 #content{
  padding: 130px 15px 100px 15px;
  max-width: 1600px;
  margin: 0px auto;
}
/* Main Cart Container */
.wp-block-woocommerce-cart {
  max-width: 1600px; /* Updated as requested */
  margin: 0 auto;
  padding: 30px;
  /* display: grid; */
  /* grid-template-columns: 2fr 1fr; */
  /* gap: 30px; */
  /* align-items: start; */
}

/* Cart Items Table */
.wc-block-cart-items {
  width: 100%;
  border-collapse: collapse;
  background: #fff !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(28, 53, 45, 0.08);
  margin-bottom: 20px;
}

.cart-page table.wc-block-cart-items th {
  background-color: #1C352D !important;
  color: #FFFAF3;
  text-align: left;
  font-size: 16px;
  padding: 14px !important;
  visibility: visible !important;
  font-family: 'Cinzel';
  font-weight: 400 !important;
}

.wc-block-cart-items td {
  padding: 14px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.wc-block-cart-items__row:last-child td {
  border-bottom: none;
}

/* Product Image */
.wc-block-cart-item__image img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(28, 53, 45, 0.15);
}

/* Product Name & Price */
.wc-block-components-product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1C352D;
  text-decoration: none;
  transition: color 0.3s;
}

.wc-block-components-product-name:hover {
  color: #2a5042;
}

.wc-block-components-product-price__value {
  font-size: 15px;
  color: #1C352D;
  font-weight: 500;
}

/* Metadata */
.wc-block-components-product-metadata__description p {
  margin: 4px 0;
  font-size: 13px;
  color: #666;
}

/* Quantity Selector */
.wc-block-components-quantity-selector {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 6px;
  /* padding: 4px; */
}

.wc-block-components-quantity-selector__input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 15px;
}

.wc-block-components-quantity-selector__button {
  background: #f1e3a4;
  border: none;
  color: #1C352D;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  padding: 4px 8px;
  transition: background 0.3s;
}

.wc-block-components-quantity-selector__button:hover {
  background: #e8d78f;
}

/* Remove Link */
.wc-block-cart-item__remove-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: #b71c1c;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.wc-block-cart-item__remove-link:hover {
  color: #ff0000;
}

/* Sidebar (Cart Totals) */
.wc-block-cart__sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 20px !important;
  box-shadow: 0 6px 16px rgba(28, 53, 45, 0.08);
  height: fit-content;
  position: sticky !important;
  top: 121px !important;
}

.wc-block-cart__totals-title {
  font-size: 20px;
  font-weight: 700;
  color: #1C352D;
  margin-bottom: 10px;
  border-bottom: 2px solid #f1e3a4;
  padding-bottom: 8px;
  font-family: 'Cinzel' !important;
}

/* Totals Row */
.wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid #eee;
}

.wc-block-components-totals-item:last-child {
  border-bottom: none;
}

.wc-block-components-totals-item__value {
  font-weight: 700;
  color: #1C352D;
}

/* Checkout Button */
.wc-block-cart__submit-button {
  display: block;
  width: 100%;
  background: #1C352D;
  color: #FFFAF3;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 14px;
  border-radius: 8px;
  margin-top: 20px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(28, 53, 45, 0.25);
  transition: background 0.3s, transform 0.2s !important;
}

.wc-block-cart__submit-button:hover {
  background: #2a5042;
  transform: translateY(-2px);
}

/* Coupon section */
.wp-block-woocommerce-cart-order-summary-coupon-form-block.wc-block-components-totals-wrapper .wc-block-components-panel__button {
  background: #f1e3a4;
  color: #1C352D;
  border-radius: 6px;
  padding: 11px 15px !important;
  /* padding-left: 14px !important; */
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Cinzel';
  font-weight: 600;
}

.wc-block-components-panel__button:hover {
  background: #e8ebe0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .wp-block-woocommerce-cart {
    grid-template-columns: 1fr;
  }
  
  .wc-block-cart__sidebar {
    margin-top: 20px;
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .wc-block-cart-items th,
  .wc-block-cart-items td {
    font-size: 14px;
    padding: 10px !important;
  }

  .wc-block-cart-item__image img {
    width: 60px;
  }

  .wc-block-components-totals-item {
    font-size: 14px;
  }

  .wc-block-cart__submit-button {
    font-size: 16px;
  }
}
.page.page-id-8, .page.page-id-9 {
    background: #fffaf3;
}
.cart-page .wc-block-cart-items tbody tr {
    background: #fff;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background: #1c352d;
    font-family: 'Cinzel';
    font-weight: 600;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
    background: #f1e3a4;
    color: #1c352d;
}
span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount {
    /* background: #fffaf3; */
    color: #1c352d;
    padding: 1px 9px;
    border: 1px dashed #000;
    border-radius: 50px;
    font-weight: bold !important;
}
@media only screen and (max-width:768px){
  .wc-block-components-sidebar-layout{
    display: flex;
    flex-direction:row;
  }
  .cart-page .wc-block-cart-items tbody tr {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
}

td.wc-block-cart-item__total {
    margin-bottom: 0px !important;
    text-align: center !important;
}

td.wc-block-cart-item__total>div {
    display: flex;
    align-items: center;
    width: 100%;
}
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row{
  padding: 0px !important;
}
td.wc-block-cart-item__image, .is-mobile table.wc-block-cart-items td{
  margin-bottom: 0px !important;
  /* width: 100px; */
}
td.wc-block-cart-item__total span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    width: 100% !important;
    font-size: 21px !important;
}

td.wc-block-cart-item__total span.price.wc-block-components-product-price {
    width: 100%;
}
.wp-block-woocommerce-cart{
  padding: 0px !important;
}
}


/* checkout-css  */
.wp-block-woocommerce-checkout.alignwide.wc-block-checkout.maysarah-container {
    max-width: 1570px;
    margin: 0px auto;
}
.wc-block-checkout__sidebar {
    top: 100px !important;
}
.wc-block-components-sidebar-layout.wc-block-checkout {
    /* flex-direction: row; */
    /* flex-wrap: nowrap; */
    gap: 70px;
}

.wc-block-components-sidebar.wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block {
    padding-left: 0px;
    flex: 1;
    min-width: 549px;
}

.wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block {
    width: auto;
    padding-right: 0px;
    flex: 2;
    background: #fff;
    padding: 20px 40px 40px 40px;
    border-radius: 30px;
}

.wp-block-woocommerce-checkout-order-summary-block {
    border: 1px dashed #b0b0b0 !important;
    background: #fff;
    border-radius: 25px !important;
}

.wc-block-components-form .wc-block-components-checkout-step {
    margin-bottom: 20px !important;
}

a.wc-block-checkout__login-prompt {
    background: #8BC34A;
    color: #fff !important;
    padding: 5px 20px;
    display: block;
    margin-top: unset !important;
    font-size: 16px !important;
    line-height: 26px !important;
    border-radius: 10px;
    font-family: 'Cinzel';
    margin-top: 12px !important;
    margin-bottom: 10px !important;
}

span.wc-block-components-checkout-step__heading-content {
    display: flex;
}

.wc-block-components-checkout-step__heading {
    display: flex;
    flex-direction: column;
}

h2.wc-block-components-title.wc-block-components-checkout-step__title {
    font-size: 25px;
    background: var(--green);
    padding: 6px 12px;
    border-radius: 10px;
    line-height: 35px;
}
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    background: var(--d-green);
    color: #fff;
    font-size: 22px;
    padding: 20px 20px;
    font-family: 'Cinzel';
    line-height: 22px !important;
    min-height: unset;
    transition: all 0.3s linear;
    border-radius: 15px;
    font-weight: 500;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
    background: #f1e3a4;
    color: var(--d-green);
}
.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url], .wc-blocks-components-select .wc-blocks-components-select__select {
    border: 1px dashed hsl(177.5deg 29.27% 16.08%) !important;
    border-radius: 10px !important;
   
}
.wc-block-checkout__shipping-method .wc-block-checkout__shipping-method-container {
    background: #e8ebe0 !important;
    padding: 7px !important;
    border-radius: 10px !important;
}

.edit-post-visual-editor .wc-block-checkout__shipping-method-option.wc-block-checkout__shipping-method-option--selected, .wc-block-checkout__shipping-method-option.wc-block-checkout__shipping-method-option--selected {
    border: 0px !important;
    background: var(--d-green) !important;
    color: #fff;
    border-radius: 8px !important;
}
button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained:disabled {
    background: var(--green);
    border-radius: 10px;
    color: #000000;
}


button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained {
    background: var(--d-green);
    border-radius: 10px;
    color: #fff;
}
.wp-block-woocommerce-checkout-order-summary-coupon-form-block.wc-block-components-totals-wrapper .wc-block-components-panel__button {
    padding: 9px !important;
    padding-left: 10px !important;
    border-radius: 10px;
}
@media only screen and (max-width:1300px){
  .wc-block-components-sidebar.wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block {
    min-width: 450px;
}
.wc-block-components-sidebar-layout.wc-block-checkout {
  
    gap: 30px;
}
}

@media only screen and (max-width:1024px){
  .wc-block-components-sidebar-layout.wc-block-checkout {
    flex-direction: column-reverse !important;
}
.wc-block-components-sidebar.wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block{
  min-width: 100%;
}
}

@media only screen and (max-width:730px){
   .wc-block-components-sidebar-layout.wc-block-checkout {
    flex-direction: column !important;
}
.wp-block-woocommerce-checkout-order-summary-block {
    padding: 0px 15px 15px 15px;
    border-radius: 15px !important;
}

.wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block {
    padding: 10px 15px 15px 15px;
    border-radius: 20px;
}

h2.wc-block-components-title.wc-block-components-checkout-step__title {
    font-size: 18px;
    padding: 5px 10px;
    line-height: 28px;
    border-radius: 8px !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url], .wc-blocks-components-select .wc-blocks-components-select__select {
    border-radius: 8px !important;
}

.wc-block-checkout__actions_row {
    margin-top: 20px;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    padding: 10px;
    border-radius: 10px !important;
    font-size: 19px;
}

.wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper {
    padding-top: 15px;
}
.wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper {
    display: none;
}
.is-mobile table.wc-block-cart-items td.wc-block-cart-item__image {
    width: 100px;
    display: block !important;
}


.is-mobile table.wc-block-cart-items td.wc-block-cart-item__total {
    width: 100%;
}

.is-mobile table.wc-block-cart-items td.wc-block-cart-item__product {
    width: calc(100% - 100px);
    padding-left: 0px !important;
    display: block !important;
}


}

/* checkout-css  */