﻿/*
Theme Name: Alice Handmade
Theme URI: https://alicehandmade.com
Author: Alice Studio
Author URI: https://alicehandmade.com
Description: Custom WooCommerce Theme for Alice Handmade with Studio Canvas Integration.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: alice-theme
License: Proprietary
*/

/* --- Custom CSS from previous design will be enqueued or placed here --- */

.alice-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 72px;
}

.alice-saved-addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.alice-address-card {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

.alice-address-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

@media (max-width: 640px) {
    .alice-saved-addresses {
        grid-template-columns: 1fr;
    }
}

/* WooCommerce account */
.alice-account-page{max-width:none;padding:0 24px 80px;background:radial-gradient(circle at 8% 0,rgba(251,111,146,.13),transparent 27%),radial-gradient(circle at 94% 8%,rgba(168,85,247,.09),transparent 24%),#f8fafc}
.alice-account-page>.woocommerce{max-width:1220px;margin:0 auto}
.alice-account-hero{position:relative;overflow:hidden;margin:0 -24px 30px;padding:42px max(24px,calc((100vw - 1172px)/2));background:linear-gradient(135deg,#fb6f92,#f43f5e 48%,#a855f7 130%);color:#fff}
.alice-account-hero:after{content:"";position:absolute;top:-145px;right:8%;width:250px;height:250px;border:45px solid rgba(255,255,255,.1);border-radius:50%}
.alice-account-hero-inner{position:relative;z-index:1;display:flex;align-items:center;gap:18px}
.alice-account-avatar{display:flex;align-items:center;justify-content:center;width:66px;height:66px;flex:0 0 66px;border:3px solid rgba(255,255,255,.5);border-radius:22px;background:rgba(255,255,255,.18);box-shadow:0 12px 30px rgba(88,28,135,.2);font-size:24px;font-weight:800}
.alice-account-hero small{display:block;margin-bottom:3px;color:rgba(255,255,255,.78);font-size:12px;font-weight:700;letter-spacing:.9px;text-transform:uppercase}
.alice-account-hero h1{margin:0 0 4px;font-size:29px;font-weight:800}.alice-account-hero p{margin:0;color:rgba(255,255,255,.85);font-size:14px}
.alice-account-shell{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}
.woocommerce-MyAccount-navigation{position:sticky;top:18px;float:none!important;width:auto!important;overflow:hidden;border:1px solid #e7eaf0;border-radius:18px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.06)}
.alice-account-nav-profile{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #eef1f5;background:linear-gradient(135deg,#fff1f4,#faf5ff)}
.alice-account-nav-profile .mini-avatar{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:linear-gradient(135deg,#fb6f92,#a855f7);color:#fff;font-weight:800}
.alice-account-nav-profile strong{display:block;overflow:hidden;max-width:165px;color:#1e293b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.alice-account-nav-profile span{color:#94a3b8;font-size:11px}
.woocommerce-MyAccount-navigation ul{margin:0!important;padding:10px!important;list-style:none!important}.woocommerce-MyAccount-navigation li{margin:3px 0!important;border:0!important;list-style:none!important}
.woocommerce-MyAccount-navigation a{display:flex!important;align-items:center;gap:12px;padding:12px 13px!important;border-radius:11px;color:#64748b!important;font-size:13px;font-weight:700;text-decoration:none!important;transition:.2s}
.woocommerce-MyAccount-navigation a i{width:20px;color:#a8b0bd;font-size:15px;text-align:center}
.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation a:hover{background:linear-gradient(135deg,#fff1f4,#faf5ff);color:#fb6f92!important;transform:translateX(2px)}
.woocommerce-MyAccount-navigation li.is-active a i,.woocommerce-MyAccount-navigation a:hover i{color:#fb6f92}
.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:10px!important;padding-top:10px;border-top:1px solid #eef1f5!important}.woocommerce-MyAccount-navigation-link--customer-logout a:hover{background:#fef2f2;color:#dc2626!important}
.woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;padding:28px;border:1px solid #e7eaf0;border-radius:18px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.06)}
.alice-account-content-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-28px -28px 26px;padding:22px 28px;border-bottom:1px solid #eef1f5;border-radius:18px 18px 0 0;background:linear-gradient(135deg,#fff,#fcf8ff)}
.alice-account-content-head h2{margin:0;color:#1e293b;font-size:21px;font-weight:800}.alice-account-content-head p{margin:4px 0 0;color:#94a3b8;font-size:12px}
.alice-account-content-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#fff1f4,#f3e8ff);color:#fb6f92;font-size:18px}
.alice-dashboard-welcome{display:flex;justify-content:space-between;gap:18px;margin-bottom:22px;padding:22px;border:1px solid #fbcfe8;border-radius:15px;background:linear-gradient(135deg,#fff1f4,#faf5ff)}
.alice-dashboard-welcome h2{margin:0 0 6px;color:#1e293b;font-size:20px}.alice-dashboard-welcome p{margin:0;color:#64748b;font-size:13px;line-height:1.6}.alice-dashboard-welcome a{color:#fb6f92;font-weight:700}
.alice-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.alice-dashboard-card{display:flex;flex-direction:column;min-height:150px;padding:20px;border:1px solid #e7eaf0;border-radius:15px;background:#fff;color:#334155;text-decoration:none;transition:.22s}
.alice-dashboard-card:hover{border-color:#fbcfe8;color:#334155;box-shadow:0 12px 28px rgba(251,111,146,.12);transform:translateY(-3px)}
.alice-dashboard-card .card-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:16px;border-radius:12px;background:linear-gradient(135deg,#fff1f4,#f3e8ff);color:#fb6f92;font-size:17px}
.alice-dashboard-card strong{display:block;margin-bottom:5px;color:#1e293b;font-size:14px}.alice-dashboard-card span{color:#94a3b8;font-size:12px;line-height:1.5}
.alice-account-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.alice-account-section-head h2{margin:3px 0 5px;color:#1e293b;font-size:20px}.alice-account-section-head p{margin:0;color:#94a3b8;font-size:12px}
.alice-account-eyebrow{color:#fb6f92;font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.alice-account-primary-link,.woocommerce-MyAccount-content .button,.woocommerce-MyAccount-content button.button,.woocommerce-MyAccount-content input.button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;padding:11px 17px!important;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#fb6f92,#f43f5e)!important;box-shadow:0 5px 14px rgba(251,111,146,.22);color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1.2!important;text-decoration:none!important}
.alice-account-page .form-row{margin-bottom:16px}.alice-account-page label{display:block;margin-bottom:7px;color:#475569;font-size:12px;font-weight:700}
.alice-account-page input[type=text],.alice-account-page input[type=email],.alice-account-page input[type=password],.alice-account-page input[type=tel],.alice-account-page input[type=number],.alice-account-page select,.alice-account-page textarea{width:100%;min-height:46px;padding:11px 13px;border:1.5px solid #e2e8f0;border-radius:10px;background:#fff;color:#334155;font-size:13px;outline:none;transition:.2s}
.alice-account-page input:focus,.alice-account-page select:focus,.alice-account-page textarea:focus{border-color:#fb6f92;box-shadow:0 0 0 4px rgba(251,111,146,.09)}
.alice-account-page fieldset{margin:26px 0 20px;padding:20px;border:1px solid #e7eaf0;border-radius:14px;background:#f8fafc}.alice-account-page legend{padding:0 9px;color:#1e293b;font-size:14px;font-weight:800}
.alice-account-page em,.alice-account-page #account_display_name_description{display:block;margin-top:6px;color:#94a3b8;font-size:11px}
.alice-account-page .woocommerce-message,.alice-account-page .woocommerce-info,.alice-account-page .woocommerce-error{margin:0 0 20px!important;padding:15px 18px 15px 48px!important;border:1px solid #e7eaf0!important;border-top:0!important;border-radius:12px;background:#fff;box-shadow:0 6px 20px rgba(15,23,42,.05);color:#475569;font-size:13px}
.alice-account-page table.shop_table{overflow:hidden;width:100%;margin:0!important;border:1px solid #e7eaf0!important;border-collapse:separate;border-spacing:0;border-radius:14px}.alice-account-page table.shop_table th{padding:13px 15px!important;border:0!important;border-bottom:1px solid #e7eaf0!important;background:#f8fafc;color:#64748b;font-size:11px;letter-spacing:.5px;text-transform:uppercase}
.alice-account-page table.shop_table td{padding:15px!important;border:0!important;border-bottom:1px solid #eef1f5!important;color:#475569;font-size:13px}.alice-account-page table.shop_table tr:last-child td{border-bottom:0!important}.alice-account-page table.shop_table a:not(.button){color:#fb6f92;font-weight:700}
.woocommerce-Addresses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.woocommerce-Address{float:none!important;width:auto!important;min-height:190px;padding:20px;border:1px solid #e7eaf0;border-radius:15px;background:linear-gradient(145deg,#fff,#fdfbff)}
.woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.woocommerce-Address-title h2{margin:0!important;color:#1e293b;font-size:16px!important;font-weight:800}.woocommerce-Address-title .edit{padding:7px 10px;border-radius:8px;background:#fff1f4;color:#fb6f92;font-size:11px;font-weight:800;text-decoration:none}.woocommerce-Address address{margin:0;color:#64748b;font-size:13px;font-style:normal;line-height:1.8}
.alice-saved-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.alice-address-card{padding:20px;border:1px solid #e7eaf0;border-radius:15px;background:linear-gradient(145deg,#fff,#fdfbff)}
.alice-address-card-head{display:flex;align-items:center;gap:11px;margin-bottom:17px}.alice-address-card-head>div>span{display:block;color:#94a3b8;font-size:10px;font-weight:700;text-transform:uppercase}.alice-address-card h3{margin:1px 0 0;color:#1e293b;font-size:16px}
.alice-address-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#fff1f4,#f3e8ff);color:#fb6f92}.alice-address-person{display:flex;align-items:center;gap:8px;margin:0 0 9px;color:#334155;font-size:13px}.alice-address-person i{color:#c4a7d7}
.alice-address-lines{min-height:48px;margin:0 0 14px;color:#64748b;font-size:13px;line-height:1.7}.alice-address-phone{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;background:#f8fafc;color:#64748b;font-size:11px;font-weight:700;text-decoration:none}
.alice-account-empty{padding:46px 24px;border:1px dashed #dbe2ea;border-radius:15px;background:#f8fafc;text-align:center}.alice-account-empty>i{margin-bottom:13px;color:#f9a8d4;font-size:36px}.alice-account-empty h3{margin:0 0 6px;color:#334155;font-size:16px}.alice-account-empty p{margin:0;color:#94a3b8;font-size:12px}
.alice-auth-wrap{max-width:1080px;margin:0 auto;padding-top:34px}.alice-auth-intro{max-width:680px;margin:0 auto 28px;text-align:center}.alice-auth-intro .auth-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:0 auto 14px;border-radius:18px;background:linear-gradient(135deg,#fb6f92,#a855f7);box-shadow:0 12px 25px rgba(251,111,146,.22);color:#fff;font-size:22px}
.alice-auth-intro h1{margin:0 0 7px;color:#1e293b;font-size:28px;font-weight:800}.alice-auth-intro p{margin:0;color:#64748b;font-size:13px}.alice-auth-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.alice-auth-grid.single{grid-template-columns:minmax(0,560px);justify-content:center}
.alice-auth-card{position:relative;overflow:hidden;padding:28px;border:1px solid #e7eaf0;border-radius:20px;background:#fff;box-shadow:0 14px 45px rgba(15,23,42,.07)}.alice-auth-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#fb6f92,#a855f7)}
.alice-auth-card-head{display:flex;align-items:center;gap:12px;margin-bottom:23px}.alice-auth-card-head>span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#fff1f4,#f3e8ff);color:#fb6f92}.alice-auth-card h2{margin:0;color:#1e293b;font-size:19px;font-weight:800}.alice-auth-card-head p{margin:3px 0 0;color:#94a3b8;font-size:11px}
.alice-auth-card .woocommerce-form{margin:0!important;padding:0!important;border:0!important}.alice-auth-card .button{width:100%;min-height:46px;margin-top:4px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,#fb6f92,#f43f5e)!important;color:#fff!important;font-weight:800!important}.alice-auth-card .lost_password{margin:13px 0 0;text-align:center}.alice-auth-card .lost_password a{color:#fb6f92;font-size:12px;font-weight:700}
.alice-auth-benefits{display:grid;gap:9px;margin:18px 0;padding:14px;border-radius:12px;background:#f8fafc}.alice-auth-benefits span{display:flex;align-items:center;gap:8px;color:#64748b;font-size:11px}.alice-auth-benefits i{color:#22c55e}.alice-auth-note{color:#64748b;font-size:12px;line-height:1.6}
.alice-account-page .woocommerce-ResetPassword{max-width:560px;padding:26px;border:1px solid #e7eaf0;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(15,23,42,.06)}
.alice-password-wrap{max-width:580px;margin:0 auto;padding:42px 0 10px}.alice-password-card{position:relative;overflow:hidden;padding:34px;border:1px solid #e7eaf0;border-radius:22px;background:#fff;box-shadow:0 16px 50px rgba(15,23,42,.08);text-align:center}.alice-password-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:5px;background:linear-gradient(90deg,#fb6f92,#a855f7)}
.alice-password-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 18px;border-radius:20px;background:linear-gradient(135deg,#fb6f92,#a855f7);box-shadow:0 12px 25px rgba(251,111,146,.24);color:#fff;font-size:23px}.alice-password-head>span{display:block;margin-bottom:5px;color:#fb6f92;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase}.alice-password-head h1{margin:0 0 9px;color:#1e293b;font-size:25px;font-weight:800}.alice-password-head p{max-width:460px;margin:0 auto 25px;color:#64748b;font-size:13px;line-height:1.65}
.alice-password-card .woocommerce-ResetPassword{max-width:none;margin:0!important;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}.alice-password-card .woocommerce-ResetPassword .form-row{float:none;width:100%;margin:0 0 17px}.alice-password-card .woocommerce-ResetPassword .button{display:flex!important;width:100%;min-height:48px;align-items:center;justify-content:center;gap:8px;margin:4px 0 0!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,#fb6f92,#f43f5e)!important;box-shadow:0 7px 18px rgba(251,111,146,.24);color:#fff!important;font-size:12px!important;font-weight:800!important}
.alice-password-back{display:inline-flex;align-items:center;gap:7px;margin-top:18px;color:#fb6f92;font-size:12px;font-weight:800;text-decoration:none}.alice-password-back:hover{color:#e11d48}.alice-password-tip{display:flex;align-items:flex-start;gap:11px;margin:0 0 8px;padding:15px;border-radius:12px;background:#f8fafc;color:#64748b;font-size:12px;line-height:1.6;text-align:left}.alice-password-tip i{margin-top:3px;color:#a855f7}.alice-password-success .alice-password-icon{background:linear-gradient(135deg,#22c55e,#14b8a6)}

@media(max-width:900px){
    .alice-account-shell{grid-template-columns:1fr}.woocommerce-MyAccount-navigation{position:static}.alice-account-nav-profile{display:none}
    .woocommerce-MyAccount-navigation ul{display:flex;gap:5px;overflow-x:auto;padding:9px!important}.woocommerce-MyAccount-navigation li{flex:0 0 auto}.woocommerce-MyAccount-navigation a{padding:10px 12px!important;white-space:nowrap}
    .alice-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
    .alice-account-page{padding-right:14px;padding-left:14px}.alice-account-hero{margin-right:-14px;margin-left:-14px;padding:30px 18px}.alice-account-avatar{width:54px;height:54px;flex-basis:54px;border-radius:17px;font-size:20px}.alice-account-hero h1{font-size:23px}
    .woocommerce-MyAccount-content{padding:20px 16px;border-radius:15px}.alice-account-content-head{margin:-20px -16px 22px;padding:18px 16px;border-radius:15px 15px 0 0}
    .alice-dashboard-grid,.alice-auth-grid,.woocommerce-Addresses,.alice-saved-addresses{grid-template-columns:1fr}.alice-dashboard-welcome,.alice-account-section-head{flex-direction:column}.alice-auth-card{padding:23px 18px}
    .alice-password-wrap{padding-top:28px}.alice-password-card{padding:28px 19px}.alice-password-head h1{font-size:22px}
    .alice-account-page table.shop_table_responsive thead{display:none}.alice-account-page table.shop_table_responsive,.alice-account-page table.shop_table_responsive tbody,.alice-account-page table.shop_table_responsive tr,.alice-account-page table.shop_table_responsive td{display:block;width:100%}
    .alice-account-page table.shop_table_responsive tr{padding:9px 0;border-bottom:1px solid #e7eaf0}.alice-account-page table.shop_table_responsive td{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 14px!important;border:0!important;text-align:right!important}.alice-account-page table.shop_table_responsive td:before{color:#94a3b8;font-size:10px;font-weight:800;text-transform:uppercase}
}

