/********** Template CSS **********/
:root {
    --primary: #015FC9;
    --secondary: #0DD3F1;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-home-insights {
    border: 1px solid rgba(255,255,255,0.92);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset;
}

.btn-home-insights:hover {
    border-color: #FFFFFF;
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}


/* DomainGravitas topbar: force crisp, bold white text on dark background */
.dg-topbar,
.dg-topbar small,
.dg-topbar a{
  color: #ffffff !important;
  font-weight: 800;
}
.dg-topbar a{
  text-decoration: none;
}
.dg-topbar a:hover{
  text-decoration: underline;
}
.dg-topbar .btn{
  font-weight: 900;
}
.dg-topbar .far,
.dg-topbar .fa{
  color: #ffffff !important;
}
/* Improve topbar legibility: slightly darker strip + subtle shadow (matches hero treatment) */
.dg-topbar{
  background-color: rgba(0, 0, 0, .95) !important;
}
.dg-topbar,
.dg-topbar small,
.dg-topbar a,
.dg-topbar .btn{
  text-shadow: 0 2px 18px rgba(0, 0, 0, .70);
}

.navbar .navbar-brand img {
    max-height: 60px;
}


/* DomainGravitas navbar brand: tighten icon-to-text spacing and vertically center the mark */
.navbar .navbar-brand h1{
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.navbar .navbar-brand h1 img{
  margin-right: 0 !important;
  display: block;
}
.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

/* Keep hero slides a consistent height on desktop so content stays above the fold */
@media (min-width: 769px) {
    #header-carousel .carousel-item {
        position: relative;
        height: 78vh;
        min-height: 560px;
        max-height: 840px;
        overflow: hidden;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}



/* Hero slide contrast helpers */
#header-carousel .carousel-item.hero-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .70) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%);
    z-index: 1;
}

/* Subtle bright overlay for light heroes to improve paragraph readability */
#header-carousel .carousel-item.hero-light::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .42) 55%, rgba(255, 255, 255, 0) 80%);
    z-index: 1;
}

#header-carousel .carousel-item.hero-light .carousel-caption {
    z-index: 2;
}

#header-carousel .carousel-item.hero-dark .carousel-caption {
    z-index: 2;
}

#header-carousel .carousel-item.hero-dark h2,
#header-carousel .carousel-item.hero-dark p {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 50px;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Mobile hero CTA spacing: prevent buttons touching or misaligning when they wrap */
@media (max-width: 575.98px) {
    #header-carousel .carousel-caption a.btn {
        display: block;
        width: 100%;
        max-width: 360px;
    }

    #header-carousel .carousel-caption a.btn + a.btn {
        margin-left: 0 !important;
        margin-top: 12px;
    }
}

.page-header {
    position: relative;
    background: url(../img/hero-2.jpeg) right bottom no-repeat;
    background-size: cover;
    color: #FFFFFF;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
}

.page-header > .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: #FFFFFF;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before,
.page-header .breadcrumb-item.active {
    color: #FFFFFF;
}

.page-header .breadcrumb-item a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}


/*** Facts ***/
@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)), url(../img/hero-2.jpeg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/hero-2.jpeg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

/* Category cards (no images): emphasize the category name and reduce visual noise (DomainGravitas custom) */
.service-item.category-card.category-card--noimage {
    padding-top: 2.4rem;
    padding-bottom: 2.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item.category-card.category-card--noimage .category-card-title {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    font-size: clamp(1.55rem, 1.7vw, 1.95rem);
    margin-top: 0;
    min-height: calc(1.15em * 2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.service-item.category-card.category-card--noimage .category-card-title a {
    display: inline-block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.service-item.category-card.category-card--noimage p {
    margin-left: auto;
    margin-right: auto;
    max-width: 44ch;
}

/* Category cards: keep description height consistent and pin the CTA to a fixed position */
.service-item.category-card.category-card--noimage .category-card-desc {
    line-height: 1.6;
    min-height: calc(1.6em * 3);
    max-width: 44ch;
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.service-item.category-card.category-card--noimage .category-explore-btn {
    margin-top: auto;
}

/* Ensure primary buttons inside service cards keep readable contrast */
.service-item a.btn.btn-primary {
    color: #FFFFFF;
}

@media (max-width: 575.98px) {
    .service-item.category-card.category-card--noimage {
        padding-top: 2.2rem;
        padding-bottom: 2.3rem;
    }

    .service-item.category-card.category-card--noimage p {
        max-width: 40ch;
    }

    .service-item.category-card.category-card--noimage .category-card-desc {
        max-width: 40ch;
    }
}


    .service-item.category-card .service-icon.category-card-icon {
        width: 210px;
        height: 210px;
    }
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)), url(../img/hero-2.jpeg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 10px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #A7A8B4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/* DomainGravitas footer: tighten icon-to-word spacing, and align body text under the wordmark (not under the icon) */
.footer .row.g-5 > div:first-child h2.text-white {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    flex-wrap: nowrap;
}

.footer .row.g-5 > div:first-child h2.text-white img {
    height: 38px !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    margin-right: 0 !important;
}

.footer .row.g-5 > div:first-child p {
    padding-left: 58px; /* aligns with the wordmark start (icon renders ~57px wide at 38px height) */
}

/* Homepage inquiry email should stay inside the card on small screens */
.inquiry-email-bar{
  min-width: 0;
}
.inquiry-email-text{
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.2;
  font-size: clamp(1rem, 2vw, 1.55rem);
}
.inquiry-email-link{
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.inquiry-email-icon{
  flex: 0 0 auto;
}
@media (max-width: 575.98px){
  .inquiry-email-bar{
    align-items: flex-start !important;
  }
  .inquiry-email-text{
    font-size: 1.05rem;
  }
}

/* DomainGravitas additions */
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #ffffff;
  color: #000000;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 100000;
}
.skip-link:focus {
  left: 10px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 1px !important;
  width: 1px !important;
  opacity: 0 !important;
}


/* Hidden iframe target for Formspree submissions */
.hidden-frame{display:none;width:0;height:0;border:0;}


/*** DomainGravitas marketplace tweaks ***/
.domain-card-title {
    min-width: 0;
}
.domain-card-title a {
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* Domain status badge */
.availability-badge{
  font-size: 1rem;
  padding: 0.55rem 0.85rem;
}


/* Compact domain blocks used on category pages */
.domain-block{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.domain-block:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
  opacity: 0.98;
}
.domain-block__name{
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.15;
  white-space: nowrap;
}


/* Inventory cards used on Featured, Domains, and Category listings */
.inventory-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 1.05rem 1.05rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  position: relative;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.inventory-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}
.inventory-card__chevron{
  position: absolute;
  right: 14px;
  top: 16px;
  color: rgba(0,0,0,0.28);
  font-size: 0.9rem;
}
.inventory-card__left{
  min-width: 0;
  flex: 1 1 auto;
}
.inventory-card__name{
  display: block;
  font-weight: 800;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.inventory-card__name:hover{
  color: #111111;
  text-decoration: underline;
}
.inventory-card__support{
  margin-top: 0.28rem;
  /* Keep taglines readable and fully visible in a single line (no fade, no truncation). */
  color: rgba(0,0,0,0.70);
  font-size: 0.92rem;
  line-height: 1.25;
  white-space: nowrap;
  margin-bottom: 0.65rem;
}
.inventory-card__meta{
  min-width: 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.inventory-chip{
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.60rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.08);
}
.inventory-chip--buy{
  background: var(--primary);
  color: #ffffff;
  border-color: rgba(0,0,0,0);
}
.inventory-chip--por{
  background: #f7f7f7;
  color: #222222;
}
.inventory-card__price{
  margin-top: 0;
  font-weight: 900;
  color: #111111;
  line-height: 1.1;
  font-size: 0.98rem;
}
.inventory-link{
  color: rgba(0,0,0,0.55);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.inventory-link:hover{
  color: var(--primary);
  text-decoration: underline;
}
.inventory-link i{
  margin-right: 0.35rem;
}
.inventory-link.is-on{
  color: var(--primary);
}

.domain-price-badge{
  font-weight: 900;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
}


.home-cta-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.home-cta-buttons .btn{
  flex: 0 0 auto;
}
@media (max-width: 575.98px){
  .home-cta-buttons{
    flex-direction: column;
    align-items: stretch;
  }
  .home-cta-buttons .btn{
    width: 100%;
    text-align: center;
  }
}


/* Insight summary cards */
.insight-summary-card{
  display:flex;
  flex-direction:column;
}
.insight-summary-card__title{
  line-height:1.32;
}
.insight-summary-card__meta{
  color:rgba(0,0,0,0.58) !important;
}
.insight-summary-card__excerpt{
  flex:1 1 auto;
  line-height:1.65;
}
.insight-summary-card__action{
  margin-top:auto;
  align-self:flex-start;
}

/* Insight article pages */
.insight-article{background:#ffffff;}
.insight-article .insight-kicker{font-size:1.1rem;line-height:1.7;color:rgba(0,0,0,0.78);}
.insight-article h3{margin-top:2rem;margin-bottom:0.85rem;font-size:1.35rem;}
.insight-article p{color:rgba(0,0,0,0.82);line-height:1.8;margin-bottom:1rem;}
.insight-article sup a{text-decoration:none;font-weight:700;}
.insight-references{margin-top:2.25rem;padding-top:1.5rem;border-top:1px solid rgba(0,0,0,0.08);}
.insight-ref-list{padding-left:1.2rem;}
.insight-ref-list li{margin-bottom:0.75rem;line-height:1.6;}
.insight-ref-list a{word-break:break-word;}
.insight-sidecard{position:sticky;top:110px;}
.insight-meta{font-size:0.95rem;color:rgba(0,0,0,0.58);}

.dg-required-marker {
  color: #015FC9;
  font-weight: 700;
}

.form-check-label .dg-required-marker {
  position: relative;
  top: -0.02em;
}

/* Shared inquiry form: clean stacked labels with no prefilled-looking field text */
.dg-inquiry-form .form-floating {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.45rem;
}

.dg-inquiry-form .form-floating > label {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none !important;
  opacity: 1;
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  pointer-events: auto;
  background: transparent;
}

.dg-inquiry-form .form-floating > .form-control,
.dg-inquiry-form .form-floating > .form-select {
  height: auto;
  min-height: calc(3.35rem + 2px);
  padding: 0.85rem 0.95rem;
  border-radius: 0.8rem;
}

.dg-inquiry-form .form-floating > .form-control:focus,
.dg-inquiry-form .form-floating > .form-select:focus {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.dg-inquiry-form .form-floating > textarea.form-control,
.dg-inquiry-form .form-floating > textarea.form-control:focus {
  min-height: 130px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.dg-inquiry-form .form-floating > .form-control::placeholder,
.dg-inquiry-form .form-floating > textarea.form-control::placeholder {
  color: rgba(0, 0, 0, 0.28);
  opacity: 1;
}

.dg-inquiry-form .form-floating > .form-select {
  background-position: right 0.95rem center;
}

@media (max-width: 575.98px) {
  .dg-inquiry-form .form-floating {
    gap: 0.38rem;
  }

  .dg-inquiry-form .form-floating > label {
    font-size: 0.9rem;
  }

  .dg-inquiry-form .form-floating > .form-control,
  .dg-inquiry-form .form-floating > .form-select,
  .dg-inquiry-form .form-floating > textarea.form-control {
    font-size: 16px;
    padding: 0.8rem 0.85rem;
  }
}


.categories-page-actions {
  width: 100%;
}

.categories-page-actions .categories-action-btn {
  flex: 0 0 220px;
  min-width: 220px;
  text-align: center;
  white-space: nowrap;
}


.categories-page-actions .categories-search-box,
.categories-page-actions .categories-search-box .form-control {
  height: 100%;
}

.categories-page-actions .categories-search-box .form-control {
  min-height: 62px;
}

.categories-page-actions .categories-search-box label {
  white-space: nowrap;
}


.category-page-actions {
  width: 100%;
}

.category-page-actions .category-action-btn {
  flex: 0 0 220px;
  min-width: 220px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .categories-page-actions {
    width: 100%;
  }

  .categories-page-actions .categories-action-btn {
    width: 100%;
    flex-basis: 100%;
    min-width: 0;
  }

  .categories-page-actions .categories-search-box label {
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  .category-page-actions {
    width: 100%;
  }

  .category-page-actions .category-action-btn {
    width: 100%;
    flex-basis: 100%;
    min-width: 0;
  }
}


/* Cookie banner and consent controls */
.dg-cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  width: min(420px, calc(100vw - 24px));
  z-index: 1100;
  display: none;
}
.dg-cookie-banner.is-open {
  display: block;
}
.dg-cookie-banner__inner {
  margin: 0;
  max-width: none;
  background: #ffffff;
  color: #1b1f2a;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 16px 18px;
}
.dg-cookie-banner__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.dg-cookie-banner__text,
.dg-cookie-banner__custom-text,
.dg-cookie-banner__row-note {
  color: #4b5563;
}
.dg-cookie-banner__text,
.dg-cookie-banner__custom-text {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.dg-cookie-banner__actions,
.dg-cookie-banner__custom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dg-cookie-banner__custom {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
.dg-cookie-banner.is-customizing .dg-cookie-banner__custom {
  display: block;
}
.dg-cookie-banner__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}
.dg-cookie-banner__row + .dg-cookie-banner__row {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}
.dg-cookie-banner__row-note {
  font-size: 0.85rem;
  margin-top: 2px;
}
.dg-cookie-banner__pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-size: 0.8rem;
  font-weight: 600;
}
.dg-cookie-banner__row--toggle {
  cursor: pointer;
}
.dg-cookie-banner__toggle {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}
.dg-cookie-privacy-btn {
  margin-top: 10px;
}
@media (max-width: 767.98px) {
  .dg-cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  .dg-cookie-banner__inner {
    padding: 15px 16px;
  }
  .dg-cookie-banner__actions,
  .dg-cookie-banner__custom-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .dg-cookie-banner__actions .btn,
  .dg-cookie-banner__custom-actions .btn {
    width: 100%;
    text-align: center;
  }
  .dg-cookie-banner__row {
    align-items: flex-start;
  }
}
