@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Enforce premium font globally on ALL text elements for standalone pages */
.premium-about-body,
.premium-about-body *,
.jobs-board-body,
.jobs-board-body * {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}
/* Preserve FontAwesome icons — override wildcard above */
.premium-about-body .fa,
.premium-about-body .fas,
.premium-about-body .far,
.premium-about-body .fab,
.premium-about-body .fal,
.premium-about-body [class^="fa-"],
.premium-about-body [class*=" fa-"],
.jobs-board-body .fa,
.jobs-board-body .fas,
.jobs-board-body .far,
.jobs-board-body .fab,
.jobs-board-body .fal,
.jobs-board-body [class^="fa-"],
.jobs-board-body [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Force parent elements to full width */
#content, #content .ast-container, #content #primary, #content #main,
#content .content-area, .entry-content, .ast-plain-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
    flex: none !important;
    box-sizing: border-box !important;
    background-color: #F4F2EA !important;
}
#content #secondary, #content .sidebar, #content .widget-area {
    display: none !important;
}

/* ==========================================================================
   PORTAL AUTHENTICATION (LIGHT PREMIUM GLASSMORPHISM)
   ========================================================================== */
.ag-b2b-login-page-wrapper,
.ag-join-page-wrapper {
    background-color: #FAFAFA !important;
    background-image: radial-gradient(circle at 50% 10%, #f7f8fa 0%, #FAFAFA 100%) !important;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    color: #2B2D31;
}

.ag-b2b-login-page-wrapper *,
.ag-join-page-wrapper *,
.ag-b2b-login-page-wrapper input,
.ag-join-page-wrapper input,
.ag-b2b-login-page-wrapper select,
.ag-join-page-wrapper select,
.ag-b2b-login-page-wrapper textarea,
.ag-join-page-wrapper textarea,
.ag-b2b-login-page-wrapper button,
.ag-join-page-wrapper button,
.ag-b2b-login-page-wrapper label,
.ag-join-page-wrapper label,
.ag-b2b-login-page-wrapper span,
.ag-join-page-wrapper span,
.ag-b2b-login-page-wrapper div,
.ag-join-page-wrapper div,
.ag-b2b-login-page-wrapper h1,
.ag-join-page-wrapper h1,
.ag-b2b-login-page-wrapper h2,
.ag-join-page-wrapper h2,
.ag-b2b-login-page-wrapper h3,
.ag-join-page-wrapper h3,
.ag-b2b-login-page-wrapper h4,
.ag-join-page-wrapper h4,
.ag-b2b-login-page-wrapper h5,
.ag-join-page-wrapper h5,
.ag-b2b-login-page-wrapper h6,
.ag-join-page-wrapper h6,
.ag-b2b-login-page-wrapper p,
.ag-join-page-wrapper p,
.ag-b2b-login-page-wrapper a,
.ag-join-page-wrapper a {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}

.ag-b2b-login-container,
.ag-join-container {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(16px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
    border-radius: 24px !important;
    width: 100%;
    max-width: 580px;
    padding: 45px;
    box-shadow: 0 15px 45px rgba(26, 26, 26, 0.04), 0 4px 12px rgba(26, 26, 26, 0.02) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.ag-b2b-login-container:hover,
.ag-join-container:hover {
    border-color: rgba(215, 99, 20, 0.25) !important;
    box-shadow: 0 30px 60px rgba(215, 99, 20, 0.08), 0 12px 24px rgba(215, 99, 20, 0.04) !important;
    transform: translateY(-4px);
}

.ag-b2b-login-branding,
.ag-join-branding {
    text-align: center;
    margin-bottom: 35px;
}

.ag-b2b-title,
.ag-join-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 38px;
    font-weight: 400;
    margin: 0 0 5px;
    letter-spacing: 1px;
    color: #2B2D31;
}

.ag-b2b-title span,
.ag-join-title span {
    color: var(--ag-brand-orange) !important;
    font-style: italic;
    margin-left: 6px;
}

.ag-b2b-subtitle,
.ag-join-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8C9BA5;
    margin: 0;
}

.ag-b2b-tabs,
.ag-join-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    margin-bottom: 30px;
}

.ag-b2b-tab-btn,
.ag-join-tab-btn {
    background: transparent !important;
    border: none !important;
    color: #8C9BA5 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    padding: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.ag-b2b-tab-btn:hover,
.ag-join-tab-btn:hover {
    color: #2B2D31 !important;
    background: transparent !important;
}

.ag-b2b-tab-btn.active,
.ag-join-tab-btn.active {
    color: var(--ag-brand-orange) !important;
    border-bottom-color: var(--ag-brand-orange) !important;
    font-weight: 600 !important;
    background: transparent !important;
}

.ag-b2b-tab-content,
.ag-join-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.ag-b2b-tab-content.active,
.ag-join-tab-content.active {
    display: block;
}

.ag-b2b-error-alert,
.ag-join-error-alert {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #ef4444;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ag-b2b-form-group,
.ag-join-form-group {
    margin-bottom: 22px;
}

.ag-b2b-form-group label,
.ag-join-form-group label {
    display: block;
    font-size: 13px;
    color: #404246;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ag-b2b-input,
.ag-join-input {
    width: 100% !important;
    height: 48px !important;
    background: #ffffff !important;
    border: 1px solid rgba(43, 45, 49, 0.15) !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    color: #2B2D31 !important;
    font-size: 15px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

.ag-b2b-input:focus,
.ag-join-input:focus {
    border-color: var(--ag-brand-orange) !important;
    box-shadow: 0 0 0 3px rgba(215, 99, 20, 0.15) !important;
}

.ag-b2b-form-meta,
.ag-join-form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.ag-b2b-remember,
.ag-join-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #404246;
}

.ag-b2b-remember input[type="checkbox"],
.ag-join-remember input[type="checkbox"] {
    accent-color: var(--ag-brand-orange);
}

.ag-b2b-lostpass,
.ag-join-lostpass {
    color: var(--ag-brand-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ag-b2b-lostpass:hover,
.ag-join-lostpass:hover {
    color: #B84E0B;
    text-decoration: underline;
}

.ag-b2b-submit-btn,
.ag-join-submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #2B2D31 0%, #1e1f23 100%) !important;
    border: 1px solid rgba(215, 99, 20, 0.2) !important;
    border-radius: 100px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.ag-b2b-submit-btn:hover,
.ag-join-submit-btn:hover {
    background: linear-gradient(135deg, var(--ag-brand-orange) 0%, #B84E0B 100%) !important;
    border-color: var(--ag-brand-orange) !important;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(215, 99, 20, 0.3) !important;
}

/* Onboarding adjustments inside register-panel */
#register-panel .ag-onboarding-container {
    max-width: 100% !important;
    margin: 0 !important;
}

#register-panel h1, #register-panel h2, #register-panel h3 {
    color: #2B2D31 !important;
}

#register-panel .ag-ob-role-card {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: #2B2D31 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#register-panel .ag-ob-role-card:hover {
    border-color: rgba(215, 99, 20, 0.25) !important;
    background: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

#register-panel .ag-ob-role-card div[style*="background"] {
    background: #f7f8fa !important;
}

#register-panel .ag-ob-role-card div[style*="color: #000"],
#register-panel .ag-ob-role-card div[style*="color: rgb(0, 0, 0)"] {
    color: var(--ag-brand-orange) !important;
}

#register-panel .ag-premium-card {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: #2B2D31 !important;
    border-radius: 16px !important;
}

#register-panel .ag-input,
#register-panel input[type="text"],
#register-panel input[type="email"],
#register-panel input[type="password"] {
    background: #ffffff !important;
    border: 1px solid rgba(43, 45, 49, 0.15) !important;
    color: #2B2D31 !important;
}

#register-panel .ag-input:focus {
    border-color: var(--ag-brand-orange) !important;
    box-shadow: 0 0 0 3px rgba(215, 99, 20, 0.15) !important;
}

#register-panel .ag-btn-premium,
#register-panel .ag-b2b-btn {
    background: linear-gradient(135deg, #2B2D31 0%, #1e1f23 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(215, 99, 20, 0.2) !important;
    border-radius: 100px !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#register-panel .ag-btn-premium:hover,
#register-panel .ag-b2b-btn:hover {
    background: linear-gradient(135deg, var(--ag-brand-orange) 0%, #B84E0B 100%) !important;
    border-color: var(--ag-brand-orange) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(215, 99, 20, 0.3) !important;
}


/* ==========================================================================
   PREMIUM SHOP LAYOUT (LIGHT THEME)
   ========================================================================== */
.premium-shop-body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #ffffff;
    background-image: radial-gradient(circle at 50% 10%, #fcfbfa 0%, #ffffff 100%);
    color: #1a1a1a;
    padding: 60px 0 100px;
}

.premium-shop-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphic Category Filter Bar */
.premium-shop-filters-wrap {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.premium-shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(215, 99, 20, 0.15);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.premium-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #4a4a4a;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.premium-filter-btn .count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    color: #777;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.premium-filter-btn:hover {
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.premium-filter-btn.active {
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, #B84E0B 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(215, 99, 20, 0.25);
}

.premium-filter-btn.active .count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Product Grid */
.premium-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Premium Product Card */
.premium-product-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(215, 99, 20, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.premium-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(215, 99, 20, 0.08);
    border-color: rgba(215, 99, 20, 0.35);
}

.premium-product-image-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.premium-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 12px;
    box-sizing: border-box;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-product-card:hover .premium-product-image-wrap img {
    transform: scale(1.04);
}

/* Hover Action Overlay */
.premium-product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.premium-product-card:hover .premium-product-overlay {
    opacity: 1;
}

.premium-overlay-btn {
    padding: 11px 28px;
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, #B84E0B 100%);
    color: #ffffff !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(215, 99, 20, 0.4);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-product-card:hover .premium-overlay-btn {
    transform: translateY(0);
    opacity: 1;
}

.premium-overlay-btn:hover {
    background: linear-gradient(90deg, #B84E0B 0%, var(--ag-brand-orange) 100%);
    box-shadow: 0 12px 30px rgba(215, 99, 20, 0.55);
}

/* Badges */
.premium-product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--ag-brand-orange);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.premium-product-badge.free {
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, #B84E0B 100%);
}

/* Info Section */
.premium-product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.premium-product-cat {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ag-brand-orange);
    margin-bottom: 8px;
    display: block;
}

.premium-product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.25;
    flex-grow: 1;
}

.premium-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.premium-product-title a:hover {
    color: var(--ag-brand-orange);
}

/* Pricing and Actions */
.premium-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.premium-product-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a1a1a;
}

.premium-product-price .free-label {
    color: #27ae60;
    font-weight: 700;
}

.premium-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, #B84E0B 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(215, 99, 20, 0.3);
}

.premium-cart-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.premium-cart-btn:hover {
    background: linear-gradient(90deg, #B84E0B 0%, var(--ag-brand-orange) 100%);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(215, 99, 20, 0.45);
}

/* Premium Pagination */
.premium-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.premium-pagination a,
.premium-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-pagination a {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.premium-pagination a:hover {
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, #B84E0B 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(215, 99, 20, 0.3);
}

.premium-pagination span.current {
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, #B84E0B 100%);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 10px 20px rgba(215, 99, 20, 0.3);
}

/* Empty State */
.premium-shop-empty {
    text-align: center;
    padding: 100px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.premium-shop-empty svg {
    width: 64px;
    height: 64px;
    fill: #ccc;
    margin-bottom: 24px;
}

.premium-shop-empty p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}


/* ==========================================================================
   ABOUT US PAGE LAYOUT (LIGHT THEME)
   ========================================================================== */
.premium-about-body {
    background-color: #F4F2EA;
    background-image: none;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif !important;
    padding: 50px 0 80px;
}

/* Intro Section */
.about-intro {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 0 20px;
}

.about-intro h2 {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.about-intro .lead-text {
    font-size: 26px;
    line-height: 1.6;
    color: var(--ag-brand-orange);
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-intro .desc-text {
    font-size: 20px;
    line-height: 1.75;
    color: #444444;
    font-weight: 400;
}

/* Brand Twin Blocks */
.premium-brands-section {
    padding: 40px 0;
}

.premium-brands-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.brand-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(26, 26, 26, 0.04), 0 4px 12px rgba(26, 26, 26, 0.02);
    border-radius: 24px;
    padding: 30px 40px;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-block:hover {
    border-color: rgba(215, 99, 20, 0.25);
    box-shadow: 0 30px 60px rgba(215, 99, 20, 0.08), 0 12px 24px rgba(215, 99, 20, 0.04);
    transform: translateY(-8px);
}

.brand-block.reversed {
    grid-template-columns: 1fr 1.1fr;
}

.brand-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 640 / 357;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    background-color: #ffffff;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-block:hover .brand-image img {
    transform: scale(1.05);
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brand-content h2 {
    font-size: 38px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
    font-family: 'Cormorant Garamond', serif !important;
}

.brand-content p {
    font-size: 18px;
    line-height: 1.65;
    color: #333333;
    margin: 0;
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif !important;
}

.brand-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, var(--ag-brand-orange) 100%);
    color: #ffffff !important;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(215, 99, 20, 0.2);
    border: none !important;
    cursor: pointer;
}

.brand-btn:hover {
    background: linear-gradient(90deg, var(--ag-brand-orange) 0%, var(--ag-brand-orange) 100%);
    box-shadow: 0 8px 25px rgba(215, 99, 20, 0.35);
    transform: translateY(-4px) scale(1.02);
}

.brand-block.reversed .brand-image {
    grid-column: 2;
}
.brand-block.reversed .brand-content {
    grid-column: 1;
    grid-row: 1;
}

/* Team Grid Section */
.team-section {
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.team-section h2 {
    font-size: 52px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card:hover {
    border-color: rgba(215, 99, 20, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(215, 99, 20, 0.08);
}

.team-image-wrap {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 2px solid rgba(215, 99, 20, 0.2);
    box-shadow: 0 8px 20px rgba(215, 99, 20, 0.05);
}

.team-image-wrap img {
    transition: transform 0.6s ease;
}

.team-card:hover .team-image-wrap img {
    transform: scale(1.08);
}

.team-card h5 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Cormorant Garamond', serif !important;
}


/* ==========================================================================
   B2B CAREERS / JOB BOARD — PREMIUM HERO SECTION
   ========================================================================== */
.jobs-hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2b2d31 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 20px 90px;
    text-align: center;
}
.jobs-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(215, 99, 20, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 30%, rgba(215, 99, 20, 0.07) 0%, transparent 50%);
    pointer-events: none;
}
.jobs-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(215, 99, 20, 0.5), transparent);
}
.jobs-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.jobs-hero-badge {
    display: inline-block;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ag-brand-orange);
    background: rgba(215, 99, 20, 0.1);
    border: 1px solid rgba(215, 99, 20, 0.25);
    border-radius: 30px;
    padding: 6px 20px;
    margin-bottom: 28px;
}
.jobs-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0px;
    color: #ffffff !important;
    margin: 0 0 20px !important;
}
.jobs-hero-title span {
    color: var(--ag-brand-orange) !important;
    font-style: italic;
    font-weight: 400;
}
.jobs-hero-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}
.jobs-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.jobs-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
}
.jobs-stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 40px;
    font-weight: 600;
    color: var(--ag-brand-orange);
    line-height: 1;
    margin-bottom: 6px;
}
.jobs-stat-label {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}
.jobs-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 600px) {
    .jobs-stat-divider { display: none; }
    .jobs-stat-item { padding: 12px 20px; }
}

/* ==========================================================================
   B2B CAREERS / JOB BOARD LAYOUT (LIGHT THEME)
   ========================================================================== */
.jobs-board-body {
    background-color: #F4F2EA;
    background-image: none;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif !important;
    padding: 20px 0 100px;
}

/* Force full width / wider container for B2B Careers/Job Board page to prevent narrow/squished columns */
.page-template-page-rabota .ast-container {
    max-width: 1240px !important;
    width: 100% !important;
    padding: 0 20px !important;
}
body.page-template-page-rabota.ast-narrow-container .ast-container,
body.page-template-page-rabota.ast-content-width-layout .ast-container {
    max-width: 1240px !important;
    width: 100% !important;
}
.page-template-page-rabota #primary,
.page-template-page-rabota #main {
    width: 100% !important;
    max-width: 100% !important;
}

.jobs-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .jobs-container {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
}

.jobs-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
}
@media (max-width: 900px) {
    .jobs-sidebar {
        width: 100%;
    }
}

.jobs-list-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.jobs-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 35px auto 15px;
    max-width: 1200px;
    padding: 0 20px;
}
.jobs-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2b2d31 !important;
    text-decoration: none !important;
    background: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.jobs-tab-link svg {
    stroke: #2b2d31;
    transition: all 0.3s ease;
}
.jobs-tab-link:hover,
.jobs-tab-link.active {
    background: #2b2d31;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(43, 45, 49, 0.12);
}
.jobs-tab-link:hover svg,
.jobs-tab-link.active svg {
    stroke: var(--ag-brand-orange);
}

.jobs-search-block {
    max-width: 600px;
    margin: 20px auto 0;
    padding: 0 20px;
    width: 100%;
}
.jobs-search-form {
    position: relative;
    display: flex;
    align-items: center;
}
.jobs-search-input {
    width: 100%;
    padding: 16px 120px 16px 24px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #ffffff;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px !important;
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}
.jobs-search-input:focus {
    border-color: var(--ag-brand-orange);
    box-shadow: 0 10px 30px rgba(215, 99, 20, 0.06);
}
.jobs-search-btn {
    position: absolute;
    right: 6px;
    background: var(--ag-brand-orange);
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.jobs-search-btn:hover {
    background: #B84E0B;
    box-shadow: 0 6px 15px rgba(215, 99, 20, 0.2);
}

.filter-group {
    margin-bottom: 20px;
}
.filter-label {
    display: block;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2b2d31;
    margin-bottom: 8px;
}
.filter-select,
.filter-text {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #ffffff;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px !important;
    color: #1a1a1a;
    outline: none;
    transition: all 0.3s ease;
}
.filter-select:focus,
.filter-text:focus {
    border-color: var(--ag-brand-orange);
    box-shadow: 0 0 0 3px rgba(215, 99, 20,0.06);
}
.filter-submit-btn {
    width: 100%;
    background: #2b2d31;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.filter-submit-btn:hover {
    background: var(--ag-brand-orange);
    box-shadow: 0 6px 15px rgba(215, 99, 20, 0.15);
}

.job-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.005);
}
.job-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215, 99, 20, 0.2);
    box-shadow: 0 15px 35px rgba(215, 99, 20, 0.05);
}
.job-card-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.job-card-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.meta-tag {
    background: rgba(0, 0, 0, 0.03);
    color: #2b2d31;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Cormorant Garamond', serif !important;
}
.meta-tag.location-tag {
    background: rgba(215, 99, 20, 0.05);
    color: var(--ag-brand-orange);
}
.job-card-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}
.job-card-excerpt p {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #555555 !important;
    margin: 0 !important;
}
.job-card-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 5px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 14px !important;
    color: #888888;
}
.info-item svg {
    stroke: #888888;
    flex-shrink: 0;
}
.job-card-side {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
    border-left: 1px solid rgba(0,0,0,0.05);
    padding-left: 30px;
}
@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        gap: 20px;
    }
    .job-card-side {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-top: 20px;
    }
}
.job-salary-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.salary-label {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
}
.salary-value {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--ag-brand-orange);
}
.job-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ag-brand-orange);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(215, 99, 20, 0.15);
    margin-top: 15px;
}
.job-action-btn:hover {
    background: #B84E0B;
    box-shadow: 0 6px 16px rgba(215, 99, 20, 0.25);
    transform: translateY(-1px);
}
.job-action-btn svg {
    stroke: #ffffff;
    transition: transform 0.2s ease;
}
.job-action-btn:hover svg {
    transform: translateX(2px);
}

.jobs-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.jobs-pagination a,
.jobs-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #2b2d31 !important;
    text-decoration: none !important;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.jobs-pagination a:hover,
.jobs-pagination span.current {
    background: var(--ag-brand-orange);
    color: #ffffff !important;
    border-color: var(--ag-brand-orange);
}

.job-empty-state {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(215, 99, 20, 0.15);
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.015);
}
.job-empty-state .empty-icon {
    margin-bottom: 16px;
}
.job-empty-state .empty-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #1a1a1a;
    margin: 15px 0 8px !important;
}
.job-empty-state .empty-desc {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px !important;
    color: #888;
}


/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
/* Scroll Reveal classes - Progressive Enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-left {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ag-js-active .reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}
.ag-js-active .reveal-left:not(.active) {
    opacity: 0;
    transform: translateX(-40px);
}
.ag-js-active .reveal-right:not(.active) {
    opacity: 0;
    transform: translateX(40px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1 !important;
    transform: translate(0) !important;
}


/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .premium-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .brand-block, .brand-block.reversed {
        gap: 35px;
        padding: 24px;
    }
}

@media (max-width: 992px) {
    .patterns-grid-category {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .premium-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .premium-shop-body, .premium-about-body, .job-board-body {
        padding: 50px 0 80px;
    }
    .premium-shop-filters {
        padding: 8px;
    }
    .premium-filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .brand-block, .brand-block.reversed {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 25px;
    }
    .brand-block.reversed .brand-image {
        grid-column: 1;
    }
    .brand-block.reversed .brand-content {
        grid-column: 1;
        grid-row: auto;
    }
    .brand-image {
        aspect-ratio: 640 / 357;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .patterns-grid-category {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .premium-products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .premium-shop-container {
        padding: 0 16px;
    }
    .premium-product-info {
        padding: 20px;
    }
    .ag-b2b-login-container, .ag-join-container {
        padding: 25px 20px;
    }
    .ag-b2b-title, .ag-join-title {
        font-size: 32px;
    }
    .job-card {
        padding: 20px;
    }
    .job-card-header {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   BRAND DETAIL PAGES (ANAVE, DESIGN STUDIO, PRIMERO)
   ========================================================================== */
.brand-detail-body {
    background-color: #ffffff;
    background-image: radial-gradient(circle at 50% 10%, #fcfbfa 0%, #ffffff 100%);
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif !important;
    padding: 60px 0 100px;
}

.brand-detail-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Brand Hero Card */
.brand-hero-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(215, 99, 20, 0.15);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(215, 99, 20, 0.05);
    margin-bottom: 60px;
    display: flex;
    gap: 50px;
    align-items: center;
    transition: all 0.4s ease;
}

.brand-hero-card:hover {
    box-shadow: 0 30px 60px rgba(215, 99, 20, 0.07);
    border-color: rgba(215, 99, 20, 0.3);
}

.brand-hero-image-wrap {
    flex: 0 0 350px;
    max-width: 350px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-hero-card:hover .brand-hero-image-wrap img {
    transform: scale(1.05);
}

.brand-hero-info {
    flex: 1;
}

.brand-hero-info h1,
.brand-hero-info h2 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
}

.brand-hero-info .lead-text {
    font-size: 22px;
    line-height: 1.6;
    color: #333333;
    font-weight: 400;
}

/* Feature/Content Sections */
.brand-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-content-block {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.brand-content-block:hover {
    border-color: rgba(215, 99, 20, 0.2);
    transform: translateY(-3px);
}

.brand-content-block h2, 
.brand-content-block h3 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.brand-content-block p {
    font-size: 18px;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 15px;
}

.brand-content-block ul {
    margin: 0;
    padding-left: 20px;
}

.brand-content-block li {
    font-size: 18px;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 10px;
}

/* Contact Details Block */
.brand-contact-section {
    background: linear-gradient(135deg, #2a2c31 0%, #1a1b1e 100%);
    border-radius: 24px;
    padding: 50px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-contact-section h3 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 36px;
    font-weight: 500;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.brand-contact-section p {
    font-size: 18px;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto 35px;
}

.brand-contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-contact-btn:hover {
    background: var(--ag-brand-orange, var(--ag-brand-orange));
    border-color: var(--ag-brand-orange, var(--ag-brand-orange));
    box-shadow: 0 8px 20px rgba(215, 99, 20, 0.35);
    transform: translateY(-2px);
}

.brand-contact-btn svg {
    stroke: currentColor;
    fill: none;
}

@media (max-width: 900px) {
    .brand-hero-card {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }
    
    .brand-hero-image-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    
    .brand-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-hero-info h1,
    .brand-hero-info h2 {
        font-size: 36px;
    }
}

/* Design Studio Brand Portfolio Section */
.brand-portfolio-section {
    margin: 80px 0 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(215, 99, 20, 0.15);
}

.brand-portfolio-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a2e;
    letter-spacing: 0.02em;
    position: relative;
}

.brand-portfolio-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--ag-brand-orange);
    margin: 15px auto 0;
}

.brand-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.brand-portfolio-card {
    font-family: 'Cormorant Garamond', serif;
    border: 1px solid rgba(215, 99, 20, 0.15);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.brand-portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 99, 20, 0.4);
    box-shadow: 0 15px 35px rgba(215, 99, 20, 0.1);
}

.brand-portfolio-card .image-wrap {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(215, 99, 20, 0.1);
    box-sizing: border-box;
}

.brand-portfolio-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-portfolio-card:hover img {
    transform: scale(1.05);
}

.brand-portfolio-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0 10px;
    text-align: center;
    color: #1a1a2e;
}

.brand-portfolio-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #555;
    text-align: center;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 20px;
}

.brand-portfolio-card .btn-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--ag-brand-orange);
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.brand-portfolio-card:hover .btn-link {
    background-color: #f1731d;
    box-shadow: 0 4px 15px rgba(215, 99, 20, 0.4);
}

@media (max-width: 900px) {
    .brand-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .brand-portfolio-card .image-wrap {
        height: 350px;
    }
}


/* ==========================================================================
   JOB BOARD — HERO SECTION (новые классы page-rabota.php)
   ========================================================================== */

/* ── Hero Wrapper ── */
.ag-jobs-hero-section {
    background: transparent !important;
    border-bottom: 1px solid rgba(215, 99, 20, 0.08);
    padding: 48px 0 36px;
}
.ag-jobs-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Row 1: Title + CTA Button ── */
.ag-jobs-hero-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.ag-jobs-hero-title-group {
    flex: 1;
    min-width: 260px;
}
.ag-jobs-hero-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 52px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    color: #1a1a1a !important;
    margin: 0 0 12px !important;
    letter-spacing: -0.5px;
}
.ag-jobs-hero-title .title-italic {
    font-style: italic;
    color: var(--ag-brand-orange);
}
.ag-jobs-hero-subtitle {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 19px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    margin: 0 !important;
    max-width: 540px;
}
.ag-jobs-hero-action-group {
    display: flex;
    align-items: flex-start;
    padding-top: 8px;
    flex-shrink: 0;
}
.ag-jobs-hero-action-group .ag-btn-brand-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    white-space: nowrap;
}
.ag-jobs-hero-action-group .ag-btn-brand-v2 svg {
    stroke: #ffffff;
    flex-shrink: 0;
}

/* ── Row 2: Nav + Search ── */
.ag-jobs-hero-nav-search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Nav Tabs */
.ag-jobs-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    padding: 5px;
}
.ag-jobs-nav-item {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555555 !important;
    text-decoration: none !important;
    padding: 9px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}
.ag-jobs-nav-item:hover {
    color: #1a1a1a !important;
    background: rgba(0, 0, 0, 0.04);
}
.ag-jobs-nav-item.active {
    background: #ffffff;
    color: #1a1a1a !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Search Bar */
.ag-jobs-search-container {
    flex: 1;
    max-width: 560px;
}
.ag-jobs-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ag-jobs-search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}
.ag-jobs-search-input-wrapper .search-icon {
    position: absolute;
    left: 16px;
    stroke: #aaaaaa;
    pointer-events: none;
    flex-shrink: 0;
}
.ag-jobs-search-input {
    width: 100%;
    padding: 12px 44px 12px 46px !important;
    border-radius: 50px;
    border: 1.5px solid rgba(0, 0, 0, 0.09);
    background: #ffffff;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 17px !important;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.ag-jobs-search-input:focus {
    border-color: var(--ag-brand-orange);
    box-shadow: 0 4px 16px rgba(215, 99, 20, 0.08);
}
.ag-search-clear-btn {
    position: absolute;
    right: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.ag-search-clear-btn:hover {
    background: rgba(215, 99, 20, 0.12);
}
.ag-search-clear-btn svg {
    stroke: #888888;
}
.search-submit-btn {
    background: var(--ag-brand-orange);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 26px;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.search-submit-btn:hover {
    background: #B84E0B;
    box-shadow: 0 6px 16px rgba(215, 99, 20, 0.25);
    transform: translateY(-1px);
}

/* ── Row 3: Tag Suggestions ── */
.ag-jobs-suggestions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.suggestions-label {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaaaaa;
    flex-shrink: 0;
}
.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.suggestion-tag {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #555555 !important;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 50px;
    padding: 4px 14px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.suggestion-tag:hover {
    background: rgba(215, 99, 20, 0.07);
    border-color: rgba(215, 99, 20, 0.25);
    color: var(--ag-brand-orange) !important;
}

/* ── Sidebar: Premium CTA Card ── */
.ag-jobs-premium-card {
    background: linear-gradient(135deg, #2b2d31 0%, #1a1b1e 100%);
    border-radius: 14px;
    padding: 26px 22px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.ag-jobs-premium-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(215, 99, 20, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}
.premium-card-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 0 10px !important;
    line-height: 1.3 !important;
}
.premium-card-text {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.55 !important;
    margin: 0 0 18px !important;
}
.ag-btn-premium-sidebar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ag-brand-orange);
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(215, 99, 20, 0.3);
}
.ag-btn-premium-sidebar:hover {
    background: #f1731d;
    box-shadow: 0 8px 20px rgba(215, 99, 20, 0.4);
    transform: translateY(-1px);
}
.ag-btn-premium-sidebar svg {
    stroke: #ffffff;
    transition: transform 0.2s ease;
}
.ag-btn-premium-sidebar:hover svg {
    transform: translateX(3px);
}

/* ── Filter Select Wrapper (стрелка-иконка) ── */
.filter-select-wrap {
    position: relative;
}
.filter-select-wrap .filter-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ag-jobs-hero-title {
        font-size: 38px !important;
    }
    .ag-jobs-hero-header-row {
        flex-direction: column;
        align-items: stretch;
    }
    .ag-jobs-hero-action-group {
        padding-top: 0;
    }
    .ag-jobs-hero-nav-search-row {
        flex-direction: column;
        align-items: stretch;
    }
    .ag-jobs-search-container {
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .ag-jobs-hero-title {
        font-size: 30px !important;
    }
    .ag-jobs-hero-section {
        padding: 32px 0 24px;
    }
    .ag-jobs-nav-item {
        font-size: 13px !important;
        padding: 8px 16px;
    }
}

/* ==========================================================================
   PREMIUM SOCIAL LOGIN BUTTONS & DIVIDER
   ========================================================================== */
.ag-social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0 20px;
    color: #8C9BA5;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}
.ag-social-divider::before,
.ag-social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}
.ag-social-divider::before {
    margin-right: 15px;
}
.ag-social-divider::after {
    margin-left: 15px;
}

.ag-social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
}
.ag-social-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(215, 99, 20, 0.15) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #2B2D31 !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
.ag-social-btn:hover {
    background: #FFFFFF !important;
    border-color: var(--ag-brand-orange) !important;
    box-shadow: 0 8px 20px rgba(215, 99, 20, 0.1) !important;
    transform: translateY(-2px);
}
.ag-social-btn svg {
    transition: transform 0.3s ease;
}
.ag-social-btn:hover svg {
    transform: scale(1.1);
}

/* ==========================================================================
   PREMIUM SOCIAL AUTH MODAL
   ========================================================================== */
.ag-social-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 45, 49, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.ag-social-modal-card {
    background: #ffffff;
    border: 1px solid rgba(215, 99, 20, 0.15);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    text-align: center;
    box-sizing: border-box;
}

.ag-social-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent !important;
    border: none !important;
    color: #8c9ba5 !important;
    font-size: 28px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
}

.ag-social-modal-close:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #2B2D31 !important;
}

.ag-social-modal-step h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 24px;
    color: #2B2D31;
    margin: 15px 0 10px;
    font-weight: 600;
}

.ag-social-modal-step p {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 20px;
}

/* Premium Buttons inside Modal */
.ag-social-modal-card .ag-btn-premium {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    background-color: var(--ag-brand-orange) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    box-shadow: 0 4px 15px rgba(215, 99, 20, 0.2) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.ag-social-modal-card .ag-btn-premium:hover {
    background-color: #f1731d !important;
    box-shadow: 0 6px 20px rgba(215, 99, 20, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================
   404 Page (Smart B2B Matcher Edition) Styles
   ========================================== */
.premium-404-body {
    padding: 100px 0 !important;
    background: var(--ag-color-bg-body, #fafafa) !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.premium-404-container {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    text-align: center !important;
}

.err-icon-wrap {
    margin-bottom: 40px !important;
    display: inline-block !important;
    position: relative !important;
}

.err-code-text {
    font-size: 8rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--ag-brand-orange), #ff7e40) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'Cormorant Garamond', serif !important;
    line-height: 1 !important;
}

.err-status-text {
    font-size: 1.2rem !important;
    color: var(--ag-color-text-muted, #666) !important;
    font-weight: 500 !important;
    margin-top: -10px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.premium-404-h1 {
    font-size: 2.5rem !important;
    color: var(--ag-color-text-main, #111) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.premium-404-desc {
    font-size: 1.2rem !important;
    color: var(--ag-color-text-muted, #555) !important;
    line-height: 1.7 !important;
    margin-bottom: 40px !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.premium-404-uri {
    background: rgba(215, 99, 20, 0.05) !important;
    color: var(--ag-brand-orange) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-family: monospace !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(215, 99, 20, 0.15) !important;
}

/* Stylized Search Form */
.ag-404-search-section {
    max-width: 600px !important;
    margin: 0 auto 30px auto !important;
}

.ag-404-search-input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.ag-404-search-input {
    width: 100% !important;
    padding: 15px 60px 15px 25px !important;
    font-size: 1.1rem !important;
    font-family: 'Cormorant Garamond', serif !important;
    border: 1px solid rgba(215, 99, 20, 0.25) !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    color: #111 !important;
}

.ag-404-search-input:focus {
    border-color: var(--ag-brand-orange) !important;
    box-shadow: 0 4px 20px rgba(215, 99, 20, 0.15) !important;
}

.ag-404-search-submit {
    position: absolute !important;
    right: 5px !important;
    background: var(--ag-brand-orange) !important;
    color: #ffffff !important;
    border: none !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    padding: 0 !important;
}

.ag-404-search-submit:hover {
    background-color: #f1731d !important;
    transform: scale(1.05) !important;
}

.ag-404-search-submit svg {
    stroke: #ffffff !important;
}

/* Quick CTA Actions */
.ag-404-cta-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 50px !important;
    flex-wrap: wrap !important;
}

.ag-404-cta-btn {
    text-decoration: none !important;
}

.ag-btn-brand-v2-outline {
    font-family: 'Cormorant Garamond', serif !important;
    background-color: transparent !important;
    color: var(--ag-brand-orange) !important;
    border: 2px solid var(--ag-brand-orange) !important;
    padding: 10px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, color 0.3s ease !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ag-btn-brand-v2-outline:hover {
    background-color: var(--ag-brand-orange) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(215, 99, 20, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Recommendations Grid */
.smart-rec-grid {
    text-align: left !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    margin-bottom: 50px !important;
}

@media (max-width: 768px) {
    .smart-rec-grid {
        grid-template-columns: 1fr !important;
    }
}

.smart-rec-card {
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.smart-rec-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(215, 99, 20, 0.08) !important;
    border-color: rgba(215, 99, 20, 0.3) !important;
}

.ag-brand-block {
    font-family: 'Cormorant Garamond', serif !important;
    border: 1px solid rgba(215, 99, 20, 0.15) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.smart-rec-badge {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--badge-color) !important;
    background: var(--badge-bg) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.smart-rec-title {
    font-size: 1.3rem !important;
    color: var(--ag-color-text-main, #111) !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.smart-rec-link {
    color: var(--ag-color-text-main, #111) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.smart-rec-link:hover {
    color: var(--ag-brand-orange) !important;
}

.smart-rec-excerpt {
    font-size: 0.95rem !important;
    color: var(--ag-color-text-muted, #666) !important;
    line-height: 1.6 !important;
    margin: 0 0 16px 0 !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.smart-rec-meta {
    font-size: 0.9rem !important;
    color: var(--ag-brand-orange) !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.smart-rec-more {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--ag-brand-orange) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.smart-rec-more svg {
    margin-top: 1px !important;
}

.btn-home-cta {
    background: var(--ag-color-primary, #111) !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    display: inline-block !important;
    transition: all 0.3s !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    border: none !important;
    cursor: pointer !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.btn-home-cta:hover {
    background: var(--ag-brand-orange) !important;
    transform: translateY(-2px) !important;
}

/* Extracted inline styling to prevent inline CSS */
.team-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.post-ad-top {
    margin-top: 30px !important;
}

.portfolio-empty-container {
    text-align: center;
    padding: 50px 0;
}
}

/* Donation Page Section & Modal Styles */
.ag-section-divider {
    max-width: 150px;
    height: 1.5px;
    background: rgba(215, 99, 20, 0.25);
    margin: 80px auto 0 !important;
}

.about-donation-section {
    max-width: 1100px;
    margin: 80px auto 60px !important;
    padding: 0 20px;
}

/* Modal Overlay (Glassmorphism) */
.ag-pay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ag-pay-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Box */
.ag-pay-modal {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(215, 99, 20, 0.2);
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    font-family: 'Cormorant Garamond', serif !important;
}

.ag-pay-overlay.open .ag-pay-modal {
    transform: translateY(0);
}

/* Close Button */
.ag-pay-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 5px;
}

.ag-pay-modal-close:hover {
    color: var(--ag-brand-orange, #D76314);
}

/* Title & Subtitle */
.ag-pay-modal-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center;
    color: #1a1a1a;
    margin: 0 0 8px 0 !important;
}

.ag-pay-modal-sub {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 15px !important;
    text-align: center;
    color: #666;
    margin: 0 0 24px 0 !important;
}

/* Preset Buttons Grid */
.donate-amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.donate-preset-btn {
    background: #faf8f5;
    border: 1.5px solid #e6e0d6;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    color: #444;
    min-height: 44px; /* Touch target verification */
}

.donate-preset-btn:hover {
    border-color: var(--ag-brand-orange, #D76314);
    color: var(--ag-brand-orange, #D76314);
    background: #fff;
}

.donate-preset-btn.active {
    background: var(--ag-brand-orange, #D76314) !important;
    border-color: var(--ag-brand-orange, #D76314) !important;
    color: #ffffff !important;
}

/* Custom Input field */
.donate-custom-amount-wrap {
    margin-bottom: 24px;
}

.donate-custom-amount-wrap input {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    border: 1.5px solid #e6e0d6;
    padding: 0 15px;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 18px;
    text-align: center;
    box-sizing: border-box;
    background: #faf8f5;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.donate-custom-amount-wrap input:focus {
    border-color: var(--ag-brand-orange, #D76314);
    background: #fff;
    outline: none;
    box-shadow: 0 0 10px rgba(215, 99, 20, 0.05);
}

/* Submit Action Button */
.ag-pay-submit-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #e06c1c 0%, var(--ag-brand-orange, #D76314) 50%, #bc530c 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(215, 99, 20, 0.2);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px; /* Touch target verification */
}

.ag-pay-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(215, 99, 20, 0.3);
    background: linear-gradient(135deg, #f07e2c 0%, #e06c1c 50%, var(--ag-brand-orange, #D76314) 100%);
}

.ag-pay-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.ag-pay-submit-btn:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}

/* Secure note */
.ag-pay-secure-note {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 12px;
    text-align: center;
    color: #888;
    margin: 15px 0 0 0;
}

/* Spinner inside CTA button */
.ag-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: ag-spin 0.8s linear infinite;
}

@keyframes ag-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .ag-pay-modal {
        padding: 30px 20px;
        margin: 10px;
        max-width: 90%;
    }
    .donate-amount-presets {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}


/* ============================================================
   AG PROFIL — Мой профиль (page-moy-profil.php)
   BUILDS ON: .ag-b2b-dashboard-page-wrapper, .ag-shell-*
   ============================================================ */

/* Override wrapper bg to match site theme */
.ag-b2b-dashboard-page-wrapper {
    background-color: var(--ag-bg-color, #F4F2EA) !important;
    min-height: 100vh;
}
.ag-b2b-dashboard-container {
    display: flex;
    gap: 30px;
    padding: 30px 40px !important;
    box-sizing: border-box;
    background-color: var(--ag-bg-color, #F4F2EA);
}
.ag-b2b-dashboard-page-wrapper .ag-shell-main {
    background-color: transparent !important;
    flex-grow: 1;
}
.ag-b2b-dashboard-page-wrapper .ag-shell-header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 0 !important;
    height: auto !important;
    margin-bottom: 25px;
}
.ag-b2b-dashboard-page-wrapper .ag-shell-content {
    padding: 0 !important;
}

/* ── Left Sidebar (.ag-shell-sidebar) Premium Style ── */
.ag-b2b-dashboard-page-wrapper .ag-shell-sidebar {
    background: #ffffff !important;
    border: 1px solid rgba(196, 164, 132, 0.35) !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 25px rgba(196, 164, 132, 0.05) !important;
    width: 280px;
    padding: 30px 10px !important;
    height: fit-content !important;
    align-self: flex-start !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Sidebar header */
.ag-b2b-dashboard-page-wrapper .ag-shell-sidebar-header {
    border-bottom: 1px solid rgba(196, 164, 132, 0.25) !important;
    padding: 10px 24px 20px !important;
    font-family: var(--ag-font-heading) !important;
    color: var(--ag-color-text-main) !important;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1px;
}
.ag-b2b-dashboard-page-wrapper .ag-shell-sidebar-header span {
    color: var(--ag-brand-orange, #D76314);
    font-style: italic;
}

/* Nav links styling */
.ag-b2b-dashboard-page-wrapper .ag-shell-nav {
    padding: 20px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px !important;
}

.ag-b2b-dashboard-page-wrapper .ag-shell-nav a {
    font-family: var(--ag-font-ui) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--ag-color-text-main) !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    border-left: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hover and active states with the orange stripe on hover */
.ag-b2b-dashboard-page-wrapper .ag-shell-nav a:hover,
.ag-b2b-dashboard-page-wrapper .ag-shell-nav a.active {
    background: rgba(196, 164, 132, 0.05) !important;
    color: var(--ag-color-accent-hover) !important;
    padding-left: 24px !important;
    box-shadow: inset 4px 0 0 var(--ag-brand-orange) !important;
}

.ag-b2b-dashboard-page-wrapper .ag-shell-nav a.ag-nav-logout {
    margin-top: 30px !important;
    color: #ef4444 !important;
}

.ag-b2b-dashboard-page-wrapper .ag-shell-nav a.ag-nav-logout:hover {
    background: rgba(239, 68, 68, 0.05) !important;
    color: #ef4444 !important;
    box-shadow: inset 4px 0 0 #ef4444 !important;
}

/* Breadcrumb in topbar */
.ag-profil-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(26,26,26,.5);
    font-family: 'Cormorant Garamond', serif;
}
.ag-profil-breadcrumb a {
    color: rgba(26,26,26,.5);
    text-decoration: none;
    transition: color .15s;
}
.ag-profil-breadcrumb a:hover { color: var(--ag-brand-orange); }
.ag-profil-breadcrumb span:last-child { color: #1a1a1a; font-weight: 600; }

/* Content width cap */
.ag-profil-content {
    max-width: 820px;
}

/* Page heading */
.ag-profil-heading { margin-bottom: 32px; }
.ag-profil-h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.15;
}
.ag-profil-sub {
    margin: 0;
    font-size: 16px;
    color: rgba(26,26,26,.5);
    font-family: 'Cormorant Garamond', serif;
}

/* ── Card ── */
.ag-profil-identity-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
    width: 100%;
}
.ag-profil-identity-fields {
    flex: 1;
    margin-bottom: 0 !important;
}

.ag-profil-card {
    background: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid rgba(196, 164, 132, 0.35) !important;
    padding: 35px !important;
    margin-bottom: 20px;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(196, 164, 132, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-sizing: border-box !important;
}

.ag-profil-ava-card {
    width: 240px;
    background: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid rgba(196, 164, 132, 0.35) !important;
    padding: 35px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(196, 164, 132, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-sizing: border-box !important;
    flex-shrink: 0;
}

.ag-profil-card::before,
.ag-profil-ava-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: var(--ag-brand-orange) !important;
    transform: scaleY(0) !important;
    transition: transform 0.3s ease !important;
    z-index: 10;
}

.ag-profil-card:hover,
.ag-profil-ava-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(196, 164, 132, 0.15) !important;
    border-color: rgba(215, 99, 20, 0.4) !important;
}

.ag-profil-card:hover::before,
.ag-profil-ava-card:hover::before {
    transform: scaleY(1) !important;
}

/* Card header */
.ag-profil-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(215,99,20,.08);
}
.ag-profil-card-ico {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(215,99,20,.07);
    border: 1px solid rgba(215,99,20,.13);
    display: flex; align-items: center; justify-content: center;
    color: var(--ag-brand-orange);
    flex-shrink: 0;
}
.ag-profil-card-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif;
}
.ag-profil-card-desc {
    margin: 0;
    font-size: 13px;
    color: rgba(26,26,26,.45);
    font-family: 'Cormorant Garamond', serif;
}

/* ── Identity row ── */
.ag-profil-identity {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.ag-profil-ava-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 100px;
}
.ag-profil-ava {
    width: 92px; height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ag-brand-orange,#D76314) 0%, #B84E0B 100%);
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: .03em;
    box-shadow: 0 6px 24px rgba(215,99,20,.28);
    user-select: none;
    transition: transform .2s ease, box-shadow .2s ease;
    font-family: 'Cormorant Garamond', serif;
}
.ag-profil-ava:hover { transform: scale(1.05); box-shadow: 0 8px 32px rgba(215,99,20,.38); }
.ag-profil-ava-role {
    font-size: 11px; font-weight: 700;
    background: rgba(215,99,20,.09);
    color: var(--ag-brand-orange);
    border: 1px solid rgba(215,99,20,.18);
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ag-profil-ava-hint {
    font-size: 11px;
    color: rgba(26,26,26,.35);
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
}

/* ── Form grid ── */
.ag-profil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    flex: 1;
    min-width: 0;
}
.ag-profil-field { display: flex; flex-direction: column; gap: 7px; }
.ag-profil-field--full { grid-column: 1 / -1; }

.ag-profil-field label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(26,26,26,.55);
    letter-spacing: .07em;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', serif;
    display: flex; align-items: center; gap: 8px;
}

/* Public badge */
.ag-profil-badge-pub {
    font-size: 10px;
    background: rgba(43,175,109,.1);
    color: #2BAF6D;
    border: 1px solid rgba(43,175,109,.25);
    border-radius: 20px;
    padding: 1px 7px;
    letter-spacing: .02em;
    font-weight: 600;
    text-transform: none;
}

/* Inputs */
.ag-profil-field input,
.ag-profil-field textarea {
    width: 100%; box-sizing: border-box;
    padding: 11px 14px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: #1a1a1a;
    background: rgba(255,255,255,.8);
    border: 1.5px solid rgba(26,26,26,.12);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ag-profil-field input:hover,
.ag-profil-field textarea:hover {
    border-color: rgba(215,99,20,.3);
}
.ag-profil-field input:focus,
.ag-profil-field textarea:focus {
    border-color: var(--ag-brand-orange, #D76314);
    box-shadow: 0 0 0 3px rgba(215,99,20,.1);
    background: #fff;
}
.ag-profil-field input::placeholder,
.ag-profil-field textarea::placeholder { color: rgba(26,26,26,.28); }
.ag-profil-field textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

/* Input with icon */
.ag-profil-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.ag-profil-input-wrap > svg:first-child {
    position: absolute;
    left: 13px;
    color: rgba(26,26,26,.3);
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}
.ag-profil-input-wrap input { padding-left: 40px; }
.ag-profil-pass-wrap input { padding-right: 42px; }

/* Eye button */
.ag-profil-eye {
    position: absolute; right: 11px;
    background: none; border: none; cursor: pointer;
    color: rgba(26,26,26,.35); padding: 4px;
    display: flex; align-items: center;
    transition: color .15s;
}
.ag-profil-eye:hover { color: var(--ag-brand-orange); }

/* Bio counter */
.ag-profil-count {
    text-align: right;
    font-size: 12px;
    color: rgba(26,26,26,.35);
    font-family: 'Cormorant Garamond', serif;
}

/* Error */
.ag-profil-err {
    font-size: 12px;
    color: #e53935;
    display: none;
    font-family: 'Cormorant Garamond', serif;
}

/* Password strength */
.ag-profil-strength {
    display: flex; align-items: center; gap: 10px; margin-top: 6px;
}
.ag-profil-strength-bar {
    flex: 1; height: 4px;
    background: rgba(0,0,0,.08); border-radius: 2px; overflow: hidden;
}
.ag-profil-strength-fill {
    height: 100%; border-radius: 2px; width: 0;
    transition: width .3s ease, background .3s ease;
}
#ag-strength-lbl {
    font-size: 12px; white-space: nowrap;
    font-family: 'Cormorant Garamond', serif;
}

/* ── Actions ── */
.ag-profil-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 0;
}
.ag-profil-back {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 600;
    color: rgba(26,26,26,.5);
    text-decoration: none;
    transition: color .15s;
}
.ag-profil-back:hover { color: var(--ag-brand-orange); }

.ag-profil-save {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 32px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    background: var(--ag-brand-orange, #D76314);
    color: #fff;
    border: none; border-radius: 8px; cursor: pointer;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 3px 14px rgba(215,99,20,.25);
    min-width: 220px;
    justify-content: center;
}
.ag-profil-save:hover:not(:disabled) {
    background: #B84E0B;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(215,99,20,.38);
}
.ag-profil-save:disabled { opacity: .6; cursor: default; }

/* Spinner */
.ag-profil-spin-ico { animation: ag-rot .7s linear infinite; }
@keyframes ag-rot { to { transform: rotate(360deg); } }

/* ── Toast ── */
.ag-profil-toast {
    position: fixed;
    top: 24px; right: 24px;
    z-index: 9999;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    padding: 14px 16px 14px 14px;
    display: flex; align-items: center; gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,.22);
    min-width: 260px; max-width: 420px;
    transform: translateX(calc(100% + 32px));
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.ag-profil-toast--vis {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.ag-profil-toast--ok  { border-left: 3px solid #43a047; }
.ag-profil-toast--err { border-left: 3px solid #e53935; }
.ag-profil-toast-inner { display: flex; align-items: center; gap: 10px; flex: 1; }
.ag-profil-toast-ico { display: none; flex-shrink: 0; }
.ag-profil-toast--ok  .ag-profil-toast-ok  { display: block; color: #43a047; }
.ag-profil-toast--err .ag-profil-toast-err { display: block; color: #e53935; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .ag-b2b-dashboard-page-wrapper .ag-shell-sidebar {
        position: fixed; left: 0; top: 0; height: 100%;
        transform: translateX(-100%); z-index: 300;
        box-shadow: 4px 0 30px rgba(0,0,0,.12);
    }
    .ag-b2b-dashboard-page-wrapper .ag-shell-sidebar.open { transform: translateX(0); }
    #ag-profile-menu-toggle, #ag-dashboard-toggle { display: flex !important; }
    .ag-profil-identity-wrapper { flex-direction: column-reverse; align-items: stretch; }
    .ag-profil-ava-card { width: 100%; padding: 25px !important; }
    .ag-profil-ava { width: 64px; height: 64px; font-size: 24px; }
}
@media (max-width: 600px) {
    .ag-profil-card { padding: 20px; }
    .ag-profil-content { padding: 20px 16px 40px !important; }
    .ag-profil-grid { grid-template-columns: 1fr; }
    .ag-profil-field--full { grid-column: 1; }
    .ag-profil-actions { flex-direction: column-reverse; align-items: stretch; }
    .ag-profil-save { width: 100%; min-width: unset; }
    .ag-profil-back { text-align: center; }
    .ag-profil-toast { right: 12px; left: 12px; min-width: unset; max-width: unset; }
}
