/*** PLACEHOLDER ***/
#dc-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .45);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}
#dc-loading img {
    animation: leaves 1s ease-in-out infinite alternate;
    -webkit-animation: leaves 1s ease-in-out infinite alternate;
}
@keyframes leaves {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(0.8);
    }
}

.dc-wrap{max-width:1100px}
.dc-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 30px 30px;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Outfit', sans-serif;
}
.dc-card h2 {
    color: #222;
    font-weight: 700;
}
.dc-grid{display:grid;grid-template-columns: 1.5fr 1fr 1fr 1fr;gap:12px;align-items:center}
.dc-grid .dc-head{font-weight:700}
.dc-row{padding:8px 0;border-top:1px solid #f0f0f0}
.dc-row:first-of-type{border-top:0}
.dc-login-row{display:flex;gap:12px;flex-wrap:wrap}
.dc-login-row input {
    width: 100%;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 15px;
    border-color: #e5e5e5;
    outline: none;
}
.dc-login-row input:focus {
    border-color: var(--e-global-color-primary);
}
.dc-btn{display:inline-block;padding:8px 12px;border:1px solid #cfcfcf;border-radius:6px;background:#f7f7f7;cursor:pointer;text-decoration:none}
.dc-btn.primary {
    border-radius: 0;
    padding: 10px 20px;
    font-size: 15px;
    background: var(--e-global-color-primary);
    border: 0;
    width: 100%;
    outline: none;
    font-weight: 700;
    color: #fff;
}
.dc-error{color:#b32d2e;margin-top:8px}
.dc-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px}
.dc-pill{display:inline-block;padding:3px 8px;border:1px solid #ddd;border-radius:999px;font-size:12px;opacity:.85}
.dc-result{font-size:12px;opacity:.85;margin-top:4px}

/*** TOPBAR ***/
.dc-topbar {
    background: #f6f6f6;
    padding: 20px 30px;
    font-family: 'Outfit', sans-serif;
    color: #363636;
}
.dc-topbar #dc-logout {
    background: var(--e-global-color-primary);
    font-weight: 700;
    padding: 12px 25px;
    display: flex;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    transition: all .3s;
}
.dc-topbar #dc-logout:hover {
    background: #222;
    cursor: pointer;
    transition: all .3s;
}
@media (max-width: 991px) {
    .dc-topbar {
        flex-direction: column;
        text-align: center;
    }
}

/*** VIEW 1 ***/
#dc-view-1 {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#dc-view-1 h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #222;
    margin: 0 0 30px 0;
}
#dc-view-1 .dc-category-tiles {
    display: flex;
    gap: 20px;
}
#dc-view-1 .dc-category-tiles button {
    padding: 30px 40px;
    font-weight: 700;
    background: #fff;
    color: var(--e-global-color-primary);
    border-radius: 0;
    border-color: var(--e-global-color-primary);
    width: 200px;
    outline: none;
}
#dc-view-1 .dc-category-tiles button:hover {
    background: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    color: #fff;
}
@media (max-width: 991px) {
    #dc-view-1 h2 {
        font-size: 24px;
    }
    #dc-view-1 .dc-category-tiles {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    #dc-view-1 .dc-category-tiles button  {
        padding: 20px 30px;
    }
}

/*** VIEW 2 ***/
#dc-view-2 {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}
#dc-view-2 .dc-nav {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
#dc-view-2 .dc-nav #dc-back-to-cats {
    background: var(--e-global-color-primary);
    font-weight: 700;
    padding: 12px 25px;
    display: flex;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    border: 0;
    border-radius: 0;
    transition: all .3s;
}
#dc-view-2 .dc-nav #dc-back-to-cats:hover {
    background: #222;
    cursor: pointer;
    transition: all .3s;
}
#dc-view-2 .dc-nav #dc-selected-category-label {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    font-weight: 700;
    font-size: 32px;
}
@media (max-width: 991px) {
    #dc-view-2 .dc-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }
    #dc-view-2 .dc-nav #dc-selected-category-label {
        font-size: 24px;
    }
}

.dc-products-groups {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #f6f6f6;
    padding: 30px 30px;
    font-family: 'Outfit', sans-serif;
    color: #363636;
}
.dc-products-groups h3 {
    margin: 0;
    font-weight: 600;
    font-size: 24px;
}
.dc-products-groups .dc-products-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.dc-products-groups .dc-products-grid .dc-product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 10px 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    transition: all .3s;
    width: 20%;
    outline: none;
}
.dc-products-groups .dc-products-grid .dc-product-card:hover {
    box-shadow: 0 0 20px rgba(0,0,0, .2);
    transition: all .3s;
}
.dc-products-groups .dc-products-grid .dc-product-card img {
    padding: 15px 15px 0 15px;
    max-height: 180px;
    width: auto;
}
.dc-products-groups .dc-products-grid .dc-product-card .dc-product-name {
    color: #222;
    font-size: 15px;
    font-weight: 400;
}
@media (max-width: 991px) {
    .dc-products-groups .dc-products-grid {
        flex-wrap: wrap;
    }
    .dc-products-groups .dc-products-grid .dc-product-card {
        width: calc(50% - 10px);
    }
}
.dc-products-groups .dc-products-grid .dc-product-card{
  position: relative;
}

/* Tooltip box */
.dc-products-groups .dc-products-grid .dc-product-card[title]:hover::after{
  content: attr(title);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);

  background: rgba(0,0,0,.85);
  color: #fff;

  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  max-width: 260px;
  width: max-content;
  white-space: normal;
  word-break: break-word;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.dc-products-groups .dc-products-grid .dc-product-card[title]:hover::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + -2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,.85);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.dc-products-groups .dc-products-grid .dc-product-card[title]:hover::after,
.dc-products-groups .dc-products-grid .dc-product-card[title]:hover::before{
  opacity: 1;
}

/*** VIEW 3 ***/
#dc-view-3 {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}
#dc-view-3 .dc-nav {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
#dc-view-3 .dc-nav #dc-back-to-products {
    background: var(--e-global-color-primary);
    font-weight: 700;
    padding: 12px 25px;
    display: flex;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    border: 0;
    border-radius: 0;
    transition: all .3s;
}
#dc-view-3 .dc-nav #dc-back-to-products:hover {
    background: #222;
    cursor: pointer;
    transition: all .3s;
}
#dc-view-3 .dc-nav #dc-selected-product-title {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    font-weight: 700;
    font-size: 32px;
}
@media (max-width: 991px) {
    #dc-view-3 .dc-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }
    #dc-view-3 .dc-nav #dc-selected-category-title {
        font-size: 24px;
    }
}

.dc-wrapper-product {
    display: flex;
    margin-top: 30px;
}

.dc-wrapper-product .dc-left {
    display: flex;
    gap: 30px;
    width: 75%;
    padding-right: 60px;
    align-items: center;
}
.dc-wrapper-product .dc-left .dc-selected-product {
    width: 60%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.dc-wrapper-product .dc-left .dc-selected-product img {
    height: 400px;
}
.dc-wrapper-product .dc-dimensions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dc-wrapper-product .dc-dimensions label {
    font-family: Outfit, sans-serif;
    font-size: 13px;
    color: #363636;
}
.dc-wrapper-product .dc-dimensions input[type="number"] {
    border: 1px solid #d2d2d2;
    font-family: Outfit, sans-serif;
    font-size: 13px;
    margin-top: 5px;
}
.dc-wrapper-product .dc-dimensions input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
}
.dc-wrapper-product .dc-dimensions input[type="range"]:focus {
    outline: none;
}
.dc-wrapper-product .dc-dimensions input[type="range"]::-webkit-slider-runnable-track {
    background-color: #c1c1c1;
    border-radius: 0px;
    height: 7px;
}
.dc-wrapper-product .dc-dimensions input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -4px;
    background-color: #a48e4d;
    border-radius: 0px;
    height: 14px;
    width: 14px;
}
.dc-wrapper-product .dc-dimensions input[type="range"]::-moz-range-track {
    background-color: #c1c1c1;
    border-radius: 0px;
    height: 7px;
}
.dc-wrapper-product .dc-dimensions input[type="range"]::-moz-range-thumb {
    background-color: #a48e4d;
    border: none;
    border-radius: 0px;
    height: 21px;
    width: 21px;
}
.dc-wrapper-product .dc-dimensions input[type="range"]:focus::-moz-range-thumb{
    outline: 3px solid #a48e4d;
    outline-offset: 0.125rem;
}
.dc-wrapper-product .dc-sidebar {
    width: 35%;
    background: #f6f6f6;
    padding: 30px;
    margin-bottom: auto;
    font-family: Outfit, sans-serif;
    font-size: 16px;
    color: #363636;
}

@media (max-width: 991px) {
    .dc-wrapper-product {
        flex-direction: column;
    }
    .dc-wrapper-product .dc-left {
        width: 100%;
        padding: 0;
        flex-direction: column;
    }
    .dc-wrapper-product .dc-left .dc-selected-product img {
        max-height: 200px;
        height: auto;
    }
    .dc-wrapper-product .dc-sidebar {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}