* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0b2545;
    color: #fff;
}

.shop-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shop-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-nav a:first-child {
    border-left: none;
}

.shop-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.shop-intro {
    margin-bottom: 30px;
}

.shop-intro h1 {
    margin: 0 0 10px;
    font-size: 32px;
}

.shop-intro p {
    margin: 0;
    color: #555;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card-no-image {
    color: #777;
    font-size: 14px;
}

.product-card-content {
    padding: 20px;
}

.product-card h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.product-card-description {
    margin: 0 0 16px;
    color: #555;
    line-height: 1.5;
}

.product-card-price {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
}

.product-card-button {
    display: inline-block;
    padding: 10px 16px;
    background: #1f5d3a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.product-card-button:hover {
    background: #17472c;
}

.member-only-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: #2e7d32;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.shop-empty {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shop-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        width: 100%;
        gap: 6px;
        font-size: small;
    }

    .shop-main {
        padding: 25px 10px 40px;
    }

    .shop-intro {
        margin-bottom: 20px;
    }

    .shop-intro h1 {
        font-size: 26px;
    }

    .shop-intro p {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card-content {
        padding: 12px;
    }

    .product-card h2 {
        margin-bottom: 7px;
        font-size: 16px;
        line-height: 1.25;
    }

    .product-card-description {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.4;
    }

    .product-card-price {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .product-card-button {
        display: block;
        width: 100%;
        padding: 9px 8px;
        text-align: center;
        font-size: 13px;
    }
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 50px;
    background: #fff;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.product-detail-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eee;
    overflow: hidden;
    border-radius: 6px;
}

.product-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-detail-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.product-thumbnail.active {
    border-color: #1f5d3a;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-no-image {
    aspect-ratio: 1 / 1;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    border-radius: 6px;
}

.product-option-golfer,
.product-option {
    margin-bottom: 20px;
}

.product-option-golfer strong{
        margin-left: 10px;
}

.product-option-golfer label,
.product-option label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.product-stock-status {
    margin-left: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-stock-status-in {
    color: #198754;
}

.product-stock-status-out {
    color: #c00;
}

.product-option select,
.product-option input {
    width: 100%;
    max-width: 300px;
    padding: 11px 12px;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: #fff;
    font-size: 16px;
}

.product-option input {
    max-width: 300px;
}

.product-option-golfer input {
    width: 100%;
    max-width: 50px;
    padding: 11px 12px;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: #fff;
    font-size: 16px;
}

.product-add-to-cart:hover {
    background: #17472c;
}

@media (max-width: 800px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }

    .product-detail-info h1 {
        font-size: 26px;
    }
}

.shop-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #e8f2ec;
    border: 1px solid #b9d4c1;
    border-radius: 5px;
    color: #17472c;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 120px 130px;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
    color: #777;
    font-size: 13px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.cart-item-details p {
    margin: 4px 0;
    color: #555;
    font-size: 14px;
}

.cart-item-quantity label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
}

.cart-item-quantity input {
    width: 80px;
    padding: 9px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 15px;
}

.cart-item-total {
    text-align: right;
    font-size: 18px;
    font-weight: 600;
}

.cart-remove-button {
    display: block;
    margin: 8px 0 0 auto;
    padding: 0;
    border: 0;
    background: none;
    color: #a33;
    cursor: pointer;
    font-size: 13px;
}

.cart-remove-button:hover {
    text-decoration: underline;
}

.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cart-summary {
    max-width: 400px;
    margin: 30px 0 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.cart-checkout-button {
    display: block;
    text-align: center;
}

@media (max-width: 700px) {
    .cart-item {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-details h2 {
        font-size: 16px;
    }

    .cart-item-quantity {
        grid-column: 1 / 2;
    }

    .cart-item-total {
        grid-column: 2 / 3;
        text-align: right;
    }

    .cart-actions {
        margin-top: 15px;
    }

    .cart-summary {
        max-width: none;
        margin-top: 20px;
    }
    
    .member-only-badge {
        top: 4px;
        right: 4px;
        font-size: 0.45rem;
        padding: 4px 8px;
    }
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.checkout-form-section,
.checkout-summary {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
}

.checkout-form-section h2,
.checkout-summary h2 {
    margin: 0 0 22px;
    font-size: 22px;
}

.checkout-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.checkout-form-field {
    margin-bottom: 20px;
}

.checkout-form-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 14px;
}

.checkout-form-field input,
.checkout-form-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 15px;
}

.checkout-form-field input:focus,
.checkout-form-field textarea:focus {
    outline: none;
    border-color: #1f5d3a;
    box-shadow: 0 0 0 2px rgba(31, 93, 58, 0.12);
}

.checkout-form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.checkout-collection-option {
    padding: 12px 14px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 600;
}

.checkout-help {
    margin: 8px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-payment-info {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.checkout-payment-info h2 {
    margin-bottom: 12px;
}

.checkout-payment-info p {
    margin: 0 0 10px;
    color: #555;
    line-height: 1.5;
}

.checkout-bank-details {
    margin-top: 18px;
    padding: 18px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.checkout-bank-details p {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid #ddd;
}

.checkout-bank-details p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.checkout-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.shop-button {
    display: inline-block;
    padding: 11px 20px;
    border: 0;
    border-radius: 5px;
    background: #1f5d3a;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
}

.shop-admin-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
    justify-content: flex-end;
}


.shop-button:hover {
    background: #17472c;
}

.shop-button-secondary {
    background: #666;
}

.shop-button-secondary:hover {
    background: #555;
}

.checkout-summary {
    position: sticky;
    top: 80px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.checkout-summary-item-details {
    min-width: 0;
}

.checkout-summary-item-name {
    font-weight: 600;
    line-height: 1.4;
}

.checkout-summary-item-variant {
    margin-top: 3px;
    color: #666;
    font-size: 13px;
}

.checkout-summary-item-quantity {
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.checkout-summary-item-price {
    flex-shrink: 0;
    font-weight: 600;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px solid #222;
    font-size: 20px;
    font-weight: 600;
}

.checkout-summary-note {
    margin: 18px 0 0;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.shop-message-error {
    background: #f8eaea;
    border-color: #dfbcbc;
    color: #8a2525;
}

@media (max-width: 800px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
        grid-row: 1;
    }

    .checkout-form-section {
        grid-row: 2;
    }
}

@media (max-width: 600px) {
    .checkout-form-section,
    .checkout-summary {
        padding: 18px;
    }

    .checkout-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .checkout-form-actions .shop-button {
        width: 100%;
        text-align: center;
    }

    .checkout-summary-item {
        gap: 10px;
    }

    .checkout-summary-total {
        font-size: 18px;
    }
}

.order-confirmation {
    max-width: 1000px;
    margin: 0 auto;
}

.order-confirmation-header {
    margin-bottom: 25px;
}

.order-confirmation-header h1 {
    margin: 0 0 10px;
    font-size: 32px;
}

.order-confirmation-header p {
    margin: 0 0 18px;
    color: #555;
    font-size: 16px;
}

.order-confirmation-number {
    display: inline-block;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
}

.order-confirmation-number strong {
    margin-left: 5px;
    color: #1f5d3a;
}

.shop-message-success {
    margin-bottom: 25px;
}

.order-confirmation-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.order-confirmation-details,
.order-confirmation-section,
.order-confirmation-payment {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
}

.order-confirmation-details h2,
.order-confirmation-section h2,
.order-confirmation-payment h2 {
    margin: 0 0 20px;
    font-size: 21px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid #eee;
}

.order-detail-row:first-of-type {
    padding-top: 0;
}

.order-detail-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.order-detail-row span:first-child {
    color: #666;
}

.order-detail-row span:last-child {
    text-align: right;
    font-weight: 600;
}

.order-confirmation-section {
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.order-item:first-child {
    padding-top: 0;
}

.order-item-details {
    min-width: 0;
}

.order-item-name {
    font-weight: 600;
}

.order-item-variant {
    margin-top: 3px;
    color: #666;
    font-size: 13px;
}

.order-item-quantity {
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.order-item-price {
    flex-shrink: 0;
    font-weight: 600;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid #222;
    font-size: 19px;
    font-weight: 600;
}

.order-confirmation-payment {
    margin-bottom: 25px;
}

.order-confirmation-payment > p {
    margin: 0 0 20px;
    color: #555;
    line-height: 1.5;
}

.order-bank-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #ddd;
    border: 1px solid #ddd;
}

.order-bank-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background: #f5f5f5;
}

.order-bank-detail span {
    color: #666;
    font-size: 13px;
}

.order-bank-detail strong {
    font-size: 15px;
}

.order-confirmation-section > p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.order-confirmation-actions {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 700px) {
    .order-confirmation-header h1 {
        font-size: 27px;
    }

    .order-confirmation-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .order-confirmation-details,
    .order-confirmation-section,
    .order-confirmation-payment {
        padding: 18px;
    }

    .order-detail-row {
        gap: 12px;
    }

    .order-bank-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .order-confirmation-header h1 {
        font-size: 25px;
    }

    .order-confirmation-number {
        width: 100%;
    }

    .order-item {
        gap: 12px;
    }

    .order-total-row {
        font-size: 18px;
    }

    .order-confirmation-actions .shop-button {
        width: 100%;
        text-align: center;
    }
}

.shop-admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.shop-admin-filters a {
    display: inline-block;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.shop-admin-filters a:hover {
    border-color: #1f5d3a;
    color: #1f5d3a;
}

.shop-admin-filters .shop-admin-filter-active {
    background: #1f5d3a;
    border-color: #1f5d3a;
    color: #fff;
}

.shop-admin-orders {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shop-admin-order-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 22px;
}

.shop-admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd;
}

.shop-admin-order-header h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.shop-admin-order-header p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.shop-admin-order-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.shop-admin-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    background: #eee;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.shop-admin-status-1 {
    background: #fff3cd;
    color: #856404;
}

.shop-admin-status-2 {
    background: #d4edda;
    color: #155724;
}

.shop-admin-status-3 {
    background: #d1ecf1;
    color: #0c5460;
}

.shop-admin-status-4 {
    background: #cce5ff;
    color: #004085;
}

.shop-admin-status-5 {
    background: #d4edda;
    color: #155724;
}

.shop-admin-status-6,
.shop-admin-status-7 {
    background: #f8d7da;
    color: #721c24;
}

.shop-admin-overdue {
    color: #8a2525;
    font-size: 12px;
    font-weight: 600;
}

.shop-admin-order-details {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.shop-admin-order-details div {
    min-width: 0;
}

.shop-admin-order-details span {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 13px;
}

.shop-admin-order-details strong {
    display: block;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.shop-admin-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
    justify-content: flex-end;
}

@media (max-width: 800px) {
    .shop-admin-order-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shop-admin-order-card {
        padding: 18px;
    }

    .shop-admin-order-header {
        flex-direction: column;
    }

    .shop-admin-order-status {
        align-items: flex-start;
    }

    .shop-admin-order-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .shop-admin-order-actions {
        flex-direction: column;
    }

    .shop-admin-order-actions .shop-button {
        width: 100%;
        text-align: center;
    }
}

.shop-admin-order-page-actions {
    margin-bottom: 25px;
    padding-top: 0;
    border-top: 0;
}

.shop-admin-order-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-admin-order-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
}

.shop-admin-order-panel h2 {
    margin: 0 0 20px;
    font-size: 21px;
}

.shop-admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.shop-admin-detail-grid div {
    min-width: 0;
}

.shop-admin-detail-grid span,
.shop-admin-payment span {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 13px;
}

.shop-admin-detail-grid strong,
.shop-admin-payment strong {
    display: block;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.shop-admin-items {
    display: flex;
    flex-direction: column;
}

.shop-admin-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.shop-admin-item:first-child {
    padding-top: 0;
}

.shop-admin-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.shop-admin-item-details span {
    color: #666;
    font-size: 13px;
}

.shop-admin-item-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.shop-admin-item-pricing span {
    color: #666;
    font-size: 13px;
}

.shop-admin-item-pricing strong {
    font-size: 16px;
}

.shop-admin-order-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
}

.shop-admin-order-grand-total {
    border-top: 2px solid #222;
    font-size: 19px;
}

.shop-admin-payments {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shop-admin-payment {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 18px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.shop-admin-payment-notes {
    grid-column: 1 / -1;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.shop-admin-order-notes {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .shop-admin-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-admin-payment {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shop-admin-order-panel {
        padding: 18px;
    }

    .shop-admin-detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .shop-admin-item {
        flex-direction: column;
        gap: 10px;
    }

    .shop-admin-item-pricing {
        align-items: flex-start;
    }

    .shop-admin-payment {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .shop-admin-payment-notes {
        grid-column: auto;
    }

    .shop-admin-order-page-actions {
        flex-direction: column;
    }

    .shop-admin-order-page-actions .shop-button {
        width: 100%;
        text-align: center;
    }
}

.shop-admin-status-form {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.shop-admin-status-form .checkout-form-field {
    margin-bottom: 0;
    min-width: 280px;
}

.shop-admin-status-form select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 15px;
}

.shop-admin-status-form select:focus {
    outline: none;
    border-color: #1f5d3a;
    box-shadow: 0 0 0 2px rgba(31, 93, 58, 0.12);
}

@media (max-width: 600px) {
    .shop-admin-status-form {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-admin-status-form .checkout-form-field {
        min-width: 0;
    }

    .shop-admin-status-form .shop-button {
        width: 100%;
    }
}

.shop-admin-inline-form {
    margin: 0;
}

.shop-button-danger {
    background: #8a2525;
}

.shop-button-danger:hover {
    background: #6f1d1d;
}

@media (max-width: 600px) {
    .shop-admin-inline-form {
        width: 100%;
    }

    .shop-admin-inline-form .shop-button {
        width: 100%;
    }
}

.shop-admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 30px;
}

.shop-admin-page-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
}

.shop-admin-page-header p {
    margin: 0;
    color: #666;
}

.shop-admin-products {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shop-admin-product-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.shop-admin-product-image {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    color: #777;
    font-size: 13px;
    text-align: center;
}

.shop-admin-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.shop-admin-product-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.shop-admin-product-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.shop-admin-product-heading h2 {
    margin: 0 0 6px;
    font-size: 21px;
}

.shop-admin-product-heading p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.shop-admin-product-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.shop-admin-product-status-active {
    background: #d4edda;
    color: #155724;
}

.shop-admin-product-status-inactive {
    background: #eee;
    color: #666;
}

.shop-admin-product-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 18px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.shop-admin-product-details span {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 13px;
}

.shop-admin-product-details strong {
    display: block;
    font-size: 15px;
}

.shop-admin-product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.shop-admin-product-actions form {
    margin: 0;
}

.shop-admin-product-actions button {
    appearance: none;
}

@media (max-width: 700px) {
    .shop-admin-page-header {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-admin-page-header .shop-button {
        width: 100%;
        text-align: center;
    }

    .shop-admin-product-card {
        grid-template-columns: 1fr;
    }

    .shop-admin-product-image {
        width: 120px;
        height: 120px;
    }

    .shop-admin-product-details {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .shop-admin-product-card {
        padding: 18px;
    }

    .shop-admin-product-heading {
        flex-direction: column;
        gap: 10px;
    }

    .shop-admin-product-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .shop-admin-product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-admin-product-actions .shop-button,
    .shop-admin-product-actions form,
    .shop-admin-product-actions form .shop-button {
        width: 100%;
        text-align: center;
    }
}

.shop-admin-form-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
}

.shop-admin-form-section {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #eee;
}

.shop-admin-form-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.shop-admin-form-section h2 {
    margin: 0 0 20px;
    font-size: 20px;
}

.shop-admin-form-group {
    margin-bottom: 20px;
}

.shop-admin-form-group:last-child {
    margin-bottom: 0;
}

.shop-admin-form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 14px;
}

.shop-admin-form-group input[type="text"],
.shop-admin-form-group input[type="number"],
.shop-admin-form-group textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font: inherit;
}

.shop-admin-form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.shop-admin-form-group input:focus,
.shop-admin-form-group textarea:focus {
    outline: none;
    border-color: #0b2545;
    box-shadow: 0 0 0 2px rgba(11, 37, 69, 0.1);
}

.shop-admin-form-group small,
.shop-admin-checkbox + small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.shop-admin-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px;
}

.shop-admin-input-prefix {
    display: flex;
    align-items: stretch;
}

.shop-admin-input-prefix span {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    color: #555;
    font-weight: 600;
}

.shop-admin-input-prefix input {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    background: #fff;
    color: #222;
    font: inherit;
}

.shop-admin-input-prefix input:focus {
    outline: none;
    border-color: #0b2545;
    box-shadow: 0 0 0 2px rgba(11, 37, 69, 0.1);
}

.shop-admin-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-weight: 600;
}

.shop-admin-checkbox input {
    width: 17px;
    height: 17px;
    margin: 0;
}

.shop-admin-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

@media (max-width: 700px) {
    .shop-admin-form-card {
        padding: 22px;
    }
    .shop-admin-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 500px) {
    .shop-admin-form-card {
        padding: 18px;
    }
    .shop-admin-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .shop-admin-form-actions .shop-button {
        width: 100%;
        text-align: center;
    }
}

.shop-admin-section-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-top: 25px;
}

.shop-admin-section-header {
    margin-bottom: 25px;
}

.shop-admin-section-header h2 {
    margin: 0 0 7px;
    font-size: 21px;
}

.shop-admin-section-header p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.shop-admin-image-upload {
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.shop-admin-image-upload .shop-admin-form-group {
    margin-bottom: 18px;
}

.shop-admin-image-upload input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
}

.shop-admin-product-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.shop-admin-product-image-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    background: #fff;
}

.shop-admin-product-image-preview {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
}

.shop-admin-product-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.shop-admin-product-image-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.shop-admin-product-image-info form {
    margin: 0;
}

.shop-admin-product-image-info .shop-button {
    width: 100%;
    text-align: center;
}

.shop-admin-empty {
    margin: 0;
    color: #666;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.shop-admin-variants {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shop-admin-variant-card {
    padding: 22px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.shop-admin-variant-header {
    margin-bottom: 20px;
}

.shop-admin-variant-header > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.shop-admin-variant-header h3 {
    margin: 0;
    font-size: 18px;
}

.shop-admin-readonly-value {
    min-height: 43px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 600;
}

.shop-admin-variant-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.shop-admin-variant-actions form {
    margin: 0;
}

.shop-admin-add-variant {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.shop-admin-add-variant h3 {
    margin: 0 0 20px;
    font-size: 18px;
}

.shop-admin-add-variant .shop-admin-form-actions {
    justify-content: flex-start;
    margin-top: 20px;
}

@media (max-width: 1000px) {
    .shop-admin-product-images {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .shop-admin-section-card {
        padding: 22px;
    }
    .shop-admin-product-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .shop-admin-variant-header > div {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .shop-admin-section-card {
        padding: 18px;
    }
    .shop-admin-product-images {
        grid-template-columns: 1fr;
    }
    .shop-admin-product-image-preview {
        height: 240px;
    }
    .shop-admin-variant-card {
        padding: 18px;
    }
    .shop-admin-variant-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .shop-admin-variant-actions form,
    .shop-admin-variant-actions .shop-button {
        width: 100%;
    }
    .shop-admin-variant-actions .shop-button {
        text-align: center;
    }
}

.shop-admin-dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.shop-admin-dashboard-card {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.shop-admin-dashboard-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.shop-admin-dashboard-card-alert {
    border-color: #e0cfcf;
}

.shop-admin-dashboard-card-icon {
    margin-bottom: 18px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.shop-admin-dashboard-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-admin-dashboard-card-value {
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    color: #0b2545;
}

.shop-admin-dashboard-card-title {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 600;
}

.shop-admin-dashboard-card-link {
    margin-top: auto;
    padding-top: 20px;
    color: #0b2545;
    font-size: 14px;
    font-weight: 600;
}

.shop-admin-dashboard-section {
    margin-top: 35px;
    padding: 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.shop-admin-dashboard-section h2 {
    margin: 0 0 20px;
    font-size: 21px;
}

.shop-admin-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 800px) {
    .shop-admin-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .shop-admin-dashboard-card {
        min-height: 160px;
        padding: 20px;
    }
    .shop-admin-dashboard-section {
        padding: 18px;
    }
    .shop-admin-dashboard-actions {
        flex-direction: column;
    }
    .shop-admin-dashboard-actions .shop-button {
        width: 100%;
        text-align: center;
    }
}

.product-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.product-variant-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 40px;
    padding: 4px 4px;
    border: 2px solid #cfd6dd;
    border-radius: 6px;
    background: #fff;
    color: #0b2545;
    cursor: pointer;
    font: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.product-variant-option:hover:not(:disabled) {
    border-color: #0b2545;
}

.product-variant-option.selected {
    border-color: #0b2545;
    background: #0b2545;
    color: #fff;
}

.product-variant-option.out-of-stock,
.product-variant-option:disabled {
    border-color: #d5d5d5;
    background: #eeeeee;
    color: #999;
    cursor: not-allowed;
    opacity: 1;
}

.product-variant-name {
    font-weight: 600;
}

.product-variant-price,
.product-variant-status {
    margin-top: 3px;
    font-size: 0.8rem;
}

.product-variant-status {
    color: #888;
}

.product-variant-option.selected .product-variant-price {
    color: #fff;
}

.product-quantity-control {
    display: inline-flex;
    align-items: stretch;
    margin-top: 8px;
    border: 1px solid #cfd6dd;
    border-radius: 6px;
    overflow: hidden;
}

.product-quantity-button {
    width: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: #f2f4f6;
    color: #0b2545;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.product-quantity-button:hover {
    background: #0b2545;
    color: #fff;
}

.product-quantity-control input[type="number"] {
    width: 60px;
    min-height: 42px;
    padding: 0 6px;
    border: 0;
    border-left: 1px solid #cfd6dd;
    border-right: 1px solid #cfd6dd;
    border-radius: 0;
    background: #fff;
    color: #0b2545;
    font: inherit;
    font-weight: 600;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-quantity-control input[type="number"]::-webkit-inner-spin-button,
.product-quantity-control input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.shop-nav-cart {
    position: relative;
}

.account-order-item {
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.account-recent-orders {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 20px;
}

.account-recent-order {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.2fr 0.8fr auto;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.account-recent-order-number {
    font-weight: 600;
}

.account-recent-order-number a {
    color: #0b2545;
    text-decoration: none;
}

.account-recent-order-number a:hover {
    text-decoration: underline;
}

.account-recent-order-date,
.account-recent-order-status {
    color: #555;
    font-size: 14px;
}

.account-recent-order-total {
    font-weight: 600;
    text-align: right;
}

.account-recent-order-action {
    text-align: right;
}

.account-recent-order-action .shop-button {
    padding: 7px 13px;
    font-size: 13px;
}

@media (max-width: 700px) {

    .account-recent-orders {
        padding: 0 15px;
    }
    
    .account-recent-order {
        grid-template-columns: 1fr auto;
        gap: 5px 15px;
        padding: 10px 0;
    }

    .account-recent-order-number {
        grid-column: 1;
    }

    .account-recent-order-date {
        grid-column: 1;
        font-size: 13px;
    }

    .account-recent-order-status {
        grid-column: 1;
    }

    .account-recent-order-total {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .account-recent-order-action {
        grid-column: 1 / -1;
        text-align: right;
        margin-top: 3px;
    }

}

.shop-order-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.shop-order-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.shop-order-status.status-paid {
    background: #d4edda;
    color: #155724;
}

.shop-order-status.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.shop-order-status.status-ready {
    background: #d1ecf1;
    color: #0c5460;
}

.shop-order-status.status-completed {
    background: #d4edda;
    color: #155724;
}

.shop-order-status.status-cancelled,
.shop-order-status.status-void {
    background: #f8d7da;
    color: #721c24;
}

.shop-order-status.status-default {
    background: #e2e3e5;
    color: #383d41;
}

.account-recent-order:last-child {
    border-bottom: 0;
}

.cart-quantity-control {
    display: flex;
    align-items: center;
    width: fit-content;
}

.cart-quantity-button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #bbb;
    background: #f5f5f5;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.cart-quantity-button:first-child {
    border-radius: 5px 0 0 5px;
}

.cart-quantity-button:last-child {
    border-radius: 0 5px 5px 0;
}

.cart-quantity-button:hover {
    background: #e9e9e9;
}

.cart-quantity-control input {
    width: 45px;
    height: 34px;
    padding: 0;
    border: 1px solid #bbb;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #777;
    font-size: 14px;
}

.shop-breadcrumb a {
    color: #0b2545;
    text-decoration: none;
    font-weight: 600;
}

.shop-breadcrumb a:hover {
    color: #1f5d3a;
    text-decoration: none;
}

.shop-breadcrumb span:last-child {
    color: #666;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.product-stock-indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.product-stock-in {
    color: #1f5d3a;
}

.product-stock-in .product-stock-indicator {
    background: #1f5d3a;
}

.product-stock-out {
    color: #8a2525;
}

.product-stock-out .product-stock-indicator {
    background: #8a2525;
}

.product-detail-info {
    padding-top: 5px;
}

.product-detail-info h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
}

.product-detail-short-description {
    margin: 0 0 20px;
    color: #555;
    font-size: 17px;
    line-height: 1.5;
    max-width: 600px;
}

.product-detail-price {
    margin-bottom: 25px;
    font-size: 30px;
    font-weight: 700;
    color: #0b2545;
}

.product-detail-description {
    margin-bottom: 25px;
    color: #444;
    line-height: 1.6;
    white-space: normal;
    padding: 22px 0;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

.product-detail-form {
    border-top: 0;
    padding-top: 0;
}

.product-add-to-cart {
    border: 0;
    padding: 14px 24px;
    background: #1f5d3a;
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 360px;
    margin-top: 5px;
    font-family: inherit;
    font-weight: 600;
    transition: background-color 0.15s ease;
}

.product-add-to-cart:hover:not(:disabled) {
    background: #17472c;
}

.product-add-to-cart:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.product-sponsorship-note {
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #f2f4f6;
    border: 1px solid #d9dee3;
    border-radius: 5px;
    color: #555;
    line-height: 1.5;
}

.checkout-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.checkout-section h2 {
    margin: 0 0 10px;
}

.checkout-section .checkout-help {
    margin: 0 0 20px;
}

.checkout-field {
    margin-bottom: 18px;
}

.checkout-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.checkout-field input,
.checkout-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    background: #fff;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
    outline: none;
    border-color: #1f5d3a;
}

.checkout-field textarea {
    min-height: 100px;
    resize: vertical;
}

.order-sponsorship-details {
    margin-top: 15px;
    padding: 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.order-sponsorship-details:first-child {
    margin-top: 0;
}

.order-sponsorship-description {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.order-sponsorship-description strong {
    display: block;
    margin-bottom: 8px;
}

.order-sponsorship-description p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.sponsorship-group:last-child {
    margin-bottom: 0;
}

.sponsorship-group .shop-intro {
    margin-bottom: 20px;
}

.sponsorship-group .shop-intro h2 {
    margin-bottom: 8px;
}

.product-option select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    font: inherit;
    color: #222;
}

.sponsorship-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.sponsorship-filter {
    position: sticky;
    top: 80px;
}

.sponsorship-filter-inner {
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sponsorship-filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px 12px;
    color: #666;
}

.sponsorship-filter-group {
    margin-top: 3px;
}

.sponsorship-filter-item {
    width: 100%;
    height: 32px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    border-radius: 6px;
    transition: background-color 0.15s ease,
        color 0.15s ease;
}

.sponsorship-filter-item:hover {
    background: #f1f1f1;
}

.sponsorship-filter-item.is-active {
    background: #111;
    color: #fff;
}

.sponsorship-filter-group-button {
    padding: 9px 10px;
    font-weight: 600;
}

.sponsorship-filter-product {
    padding: 6px 10px 6px 22px;
    font-size: 0.9rem;
    color: #555;
}

.sponsorship-filter-product.is-active {
    background: #111;
    color: #fff;
}

.sponsorship-content {
    min-width: 0;
}

.sponsorship-group {
    margin-bottom: 42px;
}

.sponsorship-group-heading {
    margin-bottom: 18px;
}

.sponsorship-group-heading h2 {
    margin-bottom: 5px;
}

.sponsorship-group-heading p {
    margin: 0;
    color: #666;
}

.sponsorship-content .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sponsorship-content .product-card {
    border-radius: 8px;
}

.sponsorship-content .product-card-image {
    aspect-ratio: 16 / 9;
}

.sponsorship-content .product-card-content {
    padding: 15px;
}

.sponsorship-content .product-card-content h2 {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: 7px;
}

.sponsorship-content .product-card-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.sponsorship-content .product-card-price {
    font-size: 1rem;
    margin-bottom: 12px;
}

.sponsorship-content .product-card-button {
    padding: 9px 12px;
    font-size: 0.9rem;
}

.sponsorship-group.is-hidden {
    display: none;
}

.product-card.is-hidden {
    display: none;
}

@media (max-width: 768px) {

    .sponsorship-layout {
        display: block;
    }

    .sponsorship-filter {
        position: static;
        margin-bottom: 25px;
    }

    .sponsorship-filter-inner {
        padding: 6px;
    }

    .sponsorship-filter-title {
        padding-bottom: 8px;
    }

    .sponsorship-filter-items {
        display: none;
    }

    .sponsorship-filter-group-button {
        padding: 10px;
    }

    .sponsorship-filter-group-button.is-active
        + .sponsorship-filter-items {
        display: block;
    }
    
    .sponsorship-content .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product-enquiry-fields textarea {
    resize: none;
    width: 100%;
    max-width: 300px;
    padding: 11px 12px;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
}

.shop-product-image {
    position: relative;
}

.shop-member-login-prompt {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: left;
}

.shop-member-login-prompt strong {
    display: block;
    margin-bottom: 4px;
}

.shop-member-login-prompt a {
    font-weight: 600;
}

.account-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.gbcc-member-badge {
    display: inline-block;
    background: #2e7d32;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.shop-nav {
    display: flex;
    align-items: center;
    background-color: #0b2545;
    padding: 0;
    width: 100%;
}

.shop-nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
}

.shop-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    padding: 0px 15px;
    white-space: nowrap;
}

.shop-logo:hover {
    color: #ffffff;
    background-color: transparent;
}

.shop-logo-image {
    width: 50px;
    height: 100%:
    object-fit: contain;
    display: block;
}

.shop-nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    list-style: none;
   
    margin: 0;
    flex: 1;
}

.shop-nav-menu li {
    margin-left: 10px;
}

.shop-nav-menu a {
    display: flex;
    align-items: center;
    height: 50px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 0 10px;
    transition: background-color 0.3s;
}

.shop-nav-utilities a {
    display: flex;
    align-items: center;
    height: 50px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 0 10px;
    transition: background-color 0.3s;
}

.shop-nav-menu a:hover {
    color: #ffffff;
    background-color: #17472c;
}

.shop-nav-menu a.active {
    color: #071d3b;
    background-color: #ffffff;
    font-weight: bold;
    border-bottom: 4px solid #91d185;
}


/*
 * Cart and My Account
 */
.shop-nav-utilities {
    display: flex;
    align-items: stretch;
    padding: 0;
    flex-shrink: 0;
    margin: 0;
}

.shop-nav-utility-link {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    box-sizing: border-box;
    gap: 7px;
    padding: 0 14px;
    color: #ffffff;
    margin-left: 10px;
    text-decoration: none;
    transition:
        background-color 0.3s,
        color 0.3s;
}

.shop-nav-utility-link:hover {
    color: #ffffff;
    background-color: #17472c;
}

.shop-nav-utility-link.active {
    color: #071d3b;
    background-color: #ffffff;
    font-weight: bold;
    border-bottom: 4px solid #91d185;
}

.shop-nav-utility-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


.shop-cart-badge {
    position: absolute;
    top: 10px;
    right: 42px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: #91d185;
    color: #071d3b;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

/*
 * Hamburger
 */
.shop-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 10px;
    margin: 0 8px 0 4px;
}

.shop-hamburger span {
    display: block;
    background-color: #ffffff;
    height: 3px;
    width: 25px;
    margin: 3px;
    transition: 0.4s;
}

/*
 * Mobile navigation
 */
@media (max-width: 986px) {

    .shop-nav-menu a.active {
        color: #071d3b;
        background-color: #ffffff;
        font-weight: bold;
        border-left: 4px solid #91d185;
        border-bottom: 0px solid #91d185;
    }
    
    .shop-nav-inner {
        min-height: 50px;
    }

    .shop-logo {
        font-size: 14px;
        padding: 4px 10px;
    }

    .shop-logo-image {
        width: 38px;
        height: 38px;
    }

    /*
     * Cart and My Account remain visible
     * outside the hamburger menu.
     */
    .shop-nav-utilities {
        margin-left: auto;
    }

    .shop-nav-utility-link {
        padding: 10px 8px;
        border-left: 0;
    }

    .shop-nav-utility-link svg {
        width: 18px;
        height: 18px;
    }

    .shop-nav-utility-label {
        display: none;
    }

    .shop-nav-utility-link.active {
        background-color: transparent;
        color: #ffffff;
        border-bottom: 0;
    }

    .shop-nav-utility-link:hover {
        background-color: transparent;
    }
    
    .shop-cart-badge {
        top: 10px;
        right: 2px;
    }
    
    .shop-hamburger {
        display: flex;
    }

    /*
     * Only Shop and Sponsorships
     * appear inside the mobile menu.
     */
    .shop-nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        background-color: #0b2545;
        flex: none;
    }

    .shop-nav-menu.show {
        display: flex;
    }

    .shop-nav-menu li {
        width: 100%;
        margin: 2px 0;
    }

    .shop-nav-menu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        height: 32px;
        padding: 10px;
        text-align: left;
    }

    .shop-utility-nav {
        min-height: 30px;
        padding: 0 10px;
    }

    .shop-utility-links {
        gap: 15px;
    }

    .shop-utility-link {
        font-size: 12px;
    }

    .shop-utility-logout svg {
        width: 15px;
        height: 15px;
    }
    
    .shop-utility-admin svg {
        width: 15px;
        height: 15px;
    }
    

}

.shop-navigation-wrapper {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.shop-utility-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #91d185;
    min-height: 32px;
    padding: 0 15px;
    box-sizing: border-box;
}

.shop-utility-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shop-utility-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #071d3b;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.shop-utility-link:hover {
    color: #17472c;
    text-decoration: underline;
}

.shop-utility-logout svg {
    width: 16px;
    height: 16px;
    display: block;
}

.shop-utility-admin svg {
    width: 16px;
    height: 16px;
    display: block;
}


@media (max-width: 700px) {

    .account-recent-orders {
        padding: 0 15px;
    }
    
    .account-recent-order {
        grid-template-columns: 1fr auto;
        gap: 5px 15px;
        padding: 10px 0;
    }

    .account-recent-order-number {
        grid-column: 1;
    }

    .account-recent-order-date {
        grid-column: 1;
        font-size: 13px;
    }

    .account-recent-order-status {
        grid-column: 1;
    }

    .account-recent-order-total {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .account-recent-order-action {
        grid-column: 1 / -1;
        text-align: right;
        margin-top: 3px;
    }

}