/*
|--------------------------------------------------------------------------
| domains123.com.au
|--------------------------------------------------------------------------
| Main Website Styles
|--------------------------------------------------------------------------
*/


/* =========================================================
   ROOT
   ========================================================= */

:root {
    --brand: #ff4e4e;
    --brand-hover: #e94242;
    --brand-soft: #fff1f1;

    --black: #000000;
    --black-soft: #111111;
    --dark: #191919;

    --white: #ffffff;

    --text: #111111;
    --text-soft: #3f3f3f;
    --muted: #717171;

    --surface: #f7f7f7;
    --surface-dark: #151515;

    --border: #e7e7e7;
    --border-dark: #282828;

    --green: #087443;
    --green-bg: #e8f7ef;

    --orange: #a05c00;
    --orange-bg: #fff3df;

    --red: #b42318;
    --red-bg: #fff0ee;

    --radius-small: 8px;
    --radius: 14px;
    --radius-large: 22px;

    --shadow:
        0 18px 55px
        rgba(0, 0, 0, 0.07);

    --container: 1220px;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--white);
    color: var(--text);

    font-size: 16px;
    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


body.menu-open {
    overflow: hidden;
}


img {
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select,
textarea {
    font: inherit;
}


button {
    cursor: pointer;
}


button:disabled {
    cursor: not-allowed;
}


input,
select,
textarea {
    outline: none;
}


::selection {
    background: var(--brand);
    color: var(--white);
}


/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-left: auto;
    margin-right: auto;
}


#main-content {
    min-height: 55vh;
}


.eyebrow {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--brand);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}


.section {
    padding: 88px 0;
}


.section-light {
    background: var(--surface);
}


.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}


.section-title h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 44px);

    line-height: 1.05;
    letter-spacing: -0.045em;
}


.section-title p {
    margin: 10px 0 0;

    color: var(--muted);
}


.text-link {
    color: var(--brand);

    font-size: 14px;
    font-weight: 750;
}


.text-link:hover {
    color: var(--brand-hover);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background: rgba(0, 0, 0, 0.97);

    border-bottom:
        1px solid var(--border-dark);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


.header-container {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 36px;
}


.site-logo {
    flex-shrink: 0;

    display: flex;
    align-items: center;
}


.site-logo img {
    display: block;

    width: 185px;
    height: auto;

    max-height: 52px;

    object-fit: contain;
    object-position: left center;
}


.desktop-nav {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-left: 22px;
}


.desktop-nav a {
    position: relative;

    padding: 28px 0;

    color: #c8c8c8;

    font-size: 14px;
    font-weight: 650;
}


.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--white);
}


.desktop-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: var(--brand);
}


.header-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 9px;
}


.header-icon-link {
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 12px;

    color: #d0d0d0;

    border:
        1px solid #292929;

    border-radius: 9px;

    background: #111111;

    font-size: 13px;
    font-weight: 700;
}


.header-icon-link:hover,
.header-icon-link.active {
    color: var(--white);

    border-color: #404040;
}


.header-icon {
    font-size: 18px;
}


.header-count,
.cart-count {
    min-width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 5px;

    border-radius: 99px;

    background: rgba(255, 255, 255, 0.14);

    color: var(--white);

    font-size: 10px;
    font-weight: 800;
}


.header-cart {
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 15px;

    background: var(--brand);

    color: var(--white);

    border-radius: 9px;

    font-size: 13px;
    font-weight: 800;
}


.header-cart:hover {
    background: var(--brand-hover);
}


.login-button,
.account-button {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    color: var(--white);

    border:
        1px solid #353535;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 750;
}


.login-button:hover,
.account-button:hover {
    border-color: #666666;
}


.mobile-menu-button {
    width: 42px;
    height: 42px;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    padding: 0;

    background: #111111;

    border:
        1px solid #292929;

    border-radius: 9px;
}


.mobile-menu-button span {
    width: 18px;
    height: 2px;

    display: block;

    background: var(--white);

    transition: 0.18s ease;
}


.mobile-menu-button.open span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}


.mobile-menu-button.open span:nth-child(2) {
    opacity: 0;
}


.mobile-menu-button.open span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    display: none;

    background: var(--black);

    border-top:
        1px solid var(--border-dark);
}


.mobile-menu.open {
    display: block;
}


.mobile-menu-inner {
    padding-top: 18px;
    padding-bottom: 24px;
}


.mobile-menu-inner > a {
    display: block;

    padding: 14px 0;

    color: #d0d0d0;

    border-bottom:
        1px solid #1c1c1c;

    font-size: 15px;
    font-weight: 650;
}


.mobile-menu-inner > a:hover {
    color: var(--white);
}


.mobile-user-section {
    margin-top: 18px;

    padding: 17px;

    background: #111111;

    border-radius: 10px;
}


.mobile-user-section span {
    display: block;

    margin-bottom: 4px;

    color: #777777;

    font-size: 11px;
}


.mobile-user-section strong {
    color: var(--white);

    font-size: 13px;
}


.mobile-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 18px;
}


.mobile-login,
.mobile-register,
.mobile-account-link,
.mobile-logout-link {
    min-height: 45px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-weight: 750;
}


.mobile-login,
.mobile-account-link {
    border:
        1px solid #333333;

    color: var(--white) !important;
}


.mobile-register {
    background: var(--brand);

    color: var(--white) !important;
}


.mobile-logout-link {
    margin-top: 8px;

    color: #ff8d8d !important;

    border:
        1px solid #3a2424;
}


/* =========================================================
   FLASH MESSAGES
   ========================================================= */

.flash-container {
    padding-top: 14px;
}


.flash-message {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 16px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 650;
}


.flash-info {
    color: #155eef;
    background: #eff8ff;
    border: 1px solid #b2ddff;
}


.flash-success {
    color: #067647;
    background: #ecfdf3;
    border: 1px solid #abefc6;
}


.flash-warning {
    color: #93370d;
    background: #fffaeb;
    border: 1px solid #fedf89;
}


.flash-error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
}


.flash-close {
    border: 0;
    background: transparent;

    color: inherit;

    font-size: 21px;

    padding: 0 3px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 105px 0 95px;

    background:
        radial-gradient(
            circle at 83% 25%,
            rgba(255, 78, 78, 0.12),
            transparent 31%
        ),
        var(--white);
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, 0.65fr);

    gap: 75px;

    align-items: center;
}


.hero h1 {
    max-width: 790px;

    margin: 0;

    font-size:
        clamp(48px, 6vw, 76px);

    line-height: 0.99;
    letter-spacing: -0.055em;
}


.hero h1 span,
.brand-text {
    color: var(--brand);
}


.hero-description {
    max-width: 680px;

    margin: 27px 0 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}


.hero-search {
    max-width: 680px;

    display: flex;

    gap: 8px;

    margin-top: 34px;

    padding: 7px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 13px;

    box-shadow: var(--shadow);
}


.hero-search input {
    flex: 1;

    min-width: 0;

    height: 50px;

    padding: 0 15px;

    border: 0;

    background: transparent;

    color: var(--text);
}


.hero-search input::placeholder {
    color: #969696;
}


.hero-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 650;
}


.hero-payment-card {
    padding: 29px;

    color: var(--white);

    background: var(--black);

    border-radius: var(--radius-large);

    box-shadow:
        0 30px 75px
        rgba(0, 0, 0, 0.19);
}


.hero-payment-label {
    color: #737373;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.1em;
}


.hero-payment-card h2 {
    margin: 44px 0 4px;

    font-size: 52px;

    line-height: 1;

    letter-spacing: -0.05em;
}


.hero-payment-card > p {
    margin: 0;

    color: #adadad;
}


.hero-payment-divider {
    height: 1px;

    margin: 28px 0;

    background: #252525;
}


.hero-payment-note {
    color: #919191 !important;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.primary-button,
.secondary-button,
.dark-button,
.white-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 800;

    transition:
        background 0.15s ease,
        border 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}


.primary-button {
    margin-top: 1rem;
    background: var(--brand);

    color: var(--white);

    border:
        1px solid var(--brand);
}


.primary-button:hover {
    background: var(--brand-hover);

    border-color: var(--brand-hover);
}


.secondary-button {
    background: var(--white);

    color: var(--text);

    border:
        1px solid var(--border);
}


.secondary-button:hover {
    border-color: #bdbdbd;
}


.dark-button {
    background: var(--black);

    color: var(--white);

    border:
        1px solid var(--black);
}


.white-button {
    background: var(--white);

    color: var(--black);

    border:
        1px solid var(--white);
}


.full-button {
    width: 100%;
}


.inline-button {
    margin-top: 20px;
}


.disabled,
button:disabled {
    opacity: 0.45;
}


/* =========================================================
   DOMAIN CARDS
   ========================================================= */

.domain-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


.domain-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 24px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform 0.17s ease,
        box-shadow 0.17s ease,
        border-color 0.17s ease;
}


.domain-card:hover {
    transform: translateY(-3px);

    border-color: #d8d8d8;

    box-shadow: var(--shadow);
}


.domain-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


.status {
    min-height: 26px;

    display: inline-flex;
    align-items: center;

    padding: 0 10px;

    border-radius: 99px;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.status-available {
    color: var(--green);

    background: var(--green-bg);
}


.status-reserved {
    color: var(--orange);

    background: var(--orange-bg);
}


.status-sold {
    color: #636363;

    background: #eeeeee;
}


.status-default {
    color: var(--muted);

    background: var(--surface);
}


.favorite-icon-button {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    padding: 0;

    background: var(--white);

    color: var(--black);

    border:
        1px solid var(--border);

    border-radius: 50%;

    font-size: 20px;
}


.favorite-icon-button:hover,
.favorite-icon-button.active {
    color: var(--brand);

    border-color: #ffc8c8;

    background: var(--brand-soft);
}


.domain-card-name {
    display: block;

    margin-top: 25px;

    overflow-wrap: anywhere;

    font-size: 23px;
    line-height: 1.15;

    font-weight: 850;

    letter-spacing: -0.035em;
}


.domain-card-name:hover {
    color: var(--brand);
}


.domain-category {
    display: inline-flex;

    align-self: flex-start;

    margin-top: 11px;

    padding: 6px 9px;

    color: var(--muted);

    background: var(--surface);

    border-radius: 6px;

    font-size: 10px;
    font-weight: 750;
}


.domain-metrics {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 7px;

    margin-top: 23px;
}


.domain-metric {
    min-width: 0;

    padding: 13px 8px;

    text-align: center;

    background: var(--surface);

    border-radius: 9px;
}


.domain-metric small {
    display: block;

    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.05em;
}


.domain-metric strong {
    display: block;

    margin-top: 5px;

    font-size: 17px;
}


.domain-price {
    margin-top: 23px;

    padding-top: 18px;

    border-top:
        1px solid var(--border);
}


.domain-price small {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 10px;
}


.domain-price strong {
    font-size: 24px;

    letter-spacing: -0.035em;
}


.domain-card-actions {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 8px;

    margin-top: 18px;
}


/* =========================================================
   DOMAIN FILTERS
   ========================================================= */

.domain-search-wrap {
    max-width: 640px;

    margin-top: 26px;
}


.domain-search {
    width: 100%;
    height: 54px;

    padding: 0 17px;

    background: var(--white);

    color: var(--text);

    border:
        1px solid var(--border);

    border-radius: 10px;
}


.domain-search:focus {
    border-color: var(--brand);

    box-shadow:
        0 0 0 3px
        rgba(255, 78, 78, 0.1);
}


.domain-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 28px;
}


.domain-filter {
    min-height: 40px;

    padding: 0 15px;

    background: var(--white);

    color: var(--text);

    border:
        1px solid var(--border);

    border-radius: 99px;

    font-size: 12px;
    font-weight: 750;
}


.domain-filter:hover,
.domain-filter.active {
    color: var(--white);

    background: var(--black);

    border-color: var(--black);
}


.no-results {
    display: none;

    padding: 55px 20px;

    text-align: center;

    color: var(--muted);
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-header {
    padding: 76px 0 58px;

    background: var(--white);

    border-bottom:
        1px solid var(--border);
}


.page-header h1 {
    max-width: 900px;

    margin: 0;

    font-size:
        clamp(42px, 5vw, 62px);

    line-height: 1;

    letter-spacing: -0.05em;
}


.page-header p {
    max-width: 720px;

    margin: 17px 0 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   DOMAIN DETAIL PAGE
   ========================================================= */

.domain-detail {
    padding: 70px 0 100px;
}


.back-link {
    display: inline-flex;
    align-items: center;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
}


.back-link:hover {
    color: var(--brand);
}


.domain-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(310px, 0.6fr);

    gap: 58px;

    align-items: start;
}


.domain-detail-main h1 {
    max-width: 850px;

    margin: 24px 0 0;

    overflow-wrap: anywhere;

    font-size:
        clamp(42px, 5.6vw, 68px);

    line-height: 0.99;
    letter-spacing: -0.055em;
}


.domain-detail-description {
    max-width: 780px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}


.detail-metrics {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-top: 34px;
}


.detail-metric {
    padding: 20px;

    background: var(--surface);

    border-radius: 12px;
}


.detail-metric small {
    display: block;

    color: var(--muted);

    font-size: 10px;
}


.detail-metric strong {
    display: block;

    margin: 8px 0 2px;

    font-size: 31px;

    letter-spacing: -0.03em;
}


.detail-metric span {
    color: var(--muted);

    font-size: 10px;
}


.info-card {
    margin-top: 34px;

    padding: 28px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);
}


.info-card h2 {
    margin: 0 0 12px;

    font-size: 23px;

    letter-spacing: -0.025em;
}


.info-card p {
    margin: 0;

    color: var(--muted);

    line-height: 1.75;
}


.purchase-card {
    position: sticky;

    top: 102px;

    padding: 28px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);
}


.purchase-card > small {
    color: var(--muted);

    font-size: 11px;
}


.purchase-price {
    margin-top: 5px;

    font-size: 42px;
    font-weight: 900;

    letter-spacing: -0.05em;
}


.purchase-divider {
    height: 1px;

    margin: 24px 0;

    background: var(--border);
}


.purchase-row {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;

    color: var(--muted);

    font-size: 12px;
}


.purchase-row strong {
    text-align: right;

    color: var(--text);
}


.purchase-note {
    margin: 18px 0 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.65;
}


/* =========================================================
   CART
   ========================================================= */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);

    gap: 32px;

    align-items: start;
}


.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 10px;

    padding: 20px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 12px;
}


.cart-item-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 6px;
}


.cart-item-domain {
    overflow-wrap: anywhere;

    font-size: 18px;
    font-weight: 800;
}


.cart-item-domain:hover {
    color: var(--brand);
}


.cart-item-price {
    color: var(--muted);

    font-size: 12px;
}


.cart-remove-button {
    flex-shrink: 0;

    padding: 8px 10px;

    color: var(--brand);

    background: transparent;

    border: 0;

    font-size: 12px;
    font-weight: 750;
}


.cart-summary {
    display: none;

    position: sticky;

    top: 102px;

    padding: 26px;

    background: var(--black);

    color: var(--white);

    border-radius: var(--radius-large);
}


.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}


.cart-summary-row span {
    color: #888888;

    font-size: 12px;
}


.cart-summary-row strong,
#cartTotal {
    font-size: 29px;

    letter-spacing: -0.035em;
}


.empty-state {
    display: none;

    padding: 70px 20px;

    text-align: center;
}


.empty-state h2 {
    margin: 0 0 10px;

    font-size: 28px;

    letter-spacing: -0.035em;
}


.empty-state p {
    color: var(--muted);
}


/* =========================================================
   FAVOURITES
   ========================================================= */

.favorites-list {
    display: grid;

    gap: 10px;
}


.favorite-simple-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 11px;
}


.favorite-simple-item strong {
    overflow-wrap: anywhere;

    font-size: 17px;
}


.favorite-simple-item span {
    flex-shrink: 0;

    color: var(--brand);

    font-size: 13px;
    font-weight: 750;
}


/* =========================================================
   FORMS / AUTH
   ========================================================= */

.auth-section {
    padding: 75px 0 100px;

    background: var(--surface);
}


.auth-card {
    width: min(100%, 470px);

    margin: 0 auto;

    padding: 32px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);
}


.auth-logo {
    display: flex;
    justify-content: center;

    margin-bottom: 28px;
}


.auth-logo img {
    width: 180px;

    filter: invert(1);
}


.auth-card h1 {
    margin: 0;

    font-size: 33px;

    line-height: 1.05;
    letter-spacing: -0.045em;
}


.auth-card > p {
    margin: 10px 0 28px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}


.form-group {
    margin-bottom: 17px;
}


.form-label {
    display: block;

    margin-bottom: 7px;

    color: var(--text-soft);

    font-size: 12px;
    font-weight: 750;
}


.form-control {
    width: 100%;
    height: 50px;

    padding: 0 14px;

    color: var(--text);

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 9px;
}


textarea.form-control {
    height: auto;
    min-height: 120px;

    padding-top: 13px;
    padding-bottom: 13px;

    resize: vertical;
}


.form-control:focus {
    border-color: var(--brand);

    box-shadow:
        0 0 0 3px
        rgba(255, 78, 78, 0.1);
}


.form-help {
    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 10px;
}


.form-error {
    display: block;

    margin-top: 6px;

    color: var(--red);

    font-size: 11px;
}


.form-check {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin: 16px 0;
}


.form-check input {
    margin-top: 3px;
}


.form-check label {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}


.auth-bottom {
    margin-top: 22px;

    text-align: center;

    color: var(--muted);

    font-size: 12px;
}


.auth-bottom a {
    color: var(--brand);

    font-weight: 750;
}


/* =========================================================
   ACCOUNT
   ========================================================= */

.account-layout {
    display: grid;

    grid-template-columns:
        230px minmax(0, 1fr);

    gap: 30px;

    padding: 60px 0 90px;
}


.account-sidebar {
    align-self: start;

    padding: 16px;

    background: var(--surface);

    border-radius: 13px;
}


.account-sidebar a {
    display: block;

    padding: 11px 12px;

    color: var(--muted);

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;
}


.account-sidebar a:hover,
.account-sidebar a.active {
    color: var(--text);

    background: var(--white);
}


.account-content h1 {
    margin-top: 0;

    font-size: 38px;

    letter-spacing: -0.045em;
}


.account-card {
    padding: 24px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius);
}


/* =========================================================
   TABLES
   ========================================================= */

.table-wrap {
    overflow-x: auto;

    border:
        1px solid var(--border);

    border-radius: 12px;
}


.data-table {
    width: 100%;

    border-collapse: collapse;

    background: var(--white);
}


.data-table th,
.data-table td {
    padding: 14px 15px;

    text-align: left;

    border-bottom:
        1px solid var(--border);

    font-size: 12px;
}


.data-table th {
    color: var(--muted);

    background: var(--surface);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.data-table tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   INVOICE / PAYMENT
   ========================================================= */

.invoice-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(310px, 0.75fr);

    gap: 30px;

    align-items: start;

    padding: 65px 0 100px;
}


.invoice-card,
.payment-card {
    padding: 28px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-large);
}


.invoice-number {
    color: var(--muted);

    font-size: 12px;
}


.invoice-total {
    margin-top: 10px;

    font-size: 43px;
    font-weight: 900;

    letter-spacing: -0.05em;
}


.payment-card {
    text-align: center;
}


.crypto-qr {
    width: min(100%, 230px);

    display: block;

    margin: 24px auto;

    border-radius: 12px;
}


.wallet-address {
    padding: 13px;

    overflow-wrap: anywhere;

    color: var(--text-soft);

    background: var(--surface);

    border-radius: 9px;

    font-family: monospace;
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.steps-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 34px;
}


.step-card {
    padding: 25px;

    background: var(--surface);

    border-radius: var(--radius);
}


.step-number {
    color: var(--brand);

    font-size: 11px;
    font-weight: 900;
}


.step-card h3 {
    margin: 39px 0 10px;

    font-size: 18px;
}


.step-card p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   CONTENT PAGES
   ========================================================= */

.content-page {
    padding: 65px 0 100px;
}


.content-page-inner {
    max-width: 820px;
}


.content-page h2 {
    margin-top: 38px;

    font-size: 26px;

    letter-spacing: -0.03em;
}


.content-page p,
.content-page li {
    color: var(--text-soft);

    line-height: 1.8;
}


.content-page a {
    color: var(--brand);

    text-decoration: underline;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 62px 0 25px;

    background: var(--black);

    color: var(--white);
}


.footer-main {
    display: grid;

    grid-template-columns:
        1.55fr
        0.75fr
        0.75fr
        1fr;

    gap: 48px;
}


.footer-logo {
    display: inline-flex;
}


.footer-logo img {
    display: block;

    width: 185px;
    height: auto;

    max-height: 54px;

    object-fit: contain;
    object-position: left center;
}


.footer-description {
    max-width: 410px;

    margin: 19px 0 0;

    color: #8d8d8d;

    font-size: 12px;
    line-height: 1.7;
}


.footer-payment {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 22px;

    color: #a4a4a4;

    font-size: 10px;
}


.footer-payment-label {
    color: #696969;
}


.footer-payment strong {
    color: var(--brand);
}


.footer-column h4 {
    margin: 0 0 17px;

    color: var(--white);

    font-size: 12px;
}


.footer-column a {
    display: block;

    margin: 10px 0;

    color: #979797;

    font-size: 12px;
}


.footer-column a:hover {
    color: var(--white);
}


.footer-lower {
    min-height: 65px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-top: 46px;
    padding-top: 20px;

    border-top:
        1px solid #202020;

    color: #656565;

    font-size: 10px;
}


.footer-legal {
    display: flex;

    gap: 18px;
}


.footer-legal a:hover {
    color: var(--white);
}


/* =========================================================
   TOAST
   ========================================================= */

.toast {
    position: fixed;

    z-index: 9999;

    left: 50%;
    bottom: 24px;

    max-width:
        calc(100% - 30px);

    padding: 13px 18px;

    transform:
        translate(-50%, 18px);

    opacity: 0;
    pointer-events: none;

    background: var(--black);

    color: var(--white);

    border:
        1px solid #252525;

    border-radius: 9px;

    box-shadow:
        0 16px 45px
        rgba(0, 0, 0, 0.25);

    font-size: 12px;
    font-weight: 700;

    transition:
        opacity 0.17s ease,
        transform 0.17s ease;
}


.toast.show {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        display: none;
    }


    .mobile-menu-button {
        display: flex;
    }


    .hero-grid,
    .domain-detail-grid,
    .invoice-layout {
        grid-template-columns: 1fr;
    }


    .hero-grid {
        gap: 50px;
    }


    .domain-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .steps-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .purchase-card,
    .cart-summary {
        position: static;
    }


    .cart-layout {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .container {
        width:
            calc(100% - 28px);
    }


    .header-container {
        min-height: 68px;

        gap: 8px;
    }


    .site-logo img {
        width: 135px;
    }


    .header-icon-link {
        display: none;
    }


    .login-button,
    .account-button {
        display: none;
    }


    .header-cart {
        min-height: 40px;

        padding: 0 11px;
    }


    .hero {
        padding: 66px 0;
    }


    .hero h1 {
        font-size: 44px;
    }


    .hero-description {
        font-size: 16px;
    }


    .hero-search {
        display: block;

        padding: 0;

        border: 0;

        box-shadow: none;

        background: transparent;
    }


    .hero-search input {
        width: 100%;

        margin-bottom: 8px;

        border:
            1px solid var(--border);

        border-radius: 9px;

        background: var(--white);
    }


    .hero-search .primary-button {
        width: 100%;
    }


    .hero-tags {
        display: grid;

        gap: 7px;
    }


    .hero-payment-card {
        padding: 24px;
    }


    .section {
        padding: 65px 0;
    }


    .section-title {
        display: block;
    }


    .section-title .text-link {
        display: inline-block;

        margin-top: 14px;
    }


    .domain-grid,
    .steps-grid,
    .detail-metrics {
        grid-template-columns: 1fr;
    }


    .domain-card-actions {
        grid-template-columns: 1fr;
    }


    .page-header {
        padding: 55px 0 42px;
    }


    .page-header h1 {
        font-size: 43px;
    }


    .domain-detail {
        padding: 50px 0 70px;
    }


    .domain-detail-main h1 {
        font-size: 42px;
    }


    .purchase-price {
        font-size: 37px;
    }


    .cart-item {
        align-items: flex-start;
    }


    .account-layout {
        grid-template-columns: 1fr;

        padding: 40px 0 70px;
    }


    .account-sidebar {
        display: flex;

        overflow-x: auto;

        gap: 5px;
    }


    .account-sidebar a {
        flex-shrink: 0;
    }


    .auth-section {
        padding: 45px 0 70px;
    }


    .auth-card {
        padding: 24px;
    }


    .invoice-total {
        font-size: 36px;
    }


    .footer-main {
        grid-template-columns: 1fr;

        gap: 31px;
    }


    .footer-lower {
        display: block;

        padding-bottom: 5px;
    }


    .footer-legal {
        margin-top: 13px;
    }

}


/* =========================================================
   EXTRA SMALL
   ========================================================= */

@media (max-width: 420px) {

    .site-logo img {
        width: 118px;
    }


    .header-cart {
        font-size: 11px;
    }


    .mobile-menu-button {
        width: 40px;
        height: 40px;
    }


    .hero h1 {
        font-size: 39px;
    }


    .domain-metrics {
        gap: 5px;
    }


    .domain-metric {
        padding-left: 5px;
        padding-right: 5px;
    }


    .favorite-simple-item {
        align-items: flex-start;

        flex-direction: column;
    }

}