/* =========================================================
   CALIPHS — MINIMAL LUXURY CART
   NO PRODUCT IMAGES
========================================================= */

/* Cart container */
.caliphs-woocommerce-page {
    width: min(1180px, calc(100% - 50px));
    margin: 0 auto;
    padding: 90px 0 120px;
}

/* Hide product images completely */
.caliphs-woocommerce-page td.product-thumbnail,
.caliphs-woocommerce-page th.product-thumbnail {
    display: none !important;
}

/* Hide remove column from the main layout */
.caliphs-woocommerce-page td.product-remove {
    width: 45px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

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

.caliphs-woocommerce-page table.shop_table {
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: collapse;
    background: transparent;
}

.caliphs-woocommerce-page table.shop_table thead {
    background: transparent;
}

.caliphs-woocommerce-page table.shop_table thead th {
    padding: 0 18px 18px;
    border: 0;
    border-bottom: 1px solid rgba(212,175,55,.35);

    color: #bfa866;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* =========================================================
   PRODUCT ROW
========================================================= */

.caliphs-woocommerce-page table.shop_table tbody tr.cart_item {
    background: rgba(255,255,255,.018);
    transition: background .25s ease;
}

.caliphs-woocommerce-page table.shop_table tbody tr.cart_item:hover {
    background: rgba(212,175,55,.035);
}

.caliphs-woocommerce-page table.shop_table tbody td {
    padding: 25px 18px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.075);

    color: #eee9df;
    vertical-align: middle;
}

/* =========================================================
   PRODUCT NAME
========================================================= */

.caliphs-woocommerce-page td.product-name {
    width: 50%;
    padding-left: 18px;
}

.caliphs-woocommerce-page td.product-name a {
    color: #f2eee5;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    font-weight: 600;

    letter-spacing: .02em;
    text-decoration: none;

    transition: color .2s ease;
}

.caliphs-woocommerce-page td.product-name a:hover {
    color: #d6b75b;
}

/* =========================================================
   PRICE
========================================================= */

.caliphs-woocommerce-page td.product-price,
.caliphs-woocommerce-page td.product-subtotal {
    color: #d7b75b;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 600;

    white-space: nowrap;
}

/* =========================================================
   QUANTITY
========================================================= */

.caliphs-woocommerce-page td.product-quantity {
    width: 130px;
}

.caliphs-woocommerce-page .quantity {
    display: inline-flex;
    align-items: center;
}

.caliphs-woocommerce-page .quantity .qty {
    width: 55px !important;
    height: 38px;

    padding: 0;

    background: #0d0d0d;
    border: 1px solid rgba(212,175,55,.30);

    color: #eee9df;

    text-align: center;
    font-size: 14px;

    outline: none;
}

.caliphs-woocommerce-page .quantity .qty:focus {
    border-color: #c9a227;
}

/* =========================================================
   REMOVE
========================================================= */

.caliphs-woocommerce-page td.product-remove a.remove {
    width: 26px;
    height: 26px;

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

    color: #777168 !important;

    font-size: 20px;
    font-weight: 300;

    text-decoration: none;

    transition: all .2s ease;
}

.caliphs-woocommerce-page td.product-remove a.remove:hover {
    color: #d7b75b !important;
    background: rgba(212,175,55,.08);
}

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

.caliphs-woocommerce-page .actions {
    padding: 25px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: transparent !important;
}

.caliphs-woocommerce-page .coupon {
    display: flex;
    gap: 10px;
}

.caliphs-woocommerce-page .coupon input.input-text {
    width: 180px;

    height: 44px;

    padding: 0 14px;

    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,.13);

    color: #eee9df;

    outline: none;
}

.caliphs-woocommerce-page .coupon input.input-text:focus {
    border-color: rgba(212,175,55,.5);
}

/* General buttons */

.caliphs-woocommerce-page .button {
    height: 44px;

    padding: 0 22px;

    border: 1px solid rgba(212,175,55,.45);

    background: transparent !important;
    color: #d9c27c !important;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;

    transition: all .25s ease;
}

.caliphs-woocommerce-page .button:hover {
    background: #c9a227 !important;
    border-color: #c9a227;

    color: #080808 !important;
}

/* =========================================================
   TOTALS AREA
========================================================= */

.caliphs-woocommerce-page .cart-collaterals {
    width: 100%;
    display: flex;
    justify-content: flex-end;

    padding-top: 45px;
}

.caliphs-woocommerce-page .cart_totals {
    width: 430px;

    padding: 30px;

    background: rgba(255,255,255,.025);

    border: 1px solid rgba(212,175,55,.20);
}

.caliphs-woocommerce-page .cart_totals h2 {
    margin: 0 0 25px;

    color: #f0e9da;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 29px;
    font-weight: 500;
}

/* totals rows */

.caliphs-woocommerce-page .cart_totals table {
    width: 100%;
    border: 0;
}

.caliphs-woocommerce-page .cart_totals th,
.caliphs-woocommerce-page .cart_totals td {
    padding: 14px 0;

    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.065);

    color: #a9a298;
}

.caliphs-woocommerce-page .cart_totals td {
    color: #eee8dc;
    text-align: right;
}

/* Grand total */

.caliphs-woocommerce-page .cart_totals .order-total th,
.caliphs-woocommerce-page .cart_totals .order-total td {
    padding-top: 20px;

    border-bottom: 0;

    color: #d7b75b;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
}

/* =========================================================
   PROCEED TO CHECKOUT
========================================================= */

.caliphs-woocommerce-page .wc-proceed-to-checkout {
    padding: 20px 0 0;
}

.caliphs-woocommerce-page .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 54px;

    padding: 0;

    background: #c9a227 !important;
    border: 1px solid #c9a227;

    color: #090909 !important;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;

    transition: all .25s ease;
}

.caliphs-woocommerce-page .wc-proceed-to-checkout a.checkout-button:hover {
    background: #e0c45e !important;
    border-color: #e0c45e;

    transform: translateY(-1px);
}

/* =========================================================
   WOOCOMMERCE NOTICE
========================================================= */

.caliphs-woocommerce-page .woocommerce-message {
    margin-bottom: 30px;

    padding: 14px 18px;

    background: rgba(212,175,55,.035);

    border: 1px solid rgba(212,175,55,.18);
    border-left: 2px solid #c9a227;

    color: #cfc8ba;

    font-size: 12px;
    letter-spacing: .04em;
}

.caliphs-woocommerce-page .woocommerce-message a {
    color: #d7b75b;
    text-decoration: none;
}

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

@media (max-width: 760px) {

    .caliphs-woocommerce-page {
        width: calc(100% - 28px);
        padding: 55px 0 80px;
    }

    .caliphs-woocommerce-page table.shop_table thead {
        display: none;
    }

    .caliphs-woocommerce-page table.shop_table tbody tr.cart_item {
        display: grid;

        grid-template-columns: 1fr auto;

        padding: 18px 0;

        background: transparent;
    }

    .caliphs-woocommerce-page table.shop_table tbody td {
        padding: 7px 0;

        border: 0;
    }

    .caliphs-woocommerce-page td.product-name {
        width: auto;
        grid-column: 1 / 2;
    }

    .caliphs-woocommerce-page td.product-name a {
        font-size: 21px;
    }

    .caliphs-woocommerce-page td.product-price {
        grid-column: 1 / 2;
    }

    .caliphs-woocommerce-page td.product-quantity {
        grid-column: 1 / 2;
    }

    .caliphs-woocommerce-page td.product-subtotal {
        grid-column: 2 / 3;
        grid-row: 1 / 4;

        display: flex;
        align-items: center;
    }

    .caliphs-woocommerce-page td.product-remove {
        position: absolute;
        right: 0;
        margin-top: -10px;
    }

    .caliphs-woocommerce-page .actions {
        padding-top: 25px !important;
    }

    .caliphs-woocommerce-page .coupon {
        flex-direction: column;
    }

    .caliphs-woocommerce-page .coupon input.input-text,
    .caliphs-woocommerce-page .coupon button {
        width: 100%;
    }

    .caliphs-woocommerce-page .cart-collaterals {
        padding-top: 30px;
    }

    .caliphs-woocommerce-page .cart_totals {
        width: 100%;
        padding: 25px;
    }
}
/* =========================================================
   CALIPHS — CHECKOUT PAGE
   Luxury / Minimal WooCommerce Checkout
========================================================= */

/* Main checkout wrapper */

body.woocommerce-checkout {
    background: #070707;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: min(1240px, calc(100% - 50px));
    margin: 0 auto;

    padding: 75px 0 110px;

    color: #eee9df;
}


/* =========================================================
   CHECKOUT GRID
========================================================= */

body.woocommerce-checkout
.wc-block-checkout {
    gap: 55px;
}


/* =========================================================
   LEFT SIDE
========================================================= */

body.woocommerce-checkout
.wc-block-checkout__main {
    padding: 0;
}


/* Section headings */

body.woocommerce-checkout
.wc-block-components-checkout-step__heading {
    margin-bottom: 15px;
}

body.woocommerce-checkout
.wc-block-components-checkout-step__heading-content {
    color: #f0ebe1;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 27px;
    font-weight: 500;

    letter-spacing: .02em;
}


/* Step description */

body.woocommerce-checkout
.wc-block-components-checkout-step__description {
    color: #77716a;

    font-size: 12px;
}


/* =========================================================
   INPUTS
========================================================= */

body.woocommerce-checkout
.wc-block-components-text-input input,

body.woocommerce-checkout
.wc-block-components-address-form input,

body.woocommerce-checkout
.wc-block-components-text-input select,

body.woocommerce-checkout
.wc-block-components-address-form select,

body.woocommerce-checkout
.wc-block-components-combobox input {
    height: 50px;

    background: #0b0b0b !important;

    border: 1px solid rgba(255,255,255,.14) !important;

    border-radius: 0 !important;

    color: #eee9df !important;

    font-size: 13px;

    box-shadow: none !important;
}


body.woocommerce-checkout
.wc-block-components-text-input input:focus,

body.woocommerce-checkout
.wc-block-components-address-form input:focus,

body.woocommerce-checkout
.wc-block-components-combobox input:focus {
    border-color: rgba(212,175,55,.55) !important;

    outline: none;
}


/* Input labels */

body.woocommerce-checkout
.wc-block-components-text-input label,

body.woocommerce-checkout
.wc-block-components-address-form label {
    color: #918b82;

    font-size: 10px;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   BILLING ADDRESS
========================================================= */

body.woocommerce-checkout
.wc-block-components-address-form {
    margin-top: 20px;
}


/* =========================================================
   PAYMENT SECTION
========================================================= */

body.woocommerce-checkout
.wc-block-components-checkout-payment {
    margin-top: 20px;
}


/* Payment box */

body.woocommerce-checkout
.wc-block-components-radio-control {
    background: #0a0a0a;

    border: 1px solid rgba(212,175,55,.18);

    border-radius: 0;
}


/* Payment option */

body.woocommerce-checkout
.wc-block-components-radio-control__option {
    min-height: 70px;

    padding: 20px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}


body.woocommerce-checkout
.wc-block-components-radio-control__option:last-child {
    border-bottom: 0;
}


/* Payment text */

body.woocommerce-checkout
.wc-block-components-radio-control__label {
    color: #eee9df;

    font-size: 13px;
}


/* Selected radio */

body.woocommerce-checkout
.wc-block-components-radio-control__option-checked {
    background: rgba(212,175,55,.035);
}


/* =========================================================
   ORDER NOTES
========================================================= */

body.woocommerce-checkout
.wc-block-checkout__add-note {
    margin-top: 25px;
}

body.woocommerce-checkout
.wc-block-components-textarea {
    min-height: 110px;

    background: #0b0b0b !important;

    border: 1px solid rgba(255,255,255,.13) !important;

    border-radius: 0 !important;

    color: #eee9df !important;
}


/* =========================================================
   TERMS
========================================================= */

body.woocommerce-checkout
.wc-block-checkout__terms {
    color: #77716a;

    font-size: 11px;

    line-height: 1.7;
}

body.woocommerce-checkout
.wc-block-checkout__terms a {
    color: #c9a227;
}


/* =========================================================
   RIGHT — ORDER SUMMARY
========================================================= */

body.woocommerce-checkout
.wc-block-checkout__sidebar {
    padding: 0;
}


body.woocommerce-checkout
.wc-block-components-order-summary {
    background: rgba(255,255,255,.018);

    border: 1px solid rgba(212,175,55,.20);

    border-radius: 0;

    padding: 28px;
}


/* Summary heading */

body.woocommerce-checkout
.wc-block-components-order-summary__title {
    color: #f0ebe1;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 28px;
    font-weight: 500;
}


/* =========================================================
   REMOVE PRODUCT IMAGES
========================================================= */

body.woocommerce-checkout
.wc-block-components-order-summary-item__image,

body.woocommerce-checkout
.wc-block-components-order-summary-item__image-container {
    display: none !important;
}


/* Product rows */

body.woocommerce-checkout
.wc-block-components-order-summary-item {
    display: grid;

    grid-template-columns: 1fr auto;

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid rgba(255,255,255,.07);
}


/* Product name */

body.woocommerce-checkout
.wc-block-components-order-summary-item__description {
    padding: 0;
}


body.woocommerce-checkout
.wc-block-components-order-summary-item__product-name {
    color: #eee9df;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 20px;
}


/* Product quantity */

body.woocommerce-checkout
.wc-block-components-order-summary-item__quantity {
    background: #c9a227;

    color: #080808;

    border: 0;
}


/* Product price */

body.woocommerce-checkout
.wc-block-components-order-summary-item__total {
    color: #d7b75b;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 18px;
}


/* =========================================================
   COUPON
========================================================= */

body.woocommerce-checkout
.wc-block-components-totals-coupon {
    border-bottom: 1px solid rgba(255,255,255,.08);

    padding: 18px 0;
}


body.woocommerce-checkout
.wc-block-components-totals-coupon button {
    color: #c9a227;

    background: transparent;

    border: 0;

    font-size: 11px;

    letter-spacing: .08em;
}


/* Coupon input */

body.woocommerce-checkout
.wc-block-components-totals-coupon input {
    height: 46px;

    background: #090909 !important;

    border: 1px solid rgba(255,255,255,.13) !important;

    border-radius: 0 !important;

    color: #eee9df !important;
}


/* =========================================================
   TOTALS
========================================================= */

body.woocommerce-checkout
.wc-block-components-totals-item {
    padding: 15px 0;

    border-bottom: 1px solid rgba(255,255,255,.06);
}


body.woocommerce-checkout
.wc-block-components-totals-item__label {
    color: #8f8980;

    font-size: 12px;
}


body.woocommerce-checkout
.wc-block-components-totals-item__value {
    color: #eee9df;

    font-size: 14px;
}


/* Grand total */

body.woocommerce-checkout
.wc-block-components-totals-footer-item {
    padding-top: 22px;

    border-top: 1px solid rgba(212,175,55,.22);

    border-bottom: 0;
}


body.woocommerce-checkout
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__label {
    color: #eee9df;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 20px;
}


body.woocommerce-checkout
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__value {
    color: #d7b75b;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 24px;
}


/* =========================================================
   PLACE ORDER
========================================================= */

body.woocommerce-checkout
.wc-block-components-checkout-place-order {
    margin-top: 25px;
}


body.woocommerce-checkout
.wc-block-components-checkout-place-order
.wc-block-components-button {
    width: 100%;

    min-height: 58px;

    border-radius: 0 !important;

    background: #c9a227 !important;

    border: 1px solid #c9a227 !important;

    color: #080808 !important;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;

    transition: all .25s ease;
}


body.woocommerce-checkout
.wc-block-components-checkout-place-order
.wc-block-components-button:hover {
    background: #e0c45e !important;

    border-color: #e0c45e !important;

    transform: translateY(-1px);
}


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

@media (max-width: 800px) {

    body.woocommerce-checkout
    .wp-block-woocommerce-checkout {
        width: calc(100% - 30px);

        padding: 50px 0 80px;
    }

    body.woocommerce-checkout
    .wc-block-checkout {
        display: block;
    }

    body.woocommerce-checkout
    .wc-block-checkout__sidebar {
        margin-top: 40px;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary {
        padding: 22px;
    }

}

/* =========================================================
   CALIPHS — SHOP PRODUCT CARD VISUAL UPDATE
   Name + Price only / centered product image
========================================================= */

/* Remove product descriptions from shop/catalog cards */
.card .cardcopy .carddesc,
.card .cardcopy p.carddesc,
.woocommerce ul.products li.product .carddesc {
    display: none !important;
}

/* Keep the product information compact */
.card .cardcopy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.card .cardcopy > div {
    flex: 1 1 auto;
    min-width: 0;
}

/* Product name remains clearly visible */
.card .cardcopy h3 {
    margin-bottom: 0 !important;
}

/* Keep price visible and aligned */
.card .cardcopy > strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* =========================================================
   CENTER PRODUCT IMAGE
========================================================= */

.card .visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    overflow: hidden;
}

/* Center the actual product image */
.card .visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
}

/* Prevent image positioning from being pushed to one side */
.card .visual > img {
    align-self: center !important;
    justify-self: center !important;
}

/* Keep the image area clean and balanced */
.card .visual {
    padding: 0 !important;
}

/* Product type badge stays positioned correctly */
.card .visual em {
    z-index: 3;
}

/* View pill stays positioned correctly */
.card .visual .viewPill {
    z-index: 3;
}

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

@media (max-width: 760px) {

    .card .cardcopy {
        align-items: flex-start;
        gap: 10px;
    }

    .card .cardcopy h3 {
        font-size: 20px;
    }

    .card .cardcopy > strong {
        font-size: 14px;
    }

}


/* =========================================================
   CALIPHS — HIDE SHOP CARD DESCRIPTIONS
   Descriptions belong only on individual product pages
========================================================= */

.grid .card .cardcopy p,
.grid .card .cardcopy .carddesc,
.grid article.card .cardcopy p.carddesc,
article.card .cardcopy p.carddesc,
.card .cardcopy > div > p {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Keep the card content aligned after description removal */
.grid .card .cardcopy {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    min-height: 48px !important;
}

.grid .card .cardcopy > div {
    display: block !important;
    flex: 1 1 auto !important;
}

/* Product name remains visible */
.grid .card .cardcopy h3 {
    display: block !important;
    margin: 0 !important;
}

/* Price remains visible */
.grid .card .cardcopy > strong {
    display: block !important;
    flex: 0 0 auto !important;
    margin-left: 20px !important;
    white-space: nowrap !important;
}


/* =========================================================
   FINAL SHOP CARD CLEANUP
   Only COLLECTION label + PRODUCT NAME + PRICE
   are allowed inside the card information area.
========================================================= */

.grid article.card .cardcopy > div > *:not(small):not(h3),
.grid .card .cardcopy > div p,
.grid .card .cardcopy > div .carddesc {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Restore only the elements we want visible */
.grid article.card .cardcopy > div > small,
.grid article.card .cardcopy > div > h3 {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    opacity: 1 !important;
    overflow: visible !important;
}

.grid article.card .cardcopy > div > h3 {
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* =========================================================
   CALIPHS — CUSTOMER ACCOUNT / MY ACCOUNT
========================================================= */

body.woocommerce-account {
    background:#070706 !important;
    color:#eee8dc !important;
}

/* Keep the WooCommerce account area away from the edges. */
body.woocommerce-account .woocommerce {
    width:min(1180px,calc(100% - 50px)) !important;
    margin:0 auto !important;
    padding:72px 0 110px !important;
}

/* Account navigation */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    float:none !important;
    width:100% !important;
    margin:0 0 48px !important;
    padding:0 !important;
    border-bottom:1px solid rgba(201,166,93,.22) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
    border:0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
    border:0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display:block !important;
    padding:15px 20px !important;
    color:rgba(238,232,220,.58) !important;
    background:transparent !important;
    font-family:Inter,Arial,sans-serif !important;
    font-size:9px !important;
    font-weight:600 !important;
    letter-spacing:.13em !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
    text-decoration:none !important;
    border:0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:first-child a {
    padding-left:0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    color:#d7b75b !important;
}

/* Content column */
body.woocommerce-account .woocommerce-MyAccount-content {
    float:none !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}

/* Hide the empty default greeting paragraph after our filter. */
body.woocommerce-account .woocommerce-MyAccount-content > p:empty {
    display:none !important;
}

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

.caliphs-account-dashboard {
    width:100%;
}

.caliphs-account-hero {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:50px;
    padding:0 0 48px;
    border-bottom:1px solid rgba(255,255,255,.075);
}

.caliphs-account-kicker {
    display:block;
    margin-bottom:18px;
    color:#c9a65d;
    font-family:Inter,Arial,sans-serif;
    font-size:9px;
    font-weight:600;
    letter-spacing:.28em;
    text-transform:uppercase;
}

.caliphs-account-hero h1 {
    margin:0 !important;
    color:#f1eadc !important;
    font-family:"Cormorant Garamond",Georgia,serif !important;
    font-size:54px !important;
    font-weight:500 !important;
    line-height:.98 !important;
}

.caliphs-account-hero p {
    max-width:620px;
    margin:20px 0 0 !important;
    color:#8f8980 !important;
    font-family:Inter,Arial,sans-serif !important;
    font-size:12px !important;
    line-height:1.8 !important;
}

.caliphs-account-mark {
    min-width:135px;
    padding:18px 20px;
    border:1px solid rgba(201,166,93,.22);
    text-align:center;
}

.caliphs-account-mark span {
    display:block;
    color:#c9a65d;
    font-family:Georgia,"Times New Roman",serif;
    font-size:16px;
    letter-spacing:.08em;
}

.caliphs-account-mark small {
    display:block;
    margin-top:5px;
    color:#777168;
    font-family:Inter,Arial,sans-serif;
    font-size:6px;
    letter-spacing:.25em;
}

/* =========================================================
   STAT CARDS
========================================================= */

.caliphs-account-stats {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin:0 0 55px;
    border-bottom:1px solid rgba(255,255,255,.075);
}

.caliphs-account-stat {
    min-height:155px;
    padding:30px 32px 28px 0;
    border-right:1px solid rgba(255,255,255,.075);
}

.caliphs-account-stat:not(:first-child) {
    padding-left:32px;
}

.caliphs-account-stat:last-child {
    border-right:0;
}

.caliphs-account-stat > span {
    display:block;
    margin-bottom:13px;
    color:#777168;
    font-family:Inter,Arial,sans-serif;
    font-size:8px;
    font-weight:600;
    letter-spacing:.2em;
}

.caliphs-account-stat strong {
    display:block;
    margin-bottom:8px;
    color:#eee8dc;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:30px;
    font-weight:500;
}

.caliphs-account-stat strong .woocommerce-Price-amount {
    color:#d7b75b;
}

.caliphs-account-stat a,
.caliphs-account-stat small {
    color:#a39b90;
    font-family:Inter,Arial,sans-serif;
    font-size:10px;
    text-decoration:none;
}

.caliphs-account-stat a:hover {
    color:#d7b75b;
}

/* =========================================================
   QUICK LINKS
========================================================= */

.caliphs-account-links {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    background:rgba(201,166,93,.14);
    border:1px solid rgba(201,166,93,.14);
}

.caliphs-account-links a {
    display:grid;
    grid-template-columns:45px 1fr 24px;
    align-items:center;
    gap:18px;
    min-height:110px;
    padding:20px 25px;
    background:#090908;
    color:#eee8dc;
    text-decoration:none !important;
    transition:background .25s ease;
}

.caliphs-account-links a:hover {
    background:#10100d;
}

.account-link-number {
    color:#c9a65d;
    font-family:Inter,Arial,sans-serif;
    font-size:9px;
    letter-spacing:.1em;
}

.caliphs-account-links a strong {
    display:block;
    margin-bottom:6px;
    color:#eee8dc;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:21px;
    font-weight:500;
}

.caliphs-account-links a small {
    display:block;
    color:#777168;
    font-family:Inter,Arial,sans-serif;
    font-size:10px;
    line-height:1.5;
}

.caliphs-account-links a > b {
    color:#c9a65d;
    font-size:15px;
    font-weight:400;
}

/* =========================================================
   ACCOUNT TABLES / FORMS
========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
    width:100%;
    border-collapse:collapse;
    background:transparent;
    border:0;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
    padding:15px 12px;
    color:#c9a65d;
    border:0;
    border-bottom:1px solid rgba(201,166,93,.25);
    font-size:9px;
    letter-spacing:.15em;
    text-transform:uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
    padding:18px 12px;
    color:#bcb5aa;
    border:0;
    border-bottom:1px solid rgba(255,255,255,.07);
    font-size:12px;
}

body.woocommerce-account .woocommerce-MyAccount-content a {
    color:#d7b75b;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row label {
    display:block;
    margin-bottom:8px;
    color:#9a9389;
    font-size:9px;
    font-weight:600;
    letter-spacing:.13em;
    text-transform:uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"] {
    width:100%;
    height:50px;
    box-sizing:border-box;
    padding:0 14px;
    background:#0b0b0a !important;
    border:1px solid rgba(255,255,255,.13) !important;
    border-radius:0 !important;
    color:#eee8dc !important;
    outline:none;
    box-shadow:none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content input:focus {
    border-color:rgba(212,175,55,.65) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content button,
body.woocommerce-account .woocommerce-MyAccount-content .button {
    min-height:48px;
    padding:0 25px;
    border:1px solid #c9a227 !important;
    border-radius:0 !important;
    background:#c9a227 !important;
    color:#090806 !important;
    font-size:9px;
    font-weight:700;
    letter-spacing:.15em;
    text-transform:uppercase;
}

/* =========================================================
   LOGIN / REGISTER
========================================================= */

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
    width:460px !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:45px !important;
    box-sizing:border-box;
    background:rgba(255,255,255,.018) !important;
    border:1px solid rgba(201,166,93,.25) !important;
    border-radius:0 !important;
}

body.woocommerce-account .woocommerce-form-login h2,
body.woocommerce-account .woocommerce-form-register h2 {
    margin:0 0 30px !important;
    color:#f1eadc !important;
    font-family:"Cormorant Garamond",Georgia,serif !important;
    font-size:38px !important;
    font-weight:500 !important;
}

body.woocommerce-account .woocommerce-form-login .form-row,
body.woocommerce-account .woocommerce-form-register .form-row {
    margin:0 0 20px !important;
    padding:0 !important;
}

body.woocommerce-account .woocommerce-form-login label,
body.woocommerce-account .woocommerce-form-register label {
    display:block;
    margin-bottom:8px;
    color:#c9c0b1;
    font-size:10px;
    font-weight:600;
    letter-spacing:.13em;
    text-transform:uppercase;
}

body.woocommerce-account .woocommerce-form-login input.input-text,
body.woocommerce-account .woocommerce-form-register input.input-text {
    width:100% !important;
    height:52px !important;
    box-sizing:border-box !important;
    padding:0 15px !important;
    background:#0c0c0b !important;
    border:1px solid rgba(255,255,255,.14) !important;
    border-radius:0 !important;
    color:#eee8dc !important;
}

body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    color:#9c958b !important;
    font-size:11px !important;
}

body.woocommerce-account .woocommerce-form-login button.woocommerce-form-login__submit {
    float:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    height:52px !important;
    margin:15px 0 0 !important;
}

body.woocommerce-account .woocommerce-form-login .lost_password {
    margin:20px 0 0 !important;
    text-align:center !important;
}

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

@media(max-width:800px){

    body.woocommerce-account .woocommerce {
        width:calc(100% - 28px) !important;
        padding:45px 0 75px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom:35px !important;
        overflow-x:auto;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        width:max-content !important;
        min-width:100%;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation li a {
        padding:13px 12px !important;
        font-size:8px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation li:first-child a {
        padding-left:0 !important;
    }

    .caliphs-account-hero {
        display:block;
        padding-bottom:35px;
    }

    .caliphs-account-hero h1 {
        font-size:40px !important;
    }

    .caliphs-account-mark {
        display:none;
    }

    .caliphs-account-stats {
        grid-template-columns:1fr;
    }

    .caliphs-account-stat,
    .caliphs-account-stat:not(:first-child) {
        padding:22px 0;
        border-right:0;
        border-bottom:1px solid rgba(255,255,255,.075);
    }

    .caliphs-account-links {
        grid-template-columns:1fr;
    }

    .caliphs-account-links a {
        min-height:95px;
    }

    body.woocommerce-account .woocommerce-form-login,
    body.woocommerce-account .woocommerce-form-register {
        width:100% !important;
        padding:30px !important;
    }
}

/* =========================================================
   CALIPHS — EMAIL / MOBILE LOGIN
========================================================= */

body.woocommerce-account .caliphs-login-wrap {
    width: min(1100px, 100%);
    margin: 0 auto;
}

body.woocommerce-account .caliphs-login-intro {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

body.woocommerce-account .caliphs-login-intro h1 {
    margin: 10px 0 12px !important;
    color: #f1eadc !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(42px, 5vw, 68px) !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

body.woocommerce-account .caliphs-login-intro p,
body.woocommerce-account .caliphs-register-copy {
    color: #9c958b !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

body.woocommerce-account .caliphs-login-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

body.woocommerce-account .caliphs-login-panel {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 42px !important;
    background: rgba(255,255,255,.018) !important;
    border: 1px solid rgba(201,166,93,.25) !important;
}

body.woocommerce-account .caliphs-login-panel h2 {
    margin: 0 0 28px !important;
    color: #f1eadc !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 38px !important;
    font-weight: 500 !important;
}

body.woocommerce-account .caliphs-login-panel input.input-text {
    font-size: 14px !important;
}

body.woocommerce-account .caliphs-login-panel input::placeholder {
    color: #6f6a62 !important;
}

body.woocommerce-account .caliphs-register-panel {
    min-height: 100%;
}

body.woocommerce-account .caliphs-register-panel .woocommerce-form-register__submit {
    float: none !important;
    width: 100% !important;
    height: 52px !important;
    margin-top: 10px !important;
}

body.woocommerce-account .caliphs-register-panel .required {
    color: #c9a65d;
}

@media(max-width:800px){
    body.woocommerce-account .caliphs-login-columns {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account .caliphs-login-panel {
        padding: 30px 22px !important;
    }
}

/* =========================================================
   CALIPHS — PRODUCT REVIEWS / COMMENTS
========================================================= */

/* The custom Caliphs section is the review area on product pages. */
body.single-product .woocommerce-tabs{
    display:none !important;
}

.caliphs-product-reviews-wrap{
    width:100%;
    margin:0;
    padding:110px 6vw 120px;
    background:rgba(0,0,0,.18);
    border-top:1px solid rgba(201,166,93,.18);
    box-sizing:border-box;
}

.caliphs-product-reviews-inner{
    width:min(1180px,100%);
    margin:0 auto;
}

.caliphs-product-reviews-heading{
    max-width:760px;
    margin:0 0 55px;
}

.caliphs-product-reviews-heading > span{
    display:block;
    margin-bottom:14px;
    color:#d7b65f;
    font-size:11px;
    font-weight:800;
    letter-spacing:.28em;
    text-transform:uppercase;
}

.caliphs-product-reviews-heading h2{
    margin:0 0 18px;
    color:#f1eadc;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(38px,5vw,64px);
    line-height:1;
    letter-spacing:-.035em;
}

.caliphs-product-reviews-heading h2 em{
    color:#d7b65f;
    font-style:italic;
    font-weight:500;
}

.caliphs-product-reviews-heading p{
    margin:0;
    color:rgba(241,234,220,.68);
    font-size:15px;
    line-height:1.8;
}

.caliphs-product-reviews-content #reviews,
.caliphs-product-reviews-content .woocommerce-Reviews{
    width:100%;
}

.caliphs-product-reviews-content #comments{
    margin:0;
}

.caliphs-product-reviews-content #comments h2{
    margin:0 0 28px;
    color:#f1eadc;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:28px;
    font-weight:500;
}

.caliphs-product-reviews-content .commentlist{
    list-style:none;
    margin:0 0 50px;
    padding:0;
}

.caliphs-product-reviews-content .commentlist li{
    margin:0 0 18px;
    padding:28px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(201,166,93,.18);
}

.caliphs-product-reviews-content .comment-text{
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
}

.caliphs-product-reviews-content .star-rating{
    color:#d7b65f !important;
}

.caliphs-product-reviews-content .star-rating span::before,
.caliphs-product-reviews-content .star-rating::before{
    color:#d7b65f !important;
}

.caliphs-product-reviews-content .meta{
    color:rgba(241,234,220,.58) !important;
    font-size:12px !important;
}

.caliphs-product-reviews-content .description{
    color:#eee8dc;
    line-height:1.75;
}

.caliphs-product-reviews-content #review_form_wrapper{
    margin-top:40px;
    padding:38px;
    background:rgba(255,255,255,.018);
    border:1px solid rgba(201,166,93,.20);
}

.caliphs-product-reviews-content #review_form_wrapper h3{
    margin:0 0 24px;
    color:#f1eadc;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:28px;
    font-weight:500;
}

.caliphs-product-reviews-content #review_form_wrapper label{
    color:#eee8dc;
}

.caliphs-product-reviews-content #review_form_wrapper .comment-form-rating{
    margin-bottom:22px;
}

.caliphs-product-reviews-content #review_form_wrapper .stars a{
    color:#d7b65f !important;
}

.caliphs-product-reviews-content #review_form_wrapper input,
.caliphs-product-reviews-content #review_form_wrapper textarea{
    width:100%;
    box-sizing:border-box;
    margin-top:8px;
    padding:14px 16px;
    color:#f1eadc !important;
    background:#0c0c0b !important;
    border:1px solid rgba(201,166,93,.25) !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

.caliphs-product-reviews-content #review_form_wrapper textarea{
    min-height:150px;
    resize:vertical;
}

.caliphs-product-reviews-content #review_form_wrapper input:focus,
.caliphs-product-reviews-content #review_form_wrapper textarea:focus{
    outline:none;
    border-color:#d7b65f !important;
}

.caliphs-product-reviews-content #review_form_wrapper .form-submit input,
.caliphs-product-reviews-content #review_form_wrapper .submit{
    width:auto;
    min-width:190px;
    margin-top:10px;
    padding:15px 26px;
    color:#090908 !important;
    background:linear-gradient(135deg,#f0d58a,#bd913c) !important;
    border:0 !important;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
    cursor:pointer;
}

.caliphs-product-reviews-content .woocommerce-noreviews{
    margin:0 0 28px;
    padding:22px;
    color:rgba(241,234,220,.72);
    background:rgba(255,255,255,.02);
    border:1px solid rgba(201,166,93,.15);
}

.caliphs-product-reviews-content .woocommerce-verification-required{
    color:#9c958b;
}

@media(max-width:700px){
    .caliphs-product-reviews-wrap{
        padding:75px 22px 85px;
    }

    .caliphs-product-reviews-heading{
        margin-bottom:38px;
    }

    .caliphs-product-reviews-content #review_form_wrapper{
        padding:24px 20px;
    }

    .caliphs-product-reviews-content .commentlist li{
        padding:22px;
    }
}


/* =========================================================
   CALIPHS — SINGLE PRODUCT PAGE — FINAL LAYOUT FIX
   This belongs in the ACTIVE assets/wp-overrides.css file.
   It prevents the product information column from being
   pushed outside the viewport and keeps the image contained.
========================================================= */

body.single-product {
    overflow-x: hidden !important;
}

body.single-product .product.caliphs-single-product,
body.single-product .product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

body.single-product .productVisual,
body.single-product .productInfo {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.single-product .productVisual {
    overflow: hidden !important;
    padding: 32px 3vw !important;
}

body.single-product .productInfo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 58px 4vw !important;
    box-sizing: border-box !important;
}

body.single-product .productInfo > * {
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-product .mainImage {
    width: 100% !important;
    height: min(650px, calc(100vh - 180px)) !important;
    min-height: 420px !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

body.single-product .mainImage img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

body.single-product .productInfo h1 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
}

body.single-product .productInfo .desc {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
}

body.single-product .shopActions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.single-product .caliphs-product-reviews-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


/* Tablet / Customizer preview */
@media (min-width: 701px) and (max-width: 1100px) {

    body.single-product .product.caliphs-single-product,
    body.single-product .product {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr) !important;
        gap: 0 !important;
    }

    body.single-product .productVisual {
        padding: 24px !important;
    }

    body.single-product .productInfo {
        padding: 45px 30px !important;
    }

    body.single-product .mainImage {
        height: min(560px, 72vw) !important;
        min-height: 360px !important;
    }

    body.single-product .productInfo h1 {
        font-size: clamp(40px, 5vw, 62px) !important;
        line-height: .95 !important;
    }
}


/* Mobile */
@media (max-width: 700px) {

    body.single-product .product.caliphs-single-product,
    body.single-product .product {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    body.single-product .productVisual {
        padding: 20px !important;
        border-right: 0 !important;
    }

    body.single-product .productInfo {
        padding: 45px 7vw 70px !important;
    }

    body.single-product .mainImage {
        height: min(520px, 105vw) !important;
        min-height: 320px !important;
    }
}
