@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&family=Outfit:wght@100..900&display=swap');
.doogma-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* height: 100vh; */
    height: 100%;
    margin: 0;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.75);  /* Dark overlay */
    z-index: 9999;    /* High z-index to show above page content */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.doogma-container #doogma-popup-container {
    /* max-width: 100%; */
  width: 100%;
  height: 100%;
    margin: auto;
    background: white;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.doogma-container .doogma-jc-popup-layout {
    /* border: 1px solid; */
    width: 100%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    /* overflow-y: auto; */
    position: relative;
}

.doogma-container .doogma-jc-step1 .doogma-jc-popupinner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.doogma-container .doogma-jc-step1 .doogma-jc-popupinner-content .doogma-option {
    width: 33.33%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.doogma-container .doogma-jc-step1 .doogma-jc-popupinner-content .doogma-option .doogma-product-type-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.doogma-container .doogma-jc-step1 .doogma-jc-popupinner-content .doogma-option .doogma-product-type-title h2 {
    font-size: 30px;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    letter-spacing: 0px;
    color: #fff;
    word-break: unset;
}

.doogma-container .doogma-jc-popup-layout .doogma-jc-popup-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 61px;
    position: relative; 
    background: #fcf8f6;;
}

.doogma-container .doogma-jc-popup-layout .doogma-jc-popup-header .doogma-jc-close-btn {
    position: absolute;
    right: 2%;
    height: 34px;
    width: 34px;
    border: none;
    border-radius: 4px;
    background: white;
    font-size: 24px;
    font-weight: 300;
    font-family: "Outfit", sans-serif;
}

.doogma-container .doogma-jc-step1 .doogma-jc-popupinner-content .doogma-option .doogma-product-type-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    cursor: pointer;
}

.doogma-jc-logo .doogma-jc-popup-logo-mobile {
    display: none;
}
#doogma-popup-container .doogma-jc-logo .doogma-jc-popup-logo-desktop {
    width: 185px;
  }

/* Step 2 Styles */
#doogma-popup-container .doogma-jc-step2 {
    width: 100%;
    margin: 0 auto;
    background: white;
}

#doogma-popup-container .doogma-jc-step2-content {
    display: flex;
    gap: 0px;
    height: 100%;
}

#doogma-popup-container .doogma-jc-products-section {
    margin-top: -15px;
}

/* Left Panel */
.doogma-container .doogma-jc-step2-content .doogma-jc-left-panel {
    width: 65%;
    position: relative;
}
#doogma-popup-container .doogma-jc-step2 .doogma-jc-left-panel .doogma-jc-product-image {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fcf6f100;
  }

#doogma-popup-container .doogma-jc-step2 {
    height: 100vh;
    overflow: hidden;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-product-image img {
    width: 100%;
  object-fit: contain;
  height: 100%;
}

#doogma-popup-container .doogma-jc-materials {
    padding: 20px;
    background: #f9f9f9;
}

#doogma-popup-container .doogma-jc-materials h3 {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
}

#doogma-popup-container .doogma-jc-color-options {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

#doogma-popup-container .doogma-jc-color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 1px solid #dddada;
    margin: 5px 0px;
}

#doogma-popup-container .doogma-jc-color-option .color-label {
    display: none;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#doogma-popup-container .doogma-jc-color-option:hover .color-label {
    display: block;
}

/* Right Panel */
#doogma-popup-container .doogma-jc-step2 .doogma-jc-right-panel {
    width: 35%;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-products-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); */
    gap: 8px;
    margin-bottom: 30px;
    padding-left: 32px;
    padding-right: 20px;
    grid-template-columns: 1fr 1fr;
}

#doogma-popup-container .doogma-jc-product-card {
    /* border: 1px solid #e0e0e0; */
    padding: 0px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgb(238, 235, 230);
    border: 1px solid #F5ECE3;
}

.doogma-container .doogma-jc-step2 .doogma-jc-product-card.selected {
    border: 1px solid #2D231D !important;
}

#doogma-popup-container .doogma-jc-product-card .product-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

#doogma-popup-container .doogma-jc-product-card img {
    width: 100%;
    height: auto;
}

#doogma-popup-container .doogma-jc-product-card .price {
    color: rgb(25, 25, 25);
    font-weight: 400;
    font-size: 12px;
    font-family: "Outfit", sans-serif;
}

/* Length Selection */
#doogma-popup-container .doogma-jc-step2 .doogma-jc-length-selection {
    margin-bottom: 110px;
    /* padding-bottom: 58px; */
}

#doogma-popup-container .doogma-jc-length-selection h3 {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-length-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0px 32px;
    padding: 17px 32px 0px 32px;
}

.doogma-container .doogma-jc-length-option {
    padding: 17px 37px;
    border: 1px solid rgb(238, 235, 230);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    color: rgb(25, 25, 25);
    line-height: 20px;
}

.doogma-container .doogma-jc-length-option:hover {
    background: #F6EFE8;
}

.doogma-container .doogma-jc-step2 .doogma-jc-length-option.selected {
    background: #FFFFFF;; 
    color:  #2D231D;
    border-color: #2D231D;
    border-radius: 2px 2px 20px 2px;
}

/* Actions */
#doogma-popup-container .doogma-jc-actions {
    text-align: center;
}

#doogma-popup-container .doogma-jc-add-charms-btn {
    background: #2D231D;
    color: white;
    border: none;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    padding: 15px 0px;
    border-radius: 2px 2px 20px 2px;
}

#doogma-popup-container .doogma-jc-add-charms-btn:disabled {
    background: rgb(238, 235, 230);
    cursor: not-allowed;
}

#doogma-popup-container .doogma-jc-add-charms-btn:not(:disabled):hover {
    background: #2D231D;
}

/* ----------------------12-5-25----------------------------- */
#doogma-popup-container .doogma-jc-step2 .doogma-jc-materials-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 0;
    width: 100%;
    box-sizing: border-box;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-materials-top .doogma-jc-material-label {
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-products-section .doogma-jc-products-title {
    /* background: rgb(255, 249, 249); */
    padding: 15px 32px;
    margin: 15px 0px;
    font-size: 14px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    background: #F5ECE3;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-products-grid .doogma-jc-product-card .product-info, .doogma-jc-step2 .doogma-jc-products-grid .doogma-jc-product-card .product-info .price {
    margin: 10px 4px;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-products-grid .doogma-jc-product-card .product-info
{
    /* padding-left: 20px; */
    text-align: center;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-products-grid .doogma-jc-product-card h4,
#doogma-popup-container .doogma-jc-step2 .doogma-jc-products-grid .doogma-jc-product-card .product-price{
    font-family: "Darker Grotesque", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: rgb(25, 25, 25);
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-length-selection h3 {
    /* background: rgb(255, 249, 249); */
    padding: 17px 32px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(25, 25, 25);
    font-family: "Outfit", sans-serif;
    text-transform: none;
}

#doogma-popup-container .doogma-jc-step2 .doogma-jc-right-panel .doogma-jc-actions {
    padding: 0px 32px;
    position: absolute;
    bottom: 5px;
    width: 35.5%;
    box-sizing: border-box;
}

/* -----------------check box style ---------------------- */
#doogma-popup-container .product-checkbox {
    display: none; /* Hide the default checkbox */
}

#doogma-popup-container .product-checkbox + label {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(223, 223, 223, 1);
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    cursor: pointer;
    position: absolute;
    top: 4px;
    left: 4px;
}

/* Checked state */
#doogma-popup-container .product-checkbox:checked + label::after {
    content: '✔'; /* You can replace this with an image/icon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 18px;
    background: rgb(74, 11, 16);
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Outfit", sans-serif;
}

#doogma-popup-container .doogma-jc-checkbox-wrapper {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.57);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 4px;
    position: absolute;
    height: 34px;
    width: 34px;
    top: 10px;
    left: 10px;
}

/* -----------------------end check box style -------------------- */

/* -----------------------13-5-25------------------------------ */
.doogma-container .doogma-jc-left-panel .doogma-jc-edit-type-btn {
    color: #2D231D;
    font-size: 14px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    position: absolute;
    top: 30px;
    left: 50px;
    box-shadow: 0px 0px 3px -1px black;
    z-index: 99;
    display: flex;
    align-items: center;
}

.doogma-container .doogma-jc-left-panel .doogma-jc-edit-type-btn .doogma-jc-backarrow {
    padding-right: 10px;
    width: 20px;
}

.doogma-container .doogma-jc-left-panel .doogma-jc-edit-type-btn .doogma-jc-mobile-text {
    display: none;
}

.doogma-container .doogma-jc-step2 .doogma-jc-color-options .doogma-jc-color-option.selected::after {
    border: 1px solid #2D231D;
    content: ' ';
    height: 3px;
    width: 3px;
    position: absolute;
    bottom: -12px;
    left: 7px;
    background: #2D231D;
    transform: rotate(45deg);
}

.doogma-container .doogma-jc-step2 .doogma-jc-popup-header {
    background: transparent;
}

/* ------------------------end 13-5-25----------------------------- */

/* -----------end 12-5-25------------------------------------------ */

#doogma-popup-container .doogma-jc-step2 .doogma-jc-products-grid-and-length {
    max-height: 80vh;
    overflow-y: scroll;
}

#doogma-popup-container .doogma-jc-length-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: rgb(255, 249, 249); */
    padding: 0 20px 0 0;
    margin-bottom: 0;
    background: #F5ECE3;
}

#doogma-popup-container .doogma-jc-length-title-row h3 {
    margin: 0;
    padding: 17px 0 17px 20px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(25, 25, 25);
    font-family: "Outfit", sans-serif;
    background: none;
}

#doogma-popup-container .doogma-jc-size-guide-link {
    font-size: 13px;
    color: #51433C;
    text-decoration: underline;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    background: none;
    border: none;
    padding: 0;
    margin-right: 10px;
    transition: color 0.2s;
}

#doogma-popup-container .doogma-jc-size-guide-link:hover {
    color: #2D231D;
}

/* Size Guide Popup Styles for Step 2 */
#doogma-popup-container {
    position: relative;
    overflow: visible;
}

#doogma-popup-container .doogma-jc-size-guide-modal {
    /* display: none;
    position: absolute;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: stretch;
    overflow: visible;
    background-color: rgba(25, 25, 25, 0.4); */
    position: fixed;
    top: 0;
    width: 100%;
    right: -100%;
    height: 100%;
    /* background: var(--color-white); */
    /* box-shadow: -2px 0 5px var(--color--dark-overlay-2); */
    /* transition: right .1s ease; */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background-color: rgba(25, 25, 25, 0.4);
    align-items: end;
}
#doogma-popup-container .doogma-jc-size-guide-modal.doogma-jc-size-guide-modal-open {
    right: 0;
}

#doogma-popup-container .doogma-jc-size-guide-modal[style*="display: flex"] {
    display: flex !important;
}
.doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__header h2 {
    font-size: 24px;
    font-weight: 400;
  }
.doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__content .doogma-jc-size-guide-drawer__description {
    font-size: 14px;
    line-height: 22px;
  }
  .doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__content .doogma-jc-size-guide-drawer__image img {
    width: 100%;
  }
  /* -------------table ------------------- */
  .doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__content .doogma-jc-size-guide-table table {
    width: 100%;
    border-collapse: collapse;
    border: 0;
    box-shadow: none;
    table-layout: auto;
  }
  .doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__content .doogma-jc-size-guide-table table th {
    border-bottom: 2px solid #333333fa;
    font-weight: 600;
    color: #333333f7;
    vertical-align: bottom;
    padding-inline: 0 24px;
  padding-block: 16px;
  border-top: none;
  border-left: none;
  border-right: none;
  }
  .doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__content .doogma-jc-size-guide-drawer__image {
    margin-top: 12px;
  }
  .doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__content .doogma-jc-size-guide-table table td {
    border-bottom: 1px solid #DFDFDFF7;
    padding-inline: 0 24px;
  padding-block: 16px;
  font-size: 14px;
  color: #4b4747;
  border-top: none;
  border-left: none;
  border-right: none;
  }
  .doogma-jc-size-guide-modal-open .doogma-jc-size-guide-drawer__content {
    margin-top: 20px;
    height: 80vh;
    overflow-y: scroll;
  }
  /* -------------end table ------------------ */

#doogma-popup-container .doogma-jc-size-guide-modal-content {
    background: #fff;
    height: 100%;
    box-shadow: 2px 0 13px rgba(0, 0, 0, 0.29);
    font-family: "Outfit", sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    overflow: visible;
    max-height: 100vh;
    /* overflow-y: scroll; */
    padding: 16px;
    max-width: 400px;
    position: relative;
    right: -100%;
    transition: right 0.3s ease;
    transform: translateX(100%);
}
#doogma-popup-container .doogma-jc-size-guide-modal-open .doogma-jc-size-guide-modal-content {
    right: 0px;
    transform: translateX(0);
  }

#doogma-popup-container .doogma-jc-size-guide-close {
    position: absolute;
    top: 25px;
    right: 427px;
    background: transparent;;
    border: none;
    font-size: 50px;
    color: white;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-weight: 100;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

#doogma-popup-container .doogma-jc-size-guide-popup-inner {
    padding: 0px;
    text-align: left;
}

#doogma-popup-container .doogma-jc-size-guide-top-img {
    width: 100%;
    display: block;
    margin-bottom: 18px;
}

#doogma-popup-container .doogma-jc-size-guide-title {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 16px;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    color: #191919;
    padding: 22px 25px 20px 25px;
}

#doogma-popup-container .doogma-jc-size-guide-desc {
    font-size: 16px;
    margin-bottom: 17px;
    color: #191919;
    font-family: "Darker Grotesque", sans-serif;
    font-weight: 600;
    line-height: 24px;
    padding: 0px 25px;
}

#doogma-popup-container .doogma-jc-size-guide-table-img {
    padding: 0px 25px;
    width: 85%;
    height: auto;
    object-fit: cover;
}

/* Step 3 Layout */
#doogma-popup-container .doogma-jc-step3-content {
    display: flex;
    height: 100vh;
}

#doogma-popup-container .doogma-jc-step3-left-panel {
    width: 65%;
    position: relative;
}

#doogma-popup-container .doogma-jc-step3-header-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: absolute;
}

#doogma-popup-container .doogma-jc-step3-edit-style {
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: white;
    padding: 8px 12px;
    position: absolute;
    left: 49px;
    color: #2D231D;
    font-size: 14px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    box-shadow: 0px 0px 3px -3px black;
    border-radius: 4px;
    top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#doogma-popup-container .doogma-jc-step3-edit-style .doogma-jc-backarrow {
  width: 20px;
}

.doogma-container .doogma-jc-step3 .doogma-jc-popup-header {
    background: transparent;
}

#doogma-popup-container .doogma-jc-step3-rearrange-charms {
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    letter-spacing: 0.5px; 
    padding: 0 8px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    position: absolute;
    right: 33px;
    top: 32px;
    font-family: "Outfit", sans-serif;
    padding: 11px 12px;
}

#doogma-popup-container .doogma-jc-step3-rearrange-charms.enabled {
    background: white;
    color: #2D231D;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    font-family: "Outfit", sans-serif;
    padding: 11px 12px;
}

#doogma-popup-container .doogma-jc-step3-rearrange-charms.disabled {
    background: none;
    color: #bdbdbd;
    cursor: not-allowed;
    font-weight: 500;
}

#doogma-popup-container .doogma-jc-step3-canvas-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 100%;
}

#doogma-popup-container .doogma-jc-step3.doogma-jc-popup-layout {
    height: 100%;
    overflow: hidden;
}

#doogma-popup-container .doogma-jc-step3-canvas {
    width: 90%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    /* border-radius: 12px; */
    /* max-height: 963px; */
    /* height: 90vh !important; */
    border: none !important;
    height: 100% !important;
    width: 100% !important;
    background: #FCF9F6 !important;
    overflow: hidden;
}

#doogma-popup-container .doogma-jc-step3-right-panel {
    /* flex: 1 1 40%;
    background: #fff;
    border-left: 3px solid #e0e6ef;
    padding: 32px 32px 32px 32px;
    min-width: 350px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 80vh;
    overflow-y: auto; */
    width: 35%; 
    /* position: relative; */
}

#doogma-popup-container .doogma-jc-step3-summary {
    /* background: rgba(255, 249, 249, 1); */
    padding: 16px 32px;
    border-bottom: 1px solid rgb(238, 235, 230);
    background: #F5ECE3;
}

#doogma-popup-container .doogma-jc-step3-summary-row .doogma-jc-step3-summary-material, #doogma-popup-container .doogma-jc-step3-summary-row .doogma-jc-step3-summary-style, #doogma-popup-container .doogma-jc-step3-summary-row .doogma-jc-step3-summary-length {
    color: rgb(25, 25, 25);
}

#doogma-popup-container .doogma-jc-step3-summary-row img {
    width: 13px;
    height: 13px;
}

#doogma-popup-container .doogma-jc-step3-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-family: "Outfit", sans-serif;
    padding: 8px 0px;
    color: rgb(93, 93, 93);
}

#doogma-popup-container .doogma-jc-step3-summary-row img {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    cursor: pointer;
}

#doogma-popup-container .doogma-jc-step3-charms-selected {
    font-size: 12px;
    font-weight: 400;
    color: rgb(25, 25, 25);
    margin-top: 12px;
    font-family: "Outfit", sans-serif;
    text-align: center;
}

#doogma-popup-container .doogma-jc-step3-accordions {
    flex: 1 1 auto;
    padding-bottom: 90px;
    max-height: 65vh;
    overflow-y: scroll;
}
/* #doogma-popup-container .doogma-jc-step3-accordions > :last-child {
    padding-bottom: 50px;
  } */

#doogma-popup-container .doogma-jc-step3-accordion {
    border-bottom: 1px solid rgba(238, 235, 230, 1);
    margin: 0px 32px;
}

#doogma-popup-container .doogma-jc-step3-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    color: rgb(25, 25, 25);
    font-family: "Outfit", sans-serif;
}

#doogma-popup-container .doogma-jc-step3-accordion-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: #bdbdbd;
    cursor: pointer;
    margin-left: 8px;
}

#doogma-popup-container .doogma-jc-step3-accordion-body {
    padding: 0 0 12px 0;
}

#doogma-popup-container .doogma-jc-step3-charm-row {
    display: flex;
    align-items: center;
    /* padding: 8px 0; */
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    border: 1px solid rgb(238, 235, 230);
    margin-bottom: 12px;
    overflow: hidden;
}

#doogma-popup-container .doogma-jc-step3-charm-thumb {
    width: 49px;
    height: 66px;
    object-fit: contain;
    margin-right: 12px;
    /* background: #f8f6f3; */
    background: transparent;
    border: none;
    overflow: hidden;
    transform: scale(1.5);
}

#doogma-popup-container .doogma-jc-step3-charm-title {
    flex: 1 1 auto;
    font-weight: 600;
    color: rgb(25, 25, 25);
    font-family: "Darker Grotesque", sans-serif;
    font-size: 12px;
}

#doogma-popup-container .doogma-jc-step3-charm-price {
    color: rgb(25, 25, 25);
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    display: inline-block;
}

#doogma-popup-container .doogma-jc-step3-charm-info {
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 18px;
    margin: 0 8px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#doogma-popup-container .doogma-jc-step3-charm-info-link-wrapper {
    display: none;
    margin-left: 8px;
}

#doogma-popup-container .doogma-jc-step3-charm-info-link {
    color: #2D231D;
    text-decoration: underline;
    font-size: 13px;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
}

#doogma-popup-container .doogma-jc-step3-charm-info-link:hover {
    color: #600018;
}

#doogma-popup-container .doogma-jc-step3-charm-qty {
    display: flex;
    align-items: center;
    margin-left: 8px;
    border: 1px solid rgb(238, 235, 230);
    height: 50px;
    width: 85px;
}

#doogma-popup-container .doogma-jc-step3-charm-minus,
#doogma-popup-container .doogma-jc-step3-charm-plus {
    background: white;
    border: none;
    color: rgb(25, 25, 25);
    font-size: 16px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    transition: background 0.2s, border 0.2s;
    font-weight: 500;
}

#doogma-popup-container .doogma-jc-step3-charm-minus:hover,
#doogma-popup-container .doogma-jc-step3-charm-plus:hover {
    background: #e0e6ef;
    border: 1px solid #2D231D;
}

#doogma-popup-container .doogma-jc-step3-charm-qty-value {
    min-width: 18px;
    text-align: center;
    font-weight: 600;
    color: rgb(25, 25, 25);
    font-family: "Darker Grotesque", sans-serif;
    font-size: 16px;
}

#doogma-popup-container .doogma-jc-step3 .doogma-jc-step3-charm-title-price {
    display: flex;
    flex-direction: column;
    width: 70%;
}
#doogma-popup-container .doogma-jc-step3-actions {
  position: absolute;
  width: 35%;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 8px;
  padding: 2px 32px;
  background: white;
  z-index: 9999;
  }
  #doogma-popup-container .doogma-jc-step3-actions .doogma-jc-step3-add-more-charms-btn {
    display: none;
  }
  .doogma-charm-rearrangement-option #doogma-popup-container .doogma-jc-step3-actions .doogma-jc-step3-add-more-charms-btn {
    display: block;
  }
  #doogma-popup-container .doogma-jc-step3-actions .doogma-jc-step3-add-more-charms-btn {
    background: #2D231D1A;
    padding: 14px 0px;
    border-radius: 2px 2px 20px 2px;
    border: 1px solid #2D231D;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    cursor: pointer;
    color: #2D231D;
  }
#doogma-popup-container .doogma-jc-step3-review-btn {
    /* width: 32%; */
    background: rgb(238, 235, 230);
    border: none;
    border-radius: 0px 0px 20px 0px;
    font-size: 14px;
    font-weight: 400;
    padding: 15px 0;
    cursor: not-allowed;
    letter-spacing: 0.5px;
    /* position: absolute;
    bottom: 10px; */
    font-family: "Outfit", sans-serif;
    color: white;
    z-index: 9999;
}


#doogma-popup-container .doogma-jc-step3-review-btn.enabled {
    background: #2D231D;
    color: #fff;
    cursor: pointer;
}

/* Info Modal */
#doogma-popup-container .doogma-jc-step3-info-modal {
    display: none;
    position: absolute;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: stretch;
    overflow: visible;
    background-color: rgba(25, 25, 25, 0.4);
}

#doogma-popup-container .doogma-jc-step3-info-modal[style*="display: flex"] {
    display: flex !important;
}

#doogma-popup-container .doogma-jc-step3-info-modal-content {
    background: #fff;
    padding: 0 0 32px 0;
    width: 450px;
    height: 100%;
    box-shadow: 2px 0 13px rgba(0, 0, 0, 0.29);
    font-family: "Outfit", sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    overflow: visible;
    max-height: 100vh;
    overflow: scroll;
}

#doogma-popup-container .doogma-jc-step3-info-close {
    position: absolute;
    top: 32px;
    left: 455px;
    background: transparent;
    border: none;
    font-size: 50px;
    color: white;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-weight: 100;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

#doogma-popup-container .doogma-jc-info-panel-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

#doogma-popup-container .doogma-jc-info-image {
    width: 100%;
    display: block;
    object-fit: contain;
    background: #fcf8f6;
    border-radius: 10px 10px 0 0; 
    margin-bottom: 0;
    object-fit: contain;
}

#doogma-popup-container .doogma-jc-info-details {
    padding: 21px 16px 16px 16px;
}

#doogma-popup-container .doogma-jc-info-title {
    font-size: 20px;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    color: #191919;
    text-transform: uppercase;
    margin: 0px;
}

#doogma-popup-container .doogma-jc-info-price {
    font-size: 16px;
    color: #191919;
    font-weight: 400;
    padding-top: 7px;
}

#doogma-popup-container .doogma-jc-info-desc {
    font-size: 15px;
    color: #2d2d2d;
    margin-bottom: 32px;
    margin-top: 35px;
}

#doogma-popup-container .doogma-jc-info-add-btn {
    margin: 32px 16px 0 16px;
    background: #2D231D;
    color: #fff;
    border: none;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 400;
    padding: 15px 0;
    border-radius: 0 0 20px 0;
    cursor: pointer;
    transition: background 0.2s;
    width: calc(100% - 48px);
    margin-bottom: 10px;
}

/* ************************************************* Edit Confirmation Modal Styles */
#doogma-popup-container .doogma-jc-edit-confirmation-modal,
#doogma-popup-container .doogma-jc-edit-type-modal, #doogma-popup-container .doogma-jc-step4-edit-charms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#doogma-popup-container .doogma-jc-edit-confirmation-modal-content,
#doogma-popup-container .doogma-jc-edit-type-modal-content {
    background: white;
    padding: 32px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    font-family: "Outfit", sans-serif;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

#doogma-popup-container .doogma-jc-edit-confirmation-modal-content p,
#doogma-popup-container .doogma-jc-edit-type-modal-content p {
    margin: 0 0 24px 0;
    font-size: 15px;
    color: rgb(25, 25, 25);
}

#doogma-popup-container .doogma-jc-edit-confirmation-modal-actions,
#doogma-popup-container .doogma-jc-edit-type-modal-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

#doogma-popup-container .doogma-jc-edit-confirmation-modal-actions button,
#doogma-popup-container .doogma-jc-edit-type-modal-actions button {
    padding: 8px 24px;
    border: none;
    border-radius: 4px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
#doogma-popup-container .doogma-jc-edit-type-modal-actions .doogma-jc-edit-type-back-ok {
  background: #2D231D;
  color: #fff;
}

#doogma-popup-container .doogma-jc-edit-confirmation-ok,
#doogma-popup-container .doogma-jc-edit-type-ok {
    background: #2D231D;
    color: white;
}

#doogma-popup-container .doogma-jc-edit-confirmation-ok:hover,
#doogma-popup-container .doogma-jc-edit-type-ok:hover {
    background: #2D231D;
}

#doogma-popup-container .doogma-jc-edit-confirmation-cancel,
#doogma-popup-container .doogma-jc-edit-type-cancel {
    background: #f0f0f0;
    color: rgb(25, 25, 25);
}

#doogma-popup-container .doogma-jc-edit-confirmation-cancel:hover,
#doogma-popup-container .doogma-jc-edit-type-cancel:hover {
    background: #e0e0e0;
}

/* Make background content unaccessible when modal is open */
body.doogma-back-confirmation-modal #doogma-popup-container .doogma-jc-popup-layout {
    pointer-events: none;
    /* opacity: 0.5; */
}

body.doogma-back-confirmation-modal #doogma-popup-container .doogma-jc-edit-type-modal,
body.doogma-back-confirmation-modal #doogma-popup-container .doogma-jc-edit-confirmation-modal, body.doogma-back-confirmation-modal #doogma-popup-container .doogma-jc-step4-edit-charms-modal {
    pointer-events: auto;
    opacity: 1;
    background: rgba(0, 0, 0, 0.45); /* Slightly darker for more contrast */
}

body.doogma-back-confirmation-modal #doogma-popup-container .doogma-jc-edit-type-modal-content,
body.doogma-back-confirmation-modal #doogma-popup-container .doogma-jc-edit-confirmation-modal-content {
    pointer-events: auto;
    opacity: 1;
}

/* ************************************************* Edit Confirmation Modal Styles *************************************** */

/* Rearrange Charms Popup Styles */
#doogma-popup-container .doogma-jc-rearrange-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    box-shadow: 0 0 0 2px #c7c7c7, 0 8px 32px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    border-radius: 0 8px 8px 0;
    border-left: none;
}

#doogma-popup-container .doogma-jc-rearrange-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 12px 24px;
    border-bottom: 1px solid #eee;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #191919;
    border-bottom: none !important;
}

#doogma-popup-container .doogma-jc-rearrange-header .doogma-jc-rearrange-close {
    background: none;
    border: none;
    font-size: 40px;
    color: black;
    cursor: pointer;
    font-weight: 100;
    line-height: 1;
    font-family: "Outfit", sans-serif;
}

#doogma-popup-container .doogma-jc-rearrange-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #2D231D;
    cursor: pointer;
    font-weight: 400;
    margin-left: 12px;
    line-height: 1;
}

#doogma-popup-container .doogma-jc-rearrange-list {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 24px 32px 0 32px;
    background: #fff;
    padding-bottom: 50px;
}

#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-row {
    height: 75px;
    background: transparent !important;
    border-radius: 0px !important;
    padding: 0px !important;
    border: 1px solid #F5ECE3 !important;
    overflow: hidden;
}

#doogma-popup-container .doogma-jc-rearrange-row {
    display: flex;
    align-items: center;
    background: #faf8f6;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 12px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #eee;
    transition: box-shadow 0.2s, border 0.2s;
    position: relative;
}

#doogma-popup-container .doogma-jc-rearrange-row.dragging {
    opacity: 0.7;
    box-shadow: 0 4px 16px rgba(128,0,32,0.12);
    border: 2px dashed #2D231D;
    z-index: 2;
}

#doogma-popup-container .doogma-jc-rearrange-icon {
    width: 67px;
    height: 77px;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 1px 0px 9px -9px black;
}

#doogma-popup-container .doogma-jc-rearrange-icon img {
    width: 67px;
    object-fit: cover;
    border-radius: 0px;
    background: #fff;
    overflow: hidden;
    height: 77px;
    font-size: 12px;
    font-weight: 400;
    font-family: "Darker Grotesque", sans-serif;
    box-shadow: 0px 0px 9px -8px black;
}

#doogma-popup-container .doogma-jc-rearrange-list .doogma-jc-rearrange-row:last-child {
    margin-bottom: 75px !important;
  }

#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-remove {
    background: transparent;
    height: 100%;
    width: 47px;
    border: none !important;
}

#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-down img, #doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-up img {
    width: 100% !important;
}

#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-down {
    position: relative;
}

#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-down::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('images/new-chevron-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-down {
    border: none !important;
    height: 32px !important;
    width: 32px !important;
    margin-right: 10px;
  }

#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-down:hover::before {
    /* background-image: url('images/arrow-down-hover.svg'); */
    border: 1px solid #2D231D;
}

#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-remove img {
    cursor: pointer;
}

#doogma-popup-container .doogma-jc-rearrange-title {
    flex: 1 1 auto;
    font-size: 12px;
    color: #191919;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-right: 12px;
    font-family: "Darker Grotesque", sans-serif;
    width: 50%;
}

#doogma-popup-container .doogma-jc-rearrange-handle {
    font-size: 22px;
    color: #bdbdbd;
    cursor: grab;
    margin-left: 8px;
    user-select: none;
    transition: color 0.2s;
}

#doogma-popup-container .doogma-jc-step3-accordions.doogma-rearrangement-wrapper {
    max-height: 58vh;
    height: 58vh;
}

#doogma-popup-container .doogma-rearrangement-wrapper .doogma-jc-step3-accordion {
    display: none;
}

#doogma-popup-container .doogma-jc-rearrange-row:active .doogma-jc-rearrange-handle,
#doogma-popup-container .doogma-jc-rearrange-row.dragging .doogma-jc-rearrange-handle {
    color: #2D231D;
}

#doogma-popup-container .doogma-jc-rearrange-actions {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border-top: 1px solid #eee;
}

#doogma-popup-container .doogma-jc-rearrange-complete {
    background: #2D231D;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 0;
    cursor: pointer;
    margin-bottom: 4px;
    transition: background 0.2s;
}

#doogma-popup-container .doogma-jc-rearrange-complete:hover {
    background: #600018;
}

#doogma-popup-container .doogma-jc-rearrange-cancel {
    background: #fff;
    color: #2D231D;
    border: 1px solid #2D231D;
    border-radius: 4px;
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#doogma-popup-container .doogma-jc-rearrange-cancel:hover {
    background: #f8eaea;
    color: #600018;
}

#doogma-popup-container .doogma-jc-step3-acc-selected-count::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background-color: #f3f1ed;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    border-radius: 2px;
}

#doogma-popup-container .doogma-jc-step3-acc-selected-count {
    position: relative;
    display: inline-block;
    font-weight: bold;
    z-index: 1;
    font-size: 12px;
    font-weight: 400;
}

#doogma-popup-container .doogma-jc-step3 .doogma-jc-step3-accordion-header span:first-child {
    width: 80%;
}

#doogma-popup-container .doogma-jc-step3-accordion.doogms-acc-open .doogma-jc-accordion-arrow {
    transform: rotate(180deg);
}

#doogma-popup-container .doogma-jc-step3-accordion .doogma-jc-accordion-arrow {
    transition: 0.5s;
}

/* ----------------------------------------------------------------------------------- */

/* --- Step 4 (Review & Add to Bag) Styles --- */
.doogma-container .doogma-jc-step4 .doogma-jc-popup-header {
    background: transparent;
}

#doogma-popup-container .doogma-jc-step4.doogma-jc-popup-layout {
    height: 100%;
    overflow: hidden;
}

#doogma-popup-container .doogma-jc-step4-content {
    display: flex;
    height: 100%;
}

#doogma-popup-container .doogma-jc-step4-left-panel {
    width: 65%;
    position: relative;
}

#doogma-popup-container .doogma-jc-step4-edit-charms-btn {
    position: absolute;
    top: 30px;
    left: 50px;
    z-index: 99;
    /* color: rgb(82, 19, 12); */
    color: #2D231D;
    font-size: 14px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0px 0px 3px -3px black;
    display: flex;
    justify-content: center;
    align-items: center;
} 

#doogma-popup-container .doogma-jc-step4-edit-charms-btn .doogma-jc-backarrow {
    padding-right: 10px;
    width: 20px;
}

#doogma-popup-container .doogma-jc-step4-edit-charms-btn .doogma-jc-desktop-button-text {
    padding-right: 6px;
}

#doogma-popup-container .doogma-jc-step4-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: #FCF9F6;
    overflow: hidden;
}

#doogma-popup-container .doogma-jc-step4-main-image {
    width: 100%;
    object-fit: cover;
    max-height: 963px;
    height: 90vh;
}

#doogma-popup-container .doogma-jc-step4-right-panel {
    width: 35%;
    padding: 58px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#doogma-popup-container .doogma-jc-step4-summary {
    margin-bottom: 24px;
}

/* --- Step 4 Summary Block Styles --- */
#doogma-popup-container .doogma-jc-step4-summary-block {
    margin-bottom: 20px;
}

#doogma-popup-container .doogma-jc-step4-summary-title {
    font-size: 14px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
}

#doogma-popup-container .doogma-jc-step4-summary-name {
    font-size: 12px;
    font-weight: 600;
    color: #191919;
    padding: 16px 0px;
    font-family: "Darker Grotesque", sans-serif;
}

#doogma-popup-container .doogma-jc-step4-summary-price {
    float: right;
}

#doogma-popup-container .doogma-jc-step4-summary-material,
#doogma-popup-container .doogma-jc-step4-summary-size {
    font-size: 12px;
    color: #5D5D5D;
    padding-bottom: 16px;
    font-weight: 600;
    font-family: "Darker Grotesque", sans-serif;
}

#doogma-popup-container .doogma-jc-step4-summary-free {
    float: right;
}

#doogma-popup-container .doogma-jc-step4-summary-charms-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #191919;
    font-family: "Outfit", sans-serif;
    border-top: 1px solid #F5ECE3;
    padding-top: 20px;
}

#doogma-popup-container .doogma-jc-step4-summary-charms-count {
    float: right;
}

#doogma-popup-container .doogma-jc-step4-summary-charm-row {
    font-size: 12px;
    color: #191919;
    font-weight: 600;
    font-family: "Darker Grotesque", sans-serif;
    margin-bottom: 16px;
}

#doogma-popup-container .doogma-jc-step4-summary-charm-price {
    float: right;
}

#doogma-popup-container .doogma-jc-step4-summary-total {
    font-size: 12px;
    font-weight: 400;
    color: #191919;
    font-family: "Outfit", sans-serif;
    margin-bottom: 8px;
}

#doogma-popup-container .doogma-jc-step4-summary-total-price {
    float: right;
}

#doogma-popup-container .doogma-jc-step4-summary-note {
    color: #191919;
    margin-bottom: 36px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Darker Grotesque", sans-serif;
}

/* --- End Step 4 Summary Block Styles --- */

#doogma-popup-container .doogma-jc-step4-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

#doogma-popup-container .doogma-jc-step4-add-to-bag-btn {
    width: 100%;
    margin-bottom: 0;
    background: #2D231D;
    color: #fff;
    border: none;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 400;
    padding: 15px 0;
    border-radius: 2px 2px 20px 2px;
    cursor: pointer;
    transition: background 0.2s;
}

/* #doogma-popup-container .doogma-jc-step4-add-to-bag-btn:hover {
    background: #600018;
} */

#doogma-popup-container .doogma-jc-step4-edit-necklace-btn {
    width: 100%;
    background: #f5f5f5;
    color: #2D231D;
    border: none;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 0;
    border-radius: 2px 2px 20px 2px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#doogma-popup-container .doogma-jc-step4-edit-necklace-btn:hover {
    background: #f8eaea;
    color: #600018;
}

#doogma-popup-container .doogma-jc-step4-total-block .doogma-jc-step4-total-row {
    font-size: 12px;
    font-weight: 400;
    color: #191919;
    font-family: "Outfit", sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#doogma-popup-container .doogma-jc-step4-total-block .doogma-jc-step4-total-note {
    font-size: 14px;
    color: #191919;
    font-family: "Darker Grotesque", sans-serif;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 36px;
}

#doogma-popup-container .doogma-jc-step4 .doogma-jc-step4-buttons {
    position: absolute;
    width: 34%;
    bottom: 37px;
    background: white;
    padding-right: 35px;
}

/* --- End Step 4 Styles --- */

#doogma-close-confirm-modal #doogma-close-confirm-ok {
    background: #2D231D !important;
}

/* Add this for body scroll control */
body.popup-open {
    overflow: hidden;
}

/* Add this for when popup is hidden */
.doogma-container.hidden {
    display: none;
}

#doogma-charm-poup-initialize {
    padding: 10px 20px;
    background-color: #2D231D;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 20px;
}

#doogma-charm-poup-initialize:hover {
    background-color: #2D231D;
}

/* ----------------------up and down  button style -------------------- */
#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-up {
    position: relative;
}
#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-up::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('images/new-chevron-up.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-up {
    border: none !important;
    height: 32px !important;
    width: 32px !important;
    margin-right: 5px !important;
  }
#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-up:hover::before {
    /* background-image: url('images/arrow-up-hover.svg'); */
    border: 1px solid #2D231D;
}
/* ----------------end up and down button style------------------------- */

/* --- Material Dropdown Styles --- */
#doogma-popup-container .doogma-jc-material-dropdown {
  position: relative;
  width: 100%;
  max-width: none;
  font-family: "Outfit", sans-serif;
  z-index: 100;
}
#doogma-popup-container .doogma-jc-material-dropdown-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #dddada;
  border-radius: 6px;
  padding: 12px 16px;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #191919;
  box-sizing: border-box;
}
#doogma-popup-container .doogma-jc-material-dropdown-arrow {
  margin-left: 12px;
  font-size: 18px;
}
#doogma-popup-container .doogma-jc-material-dropdown-list {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #dddada;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 12px 0 0 0;
  z-index: 999;
  max-height: 320px;
  overflow-y: auto;
  box-sizing: border-box;
}
#doogma-popup-container .doogma-jc-material-dropdown-option {
  display: flex;
  align-items: center;
  padding: 10px 24px 10px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}
#doogma-popup-container .doogma-jc-material-dropdown-option:hover {
  background: #f5f5f5;
}
#doogma-popup-container .doogma-jc-material-dropdown-option input[type="checkbox"] {
  margin-right: 12px;
  accent-color: #2D231D;
  width: 18px;
  height: 18px;
}
#doogma-popup-container .doogma-jc-material-dropdown-clear {
  color: #2D231D;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  cursor: pointer;
  border-top: 1px solid #eee;
  margin-top: 8px;
  background: #fff;
  transition: background 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#doogma-popup-container .doogma-jc-material-dropdown-clear:hover {
  background: #f5f5f5;
}

#doogma-popup-container .doogma-jc-material-dropdown-clear-icon {
  border: none;
  background: none;
  font-size: 20px;
  color: #2D231D;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
}

#doogma-popup-container .doogma-jc-material-dropdown-clear-icon:hover {
  opacity: 0.8;
}
/* ----------------end material dropdown style------------------------- */
/* -----------------------svg image changes style 19-sept-2025 ------------------------- */
#doogma-popup-container .doogma-jc-product-card.selected .doogma-jc-checkbox-wrapper .doogma-jc-product-checkbox-img {
  height: 20px !important;
  width: 20px !important;
  border: 1px solid #80808054;
  padding: 2px;
  border-radius: 2px;
  margin-top: 5px;
  margin-left: 5px;
}

#doogma-popup-container .doogma-jc-step3-charm-info .doogma-jc-information-circle {
  height: 16px;
  width: 16px;
}
#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-remove img {
  height: 20px;
  width: 20px;
}
#doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-up::before, #doogma-popup-container .doogma-jc-rearrange-popup .doogma-jc-rearrange-down::before {
  width: 28px;
  height: 26px;
  border: 1px solid gray;
}

/* -----------------------end svg image changes style 19-sept-2025-------------------- */



