/* Product list */
.gh-product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 32px;
}

@media (max-width: 980px) {
    .gh-product-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.gh-contentfilter-menu-trigger-tiers {
    margin-right: 0 !important;
    background: transparent !important;
}

.gh-contentfilter-menu-trigger-tiers .ember-power-select-selected-item {
    font-weight: 400 !important;
    color: #394047 !important;
}

.gh-product-cards {
    margin: 0 0 24px;
}

.gh-product-card {
    position:relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

@media (max-width: 980px) {
    .gh-product-card {
        padding: 4vmin 48px;
    }
}

.gh-product-card-button-container {
    position: absolute;
    right: 24px;
    top: 24px;
    margin-right: 0;
}

.gh-product-card-actions-button, .gh-product-card-edit-button {
    margin-right: 0;
    cursor: pointer;
}

.gh-product-card-actions-button.gh-btn span, .gh-product-card-edit-button.gh-btn span {
    height: 24px;
}

.gh-product-card-edit-button svg {
    fill: #15171a;
    color: transparent;
}

.gh-tier-actions-menu {
    top: calc(100% + 6px);
    left: auto;
    right: 0;
}

.gh-product-card-block {
    flex-basis: 30%;
}

.gh-product-card-block:not(:first-of-type) {
    padding-left: 16px;
}

.gh-product-card-block h4 {
    font-size: 1.3rem;
    font-weight: 500;
}

.gh-product-card-block h4 .counter {
    font-weight: 400;
    color: var(--midgrey);
}

.gh-product-card-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.gh-product-card-empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gh-product-card-empty-state p {
    margin-bottom: 0;
    padding: 3.2rem;
    color: var(--midgrey);
}

.gh-product-card-description {
    font-size: 1.3rem;
    line-height: 1.45em;
    margin: 4px 20px 4px 0;
    color: var(--midgrey);
}

.gh-product-card-block.title-block {
    flex-basis: 40%;
}

.gh-product-card-block.benefits-block .gh-product-card-description {
    margin-top: 9px;
}

.gh-product-card-block ul.benefits {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.gh-product-card-block ul.benefits li {
    display: flex;
    align-items: flex-start;
    font-size: 1.3rem;
    line-height: 1.45em;
    color: var(--middarkgrey);
}

.gh-product-card-block ul.benefits li svg {
    flex-basis: 18px;
    width: 14px;
    height: 14px;
    min-width: 18px;
    margin-top: 3px;
    margin-right: 4px;
    color: var(--black);
}

.gh-product-card-block ul.benefits li span {
    flex-grow: 1;
}

.gh-product-price-container {
    display: flex;
    margin: 0 60px 0 20px;
    justify-content: flex-end;
}

.gh-product-card-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 12px 2px 0;
    font-size: 1.3rem;
    color: var(--midgrey);
    padding: 12px 8px;
    border: 1px solid var(--whitegrey);
    border-radius: 3px;
    min-width: 90px;
    min-height: 66px;
}

.gh-product-card-price .currency-symbol,
.gh-product-card-price .amount,
.gh-product-card-price .currency,
.gh-product-card-price .currency-code {
    font-weight: 600;
    color: var(--darkgrey);
}

.gh-product-card-price .currency-symbol {
    margin-top: -3px;
}

.gh-product-card-price .amount {
    letter-spacing: -.2px;
    line-height: 1;
    margin-right: 2px;
    font-size: 2.2rem;
    letter-spacing: 0.1px;
}

.gh-product-card-price .currency {
    text-transform: uppercase;
    position: relative;
    top: 2px;
    font-size: 1.4rem;
    letter-spacing: 0.4px;
    line-height: 1;
}

.gh-product-card-price .currency-code {
    text-transform: uppercase;
    position: relative;
    top: 0;
    font-weight: 600;
    line-height: 1;
    font-size: 1.25rem;
    letter-spacing: -.2px;
}

.gh-product-card-price .period {
    font-size: 1.25rem;
    text-transform: lowercase;
    line-height: 1.2em;
    margin-top: 2px;
}

.gh-product-cards-footer {
    display: flex;
    align-items: center;
    margin-top: -7px;
    color: var(--midgrey);
    font-size: 1.35rem;
}

.gh-btn-add-product,
.gh-btn-add-product:hover {
    margin-right: 5px;
}

.gh-btn-add-product svg {
    width: 1rem;
    height: 1rem;
    margin: 1px 4px 0 0;
}

.gh-btn-icon.gh-btn-add-product svg path {
    stroke: var(--green-d1);
    stroke-width: 3;
}

.gh-product-list-icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--green);
    margin-bottom: 8px;
    height: 72px;
}

.gh-product-list-icon svg {
    width: 60px;
    height: 60px;
}

.gh-product-list-siteicon {
    width: 54px;
    height: 54px;
    background-color: transparent;
    background-size: 54px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.gh-product-list-icon svg circle,
.gh-product-list-icon svg path {
    stroke-width: 1px !important;
}

/* Product details */
.gh-product-details {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 32px;
    margin-bottom: 3vw;
}

.gh-product-details-form {
    display: flex;
    align-items: flex-start;
    padding-top: 20px !important;
}

.gh-product-icon-container {
    width: unset;
    padding-bottom: 0;
    margin-bottom: 0;
}

.gh-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    width: 124px;
    height: 124px;
    margin-right: 24px;
    border: 1px solid var(--whitegrey);
    border-radius: 3px;
}

.gh-product-details-fields {
    width: 100%;
}

.gh-product-details-fields .max-width {
    max-width: 840px;
}

.gh-product-details-fields .form-group:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
}

.gh-product-details section {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

/* Product stats */
.gh-product-stat-container {
    display: flex;
    flex-direction: column;
}

.gh-product-stat-details .data {
    white-space: nowrap;
    font-size: 3.1rem;
    line-height: 1em;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 2px;
    padding: 0;
}

.gh-product-stat-details .info {
    color: var(--midgrey);
    margin: 0 0 10px;
    padding: 0;
}

.gh-product-chart {
    color: var(--whitegrey);
    border: 1px solid var(--whitegrey);
    border-top-color: transparent;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
}

/* Price list */
.gh-price-list {
    margin-bottom: 24px;
}

.gh-price-list a span {
    color: var(--midgrey);
    font-size: 1.3rem;
}

.gh-price-list-actionlist {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    line-height: 1;
}

.gh-price-list .gh-list-row:hover .gh-price-list-actionlist {
    opacity: 1;
}

.gh-price-list-actionlist a,
.gh-price-list-actionlist button {
    margin-left: 15px;
    padding: 0;
    line-height: 0;
}

.gh-price-list-actionlist a span,
.gh-price-list-actionlist button span {
    display: inline-block;
    line-height: 1;
    height: unset;
    border-radius: 3px;
    padding: 4px 6px;
    color: var(--darkgrey);
    font-weight: 500;
    font-size: 1.2rem !important;
    text-transform: uppercase;
}

.gh-price-list-actionlist a:hover span,
.gh-price-list-actionlist button:hover span {
    background: var(--whitegrey);
}

.gh-price-list-actionlist a.archived:hover span,
.gh-price-list-actionlist button.archived:hover span {
    background: color-mod(var(--red) a(10%));
    color: var(--red);
}

.gh-price-list-title,
.gh-price-list-price {
    width: 50%;
}

.gh-price-list-name span.archived {
    background: var(--lightgrey-l2);
    color: var(--midgrey);
    font-size: 1.2rem;
}

.gh-price-list-archived .gh-price-list-name .name,
.gh-price-list-archived .gh-price-list-description,
.gh-price-list-archived .gh-price-list-price span,
.gh-price-list-archived .gh-price-list-subscriptions span {
    opacity: 0.5;
}

.gh-price-list-noprices {
    text-align: center;
    padding: 48px 0;
    color: var(--midgrey);
}

.gh-btn-archive-toggle {
    width: 80px;
}

.product-actions-menu.fade-out {
    animation-duration: 0.01s;
    pointer-events: none;
}

/* Add/edit product modal */
.fullscreen-modal-edit-product {
    max-width: 1080px;
}

.gh-product-modal-content {
    margin: -32px -32px 0;
    padding: 32px 32px 0;
    max-height: calc(100vh - 16vw);
    overflow-y: auto;
}

.gh-form-edit-product .gh-main-section {
    margin-bottom: 32px;
    grid-template-columns: 1fr 0.8fr 1.2fr;
}

.gh-form-edit-product .gh-main-section-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.gh-form-edit-product .gh-main-section-content {
    padding-top: 16px;
    margin-bottom: 0;
}

.gh-product-priceform-block {
    margin-bottom: 32px;
}

.gh-product-priceform-block .form-group:last-of-type {
    margin-bottom: 0;
}

.gh-product-priceform-pricecurrency {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 20px;
}

.gh-form-edit-product .gh-main-section-content.gh-product-form-benefits {
    padding-left: 8px;
    margin-bottom: 0;
}

.gh-product-benefits .gh-input {
    padding: 6px 28px 6px 30px;
}

.gh-product-benefits .gh-blognav-line {
    position: relative;
}

.gh-product-benefits .gh-blognav-line svg {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 13px;
    left: 11px;
}

.gh-product-benefits .gh-blognav-line.placeholder {
    color: var(--midlightgrey);
}

.gh-product-benefits .gh-blognav-line svg path {
    stroke-width: 3px;
}

.gh-product-benefits .gh-blognav-item {
    position: relative;
    align-items: center;
}

.gh-product-benefits .gh-blognav-item.gh-blognav-item--error {
    align-items: flex-start;
}

.gh-blognav-item--error button.gh-blognav-add {
    margin-top: 12px;
}

.gh-product-benefits .gh-blognav-label {
    margin-right: 0;
}

.gh-product-benefits .gh-blognav-label .response {
    position: relative;
    font-size: 1.25rem;
    margin: 2px 0 6px;
}

.gh-product-benefits .gh-blognav-delete {
    position: absolute;
    top: 4px;
    right: 8px;
    opacity: 0;
}

.gh-product-benefits .gh-blognav-add {
    margin-top: 2px;
}

.gh-product-benefits .gh-blognav-grab {
    text-indent: 0px;
    opacity: 0;
}

.gh-product-benefits .gh-blognav-item:hover .gh-blognav-delete,
.gh-product-benefits .gh-blognav-item:hover .gh-blognav-grab {
    opacity: 1;
}

.gh-product-benefits .gh-blognav-item:not(.gh-blognav-item--sortable):not(:last-of-type) {
    margin-bottom: 16px;
}

.gh-product-benefit-hint {
    color: var(--midgrey-d2);
    font-size: 1.25rem !important;
    font-weight: 400;
    padding: 0 16px;
    margin-top: -12px;
}

.gh-product-form-tierpreview-content {
    position: sticky;
    top: 45px;
    height: max-content;
}

.gh-product-form-tierpreview .gh-main-section-content {
    flex: 1;
    max-width: 420px;
    min-width: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: stretch;
    background: white;
    padding: 32px;
    border-radius: 7px;
    border: 1px solid #e1e1e1;
    min-height: 200px;
    letter-spacing: normal;
}

.gh-portal-product-card-header {
    width: 100%;
    min-height: 56px;
}

.gh-product-form-tierpreview .gh-main-section-content .gh-portal-product-name {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3em;
    letter-spacing: 0px;
    margin-top: -4px;
    margin-bottom: 0;
    word-break: break-word;
    width: 100%;
}

.gh-product-form-tierpreview .gh-main-section-content .gh-portal-product-description {
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.4em;
    width: 100%;
    margin-top: 16px;
    color: #3d3d3d;
}

.gh-portal-product-card-pricecontainer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 4px;
    width: 100%;
    margin-top: 16px;
}

.gh-portal-product-price {
    display: flex;
    justify-content: center;
    color: #1d1d1d;
}

.gh-portal-product-card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gh-portal-product-card-detaildata {
    flex: 1;
}

.gh-portal-product-price .amount {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: -1.3px;
}

.gh-product-form-tierpreivew-cadence {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.gh-product-form-tierpreivew-cadence .gh-btn,
.gh-product-form-tierpreivew-cadence .gh-btn span {
    background: transparent !important;
    padding: 0;
    line-height: 1em;
    height: auto;
    font-size: 1.3rem;
    color: var(--midlightgrey);
    margin-left: 4px;
    font-weight: 400;
    overflow: unset;
}

.gh-product-form-tierpreivew-cadence .gh-btn:hover span {
    color: var(--middarkgrey);
}

.gh-product-form-tierpreivew-cadence .gh-btn.selected span {
    font-weight: 500;
    color: var(--darkgrey);
}

.gh-product-form-tierpreview .monthly-price {
    display: flex;
    align-items: baseline;
    font-size: 3.3rem;
    font-weight: 500;
    line-height: 1em;
    color: #3d3d3d;
}

.gh-product-form-tierpreview .currency-sign {
    align-self: flex-start;
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.115em;
    text-transform: uppercase;
}

.gh-product-form-tierpreview .billing-period {
    align-self: flex-end;
    font-size: 1.5rem;
    line-height: 1.4em;
    color: #686868;
    letter-spacing: 0.3px;
    margin-left: 5px;
    font-weight: 400;
}

.gh-portal-discount-label {
    position: relative;
    font-size: 1.25rem;
    line-height: 1em;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #1d1d1d;
    padding: 6px 9px;
    text-align: center;
    white-space: nowrap;
    border-radius: 999px;
    margin-right: -4px;
    margin-top: -4px;
    max-height: 24.5px;
}

.gh-portal-discount-label span {
    position: absolute;
    content: "";
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 999px;
    opacity: 0.2;
}

.gh-product-form-tierpreview .gh-portal-product-benefits {
    font-size: 1.5rem;
    line-height: 1.4em;
    width: 100%;
    margin-top: 16px;
}

.gh-product-form-tierpreview .gh-portal-product-benefit {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #3d3d3d;
}

.gh-portal-product-benefit svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    margin: 3px 10px 0 0;
    overflow: visible;
}

.gh-product-form-tierpreview .gh-portal-product-benefit polyline,
.gh-product-form-tierpreview .gh-portal-product-benefit g,
.gh-product-form-tierpreview .gh-portal-product-benefit path {
    stroke-width: 3px;
}

.gh-product-form-tierpreview .gh-portal-benefit-title {
    letter-spacing: normal;
}

.gh-product-form-tierpreview .placeholder {
    opacity: 0.35;
}