/* Place your child theme CSS overrides here */

/* ============================================
   Account Menu - Minimalist Sharp Design
   ============================================ */

.account-menu {
    background: #ffffff;
    padding: 28px;
    border: 1px solid #e8e8e8;
}

/* Mobile back link styling */
.account-menu__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.account-menu__back:hover {
    color: #a47864;
}

.account-menu__back .material-icons {
    font-size: 20px;
}

.account-menu__header {
    padding-bottom: 16px;
    border-bottom: 2px solid #000;
    margin-bottom: 24px;
}

.account-menu__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.account-menu__subtitle {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.account-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-menu__card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #fafafa;
    border-left: 4px solid transparent;
    border-right: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease;
}

.account-menu__card:hover {
    background: #ffffff;
    border-left-color: #a47864;
    border-right-color: #a47864;
    border-top-color: #a47864;
    border-bottom-color: #a47864;
}

.account-menu__card--active {
    background: #ffffff;
    border-left-color: #a47864;
    border-right-color: #a47864;
    border-top-color: #a47864;
    border-bottom-color: #a47864;
}

.account-menu__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    margin-right: 16px;
    transition: all 0.2s ease;
}

.account-menu__card:hover .account-menu__card-icon {
    background: #a47864;
    border-color: #a47864;
}

.account-menu__card:hover .account-menu__card-icon .material-icons {
    color: #ffffff;
}

.account-menu__card--active .account-menu__card-icon {
    background: #a47864;
    border-color: #a47864;
}

.account-menu__card--active .account-menu__card-icon .material-icons {
    color: #ffffff;
}

.account-menu__card-icon .material-icons {
    font-size: 24px;
    color: #000;
    transition: color 0.2s ease;
}

.account-menu__card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.account-menu__card-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
    line-height: 1.3;
    font-family: "Cormorant Garamond";
}

.account-menu__card-description {
    font-size: 0.813rem;
    color: #666;
    line-height: 1.3;
}

.account-menu__card-arrow {
    font-size: 20px;
    color: #ccc;
    margin-left: 12px;
    transition: all 0.2s ease;
}

.account-menu__card:hover .account-menu__card-arrow {
    color: #a47864;
    transform: translateX(4px);
}

.account-menu__card--active .account-menu__card-arrow {
    color: #a47864;
}

.account-menu__divider {
    height: 2px;
    background: #e8e8e8;
    margin: 20px 0;
}

.account-menu__card--logout {
    background: #fafafa;
}

.account-menu__card--logout:hover {
    background: #fff5f5;
    border-left-color: #ff4444;
    border-right-color: #ff4444;
    border-top-color: #ff4444;
    border-bottom-color: #ff4444;
}

.account-menu__card--logout:hover .account-menu__card-icon--logout {
    background: #ff4444;
    border-color: #ff4444;
}

.account-menu__card--logout:hover .account-menu__card-icon--logout .material-icons {
    color: #ffffff;
}

.account-menu__card--logout:hover .account-menu__card-arrow {
    color: #ff4444;
}

/* Override module-added links to match card style */
.account-menu__nav > a[class*="col-"] {
    /* Remove Bootstrap column classes behavior */
    flex: none !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;

    /* Apply card styles */
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #fafafa;
    border-left: 4px solid transparent;
    border-right: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease;
    margin: 0 !important;
}

.account-menu__nav > a[class*="col-"]:hover {
    background: #ffffff;
    border-left-color: #a47864;
    border-right-color: #a47864;
    border-top-color: #a47864;
    border-bottom-color: #a47864;
}

.account-menu__nav > a[class*="col-"] .link-item {
    display: flex;
    align-items: center;
    width: 100%;
}

.account-menu__nav > a[class*="col-"] .link-item .material-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    margin-right: 16px;
    font-size: 24px;
    color: #000;
    transition: all 0.2s ease;
}

.account-menu__nav > a[class*="col-"]:hover .link-item .material-icons {
    background: #a47864;
    border-color: #a47864;
    color: #ffffff;
}

.account-menu__nav > a[class*="col-"] .link-item::after {
    content: "chevron_right";
    font-family: "Material Icons";
    font-size: 20px;
    color: #ccc;
    margin-left: auto;
    transition: all 0.2s ease;
}

.account-menu__nav > a[class*="col-"]:hover .link-item::after {
    color: #a47864;
    transform: translateX(4px);
}

/* Override theme ul font-size */
.rich-text p,
.rich-text ul {
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .account-menu {
        padding: 20px;
    }

    .account-menu__card {
        padding: 14px 16px;
    }

    .account-menu__card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 12px;
    }

    .account-menu__card-icon .material-icons {
        font-size: 20px;
    }

    .account-menu__nav > a[class*="col-"] {
        padding: 14px 16px;
    }

    .account-menu__nav > a[class*="col-"] .link-item .material-icons {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 12px;
        font-size: 20px;
    }
}

/* Override btn-primary disabled color */
.btn-primary {
    --bs-btn-disabled-bg: #b4998d;
    --bs-btn-disabled-border-color: #b4998d;
}

#my-account .account-menu {
    display: block !important;
}

/* Cart page */

#cart #content-wrapper {
    padding-top: 20px;
}
.quantity-button .input-group {
    border-radius: 0;
    width: 120px;
}

.quantity-button .input-group button {
    padding: 0;
}

.btn-group-sm > .btn,
.btn-sm,
.btn {
    border-radius: 0;
}

.przelewy24-calculator-button {
    display: none;
}
