.custom-cookie-outer {
 position: fixed;
 bottom: 0;
 left: 0;
 background: #fff;
 box-shadow: .46875rem 0 .46875rem rgba(0, 0, 0, .15);
 border-radius: 0;
 max-width: 100%;
 padding: .9375rem;
 text-align: center;
 color: #484848;
 opacity: 0;
 visibility: hidden;
 z-index: 999999;
 -webkit-transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
 transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.custom-cookie-outer.show {
 opacity: 1;
 visibility: visible;
}

/* Close button styling */
.cookie-close-btn {
 position: absolute;
 top: 10px;
 right: 10px;
 width: 24px;
 height: 24px;
 background: #ff0000;
 border: 2px solid #cc0000;
 border-radius: 50%;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 color: #ffffff;
 transition: all 0.3s ease;
 z-index: 1000;
 padding: 0;
}

.cookie-close-btn:hover {
 background: #cc0000;
 border-color: #990000;
 transform: scale(1.05);
}

.cookie-close-btn svg {
 width: 12px;
 height: 12px;
 fill: #ffffff;
}

.custom-cookie-outer a {
 color: inherit;
 text-decoration: underline;
}

.custom-cookie-outer a:hover {
 text-decoration: none;
}

.custom-cookie-outer .custom-cookie-content {
    font-size: 0.75rem;
}

.custom-cookie-outer p:last-child {
 margin-bottom: 0;
}

.custom-cookie-outer .cookie-close-btn {
    position: absolute;
    top: -0.375rem;
    right: 0.625rem;
    width: 1rem;
    height: 1rem;
    padding: 0;
    background: #f47b3d;
    border: 1px solid #f47b3d;
    border-radius: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.custom-cookie-outer .cookie-close-btn:hover, 
.custom-cookie-outer .cookie-close-btn:focus {
    background: #f47b3d;
    border-color: #f47b3d;
}

.custom-cookie-outer .btn-holder:has(.hs-text) {
 text-align: center;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
 -ms-flex-direction: column;
 flex-direction: column;
 -webkit-box-pack: center;
 -ms-flex-pack: center;
 justify-content: center;
 -webkit-box-align: center;
 -ms-flex-align: center;
 align-items: center;
}

.custom-cookie-outer .btn.btn-custom-cookie-accept:not(.hs-text) {
 position: absolute;
 top: -.4375rem;
 right: -.4375rem;
 width: 1.25rem;
 height: 1.25rem;
 padding: 0;
 font-size: .4375rem;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
 -ms-flex-direction: column;
 flex-direction: column;
 -webkit-box-pack: center;
 -ms-flex-pack: center;
 justify-content: center;
 -webkit-box-align: center;
 -ms-flex-align: center;
 align-items: center;
}

.custom-cookie-outer .btn.btn-custom-cookie-accept:not(.hs-text):not(:disabled):not(.disabled):hover {
 box-shadow: none;
}

.custom-cookie-outer .btn.btn-custom-cookie-accept.hs-text {
 margin-top: .9375rem;
 padding: .1875rem .625rem;
 font-size: .75rem;
 min-height: 1.875rem;
 min-width: 5.3125rem;
 display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
 -ms-flex-direction: column;
 flex-direction: column;
 -webkit-box-pack: center;
 -ms-flex-pack: center;
 justify-content: center;
 -webkit-box-align: center;
 -ms-flex-align: center;
 align-items: center;
 text-transform: none;
}

@media (min-width:768px) {
.custom-cookie-outer {
  padding: 20px;
  box-shadow: 10px 0 10px rgba(0, 0, 0, .15);
  border-radius: 0 15px 15px 0;
  max-width: 320px;
 }

 .custom-cookie-outer .custom-cookie-content {
    font-size: 16px;
}

 .custom-cookie-outer .cookie-close-btn {
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
}

 .cookie-close-btn {
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
 }

 .cookie-close-btn svg {
  width: 14px;
  height: 14px;
 }

 .custom-cookie-outer .btn.btn-custom-cookie-accept:not(.hs-text) {
  top: -10px;
  right: -10px;
  width: 25px;
  height: 25px;
  font-size: 10px;
 }

 .custom-cookie-outer .btn.btn-custom-cookie-accept.hs-text {
  padding: 5px 15px;
  font-size: 14px;
  margin-top: 20px;
  min-height: 40px;
  min-width: 120px;
 }
}
