
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    --black:#111214;
    --charcoal:#202124;
    --gray:#777;
    --light:#f4f4f2;
    --line:#d7d7d4;
    --white:#fff;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--black); background:#fff; font-family:"DM Sans",Arial,sans-serif; }
a { color:inherit; text-decoration:none; }
.site-header { height:74px; display:flex; align-items:center; justify-content:space-between; padding:0 6.8%; background:#fff; position:relative; z-index:10; border-bottom:1px solid #eee; }

.brand { display:flex; align-items:center; width:365px; }


.brand img { width:100%; max-width:365px; height:56px; object-fit:contain; object-position:left center; mix-blend-mode:multiply; }
.brand img {
    width: 390px;
    height: auto;
    display: block;
}

.main-nav { display:flex; align-items:center; gap:31px; text-transform:uppercase; letter-spacing:1.5px; font-size:11px; font-weight:600; }
.main-nav a { padding:27px 0 24px; border-bottom:2px solid transparent; }
.main-nav a.active { border-bottom-color:var(--black); }
.main-nav a:hover { border-bottom-color:#b9b9b9; }
.main-nav .admin-link { margin-left:12px; }



.hero {
    min-height: 382px;
    aspect-ratio: 1024 / 382;
    display: grid;
    grid-template-columns: 48% 52%;
    overflow: hidden;
    position: relative;

    background-color: #e8e8e8;
    background-image: url("../images/hero-bg-bear.jpg");
    background-position: right -10px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.hero-content {
    padding: 62px 0 55px 6.8%;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 49px;
    line-height: 1.05;
    letter-spacing: 2px;
    margin: 25px 0 17px;
    font-weight: 800;
}

.hero-rule {
    width: 30px;
    border-top: 2px solid var(--black);
}

.tagline {
    letter-spacing: 6px;
    font-size: 14px;
    margin: 20px 0 26px;
}

.hero-art {
    display: none;
}

.btn { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:40px; padding:0 23px; border:1px solid var(--black); font-size:10px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; transition:.2s ease; }
.btn.dark { background:var(--black); color:#fff; }
.btn.dark:hover { background:#333; transform:translateY(-2px); }
.btn.outline { color:#fff; border-color:#fff; background:transparent; }
.btn.outline:hover { background:#fff; color:#111; }
.btn.light { background:#fff; border-color:#bbb; }
.btn.full { width:100%; }

.section { padding:50px 6.8%; }
.products-section { padding-top:35px; padding-bottom:34px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:25px; }
.section-heading h2, .portfolio-copy h2, .story-copy h2, .contact-banner h2 { font-family:Montserrat,Arial,sans-serif; letter-spacing:4px; font-size:22px; margin:0; }
.section-heading a { font-size:9px; font-weight:700; letter-spacing:1px; }
.section-heading a span { font-size:16px; margin-left:8px; }

.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.product-card { background:#f7f7f6; min-width:0; overflow:hidden; }
.product-card img, .image-placeholder { width:100%; aspect-ratio:1.22/1; object-fit:cover; display:block; }
.image-placeholder { display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#171717,#777,#e9e9e9); color:#fff; font-family:Montserrat,sans-serif; font-size:28px; letter-spacing:7px; }
.image-placeholder.geometric { background:linear-gradient(135deg,#111 0%,#444 40%,#eee 41%,#aaa 65%,#1d1d1d 66%); }
.product-info { padding:11px 13px 14px; background:#fff; min-height:57px; }
.product-info h3 { font-size:9px; letter-spacing:1.35px; margin:0 0 8px; font-weight:700; }
.product-info p { font-size:11px; color:#666; margin:0 0 8px; }
.product-info strong { font-size:10px; font-weight:500; letter-spacing:.5px; }

.portfolio-banner { min-height:248px; padding:44px 6.8%; display:grid; grid-template-columns:40% 60%; align-items:center; color:#fff; background:#17191b url("../images/portfolio-bg.jpg") center center / 100% 100% no-repeat; overflow:hidden; }
.portfolio-copy h2 { margin-bottom:20px; }
.portfolio-copy p { max-width:410px; color:#ddd; font-size:13px; line-height:1.7; margin:0 0 23px; }
.portfolio-shapes { display:none; }
.portfolio-panel { display:none; }

.story-section { display:grid; grid-template-columns:42% 58%; gap:40px; background:linear-gradient(135deg,#fff 0 72%,#ececea 72%); }
.story-copy p { max-width:480px; line-height:1.7; font-size:13px; color:#555; margin:20px 0 23px; }
.values { display:grid; grid-template-columns:repeat(3,1fr); align-items:center; }
.values > div { text-align:center; padding:15px 20px; border-left:1px solid #bbb; }
.value-icon { display:block; font-size:30px; margin-bottom:14px; }
.values h3 { font-size:10px; letter-spacing:1.3px; }
.values p { color:#666; font-size:11px; line-height:1.5; }

.contact-banner {
    min-height:200px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:28px 20px 30px;
    color:#fff;
    background:#34383b url("../images/contact-bg.jpg") center center / 100% 100% no-repeat;
    overflow:hidden;
}

.contact-banner .eyebrow {
    color:#ddd;
    margin-bottom:8px;
}

.contact-banner h2 {
    font-size:25px;
    letter-spacing:4px;
    margin:0 0 8px;
}

.contact-banner .btn {
    border-color:#fff;
    color:#fff;
    background:transparent;

    

}

.contact-banner .btn:hover {
    background:#fff;
    color:#111;
}

.site-footer {
    background:#111;
    color:#fff;
    min-height:108px;
    padding:14px 6.8% 10px;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:35px;
}

.footer-brand {
    display:flex;
    align-items:center;
    gap:12px;
    font-family:Montserrat,sans-serif;
    font-size:11px;
    letter-spacing:1px;
}

.footer-brand img {
    width:52px;
    height:40px;
    object-fit:contain;
    filter:grayscale(1) brightness(2);
}

.footer-nav {
    display:flex;
    justify-content:center;
    gap:22px;
    text-transform:uppercase;
    font-size:9px;
    letter-spacing:1px;
}

.footer-nav a {
    color:#fff;
    text-decoration:none;
}

.footer-nav a:hover {
    opacity:.65;
}

.footer-social {
    display:flex;
    justify-content:flex-end;
    gap:20px;
    font-size:14px;
    font-weight:bold;
}

.footer-social span {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:15px;
    height:15px;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.65;
}

.footer-social img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}


.site-footer p {
    grid-column:1/-1;
    text-align:center;
    color:#777;
    font-size:9px;
    margin:5px 0 0;
}

.page-header { padding:72px 6.8%; background:linear-gradient(135deg,#f1f1ef,#fff); }
.page-header h1 { margin:18px 0 10px; }
.page-header p { color:#666; }
.dark-page { color:#fff; background:linear-gradient(135deg,#111,#444); }
.dark-page .eyebrow { color:#ccc; }

.product-grid.large { grid-template-columns:repeat(3,1fr); }
.empty-state { grid-column:1/-1; padding:60px; text-align:center; background:#f5f5f5; color:#777; }
.portfolio-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.portfolio-tile { min-height:280px; display:flex; align-items:end; padding:25px; color:#fff; font-family:Montserrat,sans-serif; letter-spacing:2px; font-size:17px; background:linear-gradient(135deg,#111,#777,#222); }
.portfolio-tile:nth-child(2){background:linear-gradient(135deg,#777,#222,#aaa)}
.portfolio-tile:nth-child(3){background:linear-gradient(135deg,#333,#aaa,#111)}
.portfolio-tile:nth-child(4){background:linear-gradient(135deg,#aaa,#333,#777)}

.two-column { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.two-column h2 { font-family:Montserrat,sans-serif; letter-spacing:3px; }
.two-column p { line-height:1.8; color:#555; }
.about-bear img { width:100%; max-height:420px; object-fit:contain; mix-blend-mode:multiply; }

.contact-form-section { max-width:800px; margin:auto; }
.contact-form, .admin-form { display:grid; gap:18px; }
label { display:grid; gap:7px; font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; }
input, textarea { width:100%; padding:13px 14px; border:1px solid #ccc; background:#fafafa; font:inherit; font-size:14px; outline:none; }
input:focus, textarea:focus { border-color:#222; }
.login-page { min-height:560px; display:grid; place-items:center; background:linear-gradient(135deg,#f3f3f1,#fff); }
.login-card { width:min(420px,90%); padding:42px; background:#fff; box-shadow:0 18px 60px rgba(0,0,0,.10); }
.login-card h1 { font-family:Montserrat,sans-serif; letter-spacing:2px; margin:12px 0 28px; }
.login-card form { display:grid; gap:18px; }

.admin-page { padding:55px 6.8%; min-height:620px; }
.admin-page.narrow { max-width:900px; margin:auto; }
.admin-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.admin-heading h1 { font-size:32px; margin:10px 0 0; }
.admin-table-wrap { overflow:auto; }
.admin-table { width:100%; border-collapse:collapse; font-size:12px; }
.admin-table th, .admin-table td { padding:14px 10px; border-bottom:1px solid #ddd; text-align:left; }
.admin-table th { font-size:9px; letter-spacing:1px; text-transform:uppercase; }
.admin-table a { text-decoration:underline; }
.inline { display:inline; margin-left:10px; }
.inline button { border:0; background:none; text-decoration:underline; cursor:pointer; font:inherit; color:#555; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.checkbox { display:flex; grid-template-columns:none; flex-direction:row; align-items:center; gap:8px; }
.checkbox input { width:auto; }

.flash-wrap { position:fixed; top:90px; right:25px; z-index:100; }
.flash { padding:13px 18px; background:#111; color:#fff; box-shadow:0 5px 20px #0002; font-size:12px; }
.flash.success { background:#333; }
.flash.error { background:#8b2222; }

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card-link:hover .product-info h3 {
    opacity: .65;
}

.featured-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 35px 20px;
}

/* Product Detail */
.product-detail-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 6.8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.product-detail-image {
    background: #f1f1f1;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.product-detail-image .image-placeholder {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-info h1 {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: 2px;
    margin: 12px 0 18px;
}

.product-detail-price {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}

.product-detail-short {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-detail-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-detail-sku {
    font-size: 10px;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 28px;
}



@media (max-width: 700px) {
    .product-detail-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 45px 6%;
    }

    .product-detail-image,
    .product-detail-image img,
    .product-detail-image .image-placeholder {
        min-height: 330px;
        height: 330px;
    }

    .product-detail-info h1 {
        font-size: 30px;
    }
}


@media (max-width:900px) {
    .site-header { height:auto; padding:12px 5%; flex-direction:column; gap:8px; }
    .brand { width:270px; }
    .main-nav { gap:14px; flex-wrap:wrap; justify-content:center; }
    .main-nav a { padding:8px 0; }
    .hero { grid-template-columns:1fr; }
    .hero-content { padding:50px 7%; }
    .product-grid { grid-template-columns:repeat(2,1fr); }
    .portfolio-banner, .story-section { grid-template-columns:1fr; }
    .portfolio-banner { min-height:300px; background:#17191b url("../images/portfolio-bg.jpg") center center / auto 100% no-repeat; }
    .portfolio-shapes { display:none; }
    .values { margin-top:20px; }
}
@media (max-width:600px) {
    .hero h1 { font-size:38px; }
    
    .product-grid, .product-grid.large, .portfolio-grid { grid-template-columns:1fr; }
    .section { padding:40px 6%; }
    .section-heading { align-items:flex-start; gap:15px; flex-direction:column; }
    .values, .two-column, .form-row { grid-template-columns:1fr; }
    .values > div { border-left:0; border-top:1px solid #ccc; padding:20px; }
    .site-footer {
        grid-template-columns:1fr;
        text-align:center;
        gap:16px;
    }

    .footer-brand,
    .footer-nav,
    .footer-social {
        justify-content:center;
        flex-wrap:wrap;
    }

    .footer-nav {
        grid-column:1;
    }

    .footer-social {
        grid-column:1;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 300px;
        height: 300px;
        aspect-ratio: auto;
        grid-template-columns: 1fr;
        background-size: cover;
        background-position: center;
        overflow: hidden;
    }


.brand img { width:100%; max-width:365px; height:56px; object-fit:contain; object-position:left center; mix-blend-mode:multiply; }
.brand img {
    /*width: 390px;*/
    height: auto;
    display: block;
}


}


/* =========================================
   ADMIN LOGIN
   ========================================= */

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    padding: 30px 20px;
}

.admin-login-box {
    width: 100%;
    max-width: 430px;
    background: #fff;
    padding: 45px 40px 35px;
    box-sizing: border-box;
}

.admin-login-logo {
    text-align: center;
    margin-bottom: 25px;
}

.admin-login-logo img {
    width: 190px;
    max-width: 100%;
    height: auto;
}

.admin-login-box h1 {
    margin: 0 0 30px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 4px;
    font-weight: 500;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.login-field input {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
}

.login-field input:focus {
    outline: none;
    border-color: #222;
}

.admin-login-button {
    width: 100%;
    height: 46px;
    border: none;
    background: #222;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 5px;
}

/********************Admin*****************/

.admin-login-button:hover {
    background: #444;
}

.login-message {
    padding: 10px 12px;
    margin-bottom: 20px;
    font-size: 13px;
}

.login-message.error {
    background: #f3eeee;
    color: #8b2222;
}

.login-back {
    text-align: center;
    margin-top: 25px;
}

.login-back a {
    color: #555;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
}

.login-back a:hover {
    color: #000;
}

/* =========================================
   ADMIN CATEGORY MANAGEMENT
   ========================================= */

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.admin-page-header h1 {
    margin: 0 0 8px;
}

.admin-page-header p {
    margin: 0;
    color: #777;
}

.admin-button {
    display: inline-block;
    padding: 12px 20px;
    background: #222;
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.admin-button:hover {
    background: #444;
}

.admin-button.secondary {
    background: #ddd;
    color: #222;
}

.admin-button.secondary:hover {
    background: #ccc;
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.admin-table th {
    text-align: left;
    padding: 14px;
    background: #222;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
}

.admin-table td {
    padding: 14px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.admin-table tr:hover {
    background: #f7f7f7;
}

.status-active,
.status-inactive {
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
}

.status-active {
    color: #28733a;
}

.status-inactive {
    color: #999;
}

.admin-actions {
    white-space: nowrap;
}

.admin-action {
    color: #222;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    margin-right: 15px;
}

.admin-action:hover {
    text-decoration: underline;
}

.admin-action-button {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}

.admin-empty {
    text-align: center;
    padding: 40px !important;
    color: #888;
}

.admin-alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 13px;
}

.admin-alert.success {
    background: #edf6ef;
    color: #286637;
}

.admin-alert.error {
    background: #f7eded;
    color: #8a2929;
}

.admin-form-container {
    max-width: 700px;
    background: #fff;
    padding: 30px;
}

.admin-form-field {
    margin-bottom: 22px;
}

.admin-form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.admin-form-field input,
.admin-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 14px;
}

.admin-form-field input:focus,
.admin-form-field textarea:focus {
    outline: none;
    border-color: #222;
}

.admin-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Admin Product */
.admin-form-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
}

.admin-form-field select:focus {
    outline: none;
    border-color: #222;
}

.admin-product-thumbnail {
    width: 90px;
    height: 90px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.admin-product-thumbnail:hover {
    opacity: 0.75;
}

/* =========================================================
   PUBLIC PRODUCTS PAGE
   ========================================================= */
/*
.page-hero {
    background: #f2f2f0;
    padding: 70px 6% 80px;
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    margin-bottom: 14px;
}

.page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.page-hero p {
    max-width: 600px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
}
*/

.page-hero {
    padding: 70px 6% 55px;
    text-align: center;
    background: #f3f3f1;
}

.page-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    margin: 12px 0 15px;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -.04em;
}

.page-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 800px) {

    .page-hero {
        padding: 55px 5% 45px;
    }

}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card-link:hover .product-info h3 {
    opacity: .65;
}

.product-info p {
    margin: 8px 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.product-info strong {
    display: block;
    margin-top: 8px;
}

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */

.product-detail-page {
    padding: 80px 6%;
    background: #fff;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
    gap: 80px;
    align-items: start;
}


/* Images */

.product-detail-main-image {
    width: 100%;
    background: #f3f3f1;
}

.product-detail-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f3f3f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    letter-spacing: .15em;
}


.product-detail-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.product-thumbnail {
    width: 90px;
    height: 90px;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-thumbnail:hover {
    opacity: .75;
}

.product-thumbnail.active {
    border-color: #222;
}

/* Information */

.product-detail-info {
    padding-top: 10px;
}

.product-detail-info h1 {
    margin: 12px 0 20px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.03em;
}

.product-detail-price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 28px;
}

.product-detail-short {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.product-detail-description {
    border-top: 1px solid #ddd;
    padding-top: 28px;
    margin-top: 28px;
}

.product-detail-description h2 {
    font-size: 13px;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

.product-detail-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}


.product-detail-meta {
    border-top: 1px solid #ddd;
    margin-top: 35px;
    padding-top: 25px;
    display: flex;
    gap: 50px;
}

.product-detail-meta div {
    font-size: 14px;
}

.product-detail-meta span {
    display: block;
    font-size: 11px;
    letter-spacing: .12em;
    margin-bottom: 6px;
    color: #777;
}



/* Back to Products */

.product-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #000;
    background: #fff;
    color: #222;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background-color .2s ease;
    margin-top:30px;
}

.product-back-button:hover {
    background: #ccc;
    color: #222;
}


/* Mobile */

@media (max-width: 800px) {

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .product-detail-page {
        padding: 55px 5%;
    }

    .product-detail-info h1 {
        font-size: 42px;
    }

}

/* Product Purchase */

.product-purchase {
    margin-top: 14px;
}

.product-purchase-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #000;
    background: #fff;
    color: #222;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background-color .2s ease;
}

.purchase-icon {
    font-size: 18px;
    line-height: 1;
}

.product-purchase-button:hover {
    background: #ccc;
    color: #222;
}

/* =========================================================
   PRODUCT SEARCH / FILTERS
   ========================================================= */

.product-filters {
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 25px;
    background: #f3f3f1;
    display: grid;
    grid-template-columns: 1fr 260px auto;
    gap: 18px;
    align-items: end;
}

.product-filters label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
}

.product-search input,
.product-category-filter select {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
}

.product-search input:focus,
.product-category-filter select:focus {
    outline: none;
    border-color: #222;
}

.product-filter-actions {
    display: flex;
    gap: 10px;
}

.product-filter-actions .btn {
    height: 46px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.product-results-summary {
    max-width: 1200px;
    margin: 0 auto 25px;
    font-size: 14px;
    color: #666;
}


/* Mobile */

@media (max-width: 800px) {

    .product-filters {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .product-filter-actions {
        width: 100%;
    }

    .product-filter-actions .btn {
        flex: 1;
    }

}
/* =========================================
   PORTFOLIO
   ========================================= */

.portfolio-page {
    background: #fff;
}


/* =========================================
   PORTFOLIO HEADER
   ========================================= */

.portfolio-hero {
    padding: 70px 6% 55px;
    text-align: center;
    background: #f3f3f1;
}

.portfolio-hero h1 {
    margin: 12px 0 15px;

    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -.04em;
}

.portfolio-hero p {
    max-width: 600px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 1.6;

    color: #555;
}


/* =========================================
   PORTFOLIO GRID
   ========================================= */

.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 6% 110px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 45px;
}


/* =========================================
   PORTFOLIO CARD
   ========================================= */

.portfolio-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #cfcfcf;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    border-radius: 10px;
    text-align: center;
    padding: 20px 0px 20px 0px;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
}


/* =========================================
   CLICKABLE IMAGE
   ========================================= */
.portfolio-card-image {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
    border: none;
    background-color:#FFF;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}


/*.portfolio-card-image:hover img {
    transform: scale(1.025);
}*/


/* =========================================
   VIEW IMAGE OVERLAY
   ========================================= */

.portfolio-card-view {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    padding: 12px 20px;

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

    color: #222;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;

    opacity: 0;

    transition: opacity .3s ease;

    pointer-events: none;

    white-space: nowrap;
}


.portfolio-card-image:hover .portfolio-card-view {
    opacity: 1;
}


/* =========================================
   CARD TEXT
   ========================================= */

.portfolio-card-content {
    padding: 24px 5px 0;
}


.portfolio-item-subtitle {
    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .14em;
    text-transform: uppercase;

    color: #777;
}


.portfolio-card-content h2 {
    margin: 0 0 14px;

    font-size: 30px;
    line-height: 1.1;

    letter-spacing: -.02em;
}


.portfolio-card-content p {
    margin: 0;

    font-size: 15px;
    line-height: 1.8;

    color: #555;
}


/* =========================================
   LIGHTBOX
   ========================================= */

.portfolio-lightbox {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

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

    padding: 40px;

    background: rgba(0, 0, 0, .88);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.portfolio-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* Lightbox content */

.portfolio-lightbox-content {
    position: relative;

    max-width: 90vw;
    max-height: 90vh;

    display: flex;

    flex-direction: column;

    align-items: center;
}


.portfolio-lightbox-content img {
    display: block;

    max-width: 90vw;
    max-height: 82vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow: 0 15px 50px rgba(0, 0, 0, .35);
}


/* Lightbox title */

.portfolio-lightbox-title {
    margin-top: 18px;

    color: #fff;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: .08em;
    text-transform: uppercase;

    text-align: center;
}


/* Close button */

.portfolio-lightbox-close {
    position: absolute;

    top: 20px;
    right: 25px;

    z-index: 2;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 42px;
    font-weight: 200;

    line-height: 1;

    cursor: pointer;

    opacity: .85;

    transition: opacity .2s ease;
}


.portfolio-lightbox-close:hover {
    opacity: 1;
}


/* Prevent page scrolling while lightbox is open */

body.lightbox-open {
    overflow: hidden;
}


/* =========================================
   EMPTY PORTFOLIO
   ========================================= */

.portfolio-empty {
    max-width: 1200px;

    margin: 0 auto;

    padding: 120px 6%;

    text-align: center;

    background: #f3f3f1;
}


.portfolio-empty h2 {
    margin: 0 0 15px;

    font-size: 30px;
    letter-spacing: -.02em;
}


.portfolio-empty p {
    margin: 0;

    font-size: 16px;

    color: #666;
}


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

@media (max-width: 800px) {

    .portfolio-hero {
        padding: 55px 5% 45px;
    }


    .portfolio-grid {
        grid-template-columns: 1fr;

        padding: 60px 5% 80px;

        gap: 55px;
    }


    .portfolio-card-content h2 {
        font-size: 27px;
    }


    .portfolio-lightbox {
        padding: 20px;
    }


    .portfolio-lightbox-content {
        max-width: 95vw;
        max-height: 90vh;
    }


    .portfolio-lightbox-content img {
        max-width: 95vw;
        max-height: 78vh;
    }


    .portfolio-lightbox-close {
        top: 10px;
        right: 12px;
    }

}

/* =========================================
   ABOUT THE ARTIST
   ========================================= */

.about-page {
    background: #fff;
}


/* =========================================
   ABOUT HERO
   ========================================= */

.about-hero {
    padding: 70px 6% 55px;
    text-align: center;
    background: #f3f3f1;
}

.about-hero h1 {
    margin: 12px 0 15px;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -.04em;
}

.about-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}


/* =========================================
   ARTIST SECTION
   ========================================= */

.artist-section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 70px 6%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 55px;

    align-items: center;
}


/* Artist image */

.artist-image {
    width: 100%;
    background: #f3f3f1;
    overflow: hidden;
}

.artist-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* Artist content */

.artist-content {
    padding-right: 5px;
}

.artist-content h2 {
    margin: 12px 0 25px;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: .98;
    letter-spacing: -.04em;
}

.artist-story p {
    margin: 0 0 16px;

    font-size: 15px;
    line-height: 1.7;

    color: #555;
}

.artist-story p:last-child {
    margin-bottom: 0;
}


/* =========================================
   CREATIVE PROCESS
   ========================================= */

.about-process {
    background: #222;
    color: #fff;

    padding: 70px 6%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 55px;
    align-items: center;
}

.about-process-heading {
    max-width: 520px;
    margin-left: auto;
}

.about-process-heading h2 {
    margin: 12px 0 0;

    font-size: clamp(36px, 4.5vw, 58px);
    line-height: .98;
    letter-spacing: -.04em;
}

.about-process-text {
    max-width: 520px;
}

.about-process-text p {
    margin: 0 0 18px;

    font-size: 15px;
    line-height: 1.7;

    color: #ccc;
}

.about-process-text p:last-child {
    margin-bottom: 0;
}


/* =========================================
   CLOSING
   ========================================= */

.about-closing {
    background: #f3f3f1;
    padding: 70px 6%;
}

.about-closing-inner {
    max-width: 1150px;
    margin: 0 auto;
}

.about-closing h2 {
    margin: 15px 0 0;

    font-size: clamp(48px, 7vw, 85px);
    line-height: .9;
    letter-spacing: -.05em;
}


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

@media (max-width: 800px) {

    .about-hero {
        padding: 55px 5% 45px;
    }

    .artist-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 55px 5%;
    }

    .artist-content {
        padding-right: 0;
    }

    .artist-content h2 {
        font-size: 42px;
    }

    .artist-story p {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-process {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 5%;
    }

    .about-process-heading {
        margin-left: 0;
    }

    .about-process-heading h2 {
        font-size: 42px;
    }

    .about-closing {
        padding: 60px 5%;
    }

    .about-closing h2 {
        font-size: 60px;
    }

}

/* ========================================
   CONTACT PAGE
   ======================================== */
/*
.contact-section {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 85px 6%;
    background:
        linear-gradient(
            rgba(20, 20, 20, 0.82),
            rgba(20, 20, 20, 0.82)
        ),
        url("/static/images/hero-bg-bear.jpg") center center / cover no-repeat;
}*/
.contact-section {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 85px 6%;
}

.contact-intro,
.contact-form {
    position: relative;
    z-index: 1;
}

.contact-intro {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
    color: #fff;
}

.contact-intro h2 {
    margin: 0 0 18px;
    font-size: 30px;
    letter-spacing: -.02em;
    color: #fff;
}

.contact-intro p {
    margin: 0 0 12px;
    color: #ddd;
    font-size: 15px;
    line-height: 1.7;
}

.contact-form {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 35px 40px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #555;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    margin-bottom: 22px;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #bdbdbd;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field input {
    height: 44px;
}

.contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #222;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #000;
    border-radius: 0;
    background: #222;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.contact-submit:hover {
    background: #ccc;
    color: #222;
}


/* Mobile */

@media (max-width: 700px) {

    .contact-section {
        padding: 55px 5% 50px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-intro {
        margin-bottom: 35px;
    }

    .contact-intro h2 {
        font-size: 26px;
    }
}