.link-button {
    border: 0;
    background: none;
    color: var(--primary);
    padding: 0;
    cursor: pointer;
    font: inherit
}

.wish-form {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none
}

.wish-form .wish-button {
    pointer-events: auto
}

.buy-panel {
    margin-top: 20px
}

.premium-hero {
    max-width: 1220px;
    margin: 28px auto 42px;
    padding: 54px 60px;
    min-height: 590px;
    border-radius: 40px;
    background: linear-gradient(120deg, #fff 0%, #fff0f7 44%, #eee4ff 100%);
    box-shadow: 0 30px 80px #6b1d5420;
    overflow: hidden;
    position: relative
}

.premium-hero:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -100px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff9 0 12%, transparent 13%), radial-gradient(circle at 35% 35%, #fbc8dc, #cfa4d8 68%, #b785c8);
    opacity: .72;
    animation: premiumFloat 8s ease-in-out infinite
}

.premium-hero:after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid #fff;
    border-radius: 31px;
    pointer-events: none
}

.premium-hero .hero-copy {
    position: relative;
    z-index: 2
}

.premium-hero h1 {
    font-size: clamp(48px, 7vw, 92px);
    max-width: 650px;
    letter-spacing: -5px;
    line-height: .92
}

.premium-hero p {
    max-width: 480px
}

.premium-hero .hero-kicker {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 24px 0
}

.hero-kicker span {
    padding: 8px 12px;
    background: #fff9;
    border: 1px solid #fff;
    border-radius: 99px;
    color: #713161;
    font-size: 11px;
    font-weight: 800
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    min-height: 450px
}

.hero-visual img {
    width: min(100%, 450px);
    filter: drop-shadow(0 32px 25px #6d22533d);
    animation: premiumFloat 6s ease-in-out infinite
}

.hero-float-card {
    position: absolute;
    background: #ffffffd9;
    backdrop-filter: blur(14px);
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: 0 15px 35px #64204b22;
    font-size: 12px;
    font-weight: 800
}

.hero-float-card.one {
    right: 0;
    top: 22%
}

.hero-float-card.two {
    left: 0;
    bottom: 20%
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 900
}

.section-kicker:after {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--accent)
}

.premium-grid {
    gap: 24px
}

.premium-card {
    border-radius: 25px
}

.premium-card .product-image {
    height: 270px
}

.lookbook {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 24px;
    align-items: stretch;
    margin: 60px 0
}

.lookbook img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 22px 55px #4c17331a
}

.lookbook-copy {
    padding: 45px;
    border-radius: 28px;
    background: #2b162e;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.lookbook-copy h2 {
    font-size: 48px;
    line-height: .95;
    letter-spacing: -2px;
    margin: 10px 0
}

.lookbook-copy p {
    color: #ead6e6
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #eadce8;
    border-radius: 21px;
    overflow: hidden;
    margin: 38px 0
}

.trust-bar>div {
    background: #fff;
    padding: 24px;
    text-align: center
}

.trust-bar strong {
    display: block;
    font-size: 14px
}

.trust-bar span {
    color: var(--primary);
    font-size: 28px
}

.newsletter {
    margin: 54px 0;
    padding: 38px;
    border-radius: 28px;
    background: linear-gradient(105deg, #ffd8e9, #ece0ff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.newsletter h2 {
    font-size: 32px;
    line-height: 1;
    margin: 0 0 8px
}

.newsletter p {
    margin: 0;
    color: #74586d
}

.newsletter-form {
    display: flex;
    gap: 8px;
    min-width: 360px
}

.newsletter-form input {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    flex: 1
}

.newsletter-form button {
    border: 0;
    border-radius: 999px;
    background: #2b162e;
    color: #fff;
    padding: 0 19px;
    font-weight: 800
}

@keyframes premiumFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-12px) rotate(1deg)
    }
}

@media(max-width:800px) {
    .premium-hero {
        margin: 16px;
        padding: 36px 24px;
        min-height: 720px
    }

    .premium-hero h1 {
        letter-spacing: -3px
    }

    .hero-visual {
        min-height: 310px
    }

    .hero-visual img {
        width: 280px
    }

    .hero-float-card.one {
        right: 2px;
        top: 18%
    }

    .hero-float-card.two {
        left: 0;
        bottom: 8%
    }

    .lookbook {
        grid-template-columns: 1fr
    }

    .lookbook img {
        min-height: 240px
    }

    .lookbook-copy {
        padding: 30px
    }

    .lookbook-copy h2 {
        font-size: 38px
    }

    .trust-bar {
        grid-template-columns: 1fr
    }

    .newsletter {
        display: block;
        padding: 28px
    }

    .newsletter-form {
        min-width: 0;
        margin-top: 20px
    }
}



/* Admin dashboard theme — point 1 */
.admin-top {
    background: linear-gradient(110deg, #fff 0%, #fff7fb 58%, #f3eaff 100%);
    box-shadow: 0 8px 28px #4a174b12;
    border-bottom: 1px solid #f0dce9
}

.admin-top .brand {
    color: #2c1932
}

.admin-top .admin-profile>button {
    background: #fff;
    border-color: #ead8e8;
    box-shadow: 0 7px 18px #4a174b12
}

.admin-layout {
    background: #f8f4f9
}

.sidebar {
    background: linear-gradient(180deg, #28152f 0%, #4d1c4e 52%, #6c245b 100%);
    padding: 22px 15px;
    box-shadow: 12px 0 28px #3911331a
}

.sidebar:before {
    content: "";
    display: block;
    height: 74px;
    margin: 0 9px 18px;
    border-radius: 18px;
    background: radial-gradient(circle at 28% 25%, #f7a7d0, transparent 20%), linear-gradient(135deg, #c02678, #7c3aed);
    opacity: .8
}

.sidebar a {
    margin: 5px 0;
    padding: 12px 14px;
    border: 1px solid transparent;
    transition: .2s
}

.sidebar a:hover {
    background: #ffffff16;
    border-color: #ffffff1f;
    transform: translateX(3px)
}

.sidebar a[href="index.php"] {
    background: linear-gradient(135deg, #c02678, #8b2a87);
    color: #fff;
    box-shadow: 0 10px 22px #160b1f44
}

.admin-main {
    background: radial-gradient(circle at 90% 0%, #f6dded66, transparent 27%), #f8f4f9
}

.admin-dashboard-page {
    max-width: 1450px;
    margin: 0 auto
}

.admin-dashboard-page .dashboard-heading {
    position: relative;
    overflow: hidden;
    padding: 28px 30px;
    border: 1px solid #f1dcea;
    border-radius: 26px;
    background: linear-gradient(115deg, #fff 0%, #fff0f7 58%, #eee7ff 100%);
    box-shadow: 0 18px 45px #5d1b5014
}

.admin-dashboard-page .dashboard-heading:after {
    content: "✦";
    position: absolute;
    right: 32px;
    top: -20px;
    font-size: 145px;
    line-height: 1;
    color: #c0267812;
    transform: rotate(16deg)
}

.admin-dashboard-page .dashboard-heading>div {
    position: relative;
    z-index: 1
}

.admin-dashboard-page .dashboard-heading h1 {
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: -1.6px;
    margin: 6px 0
}

.admin-dashboard-page .stats {
    gap: 18px;
    margin-top: 22px
}

.admin-dashboard-page .stats .stat {
    min-height: 148px;
    padding: 24px;
    border: 1px solid #ffffff4d;
    box-shadow: 0 16px 32px #46154118;
    transition: transform .22s, box-shadow .22s
}

.admin-dashboard-page .stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 38px #46154125
}

.admin-dashboard-page .stats .stat:after {
    content: "↗";
    position: absolute;
    right: 20px;
    bottom: 18px;
    font-size: 28px;
    opacity: .55
}

.admin-dashboard-page .stats .stat span {
    font-weight: 800;
    letter-spacing: .3px
}

.admin-dashboard-page .stats .stat strong {
    font-size: 31px;
    margin: 10px 0 5px
}

.admin-dashboard-page .section-head {
    margin-top: 34px;
    margin-bottom: 14px
}

.admin-dashboard-page .section-head h2 {
    font-size: 22px
}

.admin-dashboard-page .form-card {
    border: 1px solid #f0deeb;
    border-radius: 22px;
    box-shadow: 0 14px 36px #4a174b0d
}

.admin-dashboard-page .pills .pill {
    border: 1px solid #eed9e9;
    box-shadow: 0 5px 14px #4a174b0b;
    transition: .2s
}

.admin-dashboard-page .pills .pill:hover {
    transform: translateY(-2px);
    background: #ffeaf5
}

.admin-dashboard-page .table-wrap {
    border: 1px solid #f0deeb;
    box-shadow: 0 14px 36px #4a174b0d
}

.admin-dashboard-page .table th {
    background: linear-gradient(180deg, #fffaff, #fff)
}

.admin-dashboard-page .table tr:hover td {
    background: #fff8fc
}

.admin-dashboard-page .table-thumb {
    box-shadow: 0 4px 10px #4a174b18;
    vertical-align: middle;
    margin-right: 4px
}

@media(max-width:800px) {
    .sidebar:before {
        display: none
    }

    .admin-dashboard-page .dashboard-heading {
        padding: 22px 19px
    }

    .admin-dashboard-page .dashboard-heading:after {
        right: -16px;
        font-size: 100px
    }

    .admin-dashboard-page .stats {
        gap: 11px
    }

    .admin-dashboard-page .stats .stat {
        min-height: 125px;
        padding: 17px
    }

    .admin-dashboard-page .stats .stat strong {
        font-size: 23px
    }
}



/* Admin dashboard corrections */
.sidebar:before {
    display: none !important;
    content: none !important
}

.sidebar a[href="index.php"] {
    background: transparent;
    box-shadow: none
}

.sidebar a.active {
    background: linear-gradient(135deg, #c02678, #8b2a87);
    color: #fff;
    box-shadow: 0 10px 22px #160b1f44;
    border-color: #ffffff22
}

.admin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 34px 0 0;
    padding: 20px 4px 2px;
    border-top: 1px solid #eadce8;
    color: #806d7f;
    font-size: 12px
}

.admin-footer>div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.admin-footer strong {
    color: #2c1932;
    font-size: 13px
}

.admin-footer a {
    color: var(--primary);
    font-weight: 800
}

@media(max-width:800px) {
    .admin-footer {
        display: block;
        line-height: 1.8
    }

    .admin-footer>div+div {
        margin-top: 6px
    }
}



/* Dashboard chart row and priority order table */
.admin-dashboard-page .dashboard-graphs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    margin-top: 34px
}

.admin-dashboard-page .dashboard-graph-card .section-head {
    margin-top: 0
}

.admin-dashboard-page .dashboard-graph-card>.form-card {
    min-height: 220px
}

.admin-dashboard-page .dashboard-graphs+.section-head {
    margin-top: 34px
}

@media(max-width:800px) {
    .admin-dashboard-page .dashboard-graphs {
        grid-template-columns: 1fr;
        gap: 16px
    }
}



/* Dashboard equal-height cards and table spacing */
.admin-dashboard-page .dashboard-graphs {
    align-items: stretch
}

.admin-dashboard-page .dashboard-graph-card {
    display: flex;
    flex-direction: column
}

.admin-dashboard-page .dashboard-graph-card>.form-card {
    height: auto !important;
    flex: 1 1 auto
}

.admin-dashboard-page .table-wrap+.section-head {
    margin-top: 36px
}



/* Visible separation between dashboard tables */
.admin-dashboard-page .table-wrap+.section-head {
    margin-top: 0;
    padding-top: 32px
}



/* Admin name/avatar spacing */
.admin-profile .admin-avatar {
    margin-left: 8px
}



/* Inventory clarity */
.inventory-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0
}

.inventory-summary-card {
    padding: 20px 22px;
    border: 1px solid #f0dce9;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px #4a174b0d
}

.inventory-summary-card:nth-child(1) {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
    border-color: #86efac
}

.inventory-summary-card:nth-child(1) strong {
    color: #166534
}

.inventory-summary-card:nth-child(2) {
    background: linear-gradient(135deg, #eff6ff, #bfdbfe);
    border-color: #93c5fd
}

.inventory-summary-card:nth-child(2) strong {
    color: #1d4ed8
}

.inventory-summary-card:nth-child(3) {
    background: linear-gradient(135deg, #fff1f2, #fecdd3);
    border-color: #fda4af
}

.inventory-summary-card:nth-child(3) strong {
    color: #be123c
}

.inventory-summary-card span,
.inventory-summary-card small {
    display: block;
    color: #806d7f;
    font-size: 12px
}

.inventory-summary-card strong {
    display: block;
    margin: 6px 0;
    font-size: 30px;
    color: #2c1932
}

.inventory-section-head {
    margin-top: 24px !important;
    margin-bottom: 12px !important
}

.inventory-section-head h2 {
    margin-bottom: 4px
}

@media(max-width:800px) {
    .inventory-summary {
        grid-template-columns: 1fr
    }
}



/* Admin profile cards */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: none
}

.profile-card {
    padding: 24px;
    border: 1px solid #f0dce9;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px #4a174b0d
}

.profile-card h2 {
    margin: 5px 0 17px;
    font-size: 22px
}

.profile-card label {
    display: block;
    margin-top: 14px
}

.profile-photo-card {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 150px minmax(220px, 280px);
    gap: 24px;
    align-items: center;
    background: linear-gradient(120deg, #fff, #fff0f7 62%, #eee7ff)
}

.profile-photo-preview {
    width: 150px;
    height: 150px;
    border-radius: 32px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #c02678, #8b2a87);
    color: #fff;
    font-size: 60px;
    font-weight: 800;
    box-shadow: 0 16px 30px #4a174b25
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.profile-upload {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.profile-upload small {
    color: #806d7f;
    font-size: 11px
}

.profile-actions {
    grid-column: 1/-1;
    display: flex;
    justify-content: flex-end
}

@media(max-width:800px) {
    .profile-grid {
        grid-template-columns: 1fr
    }

    .profile-photo-card {
        grid-column: auto;
        grid-template-columns: 1fr;
        text-align: center
    }

    .profile-photo-preview {
        margin: auto
    }

    .profile-upload {
        text-align: left
    }

    .profile-actions {
        grid-column: auto;
        justify-content: stretch
    }

    .profile-actions .btn {
        width: 100%
    }
}